Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose --headless-rendering as a sdf tag to gazebo server plugin #147

Closed
adityapande-1995 opened this issue Feb 9, 2022 · 0 comments · Fixed by #148
Closed

Expose --headless-rendering as a sdf tag to gazebo server plugin #147

adityapande-1995 opened this issue Feb 9, 2022 · 0 comments · Fixed by #148
Assignees
Labels
enhancement New feature or request

Comments

@adityapande-1995
Copy link
Contributor

adityapande-1995 commented Feb 9, 2022

Desired behavior

The --headless-rendering command line flag was recently added to ignition CLI (https://github.com/ignitionrobotics/ign-gazebo/blob/77dd8551e942c6f2a9dfbd6360a51cab9185ebab/src/cmd/cmdgazebo.rb.in#L76) , where one can say : ign gazebo -s --headless-rendering my_world.sdf. This has not been ported to GazeboServer.cc in the gazebo server plugin for ignition-launch. It would be nice to have a sdf tag expose that flag :

<plugin name="ignition::launch::GazeboServer"
            filename="ignition-launch-gazebo">
      <world_file>my_world.sdf</world_file>
      <headless_rendering>true</headless_rendering>
    </plugin>

Alternatives considered

The only way to do this now using ignition launch is to use the <executable> tag :

<executable name='gazebo-server'>
    <command>ign gazebo  -s --headless-rendering my_world.sdf</command>
</executable>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant