Commit 4ea0f63f authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

software/js-drone: Add getSpeed and getClimbRate

Add getSpeed and getClimbRate to drone's API
parent be498430
...@@ -34,4 +34,4 @@ md5sum = 1555496ad591a31a845f33488d5c335d ...@@ -34,4 +34,4 @@ md5sum = 1555496ad591a31a845f33488d5c335d
[worker] [worker]
filename = worker.js filename = worker.js
md5sum = bb067644bb1ee2e8eda1324718e317b1 md5sum = 3893fb9228603e8c74f803476ec64dec
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
import { import {
Drone, Drone,
triggerParachute, triggerParachute,
getAirspeed,
getAltitude, getAltitude,
getAltitudeRel, getAltitudeRel,
getClimbRate,
getInitialAltitude, getInitialAltitude,
getLatitude, getLatitude,
getLongitude, getLongitude,
...@@ -58,6 +60,8 @@ import { Worker } from "os"; ...@@ -58,6 +60,8 @@ import { Worker } from "os";
}, },
getInitialAltitude: getInitialAltitude, getInitialAltitude: getInitialAltitude,
getYaw: getYaw, getYaw: getYaw,
getSpeed: getAirspeed,
getClimbRate: getClimbRate,
id: configuration.id, id: configuration.id,
landed: landed, landed: landed,
loiter: loiter, loiter: loiter,
......
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