Home | Tutorials | Wiki | Issues
Ask Your Question
0

subscribing gazebo messages for joint

asked 2018-10-10 01:21:08 -0500

Gaurav gravatar image

Hi, I was subscribing gazebo messages from topics like ~/pose/info , ~/joints in stand-alone C++. I want to get data of joint like angle, velocity,etc. But, I am unable to see on any topic in gazebo. Can you help to access joint data from topic? Which topic should I access ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-10 11:47:45 -0500

There are several ways, here's two of them:

  • You could send a request for entity_info like it's done here.
  • You could use introspection as described on this tutorial.
edit flag offensive delete link more

Comments

Hi, Thanks. It works.

Gaurav gravatar imageGaurav ( 2018-10-11 08:18:13 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-10-10 01:21:08 -0500

Seen: 49 times

Last updated: Oct 10