Revision bc4b408e
ID | bc4b408e206dea9fe99d5bcd0f695b75b613e518 |
Added velocity_control to MikrocopterControl class, which was added to
work with joystick control. Takes forward and lateral speeds and
combines them to set pitch and roll.
mikrokopter/src/nav_lib.h | ||
---|---|---|
4 | 4 |
class MikrokopterControl { |
5 | 5 |
public: |
6 | 6 |
MikrokopterControl(); |
7 |
void velocity_control(int forward_speed, int lateral_speed); |
|
7 | 8 |
void forward(); |
8 | 9 |
void backward(); |
9 | 10 |
void left(); |
Also available in: Unified diff