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

Peek ahead on next maneuver #172

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

krisgry
Copy link
Contributor

@krisgry krisgry commented Mar 28, 2019

Hi,
This implements a suggestion as discussed in #155

PlanEngine now dispatches the next maneuver as a maneuver is started. This can then be consumed and interpreted by Maneuver. I've added an example in Goto, which interprets the PeekManeuver into a DesiredPath (using the exact same function that is used when interpreting a Maneuver as a DesiredPath), which is then dispatched (to e.g. the pathcontrollers).

Note that this will also require two new IMC messages, PeekManeuver and PeekDesiredPath, which contain PlanManeuver and DesiredPath, respectively.

Open for inputs and suggestions on this.

@zepinto zepinto self-requested a review May 8, 2019 11:01
@zepinto
Copy link
Member

zepinto commented May 8, 2019

Please also link the pull request for the changed IMC.

@zepinto zepinto self-assigned this May 8, 2019
@krisgry
Copy link
Contributor Author

krisgry commented May 8, 2019

See LSTS/imc#26

@krisgry
Copy link
Contributor Author

krisgry commented Jan 14, 2022

FYI: This has been successfully used by the NTNU Autonaut by @adallolio

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

Successfully merging this pull request may close these issues.

4 participants