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

How to launch gz_sim without gui? #302

Open
christophfroehlich opened this issue May 10, 2024 · 0 comments
Open

How to launch gz_sim without gui? #302

christophfroehlich opened this issue May 10, 2024 · 0 comments

Comments

@christophfroehlich
Copy link
Contributor

gui:=false does not work anymore, and the docs for docker usage seems to be outdated

docker run -it --rm --name gz_ros2_control_demo --net host gz_ros2_control ros2 launch gz_ros2_control_demos cart_example_position.launch.py gui:=false

@ahcorde Is there any other possibility instead of using the -s gz_args, i.e., to pass it from ros launch parameters?

    IncludeLaunchDescription(
        PythonLaunchDescriptionSource(
            [PathJoinSubstitution([FindPackageShare('ros_gz_sim'),
                                   'launch',
                                   'gz_sim.launch.py'])]),
        launch_arguments=[('gz_args', [' -s -r empty.sdf'])]),
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

No branches or pull requests

1 participant