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 Offboard support for Rover position control #12765

Merged
merged 2 commits into from
Aug 21, 2019

Conversation

Jaeyoung-Lim
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim commented Aug 21, 2019

Describe problem solved by the proposed pull request
When streaming position setpoints with SET_POSITION_TARGET_LOCAL_NED to the rover, the rover is able to enter offboard mode but is not able to track the setpoint. This is because the rover position controller did not support offboard mode.

This Fixes #10936

Test data / coverage
The following log shows the log of testing in SITL by sending setpoints of [200m, 200m] in local coordinates.
https://review.px4.io/plot_app?log=4860d7a3-1366-4614-aee1-72f8dff95037

Describe your preferred solution
As the rover position controller runs on global coordinates, we need to convert the local offboard setpoints to global coordinates. This is done similar to the fixed wing support for offboard position setpoints in #12532

Additional context
Offboard control is useful for prototyping advanced features from the companion computer. Added support for position control will enable applications running on the companion computer to rely on the firmware position controller rather than controlling the inputs directly. Other offboard setpoints such as velocity is not supported.

@Jaeyoung-Lim Jaeyoung-Lim changed the title Enable Offboard support for rover position control Enable Offboard support for Rover position control Aug 21, 2019
@Jaeyoung-Lim Jaeyoung-Lim requested a review from julianoes August 21, 2019 15:00
@Jaeyoung-Lim Jaeyoung-Lim added the Rover 🚙 Rovers and other UGV label Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rover 🚙 Rovers and other UGV
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gazebo Simulation - Rover in Offboard Mode
2 participants