Public Member Functions | Private Member Functions | Private Attributes
mdm_library::ControllerTimedMDP Class Reference

#include <controller_timed_mdp.h>

Inheritance diagram for mdm_library::ControllerTimedMDP:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ControllerTimedMDP (const std::string &policy_file_path, const CONTROLLER_STATUS initial_status=STARTED)
void stateCallback (const WorldSymbolConstPtr &msg)

Private Member Functions

void scheduleTimer ()
void step ()
void timerCallback (const ros::TimerEvent &timer_event)

Private Attributes

bool initial_state_known_
uint32_t s_
ros::Timer timer_

Detailed Description

ControllerTimedMDP implements an MDP controller that takes actions at a fixed rate.

Definition at line 41 of file controller_timed_mdp.h.


Constructor & Destructor Documentation

ControllerTimedMDP::ControllerTimedMDP ( const std::string &  policy_file_path,
const CONTROLLER_STATUS  initial_status = STARTED 
)

Definition at line 54 of file controller_timed_mdp.cpp.


Member Function Documentation

Definition at line 86 of file controller_timed_mdp.cpp.

void ControllerTimedMDP::stateCallback ( const WorldSymbolConstPtr &  msg) [virtual]

Pure virtual callback to state information. Derived classes can define an execution strategy (synchronous or event-driven) by implementing this method accordingly.

Implements mdm_library::ControllerMDP.

Definition at line 73 of file controller_timed_mdp.cpp.

void ControllerTimedMDP::step ( ) [private]

Definition at line 117 of file controller_timed_mdp.cpp.

void ControllerTimedMDP::timerCallback ( const ros::TimerEvent timer_event) [private]

Definition at line 103 of file controller_timed_mdp.cpp.


Member Data Documentation

Definition at line 59 of file controller_timed_mdp.h.

Definition at line 63 of file controller_timed_mdp.h.

Definition at line 61 of file controller_timed_mdp.h.


The documentation for this class was generated from the following files:


mdm_library
Author(s): Joao Messias
autogenerated on Wed Aug 26 2015 12:28:41