Revision 751d4f4f
Made danger_marking depend on Odometry correctly
scout/libscout/src/behaviors/Odometry.cpp | ||
---|---|---|
4 | 4 |
using namespace std; |
5 | 5 |
|
6 | 6 |
/** Set up the odometry node and prepare communcations over ROS */ |
7 |
Odometry::Odometry(string scoutname, Sensors* sensors):Behavior(scoutname, |
|
8 |
"odometry", sensors) |
|
7 |
Odometry::Odometry(string scoutname, Sensors* sensors) |
|
8 |
: Behavior(scoutname, "odometry", sensors) |
|
9 |
{ |
|
10 |
name = scoutname; |
|
11 |
scout_pos = new pos; |
|
12 |
motor_fl_ticks = motor_fr_ticks = motor_bl_ticks = motor_br_ticks = 0; |
|
13 |
} |
|
14 |
|
|
15 |
/** Set up the odometry node and prepare communcations over ROS */ |
|
16 |
Odometry::Odometry(string scoutname, string behavior_name, Sensors* sensors) |
|
17 |
: Behavior(scoutname, behavior_name, sensors) |
|
9 | 18 |
{ |
10 | 19 |
name = scoutname; |
11 | 20 |
scout_pos = new pos; |
Also available in: Unified diff