rover: offboard support through trajectorySetpoint.msg#24062
Closed
chfriedrich98 wants to merge 3 commits intoPX4:mainfrom
chfriedrich98:offboard_rover
Closed
rover: offboard support through trajectorySetpoint.msg#24062chfriedrich98 wants to merge 3 commits intoPX4:mainfrom chfriedrich98:offboard_rover
chfriedrich98 wants to merge 3 commits intoPX4:mainfrom
chfriedrich98:offboard_rover
Conversation
Supports position, velocity, yaw and yaw speed setpoints
Supports position, velocity, yaw and yaw speed setpoints
Supports only position setpoint
|
I switched to using the Micro XRCE-DDS Agent & Client instead of Mavros to send the position setpoints on the TrajectorySetpoint message. I was using https://github.com/Jaeyoung-Lim/px4-offboard/tree/master and wanted to see the rover move in a circle. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Solved Problem
The rover modules currently do not support offboard control through the trajectorySetpoint.msg
Fixes #23663
Solution
Add a translation layer for the rover modules to turn the trajectorySetpoint.msg into rover setpoints:
position,velocity,yawandyaw speedsetpoints.The setpoints are prioritized in the following descending order
position->velocityandyaw->yaw speed.Higher priority setpoints override lower priority ones due to the fact that they can't be achieved simultaneously.
position,velocity,yawandyaw speedsetpoints.The setpoints are prioritized in the following descending order
position->velocity->yaw->yaw speed.Higher priority setpoints override lower priority ones due to the fact that they can't be achieved simultaneously.
Test coverage
Context
Related links, screenshot before/after, video