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

updated behavior tree to enable dynamic rerouting #45

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

john-chrosniak
Copy link
Contributor

@john-chrosniak john-chrosniak commented Dec 5, 2024

PR Details

Description

This PR adds behavior tree edits that enable dynamic rerouting. This is achieved by configuring the planner to run at 1 Hz instead of once every time a goal is received.

Related PR: usdot-fhwa-stol/navigation2-extensions#20

Related GitHub Issue

NA

Related Jira Key

CF-965

Motivation and Context

In the event a vehicle receives a new goal while it is actively executing another, we want the vehicle to abandon its current goal and instead take on the new goal.

How Has This Been Tested?

Tested in the turtlebot simulator and on the red truck in the garage environment. Ensured that the vehicle correctly abandons its current goal in favor of a new goal and broadcasts the correct ack when the new goal is finished.

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Contributor

@willjohnsonk willjohnsonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on vehicle

@john-chrosniak john-chrosniak merged commit ec98b44 into develop Dec 5, 2024
@john-chrosniak john-chrosniak deleted the cf-965-dynamic-rerouting branch December 5, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants