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

SITL gazebo typhoon_480 shows oscillations in flight #13163

Closed
Jaeyoung-Lim opened this issue Oct 11, 2019 · 5 comments · Fixed by #13246
Closed

SITL gazebo typhoon_480 shows oscillations in flight #13163

Jaeyoung-Lim opened this issue Oct 11, 2019 · 5 comments · Fixed by #13246
Labels

Comments

@Jaeyoung-Lim
Copy link
Member

Jaeyoung-Lim commented Oct 11, 2019

Describe the bug
When running SITL gazebo with the typhoon_480 oscillations can be observed during flight.

To Reproduce

  1. Run stil using make px4_sitl gazebo_typhoon_h480
  2. Upload a mission and start the mission

Log Files and Screenshots
The oscillations are quite obvious in this log It seems to happen sometimes during forward flight.

Additional context
This is one of the only setups that a gimbal is integrated into SITL. This issue makes it hard to develop features that involve a gimbal on the aircraft. It would be great to have a functional setup of the typhoon_h480 model.

@Jaeyoung-Lim
Copy link
Member Author

This seems to be a result of the tuning of the attitude controller on the model. Will try to tune the model in SITL

@dayjaby
Copy link
Contributor

dayjaby commented Oct 21, 2019

Any updates? I use those values on current master:

x + MC_PITCHRATE_I [266,541] : 0.0500
x + MC_PITCHRATE_P [269,544] : 0.1000
x + MC_PITCH_P [270,545] : 6.0000
x + MC_ROLLRATE_I [275,550] : 0.1000
x + MC_ROLLRATE_P [278,553] : 0.1500
x + MC_ROLL_P [279,554] : 6.0000

@TSC21
Copy link
Member

TSC21 commented Oct 21, 2019

@dayjaby I think this was fixed in PX4/PX4-SITL_gazebo-classic#355 already.

@Jaeyoung-Lim
Copy link
Member Author

Jaeyoung-Lim commented Oct 21, 2019

@dayjaby Thanks! Does the values fix the oscillation?

@TSC21 This is a separate issue. The vehicle's attitude controller is undertuned and starts to oscillate in forward flight. I can fix it by retuning the vehicle, but I wanted to tune it really well until I can make a PR

@dayjaby
Copy link
Contributor

dayjaby commented Oct 21, 2019

@Jaeyoung-Lim yes, it does. Feel free to create a PR with those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants