autowarefoundation / AWSIM-Labs

Open source simulator for self-driving vehicles
https://autowarefoundation.github.io/AWSIM-Labs/
Other
15 stars 13 forks source link

feat: dynamic-start-position #94

Closed Aysenayilmaz closed 4 months ago

Aysenayilmaz commented 4 months ago

Description

This PR enhances the simulation by introducing flexible vehicle positioning and dynamic location control. Previously, the vehicle could only spawn at a fixed point, limiting the ability to test various scenarios effectively. With these changes, users can set the vehicle’s starting position and continuously update its location during the simulation.

Related links

Tests performed

  1. Start the AwsimLabs environment and open the planning simulator as you normally would.

  2. in Rviz, press the 'P' key to enter the mode for selecting the vehicle’s initial starting point. Click on the desired location in the Rviz window to set the starting position.

  3. Test setting multiple different starting positions for the vehicle by repeating the process. After selecting each new position, ensure the vehicle spawns at the correct location.

Effects on system behavior

Notes for reviewers

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.