Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flight-scripts
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
nexedi
flight-scripts
Commits
bf6a0a5b
Commit
bf6a0a5b
authored
Mar 16, 2023
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restricted_flight.js: Fix starting point
parent
7a5dee4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
restricted_flight.js
restricted_flight.js
+4
-4
No files found.
restricted_flight.js
View file @
bf6a0a5b
...
...
@@ -92,12 +92,12 @@
if
(
me
.
init_alt_reached
&&
IS_LEADER
)
{
exitOnFail
(
me
.
setTargetCoordinates
(
POINT_
B
.
latitude
,
POINT_
B
.
longitude
,
POINT_
B
.
altitude
+
FLIGH_ALTITUDE
POINT_
A
.
latitude
,
POINT_
A
.
longitude
,
POINT_
A
.
altitude
+
FLIGH_ALTITUDE
),
"
Failed to set point B coordinates
"
);
);
me
.
going_to_point_a
=
true
;
me
.
sendMsg
(
JSON
.
stringify
({
going_to_point_a
:
me
.
going_to_point_a
}));
}
...
...
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