Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Justin
slapos
Commits
c4096489
Commit
c4096489
authored
Dec 08, 2022
by
Léo-Paul Géneau
👾
Committed by
Justin
Feb 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/js-drone: Add getSpeed and getClimbRate
Add getSpeed and getClimbRate to drone's API
parent
0b5aa800
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
software/js-drone/buildout.hash.cfg
software/js-drone/buildout.hash.cfg
+1
-1
software/js-drone/worker.js
software/js-drone/worker.js
+4
-0
No files found.
software/js-drone/buildout.hash.cfg
View file @
c4096489
...
@@ -34,4 +34,4 @@ md5sum = 1555496ad591a31a845f33488d5c335d
...
@@ -34,4 +34,4 @@ md5sum = 1555496ad591a31a845f33488d5c335d
[worker]
[worker]
filename = worker.js
filename = worker.js
md5sum =
bb067644bb1ee2e8eda1324718e317b1
md5sum =
3893fb9228603e8c74f803476ec64dec
software/js-drone/worker.js
View file @
c4096489
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment