Commit 60c7caf7 authored by Roque's avatar Roque

Update drone app doc page

See merge request nexedi/erp5!1854
parents 5b6579aa a4b863bb
...@@ -341,7 +341,7 @@ ...@@ -341,7 +341,7 @@
<div class="line"></div> <div class="line"></div>
<!-- setTargetCoordinates --> <!-- setTargetCoordinates -->
<h4 class="item-name" id="setTargetCoordinates"><span>setTargetCoordinates</span><span>: dictionary</span></h4> <h4 class="item-name" id="setTargetCoordinates"><span>setTargetCoordinates</span><span>: void</span></h4>
<p class="item-descr"> <p class="item-descr">
Set a target point expressed in geo coordinates. The drone will move straight to this point. Set a target point expressed in geo coordinates. The drone will move straight to this point.
</p> </p>
...@@ -376,8 +376,8 @@ ...@@ -376,8 +376,8 @@
<div class="line"></div> <div class="line"></div>
<!-- setSpeed --> <!-- setAirSpeed -->
<h4 class="item-name" id="setSpeed"><span>setSpeed</span><span>: void</span></h4> <h4 class="item-name" id="setAirSpeed"><span>setAirSpeed</span><span>: void</span></h4>
<p class="item-descr">Set the drone speed in meters/second. The drone will move at the given value.</p> <p class="item-descr">Set the drone speed in meters/second. The drone will move at the given value.</p>
<div> <div>
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
</div> </div>
<div> <div>
<p class="item-param-1">altitude: Float</p> <p class="item-param-1">speed: Float</p>
<p class="item-param-2">Speed value</p> <p class="item-param-2">Speed value</p>
</div> </div>
...@@ -394,14 +394,14 @@ ...@@ -394,14 +394,14 @@
<h5 class="item-param-1">Example</h5> <h5 class="item-param-1">Example</h5>
</div> </div>
<p class="item-param-1">me.setSpeed(16);<br> <p class="item-param-1">me.setAirSpeed(16);<br>
</p> </p>
<div class="line"></div> <div class="line"></div>
<!-- loiter --> <!-- loiter -->
<h4 class="item-name" id="loiter"><span>loiter</span><span>: void</span></h4> <h4 class="item-name" id="loiter"><span>loiter</span><span>: void</span></h4>
<p class="item-descr">Set the drone to loiter mode, it will loiter around the target coordinates.</p> <p class="item-descr">Set the drone to loiter mode, it will loiter around the target coordinates. If the given radius is inferior to LOITER_LIMIT (30), then the chosen radius will be the last accepted value when calling loiter function (100 by default).</p>
<div> <div>
<h5 class="item-param-1">Param</h5> <h5 class="item-param-1">Param</h5>
...@@ -520,15 +520,28 @@ ...@@ -520,15 +520,28 @@
<div class="line"></div> <div class="line"></div>
<!-- getSpeed --> <!-- getAirSpeed -->
<h4 class="item-name" id="getSpeed"><span>getSpeed</span><span>: Float</span></h4> <h4 class="item-name" id="getAirSpeed"><span>getAirSpeed</span><span>: Float</span></h4>
<p class="item-descr">Get drone air speed in meters/second.</p> <p class="item-descr">Get drone air speed in meters/second.</p>
<div> <div>
<h5 class="item-param-1">Example</h5> <h5 class="item-param-1">Example</h5>
</div> </div>
<p class="item-param-1">me.getSpeed();<br> <p class="item-param-1">me.getAirSpeed();<br>
</p>
<div class="line"></div>
<!-- getAltitudeAbs -->
<h4 class="item-name" id="getAltitudeAbs"><span>getAltitudeAbs</span><span>: Float</span></h4>
<p class="item-descr">Get drone absolute altitude.</p>
<div>
<h5 class="item-param-1">Example</h5>
</div>
<p class="item-param-1">me.getAltitudeAbs();<br>
</p> </p>
<div class="line"></div> <div class="line"></div>
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1011.46157.31778.16247</string> </value> <value> <string>1013.8658.42855.47581</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1696877684.5</float> <float>1702406106.83</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment