I managed to figure it out a few years ago and i forgot to post the answer here.
subscribe to a gazebo topic
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Philippe Lebel
am 5 Jan. 2018
Beantwortet: Philippe Lebel
am 5 Nov. 2019
I can see the gazebo topic using the command line option (ubuntu):
$gz topic -e /gazebo/default/physics/contacts
The problem is I cannot figure out a way to subscribe to such topic. I can easily subscribe and publish ros topics though.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Emmanouil Tzorakoleftherakis
am 8 Jan. 2018
Hi Philippe,
Please see this link for an example on how to interact with gazebo. If you cannot see the gazebo topics by running
rostopic list
it is possible that the network has not been set up properly.
Siehe auch
Kategorien
Mehr zu Gazebo Co-Simulation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!