Sorfware for Lexy ( Hexapode )

Dependencies:   mbed BLE_API X_NUCLEO_IDB0XA1 MODSERIAL

Committer:
Essenceia
Date:
Thu Aug 11 12:18:13 2016 +0000
Revision:
1:8bab9152933e
Invers Kinematics solver added as well as ble libraries, still need to assemble.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Essenceia 1:8bab9152933e 1
Essenceia 1:8bab9152933e 2 #include <vector>
Essenceia 1:8bab9152933e 3
Essenceia 1:8bab9152933e 4 using namespace std;
Essenceia 1:8bab9152933e 5
Essenceia 1:8bab9152933e 6 class Bezier
Essenceia 1:8bab9152933e 7 {
Essenceia 1:8bab9152933e 8 public:
Essenceia 1:8bab9152933e 9 vector<float> xpos, ypos;
Essenceia 1:8bab9152933e 10 Bezier();
Essenceia 1:8bab9152933e 11 ~Bezier();
Essenceia 1:8bab9152933e 12 void add_point (float x, float y);
Essenceia 1:8bab9152933e 13 // t must be [0:1]
Essenceia 1:8bab9152933e 14 void get_pos(float t, float *xret, float *yret);
Essenceia 1:8bab9152933e 15 };