Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame_params: Added Starling 2 Max params file #28461

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions Tools/Frame_params/ModalAI/Starling2Max.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Parameters for Starling 2 Max drone
# https://www.modalai.com/products/starling-2-max?variant=48172375310640

# IMU orientation is ROLL_180
AHRS_ORIENT 8

# Mag orientation is ROLL_180
COMPASS_ORIENT 8

# Pitch control is backwards?
RC2_REVERSED 1

# Left 3-pos switch is RC6
FLTMODE_CH 6

# Flight mode channel mapping
FLTMODE1 0
FLTMODE3 2
FLTMODE6 5

# Motor mapping
SERVO1_FUNCTION 34
SERVO2_FUNCTION 35
SERVO3_FUNCTION 33
SERVO4_FUNCTION 36

# Motor spin
MOT_SPIN_ARM 0.05
MOT_SPIN_MIN 0.15

# Visual Inertial Odometry setup
VISO_TYPE 3
EK3_SRC1_POSXY 6
EK3_SRC1_VELXY 6
EK3_SRC1_POSZ 6
EK3_SRC1_VELZ 6
EK3_SRC1_YAW 6

# To improve Mavlink connection disable forwarding from camera/viso
SERIAL2_OPTIONS 1024

# PID tuning
ATC_RAT_RLL_P 0.07
ATC_RAT_RLL_I 0.07
ATC_RAT_RLL_D 0.0015
ATC_RAT_PIT_P 0.07
ATC_RAT_PIT_I 0.07
ATC_RAT_PIT_D 0.0015
Loading