Skip to content

Commit

Permalink
fix typos ("outer")
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Nov 3, 2023
1 parent 7245f45 commit 1651dcb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion libs/math/include/mrpt/math/math_frwds.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ template <typename PlainObjectType, int MapOptions, typename StrideType>
class Map;
template <int Value>
class InnerStride;
template <int Outter, int Inner>
template <int Outer, int Inner>
class Stride;
template <
typename _Scalar, int _Rows, int _Cols, int _Options,
Expand Down
6 changes: 3 additions & 3 deletions libs/nav/include/mrpt/nav/reactive/TWaypoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ struct TWaypointsRenderingParams
{
TWaypointsRenderingParams();

double outter_radius{.3}, inner_radius{.2};
double outter_radius_non_skippable{.3}, inner_radius_non_skippable{.0};
double outter_radius_reached{.2}, inner_radius_reached{.1};
double outer_radius{.3}, inner_radius{.2};
double outer_radius_non_skippable{.3}, inner_radius_non_skippable{.0};
double outer_radius_reached{.2}, inner_radius_reached{.1};
double heading_arrow_len{1.0};
mrpt::img::TColor color_regular, color_current_goal, color_reached;
bool show_labels{true};
Expand Down
10 changes: 5 additions & 5 deletions libs/nav/src/reactive/TWaypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ void TWaypointSequence::getAsOpenglVisualization(
for (const auto& p : waypoints)
{
auto gl_pt = mrpt::opengl::CDisk::Create(
p.allow_skip ? params.outter_radius
: params.outter_radius_non_skippable,
p.allow_skip ? params.outer_radius
: params.outer_radius_non_skippable,
p.allow_skip ? params.inner_radius
: params.inner_radius_non_skippable,
15);
Expand Down Expand Up @@ -172,9 +172,9 @@ void TWaypointStatusSequence::getAsOpenglVisualization(
const bool is_cur_goal = (int(idx) == waypoint_index_current_goal);

mrpt::opengl::CDisk::Ptr gl_pt = mrpt::opengl::CDisk::Create(
p.reached ? params.outter_radius_reached
: (p.allow_skip ? params.outter_radius
: params.outter_radius_non_skippable),
p.reached ? params.outer_radius_reached
: (p.allow_skip ? params.outer_radius
: params.outer_radius_non_skippable),
p.reached ? params.inner_radius_reached
: (p.allow_skip ? params.inner_radius
: params.inner_radius_non_skippable),
Expand Down

0 comments on commit 1651dcb

Please sign in to comment.