#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>
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 |
EventQueue * | mainEventQueue |
volatile bool | rightBumper |
ros::Subscriber | rightBumperSub |
volatile bool | wallSensor |
ros::Subscriber | wallSensorSub |
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.
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.