Go to the documentation of this file.00001 #include <ros/ros.h>
00002 #include <mdm_library/state_layer.h>
00003
00004 using namespace std;
00005 using namespace ros;
00006 using namespace mdm_library;
00007
00008 int main ( int argc, char** argv )
00009 {
00010 init ( argc, argv, "state_layer" );
00011
00012 StateLayer sl;
00013
00014 sl.addStateFactor ( StateDep().add ( "IsInSoccerField" )
00015 .add ( "IsInLRM" )
00016 .add ( "IsInSouthCorridor" )
00017 .add ( "IsInCoffeeRoom" )
00018 .add ( "IsInWestCorridor" )
00019 .add ( "IsInElevatorHallway" ) );
00020
00021 sl.addStateFactor ( StateDep().add ( "PatrolHalfwayThrough" ) );
00022
00023 spin();
00024
00025 return 0;
00026 }