Project

General

Profile

Revision 31be19a6

ID31be19a6f1dbf2140fc23d0e97e1a5a706cb78b8

Added by Priya about 12 years ago

Behaviours now have names!

View differences:

scout/libscout/src/Behavior.h
51 51
{
52 52
    public:
53 53
        // Initializes ROS for behavior
54
        Behavior(std::string scoutname);
54
        Behavior(std::string scoutname, char* name);
55 55

  
56 56
        /// Extended by subclasses to actually run the behavior.
57 57
        virtual void run() = 0;
58 58

  
59
        //Name of behaviour
60
        const char* name;
61

  
59 62
    protected:
60 63
        ros::NodeHandle node;
61 64

  

Also available in: Unified diff