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

Use actor-of-interest in DistToDestination metric and reward function #1998

Merged
merged 15 commits into from
May 4, 2023

Conversation

Adaickalavan
Copy link
Member

  • Reward function in platoon RL example retrieves actor-of-interest from marked neighborhood vehicles.
  • dist_to_destination metric cost function computes the route distance at the end of an episode using the vehicle-of-interest's last position.

smarts/env/gymnasium/wrappers/metric/costs.py Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
smarts/env/gymnasium/wrappers/metric/costs.py Outdated Show resolved Hide resolved
@Adaickalavan Adaickalavan requested a review from Gamenot May 3, 2023 15:39
@Adaickalavan Adaickalavan merged commit a8e73dd into master May 4, 2023
@Adaickalavan Adaickalavan deleted the fix-dist-metric branch May 4, 2023 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants