Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
5193b2b7
Commit
5193b2b7
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Rover: added OpticalFlow object
needed to keep SITL build happy
parent
87082973
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
APMrover2/APMrover2.pde
+3
-0
3 additions, 0 deletions
APMrover2/APMrover2.pde
with
3 additions
and
0 deletions
APMrover2/APMrover2.pde
+
3
−
0
View file @
5193b2b7
...
@@ -112,6 +112,7 @@
...
@@ -112,6 +112,7 @@
#include
<AP_Notify.h>
// Notify library
#include
<AP_Notify.h>
// Notify library
#include
<AP_BattMonitor.h>
// Battery monitor library
#include
<AP_BattMonitor.h>
// Battery monitor library
#include
<AP_OpticalFlow.h>
// Optical Flow library
// Configuration
// Configuration
#include
"config.h"
#include
"config.h"
...
@@ -258,6 +259,8 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd);
...
@@ -258,6 +259,8 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd);
static
void
exit_mission
();
static
void
exit_mission
();
AP_Mission
mission
(
ahrs
,
&
start_command
,
&
verify_command
,
&
exit_mission
);
AP_Mission
mission
(
ahrs
,
&
start_command
,
&
verify_command
,
&
exit_mission
);
static
OpticalFlow
optflow
;
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
SITL
sitl
;
SITL
sitl
;
#endif
#endif
...
...
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