diff options
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/rc.axialracing_ax10_defaults')
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.axialracing_ax10_defaults | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.axialracing_ax10_defaults b/ROMFS/px4fmu_common/init.d/rc.axialracing_ax10_defaults new file mode 100644 index 000000000..e5d400abe --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/rc.axialracing_ax10_defaults @@ -0,0 +1,28 @@ +#!nsh + +set VEHICLE_TYPE rover + +# This section can be enabled once tuning parameters for this particular +# rover model are known. It allows to configure default gains via the GUI +#if [ $AUTOCNF == yes ] +#then +# # param set MC_ROLL_P 7.0 +#fi + +# PWM Hz - 50 Hz is the normal rate in RC cars, higher rates +# may damage analog servos. +set PWM_RATE 50 + +# PWM default value for "disarmed" mode +# this centers the steering and throttle, which means no motion +# for a rover +set PWM_DISARMED 1500 + +# PWM range +set PWM_MIN 1100 +set PWM_MAX 1900 + +# Enable servo output on pins 3 and 4 (steering and thrust) +# but also include 1+2 as they form together one output group +# and need to be set together. +set PWM_OUT 1234 |