Functions | |
def | get_descriptors |
def | get_directed_graph |
def | get_directed_graph_index |
def | get_edges_with_vertices |
def | get_vertex_from_graph |
Variables | |
tuple | _map_agent = MapAgent() |
def lama_interfaces.graph_builder.get_descriptors | ( | object_id, | |
interface, | |||
getter | |||
) |
Retrieve the descriptors associated with LamaObject with id object_id Return a list of descriptors associated with getter. Parameters ---------- - object_id: int, LamaObject's id - interface: str, interface name associated with getter - getter: ROS ServiceProxy for a ROS message type
Definition at line 86 of file graph_builder.py.
Return the directed graph as a dict {vertex: [edge0, edge1, ...], ...} Return the directed graph as a dict {vertex: [edge0, edge1, ...], ...}, where vertex is a LamaObject of type vertex and edge0 is a LamaObject of type edge and with edge0.references[0] = vertex. All vertices are listed as key. All edges are listed as values.
Definition at line 24 of file graph_builder.py.
Return the directed graph as a dict {vertex_id: [v0_id, v1_id...], ...} Return the directed graph as a dict {vertex_id: [v0_id, v1_id, ...], ...}, where vertex_id is the index of a LamaObject of type vertex and v0_id is the index of a LamaObject, meaning that their is an edge from vertex_id to v0_id.
Definition at line 59 of file graph_builder.py.
def lama_interfaces.graph_builder.get_edges_with_vertices | ( | v0, | |
v1 | |||
) |
Return the list of edges from v0 to v1, as LamaObject Return the list of edges from v0 to v1, as LamaObject. Return None on service error.
Definition at line 74 of file graph_builder.py.
def lama_interfaces.graph_builder.get_vertex_from_graph | ( | graph, | |
id_ | |||
) |
Return the vertex which is a key of graph and has id_ as id Return a LamaObject
Definition at line 13 of file graph_builder.py.
Definition at line 10 of file graph_builder.py.