SITL: added SIM_PIN_MASK

for simulation of GPIO pins
This commit is contained in:
Andrew Tridgell committed 2016-07-22 15:01:20 +10:00
1 parent 241b6edfcf
commit f075fcd79f
2 files changed
+2

No files matched your search

+1
View File
@@ -81,6 +81,7 @@ const AP_Param::GroupInfo SITL::var_info[] = {
AP_GROUPINFO("ADSB_ALT", 47, SITL, adsb_altitude_m, 1000),
AP_GROUPINFO("MAG_ALY", 48, SITL, mag_anomaly_ned, 0),
AP_GROUPINFO("MAG_ALY_HGT", 49, SITL, mag_anomaly_hgt, 1.0f),
AP_GROUPINFO("PIN_MASK", 50, SITL, pin_mask, 0),
AP_GROUPEND
};
+1
View File
@@ -103,6 +103,7 @@ public:
AP_Int16 flow_rate; // optflow data rate (Hz)
AP_Int8 flow_delay; // optflow data delay
AP_Int8 terrain_enable; // enable using terrain for height
AP_Int8 pin_mask; // for GPIO emulation
// wind control
float wind_speed_active;