Ask Your Question
0

UR10 state/real time interface

asked 2017-02-22 09:30:26 -0500

ewka gravatar image

Hi everyone,

I work on an UR5 with ROS Indigo and the following in my workspace: universal robot: https://github.com/ros-industrial/uni... modern driver: https://github.com/ThomasTimm/ur_mode...

Everything works fine (rviz, movement in simulation and on real robot), but can someone tell me how I can get joint position and voltages across the system state and in realtime?

Thank you! Eva

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-22 09:44:15 -0500

gvdhoorn gravatar image

how I can get joint position

Subscribe to the /joint_states topic.

voltages across the system state

I'm not entirely sure what you mean here, but I'm pretty sure those are currently not published. If they are part of the datastreams on either the secondary or "matlab" interface, then they could be made available, but you'll have to add publishers for them yourself.

edit flag offensive delete link more

Comments

Thanks for your fast answer!

What I mean is, that I have connected an analog sensor to the robot and I need the changing voltage (changing distance measurement) of the sensor (like on the UR panel) in ROS. So I can transform the voltage to distance.

ewka gravatar image ewka  ( 2017-02-22 11:25:23 -0500 )edit

Well my answer remains the same: the current driver does not publish the values of the analog inputs, so you'll have to add that. See ur_modern_driver#83 for a related issue, and preferably discuss your plans with the maintainer.

gvdhoorn gravatar image gvdhoorn  ( 2017-02-22 13:09:07 -0500 )edit

Have you found a solution of your problem? I have the same one...

MRJ gravatar image MRJ  ( 2017-03-21 12:57:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-02-22 09:30:26 -0500

Seen: 367 times

Last updated: Feb 22 '17