ted@ted-Ubuntu:~$ ros2 service call /start_traj_mode motoros2_interfaces/srv/StartTrajMode
requester: making request: motoros2_interfaces.srv.StartTrajMode_Request()
response:
motoros2_interfaces.srv.StartTrajMode_Response(result_code=motoros2_interfaces.msg.MotionReadyEnum(value=106), message='Servo power is OFF. Please call start_traj_mode or start_point_queue_mode service')
This error message is incorrect and confusing.
MotoROS2 log:
[1700671198.53841758] [192.168.1.31:54399]: 2023-11-22 16:39:58.536889 Ros_MotionControl_StartMotionMode: enter
[1700671198.53868961] [192.168.1.31:54399]: 2023-11-22 16:39:58.537689 Controller is in a fault state. Please call /reset_error
[1700671198.53889847] [192.168.1.31:54399]: 2023-11-22 16:39:58.537889 Ros_ServiceStartTrajMode_Trigger: Servo power is OFF. Please call start_traj_mode or start_point_queue_mode service (106)
I got the robot into an error state by pressing HOLD during an FJT routine.
When I tried to call
/StartTrajMode
, I got:This error message is incorrect and confusing.
MotoROS2 log: