Skip to content

Latest commit

 

History

History

robotverseny_gazebo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ros_gz_example_gazebo

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 and FullSystem

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.

CMakeLists.txt

The provided CMakeLists.txt file contains comments that clarify the different sections and commands, and how to apply these to your project.