Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
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
Ardupilot
Commits
19a282da
Commit
19a282da
authored
12 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
Copter: removed use of ins.temperature()
parent
c41b927a
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
ArduCopter/test.pde
+1
-3
1 addition, 3 deletions
ArduCopter/test.pde
with
1 addition
and
3 deletions
ArduCopter/test.pde
+
1
−
3
View file @
19a282da
...
...
@@ -456,7 +456,6 @@ test_ins(uint8_t argc, const Menu::arg *argv)
return
(
0
);
#else
Vector3f
gyro
,
accel
;
float
temp
;
print_hit_enter
();
cliSerial
->
printf_P
(
PSTR
(
"INS
\n
"
));
delay
(
1000
);
...
...
@@ -472,14 +471,13 @@ test_ins(uint8_t argc, const Menu::arg *argv)
ins
.
update
();
gyro
=
ins
.
get_gyro
();
accel
=
ins
.
get_accel
();
temp
=
ins
.
temperature
();
float
test
=
accel
.
length
()
/
GRAVITY_MSS
;
cliSerial
->
printf_P
(
PSTR
(
"a %7.4f %7.4f %7.4f g %7.4f %7.4f %7.4f t %74f | %7.4f
\n
"
),
accel
.
x
,
accel
.
y
,
accel
.
z
,
gyro
.
x
,
gyro
.
y
,
gyro
.
z
,
temp
,
test
);
test
);
delay
(
40
);
if
(
cliSerial
->
available
()
>
0
)
{
...
...
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