Sorfware for Lexy ( Hexapode )
Dependencies: mbed BLE_API X_NUCLEO_IDB0XA1 MODSERIAL
Diff: LIB/Bezier.h
- Revision:
- 1:8bab9152933e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LIB/Bezier.h Thu Aug 11 12:18:13 2016 +0000 @@ -0,0 +1,15 @@ + +#include <vector> + +using namespace std; + +class Bezier +{ +public: + vector<float> xpos, ypos; + Bezier(); + ~Bezier(); + void add_point (float x, float y); + // t must be [0:1] + void get_pos(float t, float *xret, float *yret); + }; \ No newline at end of file