Skip to content

Commit

Permalink
Update error message for duplicated joint name
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-miller committed Sep 27, 2023
1 parent 6f27df7 commit f1571cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ActionServer_FJT.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ rcl_ret_t Ros_ActionServer_FJT_Goal_Received(rclc_action_goal_handle_t* goal_han
rosidl_runtime_c__String__assign(&fjt_result_response.result.error_string,
"The final point in the trajectory must have zero acceleration.");
break;
case INIT_TRAJ_DUPLICATE_JOINT_NAME:
rosidl_runtime_c__String__assign(&fjt_result_response.result.error_string,
"The trajectory contains duplicate joint names.");
break;
default:
rosidl_runtime_c__String__assign(&fjt_result_response.result.error_string,
"Trajectory initialization failed. Generic failure.");
Expand Down

0 comments on commit f1571cc

Please sign in to comment.