WUT Velma robot API
Variables
scripts.test_external_force Namespace Reference

Integration test. More...

Variables

 anonymous
 
 timeout
 
 apply_wrench = rospy.ServiceProxy('/gazebo/apply_body_wrench', ApplyBodyWrench)
 
 get_model_properties = rospy.ServiceProxy('/gazebo/get_model_properties', GetModelProperties)
 
 get_joint_proporties = rospy.ServiceProxy('/gazebo/get_joint_properties', GetJointProperties)
 
 model_prop = get_model_properties("velma")
 
dictionary joint_pos = {}
 
 joint_prop = get_joint_proporties(joint_name)
 
dictionary diff = joint_prop.position[0] - joint_pos[joint_name]
 

Detailed Description

Integration test.

Variable Documentation

◆ anonymous

scripts.test_external_force.anonymous

Definition at line 23 of file test_external_force.py.

◆ apply_wrench

scripts.test_external_force.apply_wrench = rospy.ServiceProxy('/gazebo/apply_body_wrench', ApplyBodyWrench)

Definition at line 39 of file test_external_force.py.

◆ diff

dictionary scripts.test_external_force.diff = joint_prop.position[0] - joint_pos[joint_name]

Definition at line 86 of file test_external_force.py.

◆ get_joint_proporties

scripts.test_external_force.get_joint_proporties = rospy.ServiceProxy('/gazebo/get_joint_properties', GetJointProperties)

Definition at line 51 of file test_external_force.py.

◆ get_model_properties

scripts.test_external_force.get_model_properties = rospy.ServiceProxy('/gazebo/get_model_properties', GetModelProperties)

Definition at line 45 of file test_external_force.py.

◆ joint_pos

dictionary scripts.test_external_force.joint_pos = {}

Definition at line 71 of file test_external_force.py.

◆ joint_prop

scripts.test_external_force.joint_prop = get_joint_proporties(joint_name)

Definition at line 73 of file test_external_force.py.

◆ model_prop

scripts.test_external_force.model_prop = get_model_properties("velma")

Definition at line 56 of file test_external_force.py.

◆ timeout

scripts.test_external_force.timeout

Definition at line 31 of file test_external_force.py.