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

SIH: Add Standard VTOL Airframe #24175

Merged
merged 6 commits into from
Jan 9, 2025

Conversation

mbjd
Copy link
Contributor

@mbjd mbjd commented Jan 7, 2025

Solved Problem

The standard VTOL airframe was previously not available for simulation-in-hardware (SIH). With these changes, it is.

Solution

We add a new SIH specific SVTOL airframe file, ROMFS/px4fmu_common/init.d/airframes/1103_standard_vtol_sih.hil. In src/modules/simulation/simulator_sih/sih.cpp, we add the corresponding SVTOL vehicle type. These are changes from this commit (thanks @RomanBapst), applied to upstream/main.

Changelog Entry

For release notes:

Feature: Support SIH for standard VTOL airframe. 
Documentation: Need to update on https://docs.px4.io/main/en/sim_sih/index.html

Test coverage

SIH test log: https://review.px4.io/plot_app?log=92dedeaf-78f7-4771-9556-fd8a0386d5b1

mbjd added 6 commits January 9, 2025 11:52
mostly took changes from 4d930bd and applied to main.

generate_fw_aerodynamics now takes four arguments rather than using the
_u class member, because depending on vehicle type _u is used
differently.
 - NB_MOTORS -> NB_ACTUATORS_MAX. the _u array also contains control
   surface deflections.
 - thrust -> throttle_cmd to match the other arguments
@mbjd mbjd force-pushed the standard_vtol_sih_integration_1 branch from f7cdc7a to 516a0cc Compare January 9, 2025 10:53
@KonradRudin KonradRudin merged commit a231faf into PX4:main Jan 9, 2025
56 of 58 checks passed
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.

4 participants