Example Mbed code for MIT 2.74 Lab 4
Dependencies: ExperimentServer QEI_pmw MotorShield
BezierCurve.h
- Committer:
- saloutos
- Date:
- 2020-09-24
- Revision:
- 16:f9ea2b2d410f
File content as of revision 16:f9ea2b2d410f:
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; };