mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 21:23:57 +08:00
5100785f51
Fixes for other boards Functioning sensors
22 lines
295 B
Plaintext
22 lines
295 B
Plaintext
#!nsh
|
|
#
|
|
# @name Crazyflie config
|
|
#
|
|
# @type Quadrotor x
|
|
#
|
|
# @maintainer Tim Dyer <dyer.ti@gmail.com>
|
|
#
|
|
|
|
sh /etc/init.d/4001_quad_x
|
|
|
|
|
|
if [ $AUTOCNF == yes ]
|
|
then
|
|
param set COM_RC_IN_MODE 2
|
|
param set BAT_N_CELLS 1
|
|
param set BAT_CAPACITY 240
|
|
param set BAT_SOURCE 1
|
|
fi
|
|
|
|
set OUTPUT_MODE crazyflie
|