Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bence Magyar <[email protected]>
  • Loading branch information
christophfroehlich and bmagyar authored Jun 18, 2024
1 parent 7e8fa9f commit ae5efec
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SegmentTolerances get_segment_tolerances(Params const & params)
SegmentTolerances tolerances;
tolerances.goal_time_tolerance = constraints.goal_time;
auto logger = rclcpp::get_logger("tolerance");
RCLCPP_DEBUG(logger, "%s %f", "goal_time", constraints.goal_time);
RCLCPP_DEBUG(logger, "goal_time %f", constraints.goal_time);

// State and goal state tolerances
tolerances.state_tolerance.resize(n_joints);
Expand Down Expand Up @@ -143,9 +143,9 @@ SegmentTolerances get_segment_tolerances(

// from
// https://github.com/ros-controls/control_msgs/blob/master/control_msgs/msg/JointTolerance.msg #
// There are two special values for tolerances: # * 0 - The tolerance is unspecified and will
// remain at whatever the default is # * -1 - The tolerance is "erased". If there was a default,
// the joint will be # allowed to move without restriction.
// There are two special values for tolerances:
// * 0 - The tolerance is unspecified and will remain at whatever the default is
// * -1 - The tolerance is "erased". If there was a default, the joint will be allowed to move without restriction.

// State and goal state tolerances
for (auto joint_tol : goal.path_tolerance)
Expand Down

0 comments on commit ae5efec

Please sign in to comment.