Skip to content

Commit

Permalink
Added a new pentacopter demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tao Du committed Jul 17, 2018
1 parent 292f743 commit bfae716
Show file tree
Hide file tree
Showing 4 changed files with 1,021 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -13,6 +13,7 @@ users to build their own multicopters. It was a research project led by the
![](docs/vtail_simulate.jpg)
![](docs/y6_simulate.jpg)
![](docs/windows_default_ui.jpg)
![](docs/demo_simulate.jpg)

Please refer to [docs/user_guide.pdf](docs/user_guide.pdf) for more
information.
Expand Down
Binary file added docs/demo_simulate.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
138 changes: 138 additions & 0 deletions resources/copter/demo.xml
@@ -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>

0 comments on commit bfae716

Please sign in to comment.