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] offboard control send force/torque the UAV jittering #23911

Open
ZCXSNdie opened this issue Nov 8, 2024 · 4 comments
Open

[Bug] offboard control send force/torque the UAV jittering #23911

ZCXSNdie opened this issue Nov 8, 2024 · 4 comments

Comments

@ZCXSNdie
Copy link

ZCXSNdie commented Nov 8, 2024

Describe the bug

when I used mavros topic-actuator_controls to send 3D force and torque massage to a fully actuated UAV , found the body twitches irregularly , especially on pitch. I have changed the frequency of posting topics from 200 to 400HZ , but I don't feel it has any effect.

To Reproduce

1.UAV takes off in position control mode ,switch to offboard mode

Expected behavior

Hardware issuses have been ruled out, as using low-level P-PID control for attitude is very stable. The expected effect is stable.

Screenshot / Media

AC FFT

Flight Log

The flight log is as follows :https://review.px4.io/plot_app?log=a1c7da7c-7128-4278-a518-32777c865fed.

Software Version

px4 1.11

Flight controller

No response

Vehicle type

Multicopter

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

No response

Additional context

No response

@ZCXSNdie
Copy link
Author

ZCXSNdie commented Nov 8, 2024

@Jaeyoung-Lim I have learned a lot from your answer before , and I would greatly appreciate it if you could reply to me .

@qtweng
Copy link

qtweng commented Nov 22, 2024

Likewise, I have observed twitching in manual mode when publishing ActuatorServos and OffboardControlMode.

@Jaeyoung-Lim
Copy link
Member

@ZCXSNdie How does the hardware setup look like? Sending a mavros topic at 400Hz on the companion computer doesn't mean that the autopilot is receiving the message at 400Hz.

Note that the rate control onboard the vehicle is running at almost 1kHz. If you do actuator controls offboard, it can be very sensitive to any jitter or delay from the sensor information being sent from the autopilot to the commands being sent to the autopilot.

@ZCXSNdie
Copy link
Author

@ZCXSNdie How does the hardware setup look like? Sending a mavros topic at 400Hz on the companion computer doesn't mean that the autopilot is receiving the message at 400Hz.

Note that the rate control onboard the vehicle is running at almost 1kHz. If you do actuator controls offboard, it can be very sensitive to any jitter or delay from the sensor information being sent from the autopilot to the commands being sent to the autopilot.

Thanks for your reply. The hardware uses NX, the serial port uses telem2, and the baud rate is 921600. The frame uses a six-rotor drone with blades tilted 30°. The hardware PX4 version is CUAV V5+.

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

3 participants