I managed to figure it out a few years ago and i forgot to post the answer here.
subscribe to a gazebo topic
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
その他の回答 (1 件)
Emmanouil Tzorakoleftherakis
2018 年 1 月 8 日
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.
参考
カテゴリ
Help Center および File Exchange で Gazebo Co-Simulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!