Statistics
| Branch: | Revision:

root / scout / libscout / src / BehaviorList.cpp @ 4b02e3c0

History | View | Annotate | Download (779 Bytes)

1
#include "BehaviorList.h"
2

    
3
BehaviorList::BehaviorList(std::string scoutname)
4
{
5
  behavior_list.push_back((Behavior*)new draw_cw_circle(scoutname));
6
  behavior_list.push_back((Behavior*)new draw_ccw_circle(scoutname));
7
  behavior_list.push_back((Behavior*)new Odometry(scoutname));
8
  behavior_list.push_back((Behavior*)new navigationMap(scoutname));
9
  behavior_list.push_back((Behavior*)new Scheduler(scoutname));
10
  behavior_list.push_back((Behavior*)new WH_Robot(scoutname));
11
  behavior_list.push_back((Behavior*)new line_follow(scoutname));
12
  behavior_list.push_back((Behavior*)new wl_test(scoutname));
13
  behavior_list.push_back((Behavior*)new pause_scout(scoutname));
14
  return;
15
}
16

    
17
BehaviorList::~BehaviorList()
18
{
19
  while(!behavior_list.empty())
20
    behavior_list.pop_back();
21
}