Functions | |
| def | angle_diff |
| def | control_command |
| def | dist |
| def | orbit_command |
| def | perp |
| def | unit |
| def turtle_math.angle_diff | ( | a, | |
| b | |||
| ) |
Definition at line 45 of file turtle_math.py.
| def turtle_math.control_command | ( | pose, | |
| dest_pos, | |||
speed = 1.0 |
|||
| ) |
Compute velocity given current pose and target
Definition at line 28 of file turtle_math.py.
| def turtle_math.dist | ( | current_pose, | |
| dest_pos | |||
| ) |
Return distance between current position and a target
Definition at line 18 of file turtle_math.py.
| def turtle_math.orbit_command | ( | pose, | |
| center, | |||
speed = 1.0, |
|||
d = 2.5 |
|||
| ) |
Give a command such as orbiting around center
Definition at line 38 of file turtle_math.py.
| def turtle_math.perp | ( | v | ) |
Return the perpendiculary vector to v
Definition at line 14 of file turtle_math.py.
| def turtle_math.unit | ( | v | ) |
Return unitary vector of direction v
Definition at line 6 of file turtle_math.py.