Skip to content

Commit

Permalink
tutorials/08-implementing-a-custom-feature: Fixed directory listings
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Pecka <[email protected]>
  • Loading branch information
peci1 authored Sep 16, 2024
1 parent 5f6e2d9 commit 7e29662
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tutorials/08-implementing-a-custom-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ Looking closer to a plugin folder, for example, the `dartsim` (DART) plugin:
dartsim
├── worlds Example SDF files for testing dartsim plugin functionalities.
├── src Main implementation files of the plugin features interfacing the physics engines API
├── include/gz/physics/dartsim Header files for the plugin features.
└── CMakeLists.txt CMake plugin build script.
```

Basically, new implementation of \ref gz::physics::Feature "Feature" or
\ref gz::physics::FeatureList "FeatureList", which is corresponded to a
functionality of the external physics engine can be defined as a header in
`include/gz/physics/<plugin_name>` folder. The custom feature could
`src` folder. The custom feature could
be added in a \ref gz::physics::FeatureList "FeatureList"
and implemented its functionalities in `src` folder.

Expand Down Expand Up @@ -159,9 +158,8 @@ dartsim
├── src
│ ├── CustomFeatures.hh
│ ├── CustomFeatures.cc
| ├── World.hh
│ └── ...
├── include/gz/physics/dartsim
│ └── World.hh
└── CMakeLists.txt
```

Expand Down Expand Up @@ -208,6 +206,5 @@ dartsim
│ ├── CustomFeatures.hh
│ ├── CustomFeatures.cc
│ ├── ...
├── include/gz/physics/dartsim
└── CMakeLists.txt
```

0 comments on commit 7e29662

Please sign in to comment.