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

Mapping between PWM counts and joint angle in ros_canopen

asked 2016-11-10 20:36:35 -0500

Craig gravatar image

I'm using ros_canopen, which is an awsome package, to communicate with my robot.

By far, I modified the below yaml parameters to deal with the mapping between PWM counts and jont angle.

default:
  pos_to_device: "rint(rad2deg(pos)*1000)"
  pos_from_device: "deg2rad(obj6064)/1000" 
  vel_to_device: "rint(rad2deg(vel)*1000)" 
  vel_from_device: "deg2rad(obj606C)/1000"

Is there a way to use transmission ratio in URDF and define only a parameter of encoder resolution in the above yaml?

Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2016-11-11 06:42:39 -0500

Mathias Lüdtke gravatar image

No, this is not implemented (yet?). ( https://github.com/ros-industrial/ros... )

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-11-10 20:36:35 -0500

Seen: 157 times

Last updated: Nov 11 '16