Namespaces | Functions | Variables
spawn_object.py File Reference

Go to the source code of this file.

Namespaces

 spawn_object
 

Functions

def spawn_object.get_flat_dict (objects, parent_name)
 

Variables

dictionary spawn_object.compound_keys = {}
 
 spawn_object.existing_models = world_properties.model_names
 
 spawn_object.f = os.popen("xacro "+ xacro_args + " " + file_location)
 
string spawn_object.file_location = roslib.packages.get_pkg_dir(model_package)+"/"
 
 spawn_object.flat_objects = get_flat_dict(objects,None)
 
 spawn_object.found_groups = set(groups.keys())&set(sys.argv)
 
 spawn_object.groups = rospy.get_param("/object_groups")
 
 spawn_object.initial_pose
 
 spawn_object.model_name
 
 spawn_object.model_package = model_string.split("/")[0]
 
 spawn_object.model_path = model_string.replace(model_package + "/", "")
 
 spawn_object.model_string = value["model"]
 
 spawn_object.model_type = model_string.split(".").pop()
 
 spawn_object.model_xml
 
list spawn_object.object_names = [groups[k] for k in found_groups]
 
 spawn_object.object_pose = Pose()
 
 spawn_object.objects = rospy.get_param("/objects")
 
 spawn_object.orientation = value["orientation"]
 
dictionary spawn_object.parents = {}
 
 spawn_object.position = value["position"]
 
 spawn_object.quaternion = tft.quaternion_from_euler(orientation[0], orientation[1], orientation[2])
 
 spawn_object.req = SpawnModelRequest()
 
 spawn_object.res = srv_delete_model(key)
 
 spawn_object.srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel)
 
 spawn_object.srv_get_world_properties = rospy.ServiceProxy('/gazebo/get_world_properties', GetWorldProperties)
 
 spawn_object.srv_spawn_model = rospy.ServiceProxy('/gazebo/spawn_'+model_type+'_model', SpawnModel)
 
 spawn_object.w
 
 spawn_object.world_properties = srv_get_world_properties()
 
 spawn_object.x
 
string spawn_object.xacro_args = '--inorder'
 
 spawn_object.xml_string = f.read()
 
 spawn_object.y
 
 spawn_object.z
 


cob_gazebo_tools
Author(s): Felix Messmer , Nadia Hammoudeh Garcia , Florian Weisshardt
autogenerated on Sat Dec 5 2020 03:59:48