00001 #include "StartupBehavior.h"
00002
00003 #include "Behaviors/Controls/ControlBase.h"
00004 #include "Behaviors/Controls/BehaviorSwitchControl.h"
00005
00006 #include "Behaviors/Mon/ViewWMVarsBehavior.h"
00007 #include "Behaviors/Mon/WalkControllerBehavior.h"
00008 #include "Behaviors/Mon/HeadPointControllerBehavior.h"
00009 #include "Behaviors/Mon/Aibo3DControllerBehavior.h"
00010 #include "Behaviors/Mon/EStopControllerBehavior.h"
00011 #include "Behaviors/Mon/WMMonitorBehavior.h"
00012
00013 ControlBase*
00014 StartupBehavior::SetupTekkotsuMon() {
00015 addItem(new ControlBase("TekkotsuMon","Servers for GUIs"));
00016 startSubMenu();
00017 {
00018 addItem((new BehaviorSwitchControl<HeadPointControllerBehavior>("Head Remote Control",false)));
00019 addItem((new BehaviorSwitchControl<WalkControllerBehavior>("Walk Remote Control",false)));
00020 addItem((new BehaviorSwitchControl<ViewWMVarsBehavior>("View WMVars",false)));
00021 addItem((new BehaviorSwitchControl<WMMonitorBehavior>("Watchable Memory Monitor",false))->start());
00022 BehaviorSwitchControlBase::BehaviorGroup * aibo3D_bg = new BehaviorSwitchControlBase::BehaviorGroup();
00023 addItem((new BehaviorSwitchControl<Aibo3DControllerBehavior>("Aibo 3D",aibo3D_bg,false)));
00024 EStopControllerBehavior * ESCB=new EStopControllerBehavior(stop_id);
00025 addItem((new BehaviorSwitchControl<EStopControllerBehavior,Factory1Arg<EStopControllerBehavior,MotionManager::MC_ID,MotionManager::invalid_MC_ID> >("EStop Remote Control",ESCB))->start());
00026 }
00027 return endSubMenu();
00028 }