aerostack2 / aerostack2

Aerostack2 is a ROS 2 framework developed to create autonomous multi-aerial-robots systems in an easy and powerful way.
https://aerostack2.github.io/
BSD 3-Clause "New" or "Revised" License
133 stars 25 forks source link

Launch Gazebo simulation separately #587

Open Cristian-wp opened 2 months ago

Cristian-wp commented 2 months ago

Hello, I am trying to launch separately the Gazebo-Classic simulation with PX4. Now I have manage to launch any other "TMUX winwow" separately

image

The problem with simulation consists in the fact that Gazebo does not start at all... It did not show any output error at all, simply I launch the command and the process termitates clean after some seconds... Can you tell me how to perform correctly this action?

pariaspe commented 2 months ago

It seems that you are not using the right gazebo launch command. Try something like:

${AEROSTACK2_PATH}/as2_simulation_assets/gazebo_assets/scripts/default_run.sh <config-file>

Anyway, Gazebo11 is no longer maintained and we will soon remove as2_gazebo_classic_assets. Is there any reason why you are not using newer versions of Gazebo?

Cristian-wp commented 2 months ago

@pariaspe I am using Gazebo11 only because your PX4 example where build upon it. Is possible to useyour PX4 simulation example with the new version? There is a setting to do or there is specific branch?

pariaspe commented 2 months ago

The example needs to be updated, but there is a project working with the new version.

Cristian-wp commented 2 months ago

Hi @pariaspe I have already write in the other issue, but the link is broken or is a private reposirory.

image