Statistics
| Branch: | Revision:

root / quad2 / mikrokopter / src / nav_lib.h @ 98e35b23

History | View | Annotate | Download (477 Bytes)

1
#include "ros/ros.h"
2
#include "mikrokopter/Control.h"
3

    
4
class MikrokopterControl {
5
public:
6
    MikrokopterControl();
7
    void velocity_control(float forward_speed, float lateral_speed);
8
    void forward();
9
    void backward();
10
    void left();
11
    void right();
12
    void level();
13
    void set_thrust(float thrust);
14
    void set_yaw(float yaw);
15
    void publish_on(ros::Publisher& pub);
16
    void main_loop();
17
private:
18
    mikrokopter::Control control;
19
    ros::NodeHandle nh;
20
};