18 lines
415 B
Python
18 lines
415 B
Python
|
from launch import LaunchDescription
|
||
|
from launch_ros.actions import Node
|
||
|
|
||
|
def generate_launch_description():
|
||
|
return LaunchDescription([
|
||
|
Node(
|
||
|
package='turtlesim',
|
||
|
executable='turtlesim_node'
|
||
|
),
|
||
|
Node(
|
||
|
package='ros2_turtlesim_shapes',
|
||
|
executable='talker',
|
||
|
name='cmd_vel_publisher',
|
||
|
output='screen'
|
||
|
),
|
||
|
|
||
|
])
|