ethercat_driver_ros2 icon indicating copy to clipboard operation
ethercat_driver_ros2 copied to clipboard

Ethercat behavior is unstable

Open ghost opened this issue 1 year ago • 3 comments

We have encountered an error in our library usage and would appreciate some feedback on how to solve it.

we have 16 EtherCAT units (7 drives and 9 I/O modules) we launch our application in mode of operation 9 (velocity) and in doing so when we launch one of the motors starts rotating in a random (or so it seems) direction., before we even give it a command. closing the EtherCAT master and restarting it didn't help but restarting the machine (jetson-orin) did work

ghost avatar Jul 16 '24 07:07 ghost

Seems related to #125 ... Are u using CSP mode?

JensVanhooydonck avatar Jul 19 '24 13:07 JensVanhooydonck

I have seen this issue, the problem is that we are using CSV, when I override the default velocity to 0 I cannot override it later and the motors stays put.

ghost avatar Jul 21 '24 07:07 ghost

You need to ensure the controller that is claiming the velocity command interface sends zero at the start. First ensure your motors are disabled. Delay the launch of controllers after the state broadcaster has been launched. When enabling the motors, send a message to the velocity controller to command all joints to zero velocity, then enable the motors.

ammaraljodah avatar Sep 12 '24 22:09 ammaraljodah