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