Revision faa11f08 scout/libscout/src/BehaviorList.cpp

View differences:

scout/libscout/src/BehaviorList.cpp
1 1
#include "BehaviorList.h"
2 2

  
3 3

  
4
BehaviorList::BehaviorList(std::string scoutname, Sensors * sensor)
4
BehaviorList::BehaviorList()
5 5
{
6
  behavior_list.push_back((Behavior*)new pause_scout(scoutname, sensor));
7
  behavior_list.push_back((Behavior*)new draw_cw_circle(scoutname,sensor));
8
  behavior_list.push_back((Behavior*)new draw_ccw_circle(scoutname, sensor));
9
  behavior_list.push_back((Behavior*)new Odometry(scoutname, sensor));
10
  behavior_list.push_back((Behavior*)new navigationMap(scoutname, sensor));
11
  behavior_list.push_back((Behavior*)new Scheduler(scoutname, sensor));
12
  behavior_list.push_back((Behavior*)new WH_Robot(scoutname, sensor));
13
  behavior_list.push_back((Behavior*)new line_follow(scoutname, sensor));
14
  behavior_list.push_back((Behavior*)new wl_test(scoutname, sensor));
15
  behavior_list.push_back((Behavior*)new maze_solve(scoutname, sensor));
6
  behavior_list.push_back(behavior<pause_scout>);
7
  behavior_list.push_back(behavior<draw_cw_circle>);
8
  behavior_list.push_back(behavior<draw_ccw_circle>);
9
  behavior_list.push_back(behavior<Odometry>);
10
  behavior_list.push_back(behavior<navigationMap>);
11
  behavior_list.push_back(behavior<Scheduler>);
12
  behavior_list.push_back(behavior<WH_Robot>);
13
  behavior_list.push_back(behavior<line_follow>);
14
  behavior_list.push_back(behavior<wl_test>);
15
  behavior_list.push_back(behavior<maze_solve>);
16 16
  return;
17 17
}
18 18

  

Also available in: Unified diff