|
|
@ -14,11 +14,18 @@ |
|
|
|
#define GOBJECT(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &v, {group_info:class::var_info} } |
|
|
|
#define GOBJECT(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &v, {group_info:class::var_info} } |
|
|
|
|
|
|
|
|
|
|
|
const AP_Param::Info var_info[] PROGMEM = { |
|
|
|
const AP_Param::Info var_info[] PROGMEM = { |
|
|
|
GSCALAR(format_version, "FORMAT_VERSION", 0), |
|
|
|
GSCALAR(format_version, "FORMAT_VERSION", 1), |
|
|
|
GSCALAR(software_type, "SYSID_SW_TYPE", Parameters::k_software_type), |
|
|
|
GSCALAR(software_type, "SYSID_SW_TYPE", Parameters::k_software_type), |
|
|
|
GSCALAR(sysid_this_mav, "SYSID_THISMAV", MAV_SYSTEM_ID), |
|
|
|
GSCALAR(sysid_this_mav, "SYSID_THISMAV", MAV_SYSTEM_ID), |
|
|
|
GSCALAR(sysid_my_gcs, "SYSID_MYGCS", 255), |
|
|
|
GSCALAR(sysid_my_gcs, "SYSID_MYGCS", 255), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @Param: SERIAL0_BAUD |
|
|
|
|
|
|
|
// @DisplayName: Telemetry Baud Rate |
|
|
|
|
|
|
|
// @Description: The baud rate used on the first serial port |
|
|
|
|
|
|
|
// @Values: 1:1200,2:2400,4:4800,9:9600,19:19200,38:38400,57:57600,111:111100,115:115200 |
|
|
|
|
|
|
|
// @User: Standard |
|
|
|
|
|
|
|
GSCALAR(serial0_baud, "SERIAL0_BAUD", SERIAL0_BAUD/1000), |
|
|
|
|
|
|
|
|
|
|
|
// @Param: SERIAL3_BAUD |
|
|
|
// @Param: SERIAL3_BAUD |
|
|
|
// @DisplayName: Telemetry Baud Rate |
|
|
|
// @DisplayName: Telemetry Baud Rate |
|
|
|
// @Description: The baud rate used on the telemetry port |
|
|
|
// @Description: The baud rate used on the telemetry port |
|
|
|