Altimeter contains information about an altimeter sensor.
More...
#include <Altimeter.hh>
Altimeter contains information about an altimeter sensor.
This sensor can be attached to a link.
◆ Altimeter() [1/3]
sdf::v9::Altimeter::Altimeter |
( |
| ) |
|
◆ Altimeter() [2/3]
sdf::v9::Altimeter::Altimeter |
( |
const Altimeter & |
_altimeter | ) |
|
Copy constructor.
- Parameters
-
◆ Altimeter() [3/3]
sdf::v9::Altimeter::Altimeter |
( |
Altimeter && |
_altimeter | ) |
|
|
noexcept |
Move constructor.
- Parameters
-
◆ ~Altimeter()
sdf::v9::Altimeter::~Altimeter |
( |
| ) |
|
◆ Element()
sdf::ElementPtr sdf::v9::Altimeter::Element |
( |
| ) |
const |
Get a pointer to the SDF element that was used during load.
- Returns
- SDF element pointer. The value will be nullptr if Load has not been called.
◆ Load()
Load the altimeter based on an element pointer.
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.
- Parameters
-
- Returns
- Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.
◆ operator!=()
bool sdf::v9::Altimeter::operator!= |
( |
const Altimeter & |
_alt | ) |
const |
Return true this Altimeter object does not contain the same values as the passed in parameter.
- Parameters
-
◆ operator=() [1/2]
Assignment operator.
- Parameters
-
[in] | _altimeter | The altimeter to set values from. |
- Returns
- *this
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
[in] | _altimeter | The altimeter to set values from. |
- Returns
- *this
◆ operator==()
bool sdf::v9::Altimeter::operator== |
( |
const Altimeter & |
_alt | ) |
const |
Return true if both Altimeter objects contain the same values.
- Parameters
-
◆ SetVerticalPositionNoise()
void sdf::v9::Altimeter::SetVerticalPositionNoise |
( |
const Noise & |
_noise | ) |
|
Set the noise values related to the vertical position.
- Parameters
-
[in] | _noise | Noise values for the vertical position. |
◆ SetVerticalVelocityNoise()
void sdf::v9::Altimeter::SetVerticalVelocityNoise |
( |
const Noise & |
_noise | ) |
|
Set the noise values related to the vertical velocity.
- Parameters
-
[in] | _noise | Noise values for the vertical velocity. |
◆ VerticalPositionNoise()
const Noise& sdf::v9::Altimeter::VerticalPositionNoise |
( |
| ) |
const |
Get the noise values related to the vertical position.
- Returns
- Noise values for the vertical position.
◆ VerticalVelocityNoise()
const Noise& sdf::v9::Altimeter::VerticalVelocityNoise |
( |
| ) |
const |
Get the noise values related to the vertical velocity.
- Returns
- Noise values for the vertical velocity.
The documentation for this class was generated from the following file: