Gazebo | Ignition | Community
Ask Your Question
0

Why are state elements used in sdf ?

asked 2016-05-22 13:21:24 -0500

AutoMech gravatar image

updated 2016-05-22 18:12:07 -0500

chapulina gravatar image
 <state world_name='default'>
      <sim_time>3535 973000000</sim_time>
      <real_time>232 539712353</real_time>
      <wall_time>1442941265 684361676</wall_time>
      <model name='Construction Barrel_3'>
        <pose>-6.4015 6.0113 10.049999 3e-06 -0 -0.120405</pose>
        <link name='link'>
          <pose>-6.4015 6.0113 0.049999 3e-06 -0 -0.120405</pose>
          <velocity>0 0 0 0 -0 0</velocity>
          <acceleration>0 0 0 0 -0 0</acceleration>
          <wrench>0 0 0 0 -0 0</wrench>
        </link>
      </model>
</state>

please explain above lines of code

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-05-22 18:15:01 -0500

chapulina gravatar image

State elements are used in log files to record the current state of simulation.

The tutorial on logging and playback has some information about states.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-05-22 13:21:24 -0500

Seen: 1,093 times

Last updated: May 22 '16