Classes | Functions | Variables
lonely_turtle Namespace Reference

Classes

class  TurtleScheduler

Functions

def turtle1_go
def turtle1_pose_updated
def turtle1_task

Variables

tuple clear_background = rospy.ServiceProxy('clear', EmptyServiceCall)
tuple reset_simulator = rospy.ServiceProxy('reset', EmptyServiceCall)
tuple sched = TurtleScheduler()
tuple turtle1_set_pen = rospy.ServiceProxy('turtle1/set_pen', SetPen)
tuple turtle1_teleport = rospy.ServiceProxy('turtle1/teleport_absolute', TeleportAbsolute)
tuple turtle1_velocity = rospy.Publisher('turtle1/command_velocity', Velocity)

Function Documentation

def lonely_turtle.turtle1_go (   target)
Make turtle1 go to target, giving new speed command every second 

Definition at line 23 of file lonely_turtle.py.

We received a new pose of turtle1 from turtlesim, update condition variable in scheduler 

Definition at line 46 of file lonely_turtle.py.

Make turtle1 do a square in the environment 

Definition at line 32 of file lonely_turtle.py.


Variable Documentation

tuple lonely_turtle::clear_background = rospy.ServiceProxy('clear', EmptyServiceCall)

Definition at line 62 of file lonely_turtle.py.

tuple lonely_turtle::reset_simulator = rospy.ServiceProxy('reset', EmptyServiceCall)

Definition at line 59 of file lonely_turtle.py.

Definition at line 52 of file lonely_turtle.py.

tuple lonely_turtle::turtle1_set_pen = rospy.ServiceProxy('turtle1/set_pen', SetPen)

Definition at line 64 of file lonely_turtle.py.

tuple lonely_turtle::turtle1_teleport = rospy.ServiceProxy('turtle1/teleport_absolute', TeleportAbsolute)

Definition at line 66 of file lonely_turtle.py.

tuple lonely_turtle::turtle1_velocity = rospy.Publisher('turtle1/command_velocity', Velocity)

Definition at line 69 of file lonely_turtle.py.



teer_example_turtle
Author(s): Stéphane Magnenat
autogenerated on Sat Dec 28 2013 16:57:39