Functions | |
def | plot (solution, labels=None, yscale=None) |
def | publish_pose (q, problem, t=0.0) |
def | publish_time_indexed_trajectory (traj, Ts, problem, once=False) |
def | publish_trajectory (traj, T, problem, once=False) |
def | sig_int_handler (signal, frame) |
Variables | |
list | __all__ |
def pyexotica.publish_trajectory.plot | ( | solution, | |
labels = None , |
|||
yscale = None |
|||
) |
Definition at line 65 of file publish_trajectory.py.
def pyexotica.publish_trajectory.publish_pose | ( | q, | |
problem, | |||
t = 0.0 |
|||
) |
Definition at line 14 of file publish_trajectory.py.
def pyexotica.publish_trajectory.publish_time_indexed_trajectory | ( | traj, | |
Ts, | |||
problem, | |||
once = False |
|||
) |
Definition at line 46 of file publish_trajectory.py.
def pyexotica.publish_trajectory.publish_trajectory | ( | traj, | |
T, | |||
problem, | |||
once = False |
|||
) |
Plays back a trajectory by updating the scene in a problem and publishing the corresponding tf transforms. Parameters: traj (list[list[]]): A trajectory consisting of a list of configurations which can be either Python lists or np.array. T (float): Time taken for playback. The timestep between configurations is assumed constant and is calculated as T/len(traj) problem (pyexotica.PlanningProblem): The planning problem whose Scene will be used for playback once (bool): Whether to play the trajectory once or in a loop. By default, will play back the trajectory until a KeyboardInterrupt has been received.
Definition at line 19 of file publish_trajectory.py.
def pyexotica.publish_trajectory.sig_int_handler | ( | signal, | |
frame | |||
) |
Definition at line 10 of file publish_trajectory.py.
|
private |
Definition at line 6 of file publish_trajectory.py.