Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tao Du
committed
Jul 17, 2018
1 parent
292f743
commit bfae716
Showing
4 changed files
with
1,021 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<?xml version="1.0" ?> | ||
<copter> | ||
<plate file="circular_plate.obj" density="1180.0"> | ||
<instance size="0.18 0.18"> | ||
<!-- Lift by 0.1m to avoid penetrating the ground. --> | ||
<translate xyz="0 0 -0.1"/> | ||
</instance> | ||
<instance size="0.18 0.18"> | ||
<translate xyz="0 0 -0.1"/> | ||
<!-- 0.0024m is the thickness of the plate. --> | ||
<translate xyz="0 0 -0.0024"/> | ||
<!-- 0.0456m is the size of the connector. --> | ||
<translate xyz="0 0 -0.0456"/> | ||
</instance> | ||
</plate> | ||
|
||
<battery file="battery.obj" density="2857.1" capacity="2200"> | ||
<translate xyz="0 0 -0.1"/> | ||
<translate xyz="0 0 0.0024"/> | ||
<translate xyz="0 -0.045 0.025"/> | ||
</battery> | ||
|
||
<electronics file="electronics.obj" density="601.6"> | ||
<!-- The electronic device is placed on top of the upper plate. --> | ||
<translate xyz="0 0 -0.148"/> | ||
<!-- Lift by 0.01 more because the mesh itself has thickness. --> | ||
<translate xyz="0 0 -0.01"/> | ||
</electronics> | ||
|
||
<tube file="tube.obj" density="1638.9"> | ||
<instance length="0.2"> | ||
<translate xyz="0 0 -0.1"/> | ||
<!-- 0.0012 is half of the thickness of a plate. --> | ||
<translate xyz="0 0 -0.0012"/> | ||
<!-- 0.0228 is half of the size of a connector. --> | ||
<translate xyz="0 0 -0.0228"/> | ||
<translate xyz="0.15 0 0"/> | ||
</instance> | ||
<instance length="0.2"> | ||
<translate xyz="0.15 0 -0.124"/> | ||
<rotate rpy="0 0 72"/> | ||
</instance> | ||
<instance length="0.2"> | ||
<translate xyz="0.15 0 -0.124"/> | ||
<rotate rpy="0 0 144"/> | ||
</instance> | ||
<instance length="0.2"> | ||
<translate xyz="0.15 0 -0.124"/> | ||
<rotate rpy="0 0 -144"/> | ||
</instance> | ||
<instance length="0.2"> | ||
<translate xyz="0.15 0 -0.124"/> | ||
<rotate rpy="0 0 -72"/> | ||
</instance> | ||
</tube> | ||
|
||
<round_connector file="connector.obj" density="1170.0"> | ||
<instance> | ||
<translate xyz="0.07 0 -0.124"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.07 0 -0.124"/> | ||
<rotate rpy="0 0 72"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.07 0 -0.124"/> | ||
<rotate rpy="0 0 144"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.07 0 -0.124"/> | ||
<rotate rpy="0 0 -144"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.07 0 -0.124"/> | ||
<rotate rpy="0 0 -72"/> | ||
</instance> | ||
|
||
<instance> | ||
<translate xyz="0.23 0 -0.124"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<rotate rpy="0 0 72"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<rotate rpy="0 0 144"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<rotate rpy="0 0 -144"/> | ||
</instance> | ||
<instance> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<rotate rpy="0 0 -72"/> | ||
</instance> | ||
</round_connector> | ||
|
||
<propeller file="propeller_10inch.obj"/> | ||
|
||
<motor file="motor.obj" density="4833.3" measurement="motor_10inch_prop.txt" | ||
propeller_height="0.019"> | ||
<instance spin_dir="cw"> | ||
<!-- Location of its parent connector. --> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<!-- Half size of its parent connector. --> | ||
<translate xyz="0 0 -0.0228"/> | ||
<!-- 0.018 is the distance between the bottom surface and the center of | ||
the motor. --> | ||
<translate xyz="0 0 -0.018"/> | ||
</instance> | ||
<instance spin_dir="cw"> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<translate xyz="0 0 -0.0228"/> | ||
<translate xyz="0 0 -0.018"/> | ||
<rotate rpy="0 0 72"/> | ||
</instance> | ||
<instance spin_dir="ccw"> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<translate xyz="0 0 -0.0228"/> | ||
<translate xyz="0 0 -0.018"/> | ||
<rotate rpy="0 0 144"/> | ||
</instance> | ||
<instance spin_dir="cw"> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<translate xyz="0 0 -0.0228"/> | ||
<translate xyz="0 0 -0.018"/> | ||
<rotate rpy="0 0 -144"/> | ||
</instance> | ||
<instance spin_dir="ccw"> | ||
<translate xyz="0.23 0 -0.124"/> | ||
<translate xyz="0 0 -0.0228"/> | ||
<translate xyz="0 0 -0.018"/> | ||
<rotate rpy="0 0 -72"/> | ||
</instance> | ||
</motor> | ||
|
||
</copter> |
Oops, something went wrong.