NavSat contains information about a NavSat sensor. More...
#include <NavSat.hh>
Public Member Functions | |
NavSat () | |
Default constructor. More... | |
NavSat (const NavSat &_navsat) | |
Copy constructor. More... | |
NavSat (NavSat &&_navsat) noexcept | |
Move constructor. More... | |
~NavSat () | |
Destructor. More... | |
sdf::ElementPtr | Element () const |
Get a pointer to the SDF element that was used during load. More... | |
const Noise & | HorizontalPositionNoise () const |
Get noise value for horizontal position sensor. More... | |
const Noise & | HorizontalVelocityNoise () const |
Get noise value for horizontal velocity sensor. More... | |
Errors | Load (ElementPtr _sdf) |
Load the navsat based on an element pointer. More... | |
bool | operator!= (const NavSat &_navsat) const |
Return true this NavSat object does not contain the same values as the passed in parameter. More... | |
NavSat & | operator= (const NavSat &_navsat) |
Assignment operator. More... | |
NavSat & | operator= (NavSat &&_navsat) noexcept |
Move assignment operator. More... | |
bool | operator== (const NavSat &_navsat) const |
Return true if both NavSat objects contain the same values. More... | |
void | SetHorizontalPositionNoise (const Noise &_noise) |
Set the noise values for the horizontal position sensor. More... | |
void | SetHorizontalVelocityNoise (const Noise &_noise) |
Set the noise values for the horizontal velocity sensor. More... | |
void | SetVerticalPositionNoise (const Noise &_noise) |
Set the noise values for the vertical position sensor. More... | |
void | SetVerticalVelocityNoise (const Noise &_noise) |
Set the noise values for the vertical velocity sensor. More... | |
const Noise & | VerticalPositionNoise () const |
Get noise value for vertical position sensor. More... | |
const Noise & | VerticalVelocityNoise () const |
Get noise value for vertical velocity sensor. More... | |
NavSat contains information about a NavSat sensor.
This sensor can be attached to a link. The NavSat sensor can be defined SDF XML by the "navsat" type.
sdf::v9::NavSat::NavSat | ( | ) |
Default constructor.
sdf::v9::NavSat::NavSat | ( | const NavSat & | _navsat | ) |
Copy constructor.
[in] | _navsat | NavSat to copy. |
|
noexcept |
Move constructor.
[in] | _navsat | NavSat to move. |
sdf::v9::NavSat::~NavSat | ( | ) |
Destructor.
sdf::ElementPtr sdf::v9::NavSat::Element | ( | ) | const |
const Noise& sdf::v9::NavSat::HorizontalPositionNoise | ( | ) | const |
Get noise value for horizontal position sensor.
const Noise& sdf::v9::NavSat::HorizontalVelocityNoise | ( | ) | const |
Get noise value for horizontal velocity sensor.
Errors sdf::v9::NavSat::Load | ( | ElementPtr | _sdf | ) |
bool sdf::v9::NavSat::operator!= | ( | const NavSat & | _navsat | ) | const |
Assignment operator.
[in] | _navsat | The navsat to set values from. |
Move assignment operator.
[in] | _navsat | The navsat to set values from. |
bool sdf::v9::NavSat::operator== | ( | const NavSat & | _navsat | ) | const |
void sdf::v9::NavSat::SetHorizontalPositionNoise | ( | const Noise & | _noise | ) |
Set the noise values for the horizontal position sensor.
[in] | _noise | Noise values to set to |
void sdf::v9::NavSat::SetHorizontalVelocityNoise | ( | const Noise & | _noise | ) |
Set the noise values for the horizontal velocity sensor.
[in] | _noise | Noise values to set to |
void sdf::v9::NavSat::SetVerticalPositionNoise | ( | const Noise & | _noise | ) |
Set the noise values for the vertical position sensor.
[in] | _noise | Noise values to set to |
void sdf::v9::NavSat::SetVerticalVelocityNoise | ( | const Noise & | _noise | ) |
Set the noise values for the vertical velocity sensor.
[in] | _noise | Noise values to set to |
const Noise& sdf::v9::NavSat::VerticalPositionNoise | ( | ) | const |
Get noise value for vertical position sensor.
const Noise& sdf::v9::NavSat::VerticalVelocityNoise | ( | ) | const |
Get noise value for vertical velocity sensor.