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

Revamped multi car simulation #16

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

Conversation

heatblast016
Copy link
Collaborator

Status

*READY

Description

Enables users to simulate multiple cars

Related PRs or Issues

prl-mushr/mushr#40
prl-mushr/mushr_base#11

Steps to Test or Reproduce

To run the simulation, run the following command

roslaunch mushr_sim multi_car.launch

Then, open multi_car.rviz (located in /mushr_utils/rviz) in rviz to show the cars.

To adjust the number of cars, modify the variable n in multi_car.py, then manually add the new cars in rviz

The cars are named starting with car0 and increasing in numerical order (i.e. car0, car1, car2, car3, etc.)

The cars also cycle through the different colors available, so that it's easier to differentiate between them in the visualization.

Questions

Since this is my first major PR, I'd appreciate it if I could get feedback on it as far as formatting/documentation goes

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.

1 participant