Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ExperimentServer MotorShield QEI_pmw
Diff: BezierCurve.h
- Revision:
- 16:f9ea2b2d410f
diff -r 495333b2ccf1 -r f9ea2b2d410f BezierCurve.h
--- /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