mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_HAL_AVR_SITL: added sensor delays to sitl.
This commit is contained in:
parent
bfba8870e2
commit
6474aa2477
@ -66,6 +66,9 @@ const AP_Param::GroupInfo SITL::var_info[] PROGMEM = {
|
||||
AP_GROUPINFO("FLOW_RATE", 35, SITL, flow_rate, 10),
|
||||
AP_GROUPINFO("FLOW_DELAY", 36, SITL, flow_delay, 0),
|
||||
AP_GROUPINFO("GPS_DRIFTALT", 37, SITL, gps_drift_alt, 0),
|
||||
AP_GROUPINFO("BARO_DELAY", 38, SITL, baro_delay, 0),
|
||||
AP_GROUPINFO("MAG_DELAY", 39, SITL, mag_delay, 0),
|
||||
AP_GROUPINFO("WIND_DELAY", 40, SITL, wind_delay, 0),
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
|
@ -91,7 +91,11 @@ public:
|
||||
AP_Float wind_direction;
|
||||
AP_Float wind_turbulance;
|
||||
AP_Float gps_drift_alt;
|
||||
|
||||
|
||||
AP_Int16 baro_delay; // barometer data delay in ms
|
||||
AP_Int16 mag_delay; // magnetometer data delay in ms
|
||||
AP_Int16 wind_delay; // windspeed data delay in ms
|
||||
|
||||
void simstate_send(mavlink_channel_t chan);
|
||||
|
||||
void Log_Write_SIMSTATE(DataFlash_Class &dataflash);
|
||||
|
Loading…
Reference in New Issue
Block a user