Classes | |
union | custom_mode |
PX4 custom mode. More... | |
Functions | |
constexpr uint32_t | define_mode (enum custom_mode::MAIN_MODE mm, uint8_t sm=0) |
helper function to define any mode as uint32_t constant More... | |
constexpr uint32_t | define_mode_auto (enum custom_mode::SUB_MODE_AUTO sm) |
helper function to define auto mode as uint32_t constant More... | |
constexpr uint32_t px4::define_mode | ( | enum custom_mode::MAIN_MODE | mm, |
uint8_t | sm = 0 |
||
) |
helper function to define any mode as uint32_t constant
mm | main mode |
sm | sub mode (currently used only in auto mode) |
Definition at line 107 of file px4_custom_mode.h.
constexpr uint32_t px4::define_mode_auto | ( | enum custom_mode::SUB_MODE_AUTO | sm | ) |
helper function to define auto mode as uint32_t constant
Same as define_mode(custom_mode::MAIN_MODE_AUTO, sm)
sm | auto sub mode |
Definition at line 119 of file px4_custom_mode.h.