- Timestamp:
- Sep 18, 2013, 2:44:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/thriftclient.cpp
r5483 r5484 84 84 const SatelliteXYZ& sat = svXYZList[ii]; 85 85 t_thriftSatellite* satellite = new t_thriftSatellite; 86 satellite->_x = sat.xyz.x;87 satellite->_y = sat.xyz.y;88 satellite->_z = sat.xyz.z;89 86 char ch; 90 87 switch(sat.constellation) { … … 96 93 case (ConstellationType::COMPASS): ch = 'C'; break; 97 94 } 98 cout << unsigned(sat.ID) << endl; 95 char prn[3]; 96 sprintf(prn, "%c%2d", ch, sat.ID); 97 satellite->_prn = prn; 98 satellite->_x = sat.xyz.x; 99 satellite->_y = sat.xyz.y; 100 satellite->_z = sat.xyz.z; 99 101 } 100 102 }
Note:
See TracChangeset
for help on using the changeset viewer.