Patrick Wensing / Mbed 2 deprecated Bezier_Trajectory_Follower

Dependencies:   EthernetInterface ExperimentServer QEI_pmw mbed-rtos mbed

Committer:
pwensing
Date:
Mon Oct 19 17:23:10 2015 +0000
Revision:
1:fa2766bcfd50
Parent:
0:cef87d1a41ad
Reduced bezier order

Who changed what in which revision?

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