Skip to main content

Parameter Reference

The 305ap uses PX4's standard parameters. This page lists the ones the board sets differently from PX4's defaults, and the ones you are most likely to need. For the complete list with descriptions, see Vehicle Setup → Parameters in QGroundControl or the PX4 parameter reference.

Parameters are stored on the SD card (/fs/microsd/params). Without a card, changes are lost at reboot.

Board Defaults​

The firmware sets these defaults for the 305ap (rc.board_defaults). A parameter reset returns to these values.

Parameter305ap defaultWhy
BAT1_V_DIV11.0Battery voltage divider on the board (1/11)
BAT1_A_PER_V0No onboard current sensor; set it when you connect one
SYS_HAS_MAG1Onboard MMC5983MA compass
PWM_MAIN_TIM0-4 (DShot300)DShot on MAIN 1–2
RC_INPUT_PROTO-1 (auto)Detect the RC protocol on RC IN
CBRK_SUPPLY_CHK894281Supply check bypassed: the board has no USB power sensing
MSP_OSD_CONFIGTELEM 3MSP OSD on the VTX connector
SER_TEL3_BAUD115200MSP OSD baud rate

Power​

ParameterDefaultNotes
BAT1_N_CELLS—Set to your battery's cell count
BAT1_V_DIV11.0Calibrate against a multimeter in Vehicle Setup → Power
BAT1_A_PER_V011 × the current sensor's A/V (the input has a 1/11 divider)
BAT_V_OFFS_CURR0Sensor zero-current output ÷ 11

Outputs​

ParameterDefaultNotes
PWM_MAIN_FUNC1–80 (disabled)Function per output; set in Actuators
PWM_MAIN_TIM0–TIM3DShot300, then PWM 400 HzProtocol per timer group (MAIN 1–2, 3–4, 5–6, 7–8)
PWM_MAIN_DIS1–81000 µsPWM value when disarmed
DSHOT_MIN0.055Minimum DShot throttle when armed

See ESC Configuration.

Serial Ports​

ParameterDefaultNotes
MAV_0_CONFIGTELEM 1MAVLink on TELEM 1
SER_TEL1_BAUD57600
MAV_0_FLOW_CTRL2 (auto)1 force on, 0 force off
MAV_1_CONFIG0 (off)Set to TELEM 2 for a companion computer or second radio
SER_TEL2_BAUD921600
UXRCE_DDS_CFG0 (off)ROS 2 bridge port
GPS_1_CONFIGGPS 1
SER_GPS1_BAUD0 (auto)
GPS_1_PROTOCOL1 (u-blox)

See Telemetry, GPS Setup and Companion Computer.

Sensors​

ParameterDefaultNotes
SENS_BOARD_ROT0Board mounting rotation
CAL_MAGn_PRIO50 internal, 75 externalCompass priority, set at calibration; 0 disables a compass
CAL_MAGn_ROTper sensorExternal compass rotation
SENS_EXT_I2C_PRB1Probe external I2C buses for compasses at boot
SENS_GNSS_PRIME0Preferred GPS: 0 main serial, 1 secondary serial, or a DroneCAN node ID
IMU_GYRO_RATEMAX400 HzRate-loop rate
IMU_GYRO_CUTOFF40 HzGyro low-pass
IMU_DGYRO_CUTOFF20 HzD-term low-pass

See Sensor Calibration and Filter Tuning.

DroneCAN​

ParameterDefaultNotes
UAVCAN_ENABLE0 (off)2 sensors, 3 sensors and ESCs
UAVCAN_NODE_ID1Flight controller node ID
UAVCAN_BITRATE1000000Bus bitrate
UAVCAN_SUB_GPS / UAVCAN_SUB_MAG1Other sensor types default to 0
UAVCAN_ESC_IFACE255CAN interfaces carrying ESC commands
UAVCAN_ESC_RTMAX400 HzMaximum ESC command rate

See DroneCAN.

Logging and System​

ParameterDefaultNotes
SDLOG_MODE0Log from arming to disarming
SDLOG_PROFILEDefault setAdd profiles for tuning
COM_SAFETY_MODE0 (always off)Correct for the 305ap, which has no safety switch
MC_AT_EN0Enable multicopter autotune

Saving and Restoring​

  • QGroundControl: Parameters → Tools → Save to file / Load from file.
  • MAVLink Console: param save writes the current values to the SD card; param reset_all returns everything to the defaults above.