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: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
BezierCurve.h@1:25284247a74c, 2021-11-22 (annotated)
- Committer:
- sabazerefa
- Date:
- Mon Nov 22 07:41:36 2021 +0000
- Revision:
- 1:25284247a74c
Implemented two motors, only copying desired. not input interface w matlab
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sabazerefa | 1:25284247a74c | 1 | class BezierCurve |
sabazerefa | 1:25284247a74c | 2 | { |
sabazerefa | 1:25284247a74c | 3 | public: |
sabazerefa | 1:25284247a74c | 4 | BezierCurve(int dim, int order); |
sabazerefa | 1:25284247a74c | 5 | ~BezierCurve(); |
sabazerefa | 1:25284247a74c | 6 | void setPoints(float pts[]); |
sabazerefa | 1:25284247a74c | 7 | void evaluate(float time, float point[]); |
sabazerefa | 1:25284247a74c | 8 | void evaluateDerivative(float time, float point[]); |
sabazerefa | 1:25284247a74c | 9 | private: |
sabazerefa | 1:25284247a74c | 10 | const int _dim; |
sabazerefa | 1:25284247a74c | 11 | const int _order; |
sabazerefa | 1:25284247a74c | 12 | float ** _pts; |
sabazerefa | 1:25284247a74c | 13 | int * _nck; |
sabazerefa | 1:25284247a74c | 14 | int * _nck_deriv; |
sabazerefa | 1:25284247a74c | 15 | }; |