TrajectorySample

class wpimath.TrajectorySample(*args, **kwargs)

Bases: pybind11_object

Represents a single sample in a trajectory.

Overloaded function.

  1. __init__(self: wpimath._wpimath.TrajectorySample) -> None

Constructs a default TrajectorySample with all zero values.

  1. __init__(self: wpimath._wpimath.TrajectorySample, time: wpimath.units.seconds) -> None

Constructs a TrajectorySample.

Parameters:

time – The time of the sample relative to the trajectory start.