Revision dc742c14
ID | dc742c140dd32eea71e8d73abafa3674079ba94e |
Fixed bugs and compiler warnings in old code.
scout/libscout/src/Behavior.h | ||
---|---|---|
55 | 55 |
{ |
56 | 56 |
public: |
57 | 57 |
// Initializes ROS for behavior |
58 |
Behavior(std::string scoutname, char* name);
|
|
58 |
Behavior(std::string scoutname, std::string name);
|
|
59 | 59 |
|
60 | 60 |
/// Extended by subclasses to actually run the behavior. |
61 | 61 |
virtual void run() = 0; |
62 | 62 |
|
63 |
//Name of behaviour |
|
64 |
const char* name;
|
|
63 |
// Name of behaviour
|
|
64 |
std::string name;
|
|
65 | 65 |
|
66 | 66 |
protected: |
67 | 67 |
ros::NodeHandle node; |
Also available in: Unified diff