Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to get values from contact sensor?

asked 2019-10-21 16:03:47 -0600

adheeshenoy gravatar image

Gazebo newbie.

I wanted to get the values from the contact sensor to use in a python program. Is there any way to get the values force and wrench values from the rostopic?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-30 06:20:02 -0600

mxch_18 gravatar image

Hello,

I think Gazebo has material on his website pertaining to that : here and here.

You will most likely have to write a C++ Gazebo Sensor plugin to publish the values you want on the desired rostopic, and then subscribe to them in your ROS node.

Hope this can help you!

Best.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-10-21 16:03:47 -0600

Seen: 677 times

Last updated: Oct 21