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
Nirina Malard
slapos
Commits
4ea0f63f
Commit
4ea0f63f
authored
Dec 08, 2022
by
Léo-Paul Géneau
👾
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
be498430
Changes
2
Show 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 @
4ea0f63f
...
...
@@ -34,4 +34,4 @@ md5sum = 1555496ad591a31a845f33488d5c335d
[worker]
filename = worker.js
md5sum =
bb067644bb1ee2e8eda1324718e317b1
md5sum =
3893fb9228603e8c74f803476ec64dec
software/js-drone/worker.js
View file @
4ea0f63f
...
...
@@ -6,8 +6,10 @@
import
{
Drone
,
triggerParachute
,
getAirspeed
,
getAltitude
,
getAltitudeRel
,
getClimbRate
,
getInitialAltitude
,
getLatitude
,
getLongitude
,
...
...
@@ -58,6 +60,8 @@ import { Worker } from "os";
},
getInitialAltitude
:
getInitialAltitude
,
getYaw
:
getYaw
,
getSpeed
:
getAirspeed
,
getClimbRate
:
getClimbRate
,
id
:
configuration
.
id
,
landed
:
landed
,
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