forked from PX4/PX4-Autopilot
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
510d3cf
commit 1fba76d
Showing
5 changed files
with
67 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/sh | ||
# | ||
# @name ThunderFly TF-G2505 (Nano) | ||
# | ||
# @type Autogyro | ||
# @class Autogyro | ||
# | ||
# @output Motor1 throttle | ||
# @output Servo2 rotor_head_L | ||
# @output Servo3 reserve | ||
# @output Servo4 rotor_head_R | ||
# | ||
# | ||
# @url https://github.com/ThunderFly-aerospace/TF-G250/ | ||
# @maintainer ThunderFly s.r.o., Roman Dvorak <dvorakroman@thunderfly.cz> | ||
# | ||
# @board px4_fmu-v2 exclude | ||
# @board bitcraze_crazyflie exclude | ||
# | ||
|
||
. ${R}etc/init.d/rc.fw_defaults | ||
|
||
|
||
# param set-default BAT1_CAPACITY 3300 | ||
# param set-default BAT1_N_CELLS 3 | ||
|
||
param set-default SENS_BOARD_ROT 2 | ||
|
||
# param set-default FW_AIRSPD_MIN 7 | ||
# param set-default FW_AIRSPD_TRIM 13 | ||
# param set-default FW_THR_TRIM 0.8 | ||
|
||
# param set-default FW_MAN_P_MAX 25 | ||
# param set-default FW_MAN_R_MAX 25 | ||
# param set-default FW_PR_I 0.02 | ||
# param set-default FW_R_LIM 40 | ||
# param set-default FW_P_LIM_MAX 25 | ||
# param set-default FW_P_LIM_MIN -5 | ||
# param set-default FW_P_RMAX_NEG 20 | ||
|
||
param set-default CA_AIRFRAME 1 | ||
|
||
param set-default CA_ROTOR_COUNT 1 | ||
param set-default CA_ROTOR0_PX 0.3 | ||
|
||
param set-default CA_SV_CS_COUNT 3 | ||
param set-default CA_SV_CS0_TRQ_R 0 | ||
param set-default CA_SV_CS0_TRQ_Y 1 | ||
param set-default CA_SV_CS0_TYPE 4 | ||
param set-default CA_SV_CS1_TRQ_P 0 | ||
param set-default CA_SV_CS1_TRQ_R -0.5 | ||
param set-default CA_SV_CS1_TYPE 1 | ||
param set-default CA_SV_CS2_TRQ_P 1 | ||
param set-default CA_SV_CS2_TYPE 3 | ||
|
||
# param set-default PWM_MAIN_TIM0 50 | ||
# param set-default PWM_MAIN_TIM1 50 | ||
# param set-default PWM_MAIN_TIM2 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# CONFIG_BOARD_UAVCAN_TIMER_OVERRIDE is not set | ||
CONFIG_DRIVERS_UAVCAN=n | ||
CONFIG_COMMON_RPM=y | ||
CONFIG_DRIVERS_PPS_CAPTURE=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters