Skip to content

add drone cat-mouse chase exercise (world + launcher + city model)#742

Draft
anishk85 wants to merge 6 commits into
JdeRobot:humble-develfrom
anishk85:feature/drone-cat-mouse
Draft

add drone cat-mouse chase exercise (world + launcher + city model)#742
anishk85 wants to merge 6 commits into
JdeRobot:humble-develfrom
anishk85:feature/drone-cat-mouse

Conversation

@anishk85

@anishk85 anishk85 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

adds the gazebo world, launcher, and custom city model for the drone cat-mouse chase exercise. two quadrotor drones (drone_cat and drone_mouse) spawn in a blender-exported city

files are split across the three standard RI directories following the same pattern as pick_place: world SDF goes in Worlds/, the city GLB model goes in CustomRobots/drone_cat_mouse/models/, and the launch file + AS2 config YAMLs go in Launchers/drone_cat_mouse/. the launch file brings up gazebo harmonic, ros-gz bridges for both drones (cmd_vel, imu, camera), and the full aerostack2 stack per drone (platform, state estimator, motion controller, takeoff/land/goto/follow behaviours).

the city mesh is about 7MB — kept it low poly on purpose (~65K faces) so it dosnt kill gazebo on weaker machines. the quadrotor_base model is already in AS2 so its not duplicated here. keep thsi much add here as aerostack 2 is already installed in the radi image we will config it with it right now thsi is just an external setup moving foeward in upcoming weeks for further integartion

initial_setup.webm

@anishk85

anishk85 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

hi @jmplaza @pariaspe ,
This is the second PR focused on the project's assets.

@javizqh javizqh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Launcher must be named after the universe, for example: drone_cat_mouse.launch.py, not gazebo.launch.py.

It must be inside the Launchers folder not inside a subfolder.

World name must be default. Please read documentation before submitting a PR.

This has not been tested inside the RADI as it is missing the Cmake changes to compile the model.

Also missing database entry.

Comment thread Worlds/drone_cat_mouse_city.world Outdated
@anishk85

anishk85 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

Launcher must be named after the universe, for example: drone_cat_mouse.launch.py, not gazebo.launch.py.

It must be inside the Launchers folder not inside a subfolder.

World name must be default. Please read documentation before submitting a PR.

This has not been tested inside the RADI as it is missing the Cmake changes to compile the model.

Also missing database entry.

Hi @javizqh,

Thanks for the feedback. We're still in the early stages of development, so these were mainly initial pushes. Pedro wanted to take a look at some configs, so I bundled the required assets in the RI repo for the time being.

The actual integration work will start in the coming weeks, and I'll be restructuring things as part of that process. Don't worry—I’ll make sure everything ends up in the appropriate place. I'm familiar with the repository layout and will keep it aligned with the project's conventions.

Appreciate the review!

@javizqh

javizqh commented Jun 3, 2026

Copy link
Copy Markdown
Member

If this is not ready for review, please open a draft instead of a PR next time

@javizqh javizqh marked this pull request as draft June 3, 2026 19:18

@pariaspe pariaspe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@anishk85 please take a look

Comment thread Launchers/drone_cat_mouse/control_modes.yaml Outdated
Comment thread Launchers/drone_cat_mouse/gazebo.launch.py Outdated
Comment thread Launchers/drone_cat_mouse/gazebo.launch.py Outdated
Comment thread Launchers/drone_cat_mouse/motion_controller.yaml Outdated
Comment thread Launchers/drone_cat_mouse/pid_speed_controller.yaml Outdated
Comment thread Launchers/drone_cat_mouse/platform_config_file.yaml Outdated
Comment thread Launchers/drone_cat_mouse/state_estimator.yaml Outdated
Comment thread Launchers/drone_cat_mouse/simulation_config.yaml Outdated
</include>

<!-- drone_cat — the one the student controls -->
<include>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I suggest to create a custom model at jderobot_drones package and to include it from there. World file would be much cleaner.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I have noted this but will address this later

@anishk85

anishk85 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator Author

Hi,

I just wanted to mention that these files have only been arranged inside the RI repository for now so that the assets are available and visible. I haven't integrated them or split them into their final structure yet, but I will do that once I start the integration work.

Currently, the files mainly reflect my local code setup that has been moved into the RI repository. I plan to start the actual integration next week, and I'll commit additional changes as the integration effort progresses.

@anishk85

Copy link
Copy Markdown
Collaborator Author

hi @pariaspe kindly review this once especially these two files Launchers/drone_cat_mouse.launch.py
jderobot_drones/launch/as2_default_gazebo_sim.launch.py

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I added all bridges at one place

Comment thread Worlds/drone_cat_mouse_city.world Outdated
@anishk85 anishk85 force-pushed the feature/drone-cat-mouse branch from b55aac9 to 606bbb9 Compare June 13, 2026 18:32
@anishk85 anishk85 force-pushed the feature/drone-cat-mouse branch from 606bbb9 to b148d2d Compare June 13, 2026 18:42
@anishk85 anishk85 requested a review from pariaspe June 15, 2026 19:03
pariaspe
pariaspe previously approved these changes Jun 16, 2026

@pariaspe pariaspe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I would love to see a custom model at jderobot_drones package and to include it at the world file. We can face it in a future PR.

Anyway, PR looks good to me. Nice work @anishk85 .

@anishk85

Copy link
Copy Markdown
Collaborator Author

I would love to see a custom model at jderobot_drones package and to include it at the world file. We can face it in a future PR.

Anyway, PR looks good to me. Nice work @anishk85 .

Sure I will do that.

@javizqh

javizqh commented Jun 17, 2026

Copy link
Copy Markdown
Member

Please fix conflicts

@javizqh javizqh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Missing Cmake changes to compile Models. Right now it does not work

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hi @javizqh please take a look

@anishk85

anishk85 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator Author

I would love to see a custom model at jderobot_drones package and to include it at the world file. We can face it in a future PR.

Anyway, PR looks good to me. Nice work @anishk85 .

Hi @pariaspe ,
model://cat_mouse_drone0 wouldn't resolve if the models lived in jderobot_drones.
so I can move them to custom robots where the wrold live with separate namespaces
image

image

@anishk85 anishk85 force-pushed the feature/drone-cat-mouse branch from 99d784e to c859ca5 Compare June 17, 2026 19:36
@anishk85

Copy link
Copy Markdown
Collaborator Author

Hi @pariaspe ,
Please now take a look

@anishk85

Copy link
Copy Markdown
Collaborator Author

Please fix conflicts

resolved
Thanks!

Comment thread database/universes.sql Outdated
@anishk85 anishk85 requested a review from pariaspe June 18, 2026 16:16
@pariaspe

Copy link
Copy Markdown
Collaborator

Hi @pariaspe , model://cat_mouse_drone0 wouldn't resolve if the models lived in jderobot_drones. so I can move them to custom robots where the wrold live with separate namespaces

Absolutely, sorry for the confusion. Move them to CustomRobots/drone_assets/models similar to quadrotor_dual_cam. Also, choose a more representative name, rather than cat_mouse_drone0.

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.

3 participants