This subfolder holds example source files and a corresponding CMakeLists.txt
file, as a starting point for compiling Gazebo implementations in a personal repository (i.e. not part of the official Gazebo source repositories).
The provided CMakeLists.txt
file contains the directives to compile two example Gazebo systems: BasicSystem
and FullSystem
.
For more information on Gazebo Sim systems, see following Gazebo Sim tutorials:
BasicSystem
is an example system that implements only the ISystemPostUpdate
interface:
class BasicSystem:
public gz::sim::System,
public gz::sim::ISystemPostUpdate
FullSystem
is an example system that implements all of the system interfaces:
class FullSystem:
public gz::sim::System,
public gz::sim::ISystemConfigure,
public gz::sim::ISystemPreUpdate,
public gz::sim::ISystemUpdate,
public gz::sim::ISystemPostUpdate
See the comments in the source files for further documentation.
The provided CMakeLists.txt
file contains comments that clarify the different sections and commands, and how to apply these to your project.