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

Enable attitude setpoints for rover offboard control #13323

Merged
merged 1 commit into from
Nov 3, 2019

Conversation

Jaeyoung-Lim
Copy link
Member

Describe problem solved by this pull request
This PR adds support for attitude setpoints on rover offboard control. This was a feature request from #13239

Describe your solution
Only the yaw is taken from the difference in attitude between the current attitude and the desired attitude. The thrust is mapped directly to the attitude setpoints.

Test data / coverage
Test log

A constant orientation change is given including changes in roll and pitch. The log shows that the rover only takes the desired yaw and converges into the moving desired yaw setpoint.

@jbeyerstedt
Copy link
Contributor

The control loop is only triggered by the global position and therefore it doesn't work without GPS: https://github.com/PX4/Firmware/blob/7ff893aada7cb1ca25a8a990fad5bc142d5d8dd5/src/modules/rover_pos_control/RoverPositionControl.cpp#L393

See #13427 for a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mode: Offboard Offboard mode control Rover 🚙 Rovers and other UGV
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants