Gazebo Sim

API Reference

9.0.0
NavSat Class Reference

System that handles navigation satellite sensors, such as GPS, that reports position and velocity in spherical coordinates (latitude / longitude) over Gazebo Transport. More...

#include <gz/sim/systems/NavSat.hh>

Public Member Functions

 NavSat ()
 Constructor.
 
void PostUpdate (const UpdateInfo &_info, const EntityComponentManager &_ecm) final
 
void PreUpdate (const UpdateInfo &_info, EntityComponentManager &_ecm) final
 
- Public Member Functions inherited from System
 System ()=default
 Constructor.
 
virtual ~System ()=default
 Destructor.
 

Additional Inherited Members

- Public Types inherited from System
using PriorityType = int32_t
 Signed integer type used for specifying priority of the execution order of PreUpdate and Update phases.
 
- Static Public Attributes inherited from System
static constexpr PriorityType kDefaultPriority = {0}
 Default priority value for execution order of the PreUpdate and Update phases.
 
static constexpr std::string_view kPriorityElementName
 Name of the XML element from which the priority value will be parsed.
 

Detailed Description

System that handles navigation satellite sensors, such as GPS, that reports position and velocity in spherical coordinates (latitude / longitude) over Gazebo Transport.

The NavSat sensors rely on the world origin's spherical coordinates being set, for example through SDF's <spherical_coordinates> tag or the /world/world_name/set_spherical_coordinates service.

Constructor & Destructor Documentation

◆ NavSat()

NavSat ( )
explicit

Constructor.

Member Function Documentation

◆ PostUpdate()

void PostUpdate ( const UpdateInfo _info,
const EntityComponentManager _ecm 
)
finalvirtual

Implements ISystemPostUpdate.

◆ PreUpdate()

void PreUpdate ( const UpdateInfo _info,
EntityComponentManager _ecm 
)
finalvirtual

Implements ISystemPreUpdate.


The documentation for this class was generated from the following file: