diff --git a/src/asterx1_gps.cpp b/src/asterx1_gps.cpp index 79f4b92916fad40be92a213c5917ac7167524d75..605a785ed0afe2853790a4321ef2a7518658a0e1 100644 --- a/src/asterx1_gps.cpp +++ b/src/asterx1_gps.cpp @@ -402,7 +402,7 @@ void *CasteRx1::gps_process_data_thread(void *params) } void CasteRx1::process_block(unsigned char *data,unsigned short int length) -{ +{ switch(this->current_header.id.id) { case PVTCartesian_ID: //std::cout << "PVTCartesian_ID" << std::endl; @@ -1210,6 +1210,10 @@ void CasteRx1::configureStreams(void) this->sendCommand("setSBFOutput,all,USB1,none\n"); //enables septentrio binary format (SBF) as output at USB1 this->sendCommand("setDataInOut,USB1,CMD,SBF\n"); + //enables ony the tracking of GPS sattelites + this->sendCommand("setSatelliteTracking,GPS\n"); + //set the receiver dynamics + this->sendCommand("setReceiverDynamics,Moderate\n"); // create group 1 blocks (PVTCartesian,PosCovCartesian,DOP,PVTGeodetic) this->sendCommand("setSBFGroups,Group1,PVTCartesian+PosCovCartesian+VelCovCartesian+DOP+PVTGeodetic+PosCovGeodetic+VelCovGeodetic+EndOfPVT\n"); // create group 2 blocks (GPSNav,GPSAlm,GPSIon,GPSUtc) diff --git a/src/stream_gps.cpp b/src/stream_gps.cpp index f2d69ac9bb45d53423280585d85565597fda3d3e..739dcc0e98c4aeb497893e29ab943060af2d305b 100644 --- a/src/stream_gps.cpp +++ b/src/stream_gps.cpp @@ -63,7 +63,7 @@ std::ostream& operator<< (std::ostream& out, TMeasEpoch &meas_epoch) } } } - + return out; }