Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
c-astral-wrapper
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
c-astral-wrapper
Commits
bd8e9543
Commit
bd8e9543
authored
Jan 23, 2024
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove healthAllOk
parent
dc5bf8cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
mavsdk_wrapper.cpp
mavsdk_wrapper.cpp
+1
-4
No files found.
mavsdk_wrapper.cpp
View file @
bd8e9543
...
@@ -313,6 +313,7 @@ int reboot() {
...
@@ -313,6 +313,7 @@ int reboot() {
int
arm
(
void
)
{
int
arm
(
void
)
{
if
(
telemetry
->
armed
())
{
if
(
telemetry
->
armed
())
{
log
(
"Drone already armed"
);
return
0
;
return
0
;
}
}
...
@@ -425,10 +426,6 @@ int gpsIsOk(void) {
...
@@ -425,10 +426,6 @@ int gpsIsOk(void) {
return
(
fixType
!=
Telemetry
::
FixType
::
NoGps
)
&&
(
fixType
!=
Telemetry
::
FixType
::
NoFix
);
return
(
fixType
!=
Telemetry
::
FixType
::
NoGps
)
&&
(
fixType
!=
Telemetry
::
FixType
::
NoFix
);
}
}
int
healthAllOk
(
void
)
{
return
telemetry
->
health_all_ok
();
}
int
isReadyToFly
(
void
)
{
int
isReadyToFly
(
void
)
{
return
is_in_air
;
return
is_in_air
;
}
}
...
...
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