Files
uav-catch/uav.toml
robinson e901fa9579 init
2026-07-03 04:19:44 +08:00

29 lines
767 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[body]
mass = 1.3
arm_length = 0.23
Ixx = 0.0075
Iyy = 0.0075
Izz = 0.013
[rotor]
# T_i = kf * omega_i^2; 悬停标定: kf = m*g / (4 * omega_hover^2), omega_hover ≈ 550 rad/s
kf = 1.054e-5
km = 2.64e-7
omega_min = 0.0
omega_max = 838.0
layout = "x"
[initial]
position = [0.0, 0.0, 1.0]
velocity = [0.0, 0.0, 0.0]
attitude_euler = [0.0, 0.0, 0.0]
angular_rate = [0.0, 0.0, 0.0]
[drag]
# 平动阻力(世界系): F = -linear * v_rel - 0.5 * rho * cd * area * |v_rel| * v_rel
# v_rel = 机体速度 - 风速; rho = environment.toml 的 air_density
linear = 0.0 # 线性阻力系数 N/(m/s)低速近似0 则只用二次项
angular = 0.05 # 角速度阻尼 N·m/(rad/s)
cd = 0.8 # 气动阻力系数
area = 0.1 # 等效迎风面积 m^2