ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros_control actuators and transmissions

asked 2016-04-25 10:08:14 -0500

JRikken gravatar image

I am controlling a dynamixel based SCARA arm (4 revolute joints) using ROS (MoveIt + ros_control + dynamixel_controllers). Before controlling the actual arm, I attempted to test the system with Gazebo. (up to the point where I would connect ros_control to the dynamixel motors). In my URDF I added the transmissions (in my case 1:2) between the actuators and the joints. I am using the effort_controllers/JointTrajectoryController and my joint names when spawning the controllers.

The simulation works fine, and I am able to control the arm using MoveIt pretty much as expected, however when monitoring the joint angles which are send to my controllers they map 1:1 to the joint angles set in MoveIt, where I would expect them to be double because of the transmission between my motors and my joints.

How does ros_control take the transmission into account? Should I spawn my controllers using the actuator names instead of the joint directly? Or should I implement the transmission somewhere in the hardware abstraction layer which will connect ros_control to my dynamixel_controllers?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-28 04:01:18 -0500

JRikken gravatar image

Currently I am using the hardware abstraction layer to calculate the influence of the transmissions.

edit flag offensive delete link more

Comments

isnt this a comment vs an answer?

okstew gravatar image okstew  ( 2020-01-16 13:12:58 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-04-25 10:08:14 -0500

Seen: 814 times

Last updated: Jun 28 '16