Classes | Typedefs | Functions | Variables
learning_executor.cpp File Reference
#include "msgs_utils.h"
#include "RemoteReasoner.h"
#include "StaticFacts.h"
#include "learning/SarsaActionSelector.h"
#include "learning/TimeReward.h"
#include "learning/DefaultTimes.h"
#include "learning/ActionLogger.h"
#include "bwi_kr_execution/ExecutePlanAction.h"
#include "actasp/action_utils.h"
#include "actasp/executors/PartialPolicyExecutor.h"
#include <actasp/reasoners/Clingo4_2.h>
#include "actions/ActionFactory.h"
#include "actions/LogicalNavigation.h"
#include <actionlib/server/simple_action_server.h>
#include <ros/ros.h>
#include <ros/package.h>
#include <ros/console.h>
#include <boost/filesystem.hpp>
#include <string>
#include <fstream>
#include <ctime>
Include dependency graph for learning_executor.cpp:

Go to the source code of this file.

Classes

struct  Observer
struct  PrintFluent

Typedefs

typedef
actionlib::SimpleActionServer
< bwi_kr_execution::ExecutePlanAction > 
Server

Functions

void completeTask (const string &valueFileName, const ros::Time &begin, const string &time_string)
void executePlan (const bwi_kr_execution::ExecutePlanGoalConstPtr &plan, Server *as)
void initiateTask (const bwi_kr_execution::ExecutePlanGoalConstPtr &plan, string &valueFileName, ros::Time &begin, char *time_string)
int main (int argc, char **argv)
const std::string queryDirectory ("/tmp/bwi_action_execution/")
std::string rulesToFileName (const vector< AspRule > &rules)
const std::string value_directory_base ("/var/tmp/my_bwi_action_execution/")

Variables

ActionLoggeraction_logger
ActionExecutorexecutor
const int MAX_N = 20
SarsaActionSelectorselector
std::string valueDirectory

Typedef Documentation

typedef actionlib::SimpleActionServer<bwi_kr_execution::ExecutePlanAction> Server

Definition at line 43 of file learning_executor.cpp.


Function Documentation

void completeTask ( const string &  valueFileName,
const ros::Time begin,
const string &  time_string 
)

Definition at line 117 of file learning_executor.cpp.

void executePlan ( const bwi_kr_execution::ExecutePlanGoalConstPtr &  plan,
Server as 
)

Definition at line 168 of file learning_executor.cpp.

void initiateTask ( const bwi_kr_execution::ExecutePlanGoalConstPtr &  plan,
string &  valueFileName,
ros::Time begin,
char *  time_string 
)

Definition at line 141 of file learning_executor.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 222 of file learning_executor.cpp.

const std::string queryDirectory ( "/tmp/bwi_action_execution/"  )
std::string rulesToFileName ( const vector< AspRule > &  rules)

Definition at line 78 of file learning_executor.cpp.

const std::string value_directory_base ( "/var/tmp/my_bwi_action_execution/"  )

Variable Documentation

Definition at line 47 of file learning_executor.cpp.

Definition at line 45 of file learning_executor.cpp.

const int MAX_N = 20

Definition at line 33 of file learning_executor.cpp.

Definition at line 46 of file learning_executor.cpp.

std::string valueDirectory

Definition at line 36 of file learning_executor.cpp.



bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Thu Jun 6 2019 17:57:37