Example Mbed code for MIT 2.74 Lab 4

Dependencies:   ExperimentServer QEI_pmw MotorShield

Dependents:   project

Committer:
saloutos
Date:
Tue Sep 29 21:09:51 2020 +0000
Revision:
25:52b378e89f42
Parent:
16:f9ea2b2d410f
Comments for pre_buffer gains

Who changed what in which revision?

UserRevisionLine numberNew contents of line
saloutos 16:f9ea2b2d410f 1 class BezierCurve
saloutos 16:f9ea2b2d410f 2 {
saloutos 16:f9ea2b2d410f 3 public:
saloutos 16:f9ea2b2d410f 4 BezierCurve(int dim, int order);
saloutos 16:f9ea2b2d410f 5 ~BezierCurve();
saloutos 16:f9ea2b2d410f 6 void setPoints(float pts[]);
saloutos 16:f9ea2b2d410f 7 void evaluate(float time, float point[]);
saloutos 16:f9ea2b2d410f 8 void evaluateDerivative(float time, float point[]);
saloutos 16:f9ea2b2d410f 9 private:
saloutos 16:f9ea2b2d410f 10 const int _dim;
saloutos 16:f9ea2b2d410f 11 const int _order;
saloutos 16:f9ea2b2d410f 12 float ** _pts;
saloutos 16:f9ea2b2d410f 13 int * _nck;
saloutos 16:f9ea2b2d410f 14 int * _nck_deriv;
saloutos 16:f9ea2b2d410f 15 };