Skip to content

state is OP, but motor isn't enabled #63

@MrCCaesar

Description

@MrCCaesar

I'm using generic cia402 plugin to work woth elmo driver, but after launch the node, the motor is not enabled, the result of ethercat slaves is all OP + 0 0:0 OP + 0x0000009a:0x00030924; and the launch output is
[INFO] [launch]: All log files can be found below /home/wlr/.ros/log/2023-05-02-21-01-39-828618-wlr-SBC-T875-5600
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [ros2_control_node-1]: process started with pid [5602]
[INFO] [robot_state_publisher-2]: process started with pid [5604]
[INFO] [spawner-3]: process started with pid [5606]
[robot_state_publisher-2] [WARN] [1683032500.483305839] [kdl_parser]: The root link pelvic has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
[robot_state_publisher-2] [INFO] [1683032500.483528196] [robot_state_publisher]: got segment left_calf
[robot_state_publisher-2] [INFO] [1683032500.483611316] [robot_state_publisher]: got segment left_elbow_link
[robot_state_publisher-2] [INFO] [1683032500.483625323] [robot_state_publisher]: got segment left_hip_roll_link
[robot_state_publisher-2] [INFO] [1683032500.483635805] [robot_state_publisher]: got segment left_hip_yaw_link
[robot_state_publisher-2] [INFO] [1683032500.483646174] [robot_state_publisher]: got segment left_shoulder_pitch_link
[robot_state_publisher-2] [INFO] [1683032500.483656827] [robot_state_publisher]: got segment left_shoulder_roll_link
[robot_state_publisher-2] [INFO] [1683032500.483666843] [robot_state_publisher]: got segment left_shoulder_yaw_link
[robot_state_publisher-2] [INFO] [1683032500.483676630] [robot_state_publisher]: got segment left_thigh
[robot_state_publisher-2] [INFO] [1683032500.483686696] [robot_state_publisher]: got segment left_wheel
[robot_state_publisher-2] [INFO] [1683032500.483696550] [robot_state_publisher]: got segment pelvic
[robot_state_publisher-2] [INFO] [1683032500.483706591] [robot_state_publisher]: got segment right_calf
[robot_state_publisher-2] [INFO] [1683032500.483716387] [robot_state_publisher]: got segment right_elbow_link
[robot_state_publisher-2] [INFO] [1683032500.483726448] [robot_state_publisher]: got segment right_hip_roll_link
[robot_state_publisher-2] [INFO] [1683032500.483736559] [robot_state_publisher]: got segment right_hip_yaw_link
[robot_state_publisher-2] [INFO] [1683032500.483746458] [robot_state_publisher]: got segment right_shoulder_pitch_link
[robot_state_publisher-2] [INFO] [1683032500.483756602] [robot_state_publisher]: got segment right_shoulder_roll_link
[robot_state_publisher-2] [INFO] [1683032500.483766469] [robot_state_publisher]: got segment right_shoulder_yaw_link
[robot_state_publisher-2] [INFO] [1683032500.483776441] [robot_state_publisher]: got segment right_thigh
[robot_state_publisher-2] [INFO] [1683032500.483786412] [robot_state_publisher]: got segment right_wheel
[robot_state_publisher-2] [INFO] [1683032500.483796358] [robot_state_publisher]: got segment upper_body
[ros2_control_node-1] [INFO] [1683032500.499043010] [resource_manager]: Loading hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.502325383] [resource_manager]: Initialize hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.502402848] [EthercatDriver]: joints
[ros2_control_node-1] [INFO] [1683032500.505862600] [EthercatDriver]: joints
[ros2_control_node-1] [INFO] [1683032500.507416289] [EthercatDriver]: joints
[ros2_control_node-1] [INFO] [1683032500.508942895] [EthercatDriver]: joints
[ros2_control_node-1] [INFO] [1683032500.510420593] [EthercatDriver]: Got 4 modules
[ros2_control_node-1] [INFO] [1683032500.510446175] [resource_manager]: Successful initialization of hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.510519468] [resource_manager]: 'configure' hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.510529485] [resource_manager]: Successful 'configure' of hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.510538699] [resource_manager]: 'activate' hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032500.510546649] [EthercatDriver]: Starting ...please wait...
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6040, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x607a, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x60ff, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6071, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x60b0, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x60b1, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x60b2, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6060, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x2078, 0x1}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x60b8, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6041, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6064, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x606c, 0x0}
[ros2_control_node-1] {0, 0, 0x9a, 0x30924, 0x6061, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6040, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x607a, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x60ff, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6071, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x60b0, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x60b1, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x60b2, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6060, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x2078, 0x1}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x60b8, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6041, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6064, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x606c, 0x0}
[ros2_control_node-1] {0, 1, 0x9a, 0x30924, 0x6061, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6040, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x607a, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x60ff, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6071, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x60b0, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x60b1, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x60b2, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6060, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x2078, 0x1}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x60b8, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6041, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6064, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x606c, 0x0}
[ros2_control_node-1] {0, 2, 0x9a, 0x30924, 0x6061, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6040, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x607a, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x60ff, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6071, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x60b0, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x60b1, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x60b2, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6060, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x2078, 0x1}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x60b8, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6041, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6064, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x606c, 0x0}
[ros2_control_node-1] {0, 3, 0x9a, 0x30924, 0x6061, 0x0}
[ros2_control_node-1] [INFO] [1683032500.511178327] [EthercatDriver]: Activated EcMaster!
[ros2_control_node-1] 4 slave(s).
[ros2_control_node-1] Master AL states: 0x02.
[ros2_control_node-1] Link is up.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Slave: online.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Slave: online.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Slave: online.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Slave: online.
[ros2_control_node-1] STATE: Not Ready to Switch On with status word :0
[ros2_control_node-1] STATE: Not Ready to Switch On with status word :0
[ros2_control_node-1] STATE: Not Ready to Switch On with status word :0
[ros2_control_node-1] STATE: Not Ready to Switch On with status word :0
[ros2_control_node-1] [INFO] [1683032501.511562340] [EthercatDriver]: updated!
[ros2_control_node-1] [INFO] [1683032501.511603556] [EthercatDriver]: System Successfully started!
[ros2_control_node-1] [INFO] [1683032501.511618131] [resource_manager]: Successful 'activate' of hardware 'wlrzj_electronic'
[ros2_control_node-1] [INFO] [1683032501.518462313] [controller_manager]: update rate is 100 Hz
[ros2_control_node-1] [INFO] [1683032501.518820748] [controller_manager]: RT kernel is recommended for better performance
[ros2_control_node-1] [INFO] [1683032501.578940988] [controller_manager]: Loading controller 'joint_state_broadcaster'
[spawner-3] [INFO] [1683032501.590461500] [spawner_joint_state_broadcaster]: Loaded joint_state_broadcaster
[ros2_control_node-1] [INFO] [1683032501.592068998] [controller_manager]: Configuring controller 'joint_state_broadcaster'
[ros2_control_node-1] [INFO] [1683032501.592257139] [joint_state_broadcaster]: 'joints' or 'interfaces' parameter is empty. All available state interfaces will be published
[spawner-3] [INFO] [1683032501.620573105] [spawner_joint_state_broadcaster]: Configured and activated joint_state_broadcaster
[INFO] [spawner-3]: process has finished cleanly [pid 5606]
[INFO] [spawner-4]: process started with pid [5649]
[ros2_control_node-1] Slave: State 0x01.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Domain: WC 1.
[ros2_control_node-1] Domain: State 1.
[ros2_control_node-1] STATE: Fault Reaction Active with status word :53775
[ros2_control_node-1] [INFO] [1683032502.307148684] [controller_manager]: Loading controller 'wlrzj_position_controller'
[spawner-4] [INFO] [1683032502.349735410] [spawner_wlrzj_position_controller]: Loaded wlrzj_position_controller
[ros2_control_node-1] [INFO] [1683032502.351252680] [controller_manager]: Configuring controller 'wlrzj_position_controller'
[ros2_control_node-1] [INFO] [1683032502.352374653] [wlrzj_position_controller]: configure successful
[ros2_control_node-1] [INFO] [1683032502.359094586] [wlrzj_position_controller]: activate successful
[spawner-4] [INFO] [1683032502.370400458] [spawner_wlrzj_position_controller]: Configured and activated wlrzj_position_controller
[INFO] [spawner-4]: process has finished cleanly [pid 5649]
[ros2_control_node-1] Domain: WC 3.
[ros2_control_node-1] Slave: State 0x08.
[ros2_control_node-1] Slave: operational.
[ros2_control_node-1] Slave: State 0x01.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Domain: WC 4.
[ros2_control_node-1] STATE: Undefined State with status word :8052
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[ros2_control_node-1] [INFO] [1683032584.991717728] [rclcpp]: signal_handler(signum=2)
[robot_state_publisher-2] [INFO] [1683032584.991722042] [rclcpp]: signal_handler(signum=2)
[ros2_control_node-1] Domain: WC 6.
[ros2_control_node-1] Slave: State 0x08.
[ros2_control_node-1] Slave: operational.
[ros2_control_node-1] Slave: State 0x01.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Domain: WC 7.
[ros2_control_node-1] Domain: WC 9.
[ros2_control_node-1] Slave: State 0x08.
[ros2_control_node-1] Slave: operational.
[ros2_control_node-1] Slave: State 0x01.
[ros2_control_node-1] Slave: State 0x02.
[ros2_control_node-1] Domain: WC 10.
[ros2_control_node-1] Domain: WC 12.
[ros2_control_node-1] Domain: State 2.
[ros2_control_node-1] Master AL states: 0x08.
[ros2_control_node-1] Slave: State 0x08.
[ros2_control_node-1] Slave: operational.

How can i fix this? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions