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-as-SITL: add SVTOL Airframe #24210

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mbjd
Copy link
Contributor

@mbjd mbjd commented Jan 14, 2025

Solved Problem

We can now simulate all major airframes in SIH-as-SITL (meaning, both PX4 and PX4-internal sim running on PC). In the future this will allow for depreciation of gazebo in the context of automated tests, making them much faster and simpler.

Solution

Add new airframe file, and add it to build system in relevant places. New make target: make px4_sitl sihsim_svtol.

Changelog Entry

For release notes:

Add SVTOL airframe for SIH-as-SITL. 

Test coverage

Context

Important note to reviewers: This change depends on the previous PR #24205. This branch inherits from the branch in that PR, and contains the fix therein as well. Feel free to do one of these at your discretion:

@dagar
Copy link
Member

dagar commented Jan 15, 2025

Not that it's a great name, but I would spell it out as "standard VTOL" everywhere rather than introduce yet another initialism.

Maybe this is just me, but I initially thought it might have been a typo for STOVL.

mbjd added 4 commits January 15, 2025 13:36
In PR PX4#24175 I changed the
control surface deflection signs in generate_fw_aerodynamics to make the
1103 airframe work correctly. However, this breaks the 1101 airframe,
introducing sing errors there.

So, here the change in generate_fw_aerodynamics is reverted to the state
before PR PX4#24175. Instead, the signs are set correctly by using
the HIL_ACT_REV bitfield in the respective airframe config files.
@mbjd mbjd force-pushed the svtol_sitl_sih_integration_1 branch from 5d03ad5 to a0bf546 Compare January 15, 2025 12:37
@mbjd
Copy link
Contributor Author

mbjd commented Jan 15, 2025

@dagar good point, agreed. I changed it to standard_vtol in a0bf546.

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.

2 participants