File: model_invalid_root_reference.sdf

package info (click to toggle)
sdformat 12.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: cpp: 54,706; python: 3,729; javascript: 704; ruby: 366; sh: 97; ansic: 30; makefile: 16
file content (9 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
<?xml version="1.0" ?>
<sdf version="1.8">
  <model name="model_invalid_root_reference"> 
    <link name="link1">
      <pose relative_to="__root__">1 0 0 0 0 0</pose> <!-- INVALID: __root__ cannot be used as a relative_to reference -->
    </link>
    <frame name="frame1" attached_to="__root__"/> <!-- INVALID: __root__ cannot be used as a attached_to reference -->
  </model>
</sdf>