Update launch_sim.launch.py

spawn_entity.py to spawn_entity
This commit is contained in:
bjoernellens1 2023-04-21 12:17:11 +02:00 committed by GitHub
parent 8ccc4acf08
commit 5f8c8fb53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ def generate_launch_description():
) )
# Run the spawner node from the gazebo_ros package. The entity name doesn't really matter if you only have a single robot. # Run the spawner node from the gazebo_ros package. The entity name doesn't really matter if you only have a single robot.
spawn_entity = Node(package='gazebo_ros', executable='spawn_entity.py', spawn_entity = Node(package='gazebo_ros', executable='spawn_entity',
arguments=['-topic', 'robot_description', arguments=['-topic', 'robot_description',
'-entity', 'my_bot'], '-entity', 'my_bot'],
output='screen') output='screen')