BufferedTrajectoryPointStream
- class phoenix5.BufferedTrajectoryPointStream
Bases:
pybind11_object
Stream of trajectory points for Talon/Victor motion profiling.
- clear() phoenix5._ctre.ErrorCode
Clear all trajectory points.
- Returns:
nonzero error code if operation fails.
- write(*args, **kwargs)
Overloaded function.
write(self: phoenix5._ctre.BufferedTrajectoryPointStream, trajPt: phoenix5._ctre.TrajectoryPoint) -> phoenix5._ctre.ErrorCode
Write a single trajectory point into the buffer.
- Returns:
nonzero error code if operation fails.
write(self: phoenix5._ctre.BufferedTrajectoryPointStream, trajPts: phoenix5._ctre.TrajectoryPoint, trajPtCount: int) -> phoenix5._ctre.ErrorCode
Writes an array of trajectory point into the buffer.
- Returns:
nonzero error code if operation fails.