For the complete documentation index, see llms.txt. This page is also available as Markdown.

PX4 Instructions

Hardware Setup

Wiring

The ARK DIST is connected to the CAN bus using a Pixhawk standard 4 pin JST-GH cable. For more information, refer to the CAN Wiring instructions.

Multiple sensors can be connected by plugging additional sensors into the ARK DIST's second CAN connector.

The ARK DIST can also be connected with UART and communicates over MAVLink sending the DISTANCE_SENSOR message.

Firmware

ARK DIST runs the PX4 DroneCAN Firmware. As such, it supports firmware update over the CAN bus and dynamic node allocation.

CAN Configuration

Flight Controller Parameters

Set the following in QGroundControl and reboot the flight controller.

Required

Parameter
Value
Description

2

Enable DroneCAN with dynamic node allocation

1

Subscribe to DroneCAN range finder messages

0

Min reported range

max sensor range

Max reported range

max sensor range

Max range used by the EKF

0.2

Range finder quality time

CAN Node Parameters

Set the following on the sensor and reboot the node. CAN node parameters can be configured using either:

Optional

Parameter
Description

CANNODE_TERM

Set to 1 if this is the last node on the CAN bus

Flight Controller Parameters

Set the following in QGroundControl and reboot the flight controller.

Required

Parameter
Value
Description

port

Port the sensor is connected to

0

Disable MAVLink forwarding on this port

7 or 13

Minimal or Low Bandwidth — reduces memory usage

115200

Baud rate for the MAVLink port

max sensor range

Max range used by the EKF

0.2

Range finder quality time

Last updated