Skip to content

Commit

Permalink
removed STL
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Sep 17, 2023
1 parent febc612 commit 090febf
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 267,156 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -203,62 +203,62 @@ def add_meshes(self):
R_standard = o3d.geometry.get_rotation_matrix_from_zxy(np.array([[0],[np.deg2rad(-90)],[np.deg2rad(-90)]]))
T_standard = np.array([[680],[0],[0]])

self.mesh_wing = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/WingQuad.ply")
self.mesh_wing = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/WingQuad.ply")
self.mesh_wing.compute_vertex_normals()
self.mesh_wing.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_wing.translate(T_standard)
self.mesh_fuselage = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/RWV4 NonMoving.ply")
self.mesh_fuselage = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/RWV4 NonMoving.ply")
self.mesh_fuselage.compute_vertex_normals()
self.mesh_fuselage.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_fuselage.translate(T_standard)
self.mesh_vert_tail = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/RudderSolid.ply")
self.mesh_vert_tail = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/RudderSolid.ply")
self.mesh_vert_tail.compute_vertex_normals()
self.mesh_vert_tail.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_vert_tail.translate(T_standard)
self.mesh_hor_tail = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/HoriTail.ply")
self.mesh_hor_tail = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/HoriTail.ply")
self.mesh_hor_tail.compute_vertex_normals()
self.mesh_hor_tail.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_hor_tail.translate(T_standard)
self.mesh_motor_F = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_F = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_F.compute_vertex_normals()
self.mesh_motor_F.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_motor_F.translate(np.array([[-232],[0],[124]]))
self.mesh_motor_F.translate(T_standard)
self.mesh_motor_B = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_B = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_B.compute_vertex_normals()
self.mesh_motor_B.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_motor_B.translate(np.array([[-1129],[0],[124]]))
self.mesh_motor_B.translate(T_standard)
self.mesh_motor_R = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_R = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_R.compute_vertex_normals()
self.mesh_motor_R.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_motor_R.translate(np.array([[-1050],[0],[-152]]))
self.mesh_motor_R.translate(T_standard)
self.mesh_motor_L = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_L = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/15 inch prop Disc.ply")
self.mesh_motor_L.compute_vertex_normals()
self.mesh_motor_L.rotate(R_standard, np.array([[0],[0],[0]]))
self.mesh_motor_L.translate(np.array([[-310],[0],[-152]]))
self.mesh_motor_L.translate(T_standard)
# self.mesh_motor_pusher = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/15 inch prop Disc.ply")
# self.mesh_motor_pusher = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/15 inch prop Disc.ply")
# self.mesh_motor_pusher.compute_vertex_normals()
# self.mesh_motor_pusher.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_motor_pusher.translate(np.array([[-1050],[0],[-152]]))
# self.mesh_motor_pusher.translate(T_standard)
# self.mesh_rudder = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/Rudder.ply")
# self.mesh_rudder = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/Rudder.ply")
# self.mesh_rudder.compute_vertex_normals()
# self.mesh_rudder.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_rudder.translate(np.array([[-806.6],[0],[-152]]))
# self.mesh_rudder.translate(T_standard)
# self.mesh_l_flap = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/LeftFlap.ply")
# self.mesh_l_flap = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/LeftFlap.ply")
# self.mesh_l_flap.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_l_flap.compute_vertex_normals()
# self.mesh_l_aileron = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/LeftAileron.ply")
# self.mesh_l_aileron = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/LeftAileron.ply")
# self.mesh_l_aileron.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_l_aileron.compute_vertex_normals()
# self.mesh_r_flap = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/RightFlap.ply")
# self.mesh_r_flap = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/RightFlap.ply")
# self.mesh_r_flap.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_r_flap.compute_vertex_normals()
# self.mesh_r_aileron = o3d.io.read_triangle_mesh("sw/ground_segment/python/rot_wing_visualizer/import_ply_model/RotatingWingV3/RightAileron.ply")
# self.mesh_r_aileron = o3d.io.read_triangle_mesh("sw/ext/tudelft_gazebo_models/src/ply/RotatingWingV3/RightAileron.ply")
# self.mesh_r_aileron.rotate(R_standard, np.array([[0],[0],[0]]))
# self.mesh_r_aileron.compute_vertex_normals()

Expand Down

0 comments on commit 090febf

Please sign in to comment.