mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 23:55:24 +08:00
Add GPS and Compass (#5066)
This commit is contained in:
@@ -154,6 +154,8 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
gps start -d /dev/ttyS0
|
||||
|
||||
# waypoint storage
|
||||
# REBOOTWORK this needs to start in parallel
|
||||
if dataman start
|
||||
|
||||
@@ -17,6 +17,7 @@ set(config_module_list
|
||||
drivers/tap_esc
|
||||
#drivers/mpu6500
|
||||
drivers/ms5611
|
||||
drivers/hmc5883
|
||||
drivers/gps
|
||||
drivers/airspeed
|
||||
drivers/meas_airspeed
|
||||
|
||||
@@ -106,6 +106,8 @@ __BEGIN_DECLS
|
||||
#define PX4_I2C_BUS_SONAR 2
|
||||
#define PX4_I2C_BUS_EXPANSION 3
|
||||
|
||||
#define PX4_I2C_OBDEV_HMC5883 0x1e
|
||||
|
||||
/*
|
||||
* Devices on the onboard bus.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user