Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / scout / libscout / src / BehaviorList.cpp @ 8b7d6f99

History | View | Annotate | Download (1.36 KB)

1 6350051e Alex
/**
2
 ******************************************************************************
3
 * WARNING: THIS IS AN AUTOGENERATED FILE!
4
 *
5
 * Editing this file is USELESS. It will be overwritten during the build.
6
 * To properly edit this file, edit its corresponding *.template.* file, which
7
 * a script run by CMake uses to generate this file.
8
 *
9
 * This file was generated via rules in src/generate_behavior_lists.py.
10
 *
11
 * Please see that file for a description of syntax and procedure for
12
 * creating auto-generated files.
13
 *
14
 * THIS WARNING IS LONG TO MAKE SURE IT GETS YOUR ATTENTION!
15
 * THANK YOU.
16
 *****************************************************************************
17
 */
18 c239584b Priya
19 6350051e Alex
#include "BehaviorList.h"
20 d140fd71 Yuyang
21 faa11f08 Priya
BehaviorList::BehaviorList()
22 c239584b Priya
{
23 faa11f08 Priya
  behavior_list.push_back(behavior<pause_scout>);
24
  behavior_list.push_back(behavior<Odometry>);
25 6350051e Alex
  behavior_list.push_back(behavior<draw_ccw_circle>);
26
  behavior_list.push_back(behavior<draw_cw_circle>);
27
  behavior_list.push_back(behavior<line_follow>);
28 faa11f08 Priya
  behavior_list.push_back(behavior<navigationMap>);
29 8b7d6f99 Alex
  behavior_list.push_back(behavior<smart_runaround>);
30 6350051e Alex
  behavior_list.push_back(behavior<wl_test>);
31 faa11f08 Priya
  behavior_list.push_back(behavior<Scheduler>);
32
  behavior_list.push_back(behavior<WH_Robot>);
33
  behavior_list.push_back(behavior<maze_solve>);
34 c239584b Priya
  return;
35
}
36
37
BehaviorList::~BehaviorList()
38
{
39 c460d4c2 Priya
  while(!behavior_list.empty())
40 c239584b Priya
    behavior_list.pop_back();
41
}