You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have eight motors (Dynamixel XH430-W210-T), 4 for steering and 4 for driving mobile robot. I would like to control steering motor with position controller and driving motor with velocity controller...is this possible? I tried using JointGroupPositionController and JointGroupVelocityController and when I send [0, 0, 0, 0] to position controller, steering motors go to 0 position, but then I try to send [0.5, 0.5, 0.5, 0.5] to velocity controller and driving motors start driving a bit and then return to 0...does anyone know why is that..am I missing something?
I am using ROS2 Humble with ros2_controll, and my .yaml file is bellow:
I have noticed, that when control mode is changed, all the motors change their control mode. Is it possible to define specific control interface for each motor at the same time. For example to have 4 motors that are controlled using position control mode and 4 motors that are controlled using velocity control mode?
The quick answer is no, this is not supported currently. It is assumed that all of the joints will be using the same controller type.
That being said, I don't think there is anything preventing this from being implemented, and would be a good addition if anyone is interested in opening a PR.
I have eight motors (Dynamixel XH430-W210-T), 4 for steering and 4 for driving mobile robot. I would like to control steering motor with position controller and driving motor with velocity controller...is this possible? I tried using JointGroupPositionController and JointGroupVelocityController and when I send
[0, 0, 0, 0]
to position controller, steering motors go to 0 position, but then I try to send[0.5, 0.5, 0.5, 0.5]
to velocity controller and driving motors start driving a bit and then return to 0...does anyone know why is that..am I missing something?I am using ROS2 Humble with ros2_controll, and my .yaml file is bellow:
The text was updated successfully, but these errors were encountered: