mirror of https://github.com/ArduPilot/ardupilot
Rover: update for Stub -> HIL
This commit is contained in:
parent
234eaceb14
commit
20d1ddb5ba
|
@ -236,8 +236,8 @@ AP_GPS_HIL g_gps_driver;
|
|||
AP_InertialSensor_MPU6000 ins;
|
||||
#elif CONFIG_INS_TYPE == CONFIG_INS_PX4
|
||||
AP_InertialSensor_PX4 ins;
|
||||
#elif CONFIG_INS_TYPE == CONFIG_INS_STUB
|
||||
AP_InertialSensor_Stub ins;
|
||||
#elif CONFIG_INS_TYPE == CONFIG_INS_HIL
|
||||
AP_InertialSensor_HIL ins;
|
||||
#elif CONFIG_INS_TYPE == CONFIG_INS_FLYMAPLE
|
||||
AP_InertialSensor_Flymaple ins;
|
||||
#elif CONFIG_INS_TYPE == CONFIG_INS_OILPAN
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
# define BATTERY_PIN_1 1
|
||||
# define CURRENT_PIN_1 2
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
# define CONFIG_INS_TYPE CONFIG_INS_STUB
|
||||
# define CONFIG_INS_TYPE CONFIG_INS_HIL
|
||||
# define CONFIG_COMPASS AP_COMPASS_HIL
|
||||
# define BATTERY_PIN_1 1
|
||||
# define CURRENT_PIN_1 2
|
||||
|
@ -102,7 +102,7 @@
|
|||
#undef GPS_PROTOCOL
|
||||
#define GPS_PROTOCOL GPS_PROTOCOL_HIL
|
||||
#undef CONFIG_INS_TYPE
|
||||
#define CONFIG_INS_TYPE CONFIG_INS_STUB
|
||||
#define CONFIG_INS_TYPE CONFIG_INS_HIL
|
||||
#undef CONFIG_COMPASS
|
||||
#define CONFIG_COMPASS AP_COMPASS_HIL
|
||||
#endif
|
||||
|
|
|
@ -198,7 +198,7 @@ enum ap_message {
|
|||
// InertialSensor driver types
|
||||
#define CONFIG_INS_OILPAN 1
|
||||
#define CONFIG_INS_MPU6000 2
|
||||
#define CONFIG_INS_STUB 3
|
||||
#define CONFIG_INS_HIL 3
|
||||
#define CONFIG_INS_PX4 4
|
||||
|
||||
// compass driver types
|
||||
|
|
Loading…
Reference in New Issue