improve logging somewhat
parent
199679f87a
commit
92364b2ec6
|
@ -14,7 +14,7 @@ bool RTCMReader::get(RTCMFrame& rf)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
while( ((c=fgetc(d_fp)) != -1) && c != 211) {
|
while( ((c=fgetc(d_fp)) != -1) && c != 211) {
|
||||||
cerr<<"Skipped.. "<<endl;
|
cerr<<"Skipped, not yet 211 character "<<endl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ int main(int argc, char** argv)
|
||||||
RTCMReader rr(0);
|
RTCMReader rr(0);
|
||||||
RTCMFrame rf;
|
RTCMFrame rf;
|
||||||
while(rr.get(rf)) {
|
while(rr.get(rf)) {
|
||||||
// cout<<"Got a "<<rf.payload.size()<<" byte frame"<<endl;
|
// cerr<<"Got a "<<rf.payload.size()<<" byte frame"<<endl;
|
||||||
RTCMMessage rm;
|
RTCMMessage rm;
|
||||||
NavMonMessage nmm;
|
NavMonMessage nmm;
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|
Loading…
Reference in New Issue