Skip to content

Commit

Permalink
First round of clang fixes for JTC
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 4, 2024
1 parent 8f7f4e9 commit 7f31960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ SegmentTolerances get_segment_tolerances(
.c_str());
return default_tolerances;
}
auto i = std::distance(joints.cbegin(), it);
auto i = static_cast<size_t>(std::distance(joints.cbegin(), it));
std::string interface = "";
try
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ controller_interface::return_type JointTrajectoryController::update(
rt_active_goal_.writeFromNonRT(RealtimeGoalHandlePtr());
rt_has_pending_goal_.writeFromNonRT(false);

RCLCPP_WARN(logger, error_string.c_str());
RCLCPP_WARN(logger, "%s", error_string.c_str());

traj_msg_external_point_ptr_.reset();
traj_msg_external_point_ptr_.initRT(set_hold_position());
Expand Down

0 comments on commit 7f31960

Please sign in to comment.