mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
GCS/MapLib - added some UAVOs from Corvus pathplanner branch
This commit is contained in:
parent
78db6d9853
commit
3106917703
30
shared/uavobjectdefinition/pathaction.xml
Normal file
30
shared/uavobjectdefinition/pathaction.xml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<xml>
|
||||||
|
<object name="PathAction" singleinstance="false" settings="false">
|
||||||
|
<description>A waypoint command the pathplanner is to use at a certain waypoint</description>
|
||||||
|
<field name="Mode" units="" type="enum" elements="1" options="FlyEndpoint,FlyVector,FlyCircleRight,FlyCircleLeft,
|
||||||
|
DriveEndpoint,DriveVector,DriveCircleLeft,DriveCircleRight,
|
||||||
|
FixedAttitude,
|
||||||
|
SetAccessory,
|
||||||
|
DisarmAlarm" default="Endpoint" />
|
||||||
|
<field name="ModeParameters" units="" type="float" elements="4" default="0"/>
|
||||||
|
|
||||||
|
<field name="EndCondition" units="" type="enum" elements="1" options="None,TimeOut,
|
||||||
|
DistanceToTarget,LegRemaining,
|
||||||
|
AboveAltitude,
|
||||||
|
PointingTowardsNext,
|
||||||
|
PythonScript,
|
||||||
|
Immediate" default="None" />
|
||||||
|
<field name="ConditionParameters" units="" type="float" elements="4" default="0"/>
|
||||||
|
|
||||||
|
<field name="Command" units="" type="enum" elements="1" options="OnConditionNextWaypoint,OnNotConditionNextWaypoint,
|
||||||
|
OnConditionJumpWaypoint,OnNotConditionJumpWaypoint,
|
||||||
|
IfConditionJumpWaypointElseNextWaypoint" default="OnConditionNextWaypoint" />
|
||||||
|
<field name="JumpDestination" units="waypoint" type="uint8" elements="1" default="0"/>
|
||||||
|
<field name="ErrorDestination" units="waypoint" type="uint8" elements="1" default="0"/>
|
||||||
|
|
||||||
|
<access gcs="readwrite" flight="readwrite"/>
|
||||||
|
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||||
|
<telemetryflight acked="false" updatemode="periodic" period="4000"/>
|
||||||
|
<logging updatemode="periodic" period="1000"/>
|
||||||
|
</object>
|
||||||
|
</xml>
|
12
shared/uavobjectdefinition/waypoint.xml
Normal file
12
shared/uavobjectdefinition/waypoint.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<xml>
|
||||||
|
<object name="Waypoint" singleinstance="false" settings="false">
|
||||||
|
<description>A waypoint the aircraft can try and hit. Used by the @ref PathPlanner module</description>
|
||||||
|
<field name="Position" units="m" type="float" elementnames="North, East, Down"/>
|
||||||
|
<field name="Velocity" units="m/s" type="float" elements="1"/>
|
||||||
|
<field name="Action" units="" type="uint8" elements="1" />
|
||||||
|
<access gcs="readwrite" flight="readwrite"/>
|
||||||
|
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||||
|
<telemetryflight acked="false" updatemode="periodic" period="4000"/>
|
||||||
|
<logging updatemode="periodic" period="1000"/>
|
||||||
|
</object>
|
||||||
|
</xml>
|
10
shared/uavobjectdefinition/waypointactive.xml
Normal file
10
shared/uavobjectdefinition/waypointactive.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<xml>
|
||||||
|
<object name="WaypointActive" singleinstance="true" settings="false">
|
||||||
|
<description>Indicates the currently active waypoint</description>
|
||||||
|
<field name="Index" units="" type="uint8" elements="1"/>
|
||||||
|
<access gcs="readwrite" flight="readwrite"/>
|
||||||
|
<telemetrygcs acked="false" updatemode="manual" period="0"/>
|
||||||
|
<telemetryflight acked="false" updatemode="onchange" period="0"/>
|
||||||
|
<logging updatemode="periodic" period="1000"/>
|
||||||
|
</object>
|
||||||
|
</xml>
|
Loading…
x
Reference in New Issue
Block a user