Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

src/c/o/cob_manipulation_sandbox-HEAD/move_arm/test/testMovingOutOfTableContact.py   cob_manipulation_sandbox(Download)
import sensor_msgs.msg
import mapping_msgs.msg
from mapping_msgs.msg import CollisionObject
from arm_navigation_msgs.msg import CollisionOperation
from arm_navigation_msgs.msg import Shape
        rospy.sleep(5.)
 
        obj1 = CollisionObject()
 
        obj1.header.stamp = rospy.Time.now()-rospy.Duration(.1)

src/c/o/cob_manipulation_sandbox-HEAD/move_arm/test/testMovingOutOfAttachedContact.py   cob_manipulation_sandbox(Download)
import sensor_msgs.msg
import mapping_msgs.msg
from mapping_msgs.msg import CollisionObject, AttachedCollisionObject
from arm_navigation_msgs.msg import CollisionOperation
from arm_navigation_msgs.msg import Shape
        rospy.sleep(5.)
 
        obj1 = CollisionObject()
 
        obj1.header.stamp = rospy.Time.now()-rospy.Duration(.1)
        att_object.link_name = "r_gripper_r_finger_tip_link"
        att_object.object.operation.operation = mapping_msgs.msg.CollisionObjectOperation.ADD
        att_object.object = CollisionObject();
 
        att_object.object.header.stamp = rospy.Time.now()

src/c/o/cob_manipulation_sandbox-HEAD/move_arm/test/testMotionExecutionBuffer.py   cob_manipulation_sandbox(Download)
import sensor_msgs.msg
import mapping_msgs.msg
from mapping_msgs.msg import CollisionObject
from arm_navigation_msgs.msg import CollisionOperation
from arm_navigation_msgs.msg import Shape
        self.move_arm_action_client.wait_for_server()
 
        obj1 = CollisionObject()
 
        obj1.header.stamp = rospy.Time.now()
    def tearDown(self):
        obj1 = CollisionObject()
        obj1.header.stamp = rospy.Time.now()
        obj1.header.frame_id = "base_link"
        obj1.id = "all";
    def testAllowedNotAllowedInitialContact(self):
 
        #adding object in collision with base
 
        obj2 = CollisionObject()