Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-gps
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-gps
Commits
55ca468c
Commit
55ca468c
authored
Nov 13, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed showall
parent
5dc78a30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
read_imu_log.php
src/read_imu_log.php
+2
-4
No files found.
src/read_imu_log.php
View file @
55ca468c
...
...
@@ -113,8 +113,6 @@ function imuLogParse($handle,$record,$nSamples,$filter,$tryNumber=10000){
global
$averageIMU
;
global
$imuFieldOrder
;
$showAll
=
(
$nSamples
<=
100000
);
$gpsFilter
=
$filter
&
0xf
;
$typeFilter
=
((
$gpsFilter
!=
0
)
?
2
:
0
)
|
(((
$filter
&
0x10
)
!=
0
)
?
1
:
0
)
|
(((
$filter
&
0x20
)
!=
0
)
?
4
:
0
)
|
(((
$filter
&
0x20
)
!=
0
)
?
8
:
0
);
...
...
@@ -134,7 +132,7 @@ function imuLogParse($handle,$record,$nSamples,$filter,$tryNumber=10000){
if
((((
1
<<
$type
)
&
$typeFilter
)
!=
0
)
&&
((
$type
!=
1
)
||
(((
1
<<
$gps
)
&
$gpsFilter
)
!=
0
)))
{
if
(
$showAll
)
printf
(
"%8d,%f,
$type
,"
,(
$record
+
$nSample
),
$time
);
printf
(
"%8d,%f,
$type
,"
,(
$record
+
$nSample
),
$time
);
switch
(
$type
)
{
// IMU record
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment