Functions | |
def | get_flat_dict (objects, parent_name) |
Variables | |
dictionary | compound_keys = {} |
bool | exists = True |
flat_objects = get_flat_dict(objects,None) | |
found_groups = set(groups.keys())&set(sys.argv) | |
groups = rospy.get_param("/object_groups") | |
model_name | |
list | object_names = [groups[k] for k in found_groups] |
objects = rospy.get_param("/objects") | |
dictionary | parents = {} |
req = DeleteModelRequest() | |
res = srv_delete_model(name) | |
srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel) | |
def remove_object.get_flat_dict | ( | objects, | |
parent_name | |||
) |
expands all objects to a flat dictionary
Definition at line 29 of file remove_object.py.
dictionary remove_object.compound_keys = {} |
Definition at line 27 of file remove_object.py.
bool remove_object.exists = True |
Definition at line 121 of file remove_object.py.
remove_object.flat_objects = get_flat_dict(objects,None) |
Definition at line 84 of file remove_object.py.
Definition at line 98 of file remove_object.py.
dictionary remove_object.groups = rospy.get_param("/object_groups") |
Definition at line 88 of file remove_object.py.
remove_object.model_name |
Definition at line 120 of file remove_object.py.
list remove_object.object_names = [groups[k] for k in found_groups] |
Definition at line 100 of file remove_object.py.
dictionary remove_object.objects = rospy.get_param("/objects") |
Definition at line 83 of file remove_object.py.
dictionary remove_object.parents = {} |
Definition at line 26 of file remove_object.py.
remove_object.req = DeleteModelRequest() |
Definition at line 119 of file remove_object.py.
remove_object.res = srv_delete_model(name) |
Definition at line 124 of file remove_object.py.
remove_object.srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel) |
Definition at line 118 of file remove_object.py.