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

Thrusters Actuation: add thruster actuation support to PX4 #23143

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

Conversation

Pedro-Roque
Copy link
Member

Solved Problem

This PR addresses support on PX4 for thruster-based actuation, in-view of supporting spacecraft-type vehicles, or any vehicle using thruster-based propulsion.

This PR addresses control allocation changes.

This PR aims at integrating these additions, which will soon be published and updated on the source code, into the PX4 ecosystem to support space robotics facilities.

Solution

  • Add Thruster Effectiveness in the control allocation module

Changelog Entry

For release notes:

Feature/Bugfix XYZ
New parameter: XYZ_Z
Documentation: Need to clarify page ... / done, read docs.px4.io/...

Alternatives

Reusing multicopter code. However, there are multiple problems associated with it:

  1. Their actuation is not the same leading to different effectiveness models
  2. Their PWM cycle is different than thruster-based platforms, which typically use solenoid-based valves

Test coverage

Format and Unit tests pass successfully.

Context

Currently being integrated in https://github.com/DISCOWER/PX4-Space-Systems/tree/dev-metric_control_allocator, as part of the DISCOWER project (a publication documenting this contribution as well as the entire lab facilities will be published by the end of August). Work developed together with @Jaeyoung-Lim and @E-Krantz .

@Pedro-Roque Pedro-Roque added Flight Controls 🦅 Anything about flight control algorithm (Navigation, Attitude control, etc) [Dev Call] ✅ Discussed labels May 16, 2024
@Pedro-Roque Pedro-Roque requested review from dagar and MaEtUgR May 16, 2024 12:54
axis_expected = Vector3f{0.f, -1.f, 0.f};
axis = ActuatorEffectivenessRotors::tiltedAxis(-M_PI_F / 2.f, M_PI_F / 2.f);
EXPECT_EQ(axis, axis_expected);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test needs to be removed since it still is for motors .

@Pedro-Roque Pedro-Roque changed the title feat: add thruster actuation support to PX4 Thrusters Actuation: add thruster actuation support to PX4 May 16, 2024
@Pedro-Roque Pedro-Roque self-assigned this May 16, 2024
@DronecodeBot
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/px4-sync-q-a-may-22-2024/38872/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Dev Call] ✅ Discussed Flight Controls 🦅 Anything about flight control algorithm (Navigation, Attitude control, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants