Created
February 23, 2022 18:46
-
-
Save rfzeg/73ee486f9a149ea1e54b58f9a9620728 to your computer and use it in GitHub Desktop.
Minimal ROS2 launch file for Gazebo server and client using ExecuteProcess (command line arguments)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Launch Gazebo server and client with command line arguments.""" | |
from launch import LaunchDescription | |
from launch.actions import ExecuteProcess | |
def generate_launch_description(): | |
return LaunchDescription([ | |
ExecuteProcess( | |
cmd=['gazebo', '--verbose', '-s', 'libgazebo_ros_factory.so'], | |
output='screen') | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment