pycram.external_interfaces.knowrob

Module Contents

Functions

all_solutions(q)

once(→ typing_extensions.Union[typing_extensions.List, ...)

load_beliefstate(path)

clear_beliefstate()

load_owl(path[, ns_alias, ns_url])

Example: load_owl("package://external_interfaces/owl/maps/iai_room_v1.owl", "map", "http://knowrob.org/kb/v1/IAI-Kitchen.owl#")

new_iri(owl_class)

object_type(→ str)

param object_iri:

The name (identifier) of the object individual in the KnowRob knowledge base

instances_of(→ typing_extensions.List[str])

param type_:

An object type (i.e. class)

object_pose(→ typing_extensions.List[float])

param object_iri:

The name (identifier) of the object individual in the KnowRob knowledge base

grasp_pose(→ typing_extensions.List[float])

knowrob_string_to_pose(→ typing_extensions.List[float])

Attributes

SCRIPT_DIR

neem_interface

logger

pycram.external_interfaces.knowrob.SCRIPT_DIR
pycram.external_interfaces.knowrob.neem_interface
pycram.external_interfaces.knowrob.logger
pycram.external_interfaces.knowrob.all_solutions(q)
pycram.external_interfaces.knowrob.once(q) typing_extensions.Union[typing_extensions.List, typing_extensions.Dict]
pycram.external_interfaces.knowrob.load_beliefstate(path: str)
pycram.external_interfaces.knowrob.clear_beliefstate()
pycram.external_interfaces.knowrob.load_owl(path, ns_alias=None, ns_url=None)

Example: load_owl(“package://external_interfaces/owl/maps/iai_room_v1.owl”, “map”, “http://knowrob.org/kb/v1/IAI-Kitchen.owl#”) :param str path: path to log folder :rtype: bool

pycram.external_interfaces.knowrob.new_iri(owl_class: str)
pycram.external_interfaces.knowrob.object_type(object_iri: str) str
Parameters:

object_iri – The name (identifier) of the object individual in the KnowRob knowledge base

pycram.external_interfaces.knowrob.instances_of(type_: str) typing_extensions.List[str]
Parameters:

type – An object type (i.e. class)

pycram.external_interfaces.knowrob.object_pose(object_iri: str, reference_cs: str = 'world', timestamp=None) typing_extensions.List[float]
Parameters:
  • object_iri – The name (identifier) of the object individual in the KnowRob knowledge base

  • reference_cs – The coordinate system relative to which the pose should be defined

pycram.external_interfaces.knowrob.grasp_pose(object_iri: str) typing_extensions.List[float]
pycram.external_interfaces.knowrob.knowrob_string_to_pose(pose_as_string: str) typing_extensions.List[float]