Project

General

Profile

Revision 5d0687a9

ID5d0687a9991d806c94fc7c21405334e6717e3611
Parent 1487bc56
Child 26562d0c, d37cfc69

Added by Priya about 12 years ago

Small changes to wireless, and starting turning with line following.

View differences:

scout/libscout/src/LinesensorControl.h
49 49
        /** Use ROS to get the current readings. */
50 50
        std::vector<uint32_t> query();
51 51

  
52
        /** Get line position */
53
        double readline();
54

  
55
        /** Implement turn functions */
56
        void turnLeft();
57
        void turnRight();
58

  
52 59
    private:
53 60
        /* ROS publisher and client declaration */
54 61
        ros::ServiceClient query_client;
55 62
        ros::NodeHandle node;
63

  
64
        /** Check if we are at an intersecetion */
65
        bool fullline();
56 66
};
57 67

  
58 68
#endif /* _LINESENSOR_CONTORL_H_ */

Also available in: Unified diff