This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
intelligent_robotics_hw1/launch/turtlesim_draw.launch.py
Diogo Peralta Cordeiro 96afe5b656
Add solution for Home Work 1 of Intelligent Robotics
Prompt:
Make a program that makes the rosturtle in turtlesim
run at velocity=v=0.5 m/s and turn with angular_velocity=ω=t/100 where t is time (in seconds);
don't worry about the units too much.
2022-10-02 18:29:58 +01:00

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'
),
])