mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Rover: ported to Linux
This commit is contained in:
parent
3665bec26d
commit
9679faae3b
@ -98,6 +98,7 @@
|
|||||||
#include <AP_HAL_AVR_SITL.h>
|
#include <AP_HAL_AVR_SITL.h>
|
||||||
#include <AP_HAL_PX4.h>
|
#include <AP_HAL_PX4.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE.h>
|
||||||
|
#include <AP_HAL_Linux.h>
|
||||||
#include <AP_HAL_Empty.h>
|
#include <AP_HAL_Empty.h>
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
@ -82,6 +82,11 @@
|
|||||||
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
||||||
# define BATTERY_PIN_1 20
|
# define BATTERY_PIN_1 20
|
||||||
# define CURRENT_PIN_1 19
|
# define CURRENT_PIN_1 19
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
|
# define CONFIG_INS_TYPE CONFIG_INS_HIL
|
||||||
|
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
||||||
|
# define BATTERY_PIN_1 -1
|
||||||
|
# define CURRENT_PIN_1 -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user