#include <param.h>
Definition at line 47 of file param.h.
◆ Param() [1/3]
mavrosflight::Param::Param |
( |
| ) |
|
◆ Param() [2/3]
◆ Param() [3/3]
mavrosflight::Param::Param |
( |
std::string |
name, |
|
|
int |
index, |
|
|
MAV_PARAM_TYPE |
type, |
|
|
float |
raw_value |
|
) |
| |
◆ fromRawValue()
template<typename T >
double mavrosflight::Param::fromRawValue |
( |
float |
value | ) |
|
|
inlineprivate |
◆ getCastValue()
double mavrosflight::Param::getCastValue |
( |
double |
value | ) |
|
|
private |
◆ getIndex()
int mavrosflight::Param::getIndex |
( |
| ) |
const |
◆ getName()
std::string mavrosflight::Param::getName |
( |
| ) |
const |
◆ getRawValue() [1/2]
float mavrosflight::Param::getRawValue |
( |
| ) |
|
|
private |
◆ getRawValue() [2/2]
float mavrosflight::Param::getRawValue |
( |
double |
value | ) |
|
|
private |
◆ getType()
◆ getValue()
double mavrosflight::Param::getValue |
( |
| ) |
const |
◆ handleUpdate()
◆ init()
void mavrosflight::Param::init |
( |
std::string |
name, |
|
|
int |
index, |
|
|
MAV_PARAM_TYPE |
type, |
|
|
float |
raw_value |
|
) |
| |
|
private |
◆ pack_param_set_msg()
uint16_t mavrosflight::Param::pack_param_set_msg |
( |
uint8_t |
system, |
|
|
uint8_t |
component, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
target_system, |
|
|
uint8_t |
target_component |
|
) |
| |
◆ requestSet()
void mavrosflight::Param::requestSet |
( |
double |
value, |
|
|
mavlink_message_t * |
msg |
|
) |
| |
◆ setFromRawValue()
void mavrosflight::Param::setFromRawValue |
( |
float |
raw_value | ) |
|
|
private |
◆ toCastValue()
template<typename T >
double mavrosflight::Param::toCastValue |
( |
double |
value | ) |
|
|
inlineprivate |
◆ toRawValue()
template<typename T >
float mavrosflight::Param::toRawValue |
( |
double |
value | ) |
|
|
inlineprivate |
◆ expected_raw_value_
float mavrosflight::Param::expected_raw_value_ |
|
private |
◆ index_
int mavrosflight::Param::index_ |
|
private |
◆ name_
std::string mavrosflight::Param::name_ |
|
private |
◆ new_value_
double mavrosflight::Param::new_value_ |
|
private |
◆ serial_
◆ set_in_progress_
bool mavrosflight::Param::set_in_progress_ |
|
private |
◆ type_
◆ value_
double mavrosflight::Param::value_ |
|
private |
The documentation for this class was generated from the following files: