ICube-Robotics / ethercat_driver_ros2

Hardware Interface for EtherCAT module integration with ros2_control
https://icube-robotics.github.io/ethercat_driver_ros2/
Apache License 2.0
126 stars 32 forks source link

What controller should I use if I want to control the position of a motor. #49

Closed Brethiltaras closed 1 year ago

Brethiltaras commented 1 year ago

Bonjour! I am trying to control the position of a driver using ros2 control and ethercat_driver_ros2, I have tried using joint_trajectory_controller/JointTrajectoryController but the motor is not responding. The ethercat driver can enter operational mode successfully, and the joint state publisher can work correctly.

I wonder what controller should I choose. Is joint_trajectory_controller the right one for this propose?

Merci beaucoup!

wei1224hf commented 2 months ago

how to send the position command ? I am facing the same problmen