Namespaces | Functions | Variables
normalsTool.py File Reference

Go to the source code of this file.

Namespaces

 normalsTool
 

Functions

def normalsTool.add_angles_to_sph (sph, d_elev, d_az)
 
def normalsTool.get_rotation_matrix (angle_x, angle_y, angle_z)
 
def normalsTool.matrix_vector_mult (matrix, vector)
 
def normalsTool.multiply_matrix (matrix_1, matrix_2)
 
def normalsTool.normalize_vector (vec)
 
def normalsTool.round_vector_elements (vec)
 
def normalsTool.sph_to_xyz (r, elev, az)
 
def normalsTool.xyz_to_sph (x, y, z)
 

Variables

 normalsTool.a
 
float normalsTool.an_x = 90.0
 
 normalsTool.anonymous
 
 normalsTool.b
 
 normalsTool.base_vec = normalize_vector(base_vec)
 
 normalsTool.base_vectors = rospy.get_param('base_vectors')
 
int normalsTool.color_step = 1
 
int normalsTool.d_az = pan_curr*math.pi/180
 
int normalsTool.d_elev = tilt_curr*math.pi/180
 
 normalsTool.d_x = rospy.get_param('d_pan')
 
 normalsTool.d_y = rospy.get_param('d_tilt')
 
 normalsTool.f = open(rospack.get_path('asr_object_database') + '/src/normal_generator_tool/normalsToolParams.yaml', 'r')
 
 normalsTool.fh = open(rospack.get_path('asr_object_database') + output_rel_path, 'w')
 
 normalsTool.frame_id
 
 normalsTool.g
 
float normalsTool.hue = (marker_id / (len(normals) / size_vec))*color_step+0.0
 
 normalsTool.id
 
 normalsTool.marker = Marker()
 
 normalsTool.marker_frame = rospy.get_param('marker_frame')
 
int normalsTool.marker_id = 0
 
 normalsTool.markerArray = MarkerArray()
 
 normalsTool.new_normal = sph_to_xyz(new_sp[0], new_sp[1], new_sp[2])
 
 normalsTool.new_sp = add_angles_to_sph(sp, d_elev, d_az)
 
list normalsTool.normals = []
 
 normalsTool.ns
 
 normalsTool.output_rel_path = rospy.get_param('output_rel_path')
 
string normalsTool.output_string = ""
 
 normalsTool.pan_max = rospy.get_param('pan')[1]
 
 normalsTool.pan_min = rospy.get_param('pan')[0]
 
 normalsTool.point_end = Point()
 
 normalsTool.point_start = Point()
 
 normalsTool.pub_topic = rospy.get_param('pub_topic')
 
 normalsTool.publish_rate = rospy.get_param('publish_rate')
 
 normalsTool.publisher = rospy.Publisher(pub_topic, MarkerArray, queue_size=10)
 
 normalsTool.r
 
 normalsTool.rate = rospy.Rate(publish_rate)
 
 normalsTool.result_normal = matrix_vector_mult(rot_mat_trans, new_normal)
 
 normalsTool.rgb = colorsys.hsv_to_rgb(hue, 1.0, 1.0)
 
 normalsTool.rospack = rospkg.RosPack()
 
 normalsTool.rot_mat = get_rotation_matrix(an_x, 0.0, 0.0)
 
 normalsTool.rot_mat_trans = get_rotation_matrix(-an_x, 0.0, 0.0)
 
 normalsTool.size_vec = len(base_vectors)
 
 normalsTool.sp = xyz_to_sph(base_vec[0], base_vec[1], base_vec[2])
 
 normalsTool.tilt_max = rospy.get_param('tilt')[1]
 
 normalsTool.tilt_min = rospy.get_param('tilt')[0]
 
 normalsTool.type
 
 normalsTool.x
 
 normalsTool.y
 
 normalsTool.yamlfile = load(f)
 
 normalsTool.z
 


asr_object_database
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Braun Kai, Heizmann Heinrich, Heller Florian, Kasper Alexander, Marek Felix, Mehlhaus Jonas, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Walter Milena
autogenerated on Wed Jan 8 2020 03:12:13