Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ethercat behavior is unstable #138

Open
ghost opened this issue Jul 16, 2024 · 3 comments
Open

Ethercat behavior is unstable #138

ghost opened this issue Jul 16, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 16, 2024

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

@JensVanhooydonck
Copy link
Contributor

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

@ghost
Copy link
Author

ghost commented Jul 21, 2024

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.

@ammaraljodah
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants