Namespaces | Functions | Variables
spawn_object.py File Reference

Go to the source code of this file.

Namespaces

namespace  spawn_object

Functions

def spawn_object.get_flat_dict

Variables

dictionary spawn_object.compound_keys = {}
 spawn_object.existing_models = world_properties.model_names
tuple spawn_object.f = os.popen("rosrun xacro xacro --inorder " + file_location)
tuple spawn_object.file_location = roslib.packages.get_pkg_dir('cob_gazebo_objects')
tuple spawn_object.flat_objects = get_flat_dict(objects,None)
tuple spawn_object.found_groups = set(groups.keys())
tuple spawn_object.groups = rospy.get_param("/object_groups")
list spawn_object.model_string = value["model"]
list spawn_object.model_type = value["model_type"]
list spawn_object.object_names = [groups[k] for k in found_groups]
tuple spawn_object.object_pose = Pose()
tuple spawn_object.objects = rospy.get_param("/objects")
list spawn_object.orientation = value["orientation"]
dictionary spawn_object.parents = {}
list spawn_object.position = value["position"]
tuple spawn_object.quaternion = tft.quaternion_from_euler(orientation[0], orientation[1], orientation[2])
tuple spawn_object.req = SpawnModelRequest()
tuple spawn_object.res = srv_delete_model(key)
tuple spawn_object.srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel)
tuple spawn_object.srv_get_world_properties = rospy.ServiceProxy('/gazebo/get_world_properties', GetWorldProperties)
tuple spawn_object.srv_spawn_model = rospy.ServiceProxy('/gazebo/spawn_'+model_type+'_model', SpawnModel)
tuple spawn_object.world_properties = srv_get_world_properties()
tuple spawn_object.xml_string = f.read()


cob_bringup_sim
Author(s): Felix Messmer , Nadia Hammoudeh Garcia , Florian Weisshardt
autogenerated on Sat Jun 8 2019 18:52:45