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

[Bug] There is no thrust_and_torque data type in the OffboardControlMode.msg message in version 1.14.2 of PX4. #22951

Open
Byzeal opened this issue Mar 29, 2024 · 4 comments

Comments

@Byzeal
Copy link

Byzeal commented Mar 29, 2024

Describe the bug

image

image

These two instructions do not correspond.

To Reproduce

Customize thrust_and_torque in OffboardControlMode.msg

Expected behavior

Whether future versions support it

Screenshot / Media

No response

Flight Log

None

Software Version

1.14.2

Flight controller

PID

Vehicle type

Multicopter

How are the different components wired up (including port information)

No response

Additional context

No response

@Jaeyoung-Lim
Copy link
Member

@Byzeal If you enable actuator, this would allow you to command thrust and torque

@Byzeal
Copy link
Author

Byzeal commented Mar 29, 2024

@Jaeyoung-Lim Thank you very much for your reply! I want to do is to design control algorithm through Simulink and verify my algorithm through automatic code generation of PX4 firmware. What I do now is to enable actuator in the algorithm, does it mean that the official controller output of PX4 is shielded, so that the thrust and torque messages I publish can be verified?

@Jaeyoung-Lim
Copy link
Member

@Byzeal I do not know how the simulink is integrated with PX4, and with actuator setpoints. You would need to either verify this yourself or get support from mathworks.

@Byzeal
Copy link
Author

Byzeal commented Mar 30, 2024

PixPin_2024-03-30_21-06-37 @Jaeyoung-Lim Thank you very much for your reply! As shown in the image above, the model I built was generated using the Pixhawk toolchain with.pX4 firmware and burned into flight control. If not published, offboard_control_mode.msg message, I will be PX4 attitude loop output code after the comment out, re-generated code after burning can also take off and control normally.

@github-actions github-actions bot added the stale label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants