-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rover: restructure airframes (#23506)
- Loading branch information
1 parent
28a0de6
commit c8ff590
Showing
11 changed files
with
80 additions
and
30 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
ROMFS/px4fmu_common/init.d/airframes/50000_generic_rover_differential
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,12 @@ | ||
#!/bin/sh | ||
# | ||
# @name Generic Rover Differential | ||
# | ||
# @type Rover | ||
# @class Rover | ||
# | ||
# @board px4_fmu-v2 exclude | ||
# @board bitcraze_crazyflie exclude | ||
# | ||
|
||
. ${R}etc/init.d/rc.rover_differential_defaults |
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
2 changes: 1 addition & 1 deletion
2
...d/airframes/50010_ackermann_rover_generic → ...d/airframes/51000_generic_rover_ackermann
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
# | ||
# @name Generic ackermann rover | ||
# @name Generic Rover Ackermann | ||
# | ||
# @type Rover | ||
# @class Rover | ||
|
37 changes: 37 additions & 0 deletions
37
ROMFS/px4fmu_common/init.d/airframes/51001_axial_scx10_2_trail_honcho
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,37 @@ | ||
#!/bin/sh | ||
# | ||
# @name Axial SCX10 2 Trail Honcho | ||
# | ||
# @url https://www.axialadventure.com/product/1-10-scx10-ii-trail-honcho-4wd-rock-crawler-brushed-rtr/AXID9059.html | ||
# | ||
# @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 | ||
|
||
# Rover parameters | ||
param set-default NAV_ACC_RAD 0.5 | ||
param set-default RA_ACC_RAD_GAIN 2 | ||
param set-default RA_ACC_RAD_MAX 3 | ||
param set-default RA_MAX_ACCEL 0.5 | ||
param set-default RA_MAX_JERK 10 | ||
param set-default RA_MAX_SPEED 2.7 | ||
param set-default RA_MAX_STR_ANG 0.5236 | ||
param set-default RA_MAX_STR_RATE 270 | ||
param set-default RA_MISS_VEL_DEF 2.7 | ||
param set-default RA_MISS_VEL_GAIN 3.5 | ||
param set-default RA_MISS_VEL_MIN 1 | ||
param set-default RA_SPEED_I 0.1 | ||
param set-default RA_SPEED_P 0.5 | ||
param set-default RA_WHEEL_BASE 0.321 | ||
|
||
# Pure pursuit parameters | ||
param set-default PP_LOOKAHD_GAIN 1 | ||
param set-default PP_LOOKAHD_MAX 10 | ||
param set-default PP_LOOKAHD_MIN 1.5 |
2 changes: 1 addition & 1 deletion
2
....d/airframes/50000_generic_ground_vehicle → ....d/airframes/59000_generic_ground_vehicle
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
2 changes: 1 addition & 1 deletion
2
....d/airframes/50004_nxpcup_car_dfrobot_gpx → ....d/airframes/59001_nxpcup_car_dfrobot_gpx
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
# | ||
# @name NXP Cup car: DF Robot GPX | ||
# @name NXP Cup car: DF Robot GPX (Deprecated) | ||
|
||
# | ||
# @type Rover | ||
|
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
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
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