#include "actions/ActionFactory.h"
#include "actasp/reasoners/Clingo.h"
#include "actasp/action_utils.h"
#include "msgs_utils.h"
#include "bwi_kr_execution/UpdateFluents.h"
#include "bwi_kr_execution/CurrentStateQuery.h"
#include "bwi_kr_execution/ComputePlan.h"
#include "bwi_kr_execution/ComputeAllPlans.h"
#include "bwi_kr_execution/IsPlanValid.h"
#include <ros/ros.h>
#include <ros/package.h>
#include <std_srvs/Empty.h>
#include <boost/filesystem.hpp>
Go to the source code of this file.
Functions | |
bool | computeAllPlans (bwi_kr_execution::ComputeAllPlans::Request &req, bwi_kr_execution::ComputeAllPlans::Response &res) |
bool | computePlan (bwi_kr_execution::ComputePlan::Request &req, bwi_kr_execution::ComputePlan::Response &res) |
bool | currentStateQuery (bwi_kr_execution::CurrentStateQuery::Request &req, bwi_kr_execution::CurrentStateQuery::Response &res) throw () |
bool | isPlanvalid (bwi_kr_execution::IsPlanValid::Request &req, bwi_kr_execution::IsPlanValid::Response &res) |
int | main (int argc, char **argv) |
const std::string | queryDirectory ("/tmp/bwi_kr_execution/") |
bool | resetState (std_srvs::Empty::Request &, std_srvs::Empty::Response &) |
bool | updateFluents (bwi_kr_execution::UpdateFluents::Request &req, bwi_kr_execution::UpdateFluents::Response &res) throw () |
Variables | |
const int | MAX_N = 20 |
actasp::AspKR * | reasoner |
bool computeAllPlans | ( | bwi_kr_execution::ComputeAllPlans::Request & | req, |
bwi_kr_execution::ComputeAllPlans::Response & | res | ||
) |
Definition at line 135 of file knowledge_reasoning.cpp.
bool computePlan | ( | bwi_kr_execution::ComputePlan::Request & | req, |
bwi_kr_execution::ComputePlan::Response & | res | ||
) |
Definition at line 121 of file knowledge_reasoning.cpp.
bool currentStateQuery | ( | bwi_kr_execution::CurrentStateQuery::Request & | req, |
bwi_kr_execution::CurrentStateQuery::Response & | res | ||
) | throw () |
Definition at line 106 of file knowledge_reasoning.cpp.
bool isPlanvalid | ( | bwi_kr_execution::IsPlanValid::Request & | req, |
bwi_kr_execution::IsPlanValid::Response & | res | ||
) |
Definition at line 149 of file knowledge_reasoning.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 50 of file knowledge_reasoning.cpp.
const std::string queryDirectory | ( | "/tmp/bwi_kr_execution/" | ) |
bool resetState | ( | std_srvs::Empty::Request & | , |
std_srvs::Empty::Response & | |||
) |
Definition at line 159 of file knowledge_reasoning.cpp.
bool updateFluents | ( | bwi_kr_execution::UpdateFluents::Request & | req, |
bwi_kr_execution::UpdateFluents::Response & | res | ||
) | throw () |
Definition at line 95 of file knowledge_reasoning.cpp.
const int MAX_N = 20 |
Definition at line 25 of file knowledge_reasoning.cpp.
Definition at line 48 of file knowledge_reasoning.cpp.