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

Allow individual boards to define HAL_INS_RATE_LOOP and enable on F4 with one IMU #28984

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

andyp1per
Copy link
Collaborator

Tested on an F405, there is enough CPU to run the following:

 INS_GYRO_RATE = 1 (2kHz)
 SCHED_LOOP_RATE = 200
 FSTRATE_DIV = 2 (1kHz)
 SERVO_DSHOT_RATE = 1 (1kHz)

allow fast rate loop on F4 with one IMU
libraries/AP_HAL/board/chibios.h Show resolved Hide resolved
@davidbuzz
Copy link
Collaborator

this would be useful outside of chibios too.

@tridge tridge merged commit 2b46f5a into ArduPilot:master Jan 7, 2025
99 checks passed
@andyp1per andyp1per deleted the pr-fast-rate-f4 branch January 7, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants