Commit 55ca468c authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

removed showall

parent 5dc78a30
...@@ -112,9 +112,7 @@ function imuLogParse($handle,$record,$nSamples,$filter,$tryNumber=10000){ ...@@ -112,9 +112,7 @@ function imuLogParse($handle,$record,$nSamples,$filter,$tryNumber=10000){
global $timeShift; global $timeShift;
global $averageIMU; global $averageIMU;
global $imuFieldOrder; global $imuFieldOrder;
$showAll=($nSamples<=100000);
$gpsFilter= $filter&0xf; $gpsFilter= $filter&0xf;
$typeFilter=(($gpsFilter!=0)?2:0) | ((($filter&0x10)!=0)?1:0) | ((($filter&0x20)!=0)?4:0) | ((($filter&0x20)!=0)?8:0); $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){ ...@@ -134,7 +132,7 @@ function imuLogParse($handle,$record,$nSamples,$filter,$tryNumber=10000){
if ((((1<<$type)&$typeFilter)!=0) && (($type!=1) || (((1<<$gps)&$gpsFilter)!=0))) { 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) { switch ($type) {
// IMU record // IMU record
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment