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.
This commit is contained in:
2022-10-02 18:17:20 +01:00
commit 96afe5b656
13 changed files with 233 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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'
),
])