Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
ace6c3fe
Commit
ace6c3fe
authored
10 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
INAV: Less verbose
parent
4c281030
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/position_estimator_inav/position_estimator_inav_main.c
+3
-5
3 additions, 5 deletions
...es/position_estimator_inav/position_estimator_inav_main.c
with
3 additions
and
5 deletions
src/modules/position_estimator_inav/position_estimator_inav_main.c
+
3
−
5
View file @
ace6c3fe
...
...
@@ -161,7 +161,7 @@ int position_estimator_inav_main(int argc, char *argv[])
thread_should_exit
=
true
;
}
else
{
warnx
(
"
app
not started"
);
warnx
(
"not started"
);
}
exit
(
0
);
...
...
@@ -169,10 +169,10 @@ int position_estimator_inav_main(int argc, char *argv[])
if
(
!
strcmp
(
argv
[
1
],
"status"
))
{
if
(
thread_running
)
{
warnx
(
"
app
is running"
);
warnx
(
"is running"
);
}
else
{
warnx
(
"
app
not started"
);
warnx
(
"not started"
);
}
exit
(
0
);
...
...
@@ -210,10 +210,8 @@ static void write_debug_log(const char *msg, float dt, float x_est[2], float y_e
****************************************************************************/
int
position_estimator_inav_thread_main
(
int
argc
,
char
*
argv
[])
{
warnx
(
"started"
);
int
mavlink_fd
;
mavlink_fd
=
open
(
MAVLINK_LOG_DEVICE
,
0
);
mavlink_log_info
(
mavlink_fd
,
"[inav] started"
);
float
x_est
[
2
]
=
{
0
.
0
f
,
0
.
0
f
};
// pos, vel
float
y_est
[
2
]
=
{
0
.
0
f
,
0
.
0
f
};
// pos, vel
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment