-
Notifications
You must be signed in to change notification settings - Fork 196
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
Spawn robot and world separately #594
Conversation
Signed-off-by: Carlos Agüero <[email protected]>
I think it's useful to be able to do this, but if I understand correctly the main purpose is to support robot/world configurations that are not used in VRX--is that right? I think for VRX, we always want the WAMV to be the robot and it should be spawned in the same place, so requiring an additional command is a little bit inconvenient. If you agree, maybe we could discuss creating a separate package for more flexible configurations outside the VRX competition. (Part of the problem may be the naming ambiguity between the VRX competition and the VRX environment, which makes it a little hard to tell what |
You're right about the use of the WAM-V for now, but if we potentially switch locations (imagine |
I like the idea of making it easier to spawn the robot and the world separately if needed, but I think the competition launcher should do both at the same time, since we always want this when running the competition environment. It seems like we could achieve this with a separate launch file for non-competition use. Maybe |
This simulator has the potential to grow beyond the VRX competition (if it not already is). It would be indeed nice to decouple vehicle and world. This also useful for multi-robot applications. Maybe we can afterwards add another launch file on top intended just for the competition? |
Signed-off-by: Carlos Agüero <[email protected]>
@caguero I'm in the process of reviewing this so I can use the new launch process for the RoboBoat tutorials, and had a thought on how we might address @M1chaelM's comment above. Seems like if we keep the competition.launch file as-is, and add a launch file with a different name (maybe vrx_environment.launch, or something?), we can maintain both options. I tested it out and the changes to spawn.launch don't seem to cause any problems for running the original competition script. This also lets us maintain the existing tutorials. I'll put my changes in as a pull request to this branch so you can take a look, if this is of interest. |
Thanks @j-herman ! Approving your changes mostly :) |
This patch decouples the world and robots to be spawned. This way, it'll be easier to launch different combinations of worlds/robots in the future.
How to test it?
See #760