[Simulation] Starting gzclient instead of gazebo


I doing software in the loop simulation (SITL) with gazebo using Px4 firmware, I need to keep gzserver running.
Is there any possible way to start gzclient instead of gazebo when starting the make files??

Best regards,

I don’t completely understand your question. Gazebo consists of the gzserver and the gzclient. As you noted correctly, you need to keep gzserver running in order to run SITL.

You can chose whether or not you want to run the client. Depending on how you are launching things, you can specify this with the ‘gui’ argument in your launchfile like so:

    <include file="$(find gazebo_ros)/launch/empty_world.launch">
        <arg name="gui" value="True"/>
        <arg name="world_name" value="YOUR_WORLD_FILE.world" />

Hope that helps a bit