forked from KumarRobotics/kr_mav_control
-
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.
- Loading branch information
Showing
5 changed files
with
222 additions
and
128 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
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,26 @@ | ||
port_name: /dev/ttyUSB0 | ||
enable_receiving_sbus_messages: true | ||
control_command_timeout: 0.5 # [s] (Must be larger than 'state_estimate_timeout' | ||
# set in the 'flight_controller'!) | ||
rc_timeout: 0.1 # [s] | ||
mass: 0.865 # [kg] | ||
disable_thrust_mapping: false | ||
# Note: When updating the thrust mapping also the voltage dependency mapping | ||
# has to be updated! | ||
# thrust = thrust_map_a * u^2 + thrust_map_b * u + thrust_map_c | ||
thrust_map_a: 6.91194111204e-06 # | ||
thrust_map_b: 0.00754094874204 # | ||
thrust_map_c: -6.01740637316 # | ||
# Maximum values for body rates and roll and pitch angles as they are set | ||
# on the Flight Controller. The max roll an pitch angles are only active | ||
# when flying in angle mode | ||
max_roll_rate: 804.0 # [deg/s] | ||
max_pitch_rate: 804.0 # [deg/s] | ||
max_yaw_rate: 400.0 # [deg/s] | ||
max_roll_angle: 50 # [deg] | ||
max_pitch_angle: 50 # [deg] | ||
alpha_vbat_filter: 0.01 | ||
perform_thrust_voltage_compensation: false | ||
thrust_ratio_voltage_map_a: -0.17044342 # [1/V] | ||
thrust_ratio_voltage_map_b: 3.10495276 # [-] | ||
n_lipo_cells: 3 # [-] |
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,26 @@ | ||
port_name: /dev/ttySAC0 | ||
enable_receiving_sbus_messages: false | ||
control_command_timeout: 0.5 # [s] (Must be larger than 'state_estimate_timeout' | ||
# set in the 'flight_controller'!) | ||
rc_timeout: 0.1 # [s] | ||
mass: 0.596 # [kg] | ||
disable_thrust_mapping: false | ||
# Note: When updating the thrust mapping also the voltage dependency mapping | ||
# has to be updated! | ||
# thrust = thrust_map_a * u^2 + thrust_map_b * u + thrust_map_c | ||
thrust_map_a: 7.13455275548e-06 | ||
thrust_map_b: 0.0074241470842 | ||
thrust_map_c: -6.03496490208 | ||
# Maximum values for body rates and roll and pitch angles as they are set | ||
# on the Flight Controller. The max roll an pitch angles are only active | ||
# when flying in angle mode | ||
max_roll_rate: 1022.0 # [deg/s] | ||
max_pitch_rate: 1022.0 # [deg/s] | ||
max_yaw_rate: 524.0 # [deg/s] | ||
max_roll_angle: 50 # [deg] | ||
max_pitch_angle: 50 # [deg] | ||
alpha_vbat_filter: 0.01 | ||
perform_thrust_voltage_compensation: true | ||
thrust_ratio_voltage_map_a: -0.17220303 # [1/V] | ||
thrust_ratio_voltage_map_b: 3.13990035 # [-] | ||
n_lipo_cells: 3 # [-] |
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
Oops, something went wrong.