forked from PX4/PX4-Autopilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
airframes: Add B3RB Ackermann rover config
See https://nxp.gitbook.io/mr-b3rb for more information about the NXP B3RB platform. PX4 Support basic control for now
- Loading branch information
1 parent
ec7ef41
commit 92cd025
Showing
2 changed files
with
32 additions
and
0 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,31 @@ | ||
#!/bin/sh | ||
# | ||
# @name NXP B3RB Rover Ackermann | ||
# | ||
# @type Rover | ||
# @class Rover | ||
# | ||
# @board px4_fmu-v2 exclude | ||
# @board bitcraze_crazyflie exclude | ||
# | ||
|
||
. ${R}etc/init.d/rc.rover_ackermann_defaults | ||
|
||
param set-default BAT1_N_CELLS 3 | ||
|
||
# Set geometry & output configration | ||
param set-default PWM_MAIN_FUNC1 201 | ||
param set-default PWM_MAIN_FUNC2 101 | ||
param set-default PWM_MAIN_FUNC3 101 | ||
param set-default PWM_MAIN_DIS1 1500 | ||
param set-default PWM_MAIN_DIS2 0 | ||
param set-default PWM_MAIN_DIS3 1500 | ||
param set-default PWM_MAIN_MIN1 1000 | ||
param set-default PWM_MAIN_MIN2 2500 | ||
param set-default PWM_MAIN_MIN3 0 | ||
param set-default PWM_MAIN_MAX1 2000 | ||
param set-default PWM_MAIN_MAX2 2500 | ||
param set-default PWM_MAIN_MAX3 50 | ||
param set-default PWM_MAIN_TIM0 400 | ||
param set-default PWM_MAIN_TIM1 400 | ||
param set-default PWM_MAIN_TIM2 20000 |
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