Skip to content

Create world for Task 3 - Drop a BRUVS #168

@Carlosdc25

Description

@Carlosdc25

Handbook with images: https://robonation.org/app/uploads/sites/4/2025/04/2025-RoboSub_Team-Handbook-04_25_25.pdf

Have a world in simulation, in which there are only the objects for task 3.
Try to have the submarine not be initialized right in front of the course, maybe a slight bit off to the side. Just so that the submarine will later have to actually find the course.

You are going to be making a file in src/subjugator/simulation/subjugator_gazebo/worlds
It will be a .world file, which is an xml file, so if upon making <insert_name>.world file you see that your code doesnt have color or is simply not working like it should, make sure that in the bottom right of VS Code screen it says XML not plain text. I thought it was a simple mistake to miss lol.

I think a good place to start is copying and pasting the robosub_2024.world code into your world and then removing alot of whats there, so you have a basic template.

To actually change which world is being used in gazebo you are gonna want to go to src/subjugator/subjugator_bringup/launch/gazebo.launch.py and change the world file being called to your world file.

Note that we actually want the shark and sawfish images like in the handbook.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions