Project

General

Profile

Revision 64a67b32

ID64a67b32a4193359a78ffc0f8f371661e4730402
Parent fb61cb17
Child 8cc0bdf7

Added by Hui Jun Tay about 3 years ago

Merged ApproachEmitter behavior with ParkScout. Still buggy.

View differences:

scout/libscout/src/test_behaviors/ApproachEmitter.h
46 46
    private:
47 47
    int identifyPosition(std::vector<uint32_t> readings,
48 48
                     std::vector<uint32_t> senders);
49

  
50
    bool reverse_park();
51
    int get_side();
52
    bool checkBOM(int bNum, unsigned int ID);
53
    void update_readings();
54
    bool at_destination();
55

  
49 56
    std::string name;
50 57
    pos* scout_pos;
51 58
    std::vector<uint8_t> LEFT;
......
53 60
    std::vector<uint8_t> FRONT;
54 61
    std::vector<uint8_t> BACK;
55 62

  
63
    int start_side;
64
    std::vector<uint32_t> readings;
65
    std::vector<uint32_t> senders;
66

  
67

  
68

  
56 69
};
57 70
#endif

Also available in: Unified diff