I managed to figure it out a few years ago and i forgot to post the answer here.
subscribe to a gazebo topic
조회 수: 7 (최근 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!