Skip to content

Instantly share code, notes, and snippets.

@dbaldwin
Created September 11, 2025 16:59
Show Gist options
  • Select an option

  • Save dbaldwin/bc8cacacaa9a0b3c1b9949b8298a1f23 to your computer and use it in GitHub Desktop.

Select an option

Save dbaldwin/bc8cacacaa9a0b3c1b9949b8298a1f23 to your computer and use it in GitHub Desktop.
2025 AVR Drone PX4 1.16 Params w/ DroneBlocks Compute Kit
# PX4 params file for AVR 2025 drone with DroneBlocks Compute Kit
# Optical flow and range sensing
1 1 EKF2_OF_CTRL 1 6
1 1 EKF2_GPS_CTRL 0 6
1 1 UAVCAN_SUB_FLOW 1 6
1 1 UAVCAN_SUB_RNG 1 6
1 1 EKF2_RNG_A_HMAX 10.000000000000000000 9
1 1 EKF2_RNG_QLTY_T 0.200000002980232239 9
1 1 UAVCAN_RNG_MIN 0.079999998211860657 9
1 1 UAVCAN_RNG_MAX 30.000000000000000000 9
1 1 SENS_FLOW_MINHGT 0.079999998211860657 9
1 1 SENS_FLOW_MAXHGT 30.000000000000000000 9
1 1 SENS_FLOW_MAXR 7.400000095367431641 9
# Assumes positioning on right side of AVR drone on rod mounts
1 1 EKF2_OF_POS_X 0.000000000000000000 9
1 1 EKF2_OF_POS_Y 0.100000001490116119 9
1 1 EKF2_OF_POS_Z 0.075000002980232239 9
# MAVLink Router Config
1 1 SER_TEL1_BAUD 500000 6
# UXRCE DDS Config for ROS2 communication with DEXI
1 1 UXRCE_DDS_CFG 102 6
1 1 SER_TEL2_BAUD 921600 6
# Stabilized, Altitude, and Position Flight Modes
1 1 COM_FLTMODE1 8 6
1 1 COM_FLTMODE4 1 6
1 1 COM_FLTMODE6 2 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment