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()
sdf::SDF_VERSION_NAMESPACE::Altimeter::Altimeter |
( |
| ) |
|
◆ Element()
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::SDF_VERSION_NAMESPACE::Altimeter::operator!= |
( |
const Altimeter & |
_alt | ) |
const |
Return true this Altimeter object does not contain the same values as the passed in parameter.
- Parameters
-
[_in] | _alt Altimeter value to compare. \returen True if 'this' != _alt. |
◆ operator==()
bool sdf::SDF_VERSION_NAMESPACE::Altimeter::operator== |
( |
const Altimeter & |
_alt | ) |
const |
Return true if both Altimeter objects contain the same values.
- Parameters
-
[_in] | _alt Altimeter value to compare. \returen True if 'this' == _alt. |
◆ SetVerticalPositionNoise()
void sdf::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::Altimeter::SetVerticalVelocityNoise |
( |
const Noise & |
_noise | ) |
|
Set the noise values related to the vertical velocity.
- Parameters
-
[in] | _noise | Noise values for the vertical velocity. |
◆ ToElement() [1/2]
Create and return an SDF element filled with data from this altimeter sensor.
Note that parameter passing functionality is not captured with this function.
- Returns
- SDF element pointer with updated sensor values.
◆ ToElement() [2/2]
Create and return an SDF element filled with data from this altimeter sensor.
Note that parameter passing functionality is not captured with this function.
- Parameters
-
[out] | _errors | Vector of errors. |
- Returns
- SDF element pointer with updated sensor values.
◆ VerticalPositionNoise()
const Noise& sdf::SDF_VERSION_NAMESPACE::Altimeter::VerticalPositionNoise |
( |
| ) |
const |
Get the noise values related to the vertical position.
- Returns
- Noise values for the vertical position.
◆ VerticalVelocityNoise()
const Noise& sdf::SDF_VERSION_NAMESPACE::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: