Skip to content

Commit

Permalink
Added the a300 and robofly configs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCapek committed Oct 17, 2024
1 parent 5ff267a commit 8cdddc2
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
36 changes: 36 additions & 0 deletions config/uavs/a300.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Agile:

n_motors: 4 # [-]
mass: 1.21 # [kg]
arm_length: 0.15 # [m]
body_height: 0.05 # [m]
motor_time_constant: 0.05 # [s]
air_resistance_coeff: 0.30 # [-]

propulsion:

# force [N] = force_constant * rpm^2
force_constant: 0.00000045

# moment [Nm] = moment_constant * force [N]
moment_constant: 0.0012

prop_radius: 0.089 # [m]

# allocation motors -> moments

# quadrotor X configuration
# [roll torque, [ [RPM_1^2,
# pitch torque, = Alloc * RPM_2^2,
# yaw torque, Matrix ...
# thrust force] ] RPM_n_motors^2]
allocation_matrix: [
-0.707, 0.707, 0.707, -0.707, # *= force_constant*arm_length
-0.707, 0.707, -0.707, 0.707, # *= force_constant*arm_length
-1, -1, 1, 1, # *= moment_constant*force_constant
1, 1, 1, 1, # *= force_constant
]

rpm:
min: 2400 # [revolutions/minute]
max: 3200 # [revolutions/minute]
36 changes: 36 additions & 0 deletions config/uavs/robofly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
robofly:

n_motors: 4 # [-]
mass: 0.8 # [kg]
arm_length: 0.135 # [m]
body_height: 0.05 # [m]
motor_time_constant: 0.03 # [s]
air_resistance_coeff: 0.30 # [-]

propulsion:

# force [N] = force_constant * rpm^2
force_constant: 0.00000027087

# moment [Nm] = moment_constant * force [N]
moment_constant: 0.07

prop_radius: 0.065 # [m]

# allocation motors -> moments

# quadrotor X configuration
# [roll torque, [ [RPM_1^2,
# pitch torque, = Alloc * RPM_2^2,
# yaw torque, Matrix ...
# thrust force] ] RPM_n_motors^2]
allocation_matrix: [
-0.707, 0.707, 0.707, -0.707, # *= force_constant*arm_length
-0.707, 0.707, -0.707, 0.707, # *= force_constant*arm_length
-1, -1, 1, 1, # *= moment_constant*force_constant
1, 1, 1, 1, # *= force_constant
]

rpm:
min: 1170 # [revolutions/minute]
max: 3000 # [revolutions/minute]

0 comments on commit 8cdddc2

Please sign in to comment.