swing jump win code
Dependencies: ExperimentServer MotorShield QEI_pmw
Diff: BezierCurve.h
- Revision:
- 0:f7e7848048d5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BezierCurve.h Mon Nov 28 22:18:47 2022 +0000 @@ -0,0 +1,15 @@ +class BezierCurve +{ +public: + BezierCurve(int dim, int order); + ~BezierCurve(); + void setPoints(float pts[]); + void evaluate(float time, float point[]); + void evaluateDerivative(float time, float point[]); +private: + const int _dim; + const int _order; + float ** _pts; + int * _nck; + int * _nck_deriv; +}; \ No newline at end of file