Sorfware for Lexy ( Hexapode )
Dependencies: mbed BLE_API X_NUCLEO_IDB0XA1 MODSERIAL
LIB/Bezier.h
- Committer:
- Essenceia
- Date:
- 2016-08-20
- Revision:
- 5:58acbceb4f9e
- Parent:
- 1:8bab9152933e
File content as of revision 5:58acbceb4f9e:
#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); };