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
75203154
Commit
75203154
authored
13 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
ACM: fixed HIL build again
parent
887ff43e
No related branches found
Tags
0.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ArduCopter/test.pde
+9
-2
9 additions, 2 deletions
ArduCopter/test.pde
with
9 additions
and
2 deletions
ArduCopter/test.pde
+
9
−
2
View file @
75203154
...
@@ -24,9 +24,11 @@ static int8_t test_tuning(uint8_t argc, const Menu::arg *argv);
...
@@ -24,9 +24,11 @@ static int8_t test_tuning(uint8_t argc, const Menu::arg *argv);
static
int8_t
test_current
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_current
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
//static int8_t test_relay(uint8_t argc, const Menu::arg *argv);
//static int8_t test_relay(uint8_t argc, const Menu::arg *argv);
static
int8_t
test_wp
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_wp
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
#if HIL_MODE != HIL_MODE_ATTITUDE
static
int8_t
test_baro
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_baro
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_mag
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_sonar
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_sonar
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
#endif
static
int8_t
test_mag
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_optflow
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_optflow
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
//static int8_t test_xbee(uint8_t argc, const Menu::arg *argv);
//static int8_t test_xbee(uint8_t argc, const Menu::arg *argv);
static
int8_t
test_eedump
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
static
int8_t
test_eedump
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
);
...
@@ -70,8 +72,10 @@ const struct Menu::command test_menu_commands[] PROGMEM = {
...
@@ -70,8 +72,10 @@ const struct Menu::command test_menu_commands[] PROGMEM = {
// {"relay", test_relay},
// {"relay", test_relay},
{
"wp"
,
test_wp
},
{
"wp"
,
test_wp
},
//{"nav", test_nav},
//{"nav", test_nav},
#if HIL_MODE != HIL_MODE_ATTITUDE
{
"altitude"
,
test_baro
},
{
"altitude"
,
test_baro
},
{
"sonar"
,
test_sonar
},
{
"sonar"
,
test_sonar
},
#endif
{
"compass"
,
test_mag
},
{
"compass"
,
test_mag
},
{
"optflow"
,
test_optflow
},
{
"optflow"
,
test_optflow
},
//{"xbee", test_xbee},
//{"xbee", test_xbee},
...
@@ -857,6 +861,7 @@ test_wp(uint8_t argc, const Menu::arg *argv)
...
@@ -857,6 +861,7 @@ test_wp(uint8_t argc, const Menu::arg *argv)
}
}
*/
*/
#if HIL_MODE != HIL_MODE_ATTITUDE
static
int8_t
static
int8_t
test_baro
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
)
test_baro
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
)
{
{
...
@@ -883,6 +888,7 @@ test_baro(uint8_t argc, const Menu::arg *argv)
...
@@ -883,6 +888,7 @@ test_baro(uint8_t argc, const Menu::arg *argv)
}
}
return
0
;
return
0
;
}
}
#endif
static
int8_t
static
int8_t
...
@@ -956,10 +962,10 @@ test_mag(uint8_t argc, const Menu::arg *argv)
...
@@ -956,10 +962,10 @@ test_mag(uint8_t argc, const Menu::arg *argv)
}
}
}*/
}*/
#if HIL_MODE != HIL_MODE_ATTITUDE
/*
/*
test the sonar
test the sonar
*/
*/
static
int8_t
static
int8_t
test_sonar
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
)
test_sonar
(
uint8_t
argc
,
const
Menu
::
arg
*
argv
)
{
{
...
@@ -985,6 +991,7 @@ test_sonar(uint8_t argc, const Menu::arg *argv)
...
@@ -985,6 +991,7 @@ test_sonar(uint8_t argc, const Menu::arg *argv)
return
(
0
);
return
(
0
);
}
}
#endif
static
int8_t
static
int8_t
...
...
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