Public Member Functions | |
PrologBindings | once (String query_str) |
Prolog (String ns) | |
Prolog () | |
PrologQueryProxy | query (String query_str) |
Public Attributes | |
ServiceClient < PrologNextSolution.Request, PrologNextSolution.Response, PrologNextSolution > | next_solution |
ServiceClient < PrologFinish.Request, PrologFinish.Response, PrologFinish > | prolog_finish |
ServiceClient < PrologQuery.Request, PrologQuery.Response, PrologQuery > | prolog_query |
Static Protected Member Functions | |
static void | initRos () |
Static Private Attributes | |
static NodeHandle | n |
static Ros | ros |
Client wrapper library for the json_prolog interface
Main class to be used in other applications. For example usage, see
The implementation was intentionally kept similar to the C++ client library by Lorenz M"osenlechner
Definition at line 51 of file Prolog.java.
edu.tum.cs.ias.knowrob.json_prolog.Prolog.Prolog | ( | String | ns | ) | [inline] |
Constructor. Specify the ROS name space (default: "/json_prolog")
ns |
Definition at line 78 of file Prolog.java.
edu.tum.cs.ias.knowrob.json_prolog.Prolog.Prolog | ( | ) | [inline] |
Definition at line 85 of file Prolog.java.
static void edu.tum.cs.ias.knowrob.json_prolog.Prolog.initRos | ( | ) | [inline, static, protected] |
Definition at line 56 of file Prolog.java.
PrologBindings edu.tum.cs.ias.knowrob.json_prolog.Prolog.once | ( | String | query_str | ) | [inline] |
Send a query to Prolog and retrieve only the first result. Finishes the query after retrieving the result.
Definition at line 108 of file Prolog.java.
PrologQueryProxy edu.tum.cs.ias.knowrob.json_prolog.Prolog.query | ( | String | query_str | ) | [inline] |
Send a query to Prolog
Definition at line 96 of file Prolog.java.
NodeHandle edu.tum.cs.ias.knowrob.json_prolog.Prolog.n [static, private] |
Definition at line 54 of file Prolog.java.
ServiceClient<PrologNextSolution.Request, PrologNextSolution.Response, PrologNextSolution> edu.tum.cs.ias.knowrob.json_prolog.Prolog.next_solution |
Definition at line 68 of file Prolog.java.
ServiceClient<PrologFinish.Request, PrologFinish.Response, PrologFinish> edu.tum.cs.ias.knowrob.json_prolog.Prolog.prolog_finish |
Definition at line 69 of file Prolog.java.
ServiceClient<PrologQuery.Request, PrologQuery.Response, PrologQuery> edu.tum.cs.ias.knowrob.json_prolog.Prolog.prolog_query |
Definition at line 67 of file Prolog.java.
Ros edu.tum.cs.ias.knowrob.json_prolog.Prolog.ros [static, private] |
Definition at line 53 of file Prolog.java.