Classes | Defines | Functions
cba.h File Reference

Confidence-Based Autonomy (CBA) implementation for ROS. More...

#include <ANN/ANN.h>
#include <ros/ros.h>
#include <lfd_common/action_complete.h>
#include <lfd_common/state.h>
#include <vector>
Include dependency graph for cba.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cba_learner
 Object used to handle communication between other ROS nodes and CBA. More...
struct  conf
struct  prediction

Defines

#define ANN_EPSILON   0
#define DEFAULT_DIST_MULT   1.5
#define DEFAULT_MAX_POINTS   1024
#define DIST_THRESH_MULT   "~dist_thresh_mult"
#define MAX_DATA_POINTS   "~max_data_points"

Functions

int main (int argc, char **argv)

Detailed Description

Confidence-Based Autonomy (CBA) implementation for ROS.

cba provides and implementation of the Learning from Demonstration algorithm Confidence-Based Autonomy (CBA) built for ROS.

Author:
Russell Toris, WPI - rctoris@wpi.edu
Date:
December 19, 2011

Definition in file cba.h.


Define Documentation

#define ANN_EPSILON   0

The error bound on ANN

Definition at line 44 of file cba.h.

#define DEFAULT_DIST_MULT   1.5

The default distance threshold multiplier

Definition at line 39 of file cba.h.

#define DEFAULT_MAX_POINTS   1024

The default number of max data points to allocate

Definition at line 29 of file cba.h.

#define DIST_THRESH_MULT   "~dist_thresh_mult"

The distance threshold multiplier

Definition at line 34 of file cba.h.

#define MAX_DATA_POINTS   "~max_data_points"

The max data points ROS parameter name

Definition at line 24 of file cba.h.


Function Documentation

int main ( int  argc,
char **  argv 
)

Creates and runs the cba node.

Parameters:
argcargument count that is passed to ros::init
argvarguments that are passed to ros::init
Returns:
EXIT_SUCCESS if the node runs correctly

Creates and runs the mock_agent node.

Parameters:
argcargument count that is passed to ros::init
argvarguments that are passed to ros::init
Returns:
EXIT_SUCCESS if the node runs correctly

Creates and runs the mock_classify node.

Parameters:
argcargument count that is passed to ros::init
argvarguments that are passed to ros::init
Returns:
EXIT_SUCCESS if the node runs correctly

Creates and runs the mock_state_publisher node.

Parameters:
argcargument count that is passed to ros::init
argvarguments that are passed to ros::init
Returns:
EXIT_SUCCESS if the node runs correctly

Definition at line 438 of file cba.cpp.



cba
Author(s): Russell Toris
autogenerated on Thu Jan 2 2014 11:23:56