Classes | Functions | Variables
Roomba.cpp File Reference
#include <iostream>
#include <decision_making/SynchCout.h>
#include <decision_making/BT.h>
#include <decision_making/FSM.h>
#include <decision_making/ROSTask.h>
#include <decision_making/DecisionMaking.h>
#include <ros/ros.h>
#include <std_msgs/Bool.h>
#include <sensor_msgs/Range.h>
Include dependency graph for fsm/Roomba.cpp:

Go to the source code of this file.

Classes

struct  MainEventQueue

Functions

 FSM (Roomba)
int main (int argc, char **argv)
void onLeftBumperMessage (const std_msgs::Bool::Ptr &bumperState)
void onRightBumperMessage (const std_msgs::Bool::Ptr &bumperState)
void onWallSensorMessage (const sensor_msgs::Range::Ptr &sensor)

Variables

volatile bool leftBumper
ros::Subscriber leftBumperSub
EventQueuemainEventQueue
volatile bool rightBumper
ros::Subscriber rightBumperSub
volatile bool wallSensor
ros::Subscriber wallSensorSub

Function Documentation

FSM ( Roomba  )

Definition at line 28 of file fsm/Roomba.cpp.

int main ( int  argc,
char **  argv 
)

Blocking call

Definition at line 89 of file fsm/Roomba.cpp.

void onLeftBumperMessage ( const std_msgs::Bool::Ptr &  bumperState)

Definition at line 74 of file fsm/Roomba.cpp.

void onRightBumperMessage ( const std_msgs::Bool::Ptr &  bumperState)

Definition at line 79 of file fsm/Roomba.cpp.

void onWallSensorMessage ( const sensor_msgs::Range::Ptr &  sensor)

Definition at line 84 of file fsm/Roomba.cpp.


Variable Documentation

volatile bool leftBumper

Definition at line 16 of file fsm/Roomba.cpp.

Definition at line 18 of file fsm/Roomba.cpp.

Definition at line 22 of file fsm/Roomba.cpp.

volatile bool rightBumper

Definition at line 16 of file fsm/Roomba.cpp.

Definition at line 19 of file fsm/Roomba.cpp.

volatile bool wallSensor

Definition at line 16 of file fsm/Roomba.cpp.

Definition at line 20 of file fsm/Roomba.cpp.



decision_making_examples
Author(s):
autogenerated on Wed Aug 26 2015 11:17:01