Skip to content
Snippets Groups Projects
Commit 0abf3f74 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

copypaste typo and tabs in print

parent 5d73051a
No related branches found
No related tags found
2 merge requests!20new tag,!19new tag
......@@ -127,17 +127,17 @@ static void Observations::print(obsd_t& _obs)
{
std::string msg = "Observation of satellite #" + std::to_string(_obs.sat);
GnssUtils::print(msg);
std::cout << "Time [s]: " << _obs.time.time << " + " << _obs.time.sec << "\n";
std::cout << "Time valid: " << _obs.timevalid << std::endl;
printArray<unsigned char, ARRAY_SIZE(_obs.SNR)>("SNR: ", _obs.SNR);
printArray<unsigned char, ARRAY_SIZE(_obs.LLI)>("LLI: ", _obs.LLI);
printArray<unsigned char, ARRAY_SIZE(_obs.code)>("code: ", _obs.code);
printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("code: ", _obs.qualL);
printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("code: ", _obs.qualP);
printf("Freq. channel: %uc \n", _obs.freq);
printArray<double, ARRAY_SIZE(_obs.L)>("L: ", _obs.L);
printArray<double, ARRAY_SIZE(_obs.P)>("P: ", _obs.P);
printArray<float, ARRAY_SIZE(_obs.D)>("D: ", _obs.D);
std::cout << "\tTime [s]: " << _obs.time.time << " + " << _obs.time.sec << "\n";
std::cout << "\tTime valid: " << _obs.timevalid << std::endl;
printArray<unsigned char, ARRAY_SIZE(_obs.SNR)>("\tSNR: ", _obs.SNR);
printArray<unsigned char, ARRAY_SIZE(_obs.LLI)>("\tLLI: ", _obs.LLI);
printArray<unsigned char, ARRAY_SIZE(_obs.code)>("\tcode: ", _obs.code);
printArray<unsigned char, ARRAY_SIZE(_obs.qualL)>("\tqualL: ", _obs.qualL);
printArray<unsigned char, ARRAY_SIZE(_obs.qualP)>("\tqualP: ", _obs.qualP);
printf("\tFreq. channel: %uc \n", _obs.freq);
printArray<double, ARRAY_SIZE(_obs.L)>("\tL: ", _obs.L);
printArray<double, ARRAY_SIZE(_obs.P)>("\tP: ", _obs.P);
printArray<float, ARRAY_SIZE(_obs.D)>("\tD: ", _obs.D);
}
void Observations::printBySat(const int& _sat_number)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment