Project

General

Profile

Revision fd29b28e

IDfd29b28eb2f84596cc133172863b245968088898

Added by Priya about 12 years ago

Tested velocity control and added yaw and throttle control to joystick.

View differences:

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
    void velocity_control(float forward_speed, float lateral_speed);
8 8
    void forward();
9 9
    void backward();
10 10
    void left();
11 11
    void right();
12 12
    void level();
13
    void set_thrust(int thrust);
13
    void set_thrust(float thrust);
14
    void set_yaw(float yaw);
14 15
    void publish_on(ros::Publisher& pub);
15 16
private:
16 17
    mikrokopter::Control control;

Also available in: Unified diff