ArduPilot Instructions
Firmware Setup
The ARK GPS ships with ARK firmware. ArduPilot uses its GPS, magnetometer, barometer and safety switch over DroneCAN. To replace the ARK firmware with ArduPilot's AP_Periph, see Updating to AP_Periph.
Single GPS Configuration
Connect the ARK GPS to the flight controller's CAN port with a 4-pin JST-GH cable.
Flight Controller Parameters
Required
CAN_P1_DRIVER
1
Enable CAN port 1 driver
CAN_D1_PROTOCOL
1
Set protocol to DroneCAN
GPS1_TYPE
9
DroneCAN
GPS_AUTO_CONFIG
1
Auto-configure serial GPSes only
Reboot the flight controller. ArduPilot detects the magnetometer and barometer as DroneCAN sensors.
Optional
GPS1_POS_X / GPS1_POS_Y / GPS1_POS_Z
Antenna offset from the vehicle center of gravity (meters)
CAN Node Parameters
The node publishes GPS, magnetometer and barometer data with its default parameters. To terminate the bus or fix the node ID, see Node Parameters.
Last updated