Skip to content

Commit

Permalink
Add 3DR Iris copter model for use in SITL
Browse files Browse the repository at this point in the history
  • Loading branch information
martinwilco committed Oct 20, 2023
1 parent 1e51919 commit 75b79b2
Show file tree
Hide file tree
Showing 3 changed files with 529,407 additions and 0 deletions.
74 changes: 74 additions & 0 deletions Tools/autotest/aircraft/IRIS/IRIS-set.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<PropertyList>

<sim>
<description>IRIS quadcopter (ArduPilot)</description>
<flight-model>network</flight-model>
<model>
<path>Aircraft/IRIS/Models/IRIS.xml</path>
</model>
<view n="0">
<internal archive="y">true</internal>
<config>
<x-offset-m archive="y">0</x-offset-m><!--right-->
<y-offset-m archive="y">0.7</y-offset-m><!--up-->
<z-offset-m archive="y">-3</z-offset-m><!--back-->
<pitch-offset-deg archive="y">0</pitch-offset-deg>
<limits>
<enabled type="bool">true</enabled>
<left>
<heading-max-deg type="double">160</heading-max-deg>
<x-offset-max-m type="double">0.30</x-offset-max-m>
<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
</left>
<right>
<heading-max-deg type="double">140</heading-max-deg>
<x-offset-max-m type="double">0.15</x-offset-max-m>
<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
</right>
</limits>
</config>
</view>
<view n="1">
<name>Custom view 1</name>
<internal archive="y">true</internal>
<config>
<x-offset-m archive="y">0</x-offset-m><!--right-->
<y-offset-m archive="y">0.7</y-offset-m><!--up-->
<z-offset-m archive="y">-3</z-offset-m><!--back-->
<pitch-offset-deg archive="y">8</pitch-offset-deg>
<limits>
<enabled type="bool">true</enabled>
<left>
<heading-max-deg type="double">160</heading-max-deg>
<x-offset-max-m type="double">0.30</x-offset-max-m>
<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
</left>
<right>
<heading-max-deg type="double">140</heading-max-deg>
<x-offset-max-m type="double">0.15</x-offset-max-m>
<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
</right>
</limits>
</config>
</view>
<view n="0">
<name>Custom view: follow</name>
<type>lookat</type>
<config>
<from-model type="bool">false</from-model>
<from-model-idx type="int">0</from-model-idx>
<eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<eye-heading-deg-path>/surface-positions/elevator-pos-norm</eye-heading-deg-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0.7</y-offset-m>
<z-offset-m type="double">-3</z-offset-m>
</config>
</view>
</sim>

</PropertyList>
Loading

0 comments on commit 75b79b2

Please sign in to comment.