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:
17
launch/turtlesim_draw.launch.py
Normal file
17
launch/turtlesim_draw.launch.py
Normal 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'
|
||||
),
|
||||
|
||||
])
|
Reference in New Issue
Block a user