Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ardupilot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
ardupilot
Commits
2306ac61
Commit
2306ac61
authored
12 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Tools: fixed VARTest for new API
parent
5818dd9c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/VARTest/VARTest.pde
+4
-1
4 additions, 1 deletion
Tools/VARTest/VARTest.pde
with
4 additions
and
1 deletion
Tools/VARTest/VARTest.pde
+
4
−
1
View file @
2306ac61
...
...
@@ -109,6 +109,7 @@ void setup() {
cliSerial
->
printf_P
(
PSTR
(
"RLL2SRV_P=%f
\n
"
),
g
.
pidServoRoll
.
kP
());
#if 0
char s[AP_MAX_NAME_SIZE+1];
g.throttle_min.copy_name(s, sizeof(s));
...
...
@@ -118,6 +119,7 @@ void setup() {
g.channel_roll.radio_min.copy_name(s, sizeof(s));
s[AP_MAX_NAME_SIZE] = 0;
cliSerial->printf_P(PSTR("RC1_MIN.copy_name()->%s %p\n"), s, &g.channel_roll.radio_min);
#endif
Vector3f
ofs
;
ofs
=
compass
.
get_offsets
();
...
...
@@ -181,7 +183,7 @@ void test_vector3f(void)
}
}
#if 0
// test all interfaces for a variable
void test_variable(AP_Param *ap, enum ap_var_type type)
{
...
...
@@ -372,5 +374,6 @@ void test_variable(AP_Param *ap, enum ap_var_type type)
break;
}
}
#endif
AP_HAL_MAIN
();
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