CTRE_Phoenix 5.20.2
BufferedTrajectoryPointStream.h
1#pragma once
2#include <stdint.h>
3#include "ctre/phoenix/ErrorCode.h"
4#include "ctre/phoenix/cci/BuffTrajPointStream_CCI.h"
5#include "ctre/phoenix/motion/TrajectoryPoint.h"
6namespace ctre {
7 namespace phoenix {
8 namespace motion {
13 public:
32 ctre::phoenix::ErrorCode Write(const TrajectoryPoint * trajPts, uint32_t trajPtCount);
36 void * GetHandle() { return _handle; }
37 private:
38 void * _handle;
39 };
40 } // namespace motion
41 } // namespace phoenix
42} // namespace ctre
Definition: BufferedTrajectoryPointStream.h:12
ctre::phoenix::ErrorCode Write(const TrajectoryPoint *trajPts, uint32_t trajPtCount)
Writes an array of trajectory point into the buffer.
void * GetHandle()
Definition: BufferedTrajectoryPointStream.h:36
ctre::phoenix::ErrorCode Clear()
Clear all trajectory points.
ctre::phoenix::ErrorCode Write(const TrajectoryPoint &trajPt)
Write a single trajectory point into the buffer.
ErrorCode
Definition: ErrorCode.h:12
Definition: ErrorCode.h:5
Definition: TrajectoryPoint.h:10