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