Project

General

Profile

Statistics
| Branch: | Revision:

root / mikrokopter / src / nav_lib.h @ fd29b28e

History | View | Annotate | Download (431 Bytes)

1 da889457 Tom Mullins
#include "ros/ros.h"
2
#include "mikrokopter/Control.h"
3
4 dd56aeef Tom Mullins
class MikrokopterControl {
5
public:
6
    MikrokopterControl();
7 fd29b28e Priya
    void velocity_control(float forward_speed, float lateral_speed);
8 dd56aeef Tom Mullins
    void forward();
9
    void backward();
10
    void left();
11
    void right();
12 d58012b5 Chris Burchhardt
    void level();
13 fd29b28e Priya
    void set_thrust(float thrust);
14
    void set_yaw(float yaw);
15 dd56aeef Tom Mullins
    void publish_on(ros::Publisher& pub);
16
private:
17
    mikrokopter::Control control;
18
};