mirror of https://github.com/ArduPilot/ardupilot
SITL: added SIM_OSD_ROWS and SIM_OSD_COLUMNS
This commit is contained in:
parent
8ccec7615c
commit
feb8c3be67
|
@ -524,6 +524,20 @@ const AP_Param::GroupInfo SIM::var_info3[] = {
|
|||
// @Bitmask: 0:MAVLink,3:SageTechMXS
|
||||
AP_GROUPINFO("ADSB_TYPES", 52, SIM, adsb_types, 1),
|
||||
|
||||
#ifdef WITH_SITL_OSD
|
||||
// @Param: OSD_COLUMNS
|
||||
// @DisplayName: Simulated OSD number of text columns
|
||||
// @Description: Simulated OSD number of text columns
|
||||
// @Range: 10 100
|
||||
AP_GROUPINFO("OSD_COLUMNS", 53, SIM, osd_columns, 30),
|
||||
|
||||
// @Param: OSD_ROWS
|
||||
// @DisplayName: Simulated OSD number of text rows
|
||||
// @Description: Simulated OSD number of text rows
|
||||
// @Range: 10 100
|
||||
AP_GROUPINFO("OSD_ROWS", 54, SIM, osd_rows, 16),
|
||||
#endif
|
||||
|
||||
#ifdef SFML_JOYSTICK
|
||||
AP_SUBGROUPEXTENSION("", 63, SIM, var_sfml_joystick),
|
||||
#endif // SFML_JOYSTICK
|
||||
|
|
|
@ -538,6 +538,11 @@ public:
|
|||
AP_Int8 gyro_file_rw;
|
||||
AP_Int8 accel_file_rw;
|
||||
#endif
|
||||
|
||||
#ifdef WITH_SITL_OSD
|
||||
AP_Int16 osd_rows;
|
||||
AP_Int16 osd_columns;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace SITL
|
||||
|
|
Loading…
Reference in New Issue