Namespaces | Functions | Variables
normalsTool.py File Reference

Go to the source code of this file.

Namespaces

namespace  normalsTool

Functions

def normalsTool.add_angles_to_sph
def normalsTool.get_rotation_matrix
def normalsTool.matrix_vector_mult
def normalsTool.multiply_matrix
def normalsTool.normalize_vector
def normalsTool.round_vector_elements
def normalsTool.sph_to_xyz
def normalsTool.xyz_to_sph

Variables

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


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 Thu Jun 6 2019 21:11:02