Function px4::define_mode_auto

Function Documentation

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)

Parameters:

sm – auto sub mode

Returns:

uint32_t representation