Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Feb 6, 2025
1 parent c3489bc commit d05afea
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/custom_spell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,28 @@
"DBUILD",
"denormalize",
"denormalized",
"Dinesh",
"DWITH_INTEGRATION_TEST",
"engageable",
"euclidian",
"gcda",
"gcno",
"gcovr",
"Kotaro",
"libunwind",
"linelint",
"Manocha",
"Mersenne",
"Monic",
"Moszynski",
"npcs",
"NSPACES",
"Obst",
"okta",
"oktas",
"oneof",
"parametersetaction",
"Parapura",
"Petrich",
"piotr",
"pluggable",
Expand All @@ -38,16 +43,19 @@
"pyproject",
"randomizer",
"randomizers",
"RVOSIMULATOR",
"Snape",
"sonarcloud",
"sonarqube",
"subspline",
"Szymon",
"TESTRANDOMIZER",
"travelling",
"Tschirnhaus",
"VISUALIZEMARKER",
"walltime",
"xerces",
"xercesc",
"Szymon",
"Parapura"
"xercesc"
"Yoshimoto",
]
}
2 changes: 1 addition & 1 deletion simulation/context_gamma_planner/customized_rvo2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Usually use the Obstacle plugin.
- Call the constructor method of the base class with plugin name.
- Implement `calcOrcaLines` method (override)
- Note that the arguments differ depending on the type of plugin
- Add the activation implementation at the beggining of the method as follows:
- Add the activation implementation at the beginning of the method as follows:
```c++
std::vector<RVO::Line> HogePlugin::calcOrcaLines(...)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class Rvo2Test : public ::testing::Test
std::unique_ptr<RVO::RVOSimulator> simulator_;
};

bool checkVector2(const RVO::Vector2 & vec0, const RVO::Vector2 & vec1, float torelance = 0.01)
bool checkVector2(const RVO::Vector2 & vec0, const RVO::Vector2 & vec1, float tolerance = 0.01)
{
float diff = std::hypot(vec1.x() - vec0.x(), vec1.y() - vec0.y());
if (diff <= torelance) {
if (diff <= tolerance) {
return true;
}
std::cout << "vec0:" << vec0.x() << "," << vec0.y() << std::endl;
Expand Down

0 comments on commit d05afea

Please sign in to comment.