Skip to content

Commit 71fa813

Browse files
committed
Add cf21B_500
1 parent a2181d0 commit 71fa813

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

drone_models/drones.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
TODO: Add description.
44
"""
55

6-
available_drones: tuple[str] = ("cf2x_L250", "cf2x_P250", "cf2x_T350")
6+
available_drones: tuple[str] = ("cf2x_L250", "cf2x_P250", "cf2x_T350", "cf21B_500")

drone_models/so_rpy/params.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ rpy_rates_coef = [-13.3, -16.33, 0.0]
2323
cmd_rpy_coef = [84.73, 119.3, 0.0]
2424

2525
# TODO: Check if parameters are correct
26-
[cf2x_B500]
26+
[cf21B_500]
2727
acc_coef = 0.0
28-
cmd_f_coef = 1.0633
28+
cmd_f_coef = 0.98323027
2929
rpy_coef = [-99.94, -130.3, 0.0]
3030
rpy_rates_coef = [-13.3, -16.33, 0.0]
3131
cmd_rpy_coef = [84.73, 119.3, 0.0]

drone_models/so_rpy_rotor/params.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,13 @@ acc_coef = 0.1670
2222
cmd_f_coef = 0.5615
2323
rpy_coef = [-286.2, -286.2, -192.9]
2424
rpy_rates_coef = [-23.03, -23.03, -22.22]
25-
cmd_rpy_coef = [225.6, 225.6, 323.5]
25+
cmd_rpy_coef = [225.6, 225.6, 323.5]
26+
27+
28+
[cf21B_500]
29+
thrust_time_coef = 0.03573264
30+
acc_coef = 0.0
31+
cmd_f_coef = 0.98372945
32+
rpy_coef = [-160.5, -160.5, -109.3]
33+
rpy_rates_coef = [-10.74, -10.74, -13.69]
34+
cmd_rpy_coef = [115.2, 115.2, 154.6]

drone_models/so_rpy_rotor_drag/params.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ drag_linear_coef = -0.0177
3131
drag_square_coef = 0.0010
3232

3333

34-
[cf2x_B500]
34+
[cf21B_500]
3535
thrust_time_coef = 0.08238289
3636
acc_coef = 0.0
3737
cmd_f_coef = 0.99509171

0 commit comments

Comments
 (0)