Skip to content

CLI Reference

Fidelity X provides a command line interface (CLI) for configuration and debugging.


Connection

Connect via USB virtual serial port:

ParameterValue
Baud rate115200
Data bits8
Stop bits1

Basic Commands

CommandFunction
helpShow all commands
statusSystem status overview
versionFirmware version info
rebootRestart system
bootloaderEnter DFU mode

Parameter Commands

CommandFunction
param listList all parameters
param get <name>Get parameter value
param set <name> <value>Set parameter
param saveSave to Flash
param loadLoad from Flash
param resetReset to defaults

Safety System Commands

CommandFunction
failsafe statusShow safety system status
failsafe test rcTest RC loss response
failsafe test armingTest arming conditions
failsafe resetReset safety system state

Motor Commands

CommandFunction
motor test <motor#> <throttle>Test single motor
motor stopStop motor test
motor infoShow motor configuration

Example:

Terminal window
motor test 1 0.1 # Motor 1, 10% throttle
motor stop

Calibration Commands

CommandFunction
accel_calCalibrate accelerometer

Sensor Commands

CommandFunction
imu infoIMU sensor information
imu dataReal-time IMU data

RC Commands

CommandFunction
rc infoRC configuration info
rc dataReal-time RC channel data

Log Commands

CommandFunction
glog statusBlackbox log status
glog startStart recording
glog stopStop recording
mscEnter USB storage mode to export logs

Shortcuts

ShortcutFunction
TabCommand completion
↑ / ↓History
Ctrl+CCancel current command

Common Parameters Reference

PID Parameters

ParameterDefaultDescription
PID_ROLL_P45Roll P gain
PID_ROLL_I80Roll I gain
PID_ROLL_D35Roll D gain
PID_PITCH_P45Pitch P gain
PID_PITCH_I80Pitch I gain
PID_PITCH_D35Pitch D gain
PID_YAW_P45Yaw P gain
PID_YAW_I80Yaw I gain

Filter Parameters

ParameterDefaultDescription
GYRO_LPF_CUTOFF100Gyro filter cutoff frequency
D_TERM_LPF_CUTOFF80D-term filter cutoff frequency

Safety System Parameters

ParameterDefaultDescription
FS_RC_LOSS_STAGE_1_TIME150RC loss stage 1 time (ms)
FS_BAT_WARN_V14.4Battery warning voltage
FS_BAT_CRIT_V13.2Battery critical voltage