Classes | Typedefs | Functions | Variables
simulator_learning_tasks.cpp File Reference
#include "bwi_kr_execution/ExecutePlanAction.h"
#include <actionlib/client/simple_action_client.h>
#include <bwi_msgs/LogicalNavigationAction.h>
#include <bwi_msgs/DoorHandlerInterface.h>
#include <bwi_kr_execution/CurrentStateQuery.h>
#include <bwi_kr_execution/UpdateFluents.h>
#include <std_srvs/Empty.h>
#include <ros/ros.h>
#include <sstream>
Include dependency graph for simulator_learning_tasks.cpp:

Go to the source code of this file.

Classes

struct  NotPositionFluent
struct  Task

Typedefs

typedef
actionlib::SimpleActionClient
< bwi_kr_execution::ExecutePlanAction > 
Client

Functions

bool goToInitialState (Client &client, const bwi_kr_execution::ExecutePlanGoal &initial_state)
bwi_kr_execution::ExecutePlanGoal goToPlace (const std::string &place)
bwi_kr_execution::ExecutePlanGoal initialStateFormula ()
int main (int argc, char **argv)
void phaseTransition (int episode)
void resetMemory ()

Variables

const size_t ep_per_phase = 200
const double max_time_per_episode = 300.0

Typedef Documentation

typedef actionlib::SimpleActionClient<bwi_kr_execution::ExecutePlanAction> Client

Definition at line 15 of file simulator_learning_tasks.cpp.


Function Documentation

bool goToInitialState ( Client client,
const bwi_kr_execution::ExecutePlanGoal &  initial_state 
)

Definition at line 45 of file simulator_learning_tasks.cpp.

bwi_kr_execution::ExecutePlanGoal goToPlace ( const std::string &  place)

Definition at line 83 of file simulator_learning_tasks.cpp.

bwi_kr_execution::ExecutePlanGoal initialStateFormula ( )

Definition at line 61 of file simulator_learning_tasks.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 184 of file simulator_learning_tasks.cpp.

void phaseTransition ( int  episode)

Definition at line 99 of file simulator_learning_tasks.cpp.

void resetMemory ( )

Definition at line 157 of file simulator_learning_tasks.cpp.


Variable Documentation

const size_t ep_per_phase = 200

Definition at line 19 of file simulator_learning_tasks.cpp.

const double max_time_per_episode = 300.0

Definition at line 20 of file simulator_learning_tasks.cpp.



bwi_tasks
Author(s): Matteo Leonetti, Shiqi Zhang
autogenerated on Thu Jun 6 2019 17:58:00