Updated 6:03 pm 11/18
Dependencies: ExperimentServer QEI_pmw MotorShield
Diff: BezierCurve.h
- Revision:
- 16:f9ea2b2d410f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BezierCurve.h Thu Sep 24 20:16:05 2020 +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