Variables
spawn_object Namespace Reference

Variables

tuple all_object_names = rospy.get_param("/objects")
 exists = True
tuple file_localition = roslib.packages.get_pkg_dir('cob_gazebo_objects')
tuple file_xml = open(file_localition)
tuple model = rospy.get_param("/objects/%s/model" % name)
tuple model_type = rospy.get_param("/objects/%s/model_type" % name)
 object_names = all_object_names
tuple object_pose = Pose()
tuple orientation = rospy.get_param("/objects/%s/orientation" % name)
tuple p = os.popen("rosrun xacro xacro.py " + file_localition)
tuple position = rospy.get_param("/objects/%s/position" % name)
tuple quaternion = tft.quaternion_from_euler(orientation[0], orientation[1], orientation[2])
tuple req = DeleteModelRequest()
tuple res = srv_delete_model(name)
tuple srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel)
tuple srv_spawn_model = rospy.ServiceProxy('/gazebo/spawn_urdf_model', SpawnModel)
tuple xml_string = file_xml.read()

Variable Documentation

tuple spawn_object::all_object_names = rospy.get_param("/objects")

Definition at line 81 of file spawn_object.py.

Definition at line 163 of file spawn_object.py.

tuple spawn_object::file_localition = roslib.packages.get_pkg_dir('cob_gazebo_objects')

Definition at line 133 of file spawn_object.py.

Definition at line 141 of file spawn_object.py.

tuple spawn_object::model = rospy.get_param("/objects/%s/model" % name)

Definition at line 102 of file spawn_object.py.

tuple spawn_object::model_type = rospy.get_param("/objects/%s/model_type" % name)

Definition at line 108 of file spawn_object.py.

Definition at line 85 of file spawn_object.py.

Definition at line 123 of file spawn_object.py.

tuple spawn_object::orientation = rospy.get_param("/objects/%s/orientation" % name)

Definition at line 121 of file spawn_object.py.

tuple spawn_object::p = os.popen("rosrun xacro xacro.py " + file_localition)

Definition at line 145 of file spawn_object.py.

tuple spawn_object::position = rospy.get_param("/objects/%s/position" % name)

Definition at line 114 of file spawn_object.py.

tuple spawn_object::quaternion = tft.quaternion_from_euler(orientation[0], orientation[1], orientation[2])

Definition at line 122 of file spawn_object.py.

tuple spawn_object::req = DeleteModelRequest()

Definition at line 161 of file spawn_object.py.

Definition at line 166 of file spawn_object.py.

tuple spawn_object::srv_delete_model = rospy.ServiceProxy('gazebo/delete_model', DeleteModel)

Definition at line 160 of file spawn_object.py.

tuple spawn_object::srv_spawn_model = rospy.ServiceProxy('/gazebo/spawn_urdf_model', SpawnModel)

Definition at line 140 of file spawn_object.py.

tuple spawn_object::xml_string = file_xml.read()

Definition at line 142 of file spawn_object.py.



cob_bringup_sim
Author(s): Florian Weisshardt
autogenerated on Thu Aug 27 2015 12:48:24