Revision d140fd71 scout/libscout/src/behaviors/WH_Robot.cpp

View differences:

scout/libscout/src/behaviors/WH_Robot.cpp
2 2
#include "../helper_classes/Order.h"
3 3

  
4 4
/** @Brief: warehouse robot constructor **/
5
WH_Robot::WH_Robot(std::string scoutname):line_follow(scoutname) 
5
WH_Robot::WH_Robot(std::string scoutname, Sensors* sensors):
6
            line_follow(scoutname, sensors) 
6 7
{
7
  nav_map = new navigationMap(scoutname);
8
  nav_map = new navigationMap(scoutname, sensors);
8 9
  curr_task = DEFAULT_TASK;
9 10
  name = scoutname;
10 11
  reg_failed = 1;

Also available in: Unified diff