can't see contact sensor data [closed]

asked 2014-12-29 21:27:01 -0600

forinkzan gravatar image

hello everyone , i have a question that i follow this tutorial link text,that i create a work dir "$ mkdir ~/gazebo_contact_tutorial; cd ~/gazebo_contact_tutorial" and next make an SDF world file with a box that has a contact sensor. "vim" ,the code is below ; then i run "$ gazebo " and i can see a box on the ground ,but when i type "$ gz topic -l" i can't see /gazebo/default/box/link/my_contact

if anyone know why , help me please ~


<sdf version="1.4"> <world name="default"> <include> <uri>model://ground_plane</uri> </include>


<model name="box">
  <link name="link">
    <pose>0 0 0.5 0 0 0</pose>

    <collision name="box_collision">
          <size>1 1 1</size>

    <visual name="visual">
          <size>1 1 1</size>

    <sensor name='my_contact' type='contact'>

</world> </sdf>

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see for more details. by ahendrix
close date 2014-12-30 00:32:43.460719


This is a gazebo question; you'll probably get a better answer on the gazebo answers site:

ahendrix gravatar imageahendrix ( 2014-12-30 00:32:18 -0600 )edit