@@ -336,15 +336,16 class RadarControllerHeader(Header): | |||||
336 |
|
336 | |||
337 | # if self.line5Function == RCfunction.FLIP: |
|
337 | # if self.line5Function == RCfunction.FLIP: | |
338 | # self.flip1 = numpy.fromfile(fp,'<u4',1) |
|
338 | # self.flip1 = numpy.fromfile(fp,'<u4',1) | |
339 | # |
|
339 | # | |
340 | # if self.line6Function == RCfunction.FLIP: |
|
340 | # if self.line6Function == RCfunction.FLIP: | |
341 | # self.flip2 = numpy.fromfile(fp,'<u4',1) |
|
341 | # self.flip2 = numpy.fromfile(fp,'<u4',1) | |
342 |
|
342 | |||
343 | endFp = size + startFp |
|
343 | endFp = size + startFp | |
344 |
|
344 | |||
345 | if fp.tell() != endFp: |
|
345 | if fp.tell() != endFp: | |
346 | print "Radar Controller Header is not consistent" |
|
346 | # fp.seek(endFp) | |
347 | return 0 |
|
347 | print "Radar Controller Header is not consistent read[%d] != header[%d]" %(fp.tell()-startFp,endFp) | |
|
348 | # return 0 | |||
348 |
|
349 | |||
349 | return 1 |
|
350 | return 1 | |
350 |
|
351 |
General Comments 0
You need to be logged in to leave comments.
Login now