Skip to content

add obstacles to empty world#327

Merged
mrinalTheCoder merged 1 commit intomasterfrom
feat/obstacles
Mar 13, 2026
Merged

add obstacles to empty world#327
mrinalTheCoder merged 1 commit intomasterfrom
feat/obstacles

Conversation

@mrinalTheCoder
Copy link
Copy Markdown
Contributor

Description

This PR does the following:

  • Adds obstacles like cube and ramp to empty world using launch arguments

Testing Steps (if relevant)

Test Case 1

  1. ros2 launch urc_bringup sim.launch.py world:=empty_world.sdf autonomy:=true add_incline:=true incline_slope:=30.0 incline_x:=2.0 incline_y:=3.0
  2. ros2 launch urc_bringup sim.launch.py world:=empty_world.sdf autonomy:=true add_cube:=true cube_x:=2.0 cube_y:=3.0
  3. You can also add both an incline and a cube, and play around with the parameters to alter positions.

Expectation: Empty world with specified obstacles. Theoretically it should work with the terrain world also, but it might be unstable due to uneven terrain.

@mrinalTheCoder mrinalTheCoder requested a review from bkuangs March 13, 2026 21:08
@mrinalTheCoder mrinalTheCoder self-assigned this Mar 13, 2026
Copy link
Copy Markdown

@bkuangs bkuangs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks g

@mrinalTheCoder mrinalTheCoder merged commit b1a4295 into master Mar 13, 2026
1 of 4 checks passed
@mrinalTheCoder mrinalTheCoder deleted the feat/obstacles branch March 13, 2026 21:53
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.

2 participants