Skip to content
Snippets Groups Projects
Commit 000ecdb1 authored by thirgy4's avatar thirgy4
Browse files

Forgot to add the teleporting turtle

parent 1cb01c0b
No related branches found
No related tags found
1 merge request!1Resolve "Using Gazebo and ROS complete the labs for the robotics course in sem/2"
from turtlesim.srv import TeleportAbsolute, Spawn
spawn_client = rospy.ServiceProxy('/spawn', Spawn)
spawn_client(x_pos, y_pos, theta, "turtle3")
teleport_client = rospy.ServiceProxy('/turtle3/teleport_absolute', TeleportAbsolute)
teleport_client(x_pos, y_pos, theta)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment