comparison Discovery/Src/t7.c @ 931:5a9bc2e6112d Evo_2_23

Added Sat Status Overview: In addition to the navigation data now information regarding the satelliete and signal status are visualized. To enable the a new command has been added to the communication protocol and the position view has been extended.
author Ideenmodellierer
date Tue, 03 Dec 2024 20:32:51 +0100
parents 908d9a8e8c84
children 406d498786e7
comparison
equal deleted inserted replaced
930:25948e805406 931:5a9bc2e6112d
4038 4038
4039 t7cY0free.WindowLineSpacing = 28 + 48 + 14; 4039 t7cY0free.WindowLineSpacing = 28 + 48 + 14;
4040 t7cY0free.WindowY0 = t7cH.WindowY0 - 5 - 2 * t7cY0free.WindowLineSpacing; 4040 t7cY0free.WindowY0 = t7cH.WindowY0 - 5 - 2 * t7cY0free.WindowLineSpacing;
4041 t7cY0free.WindowNumberOfTextLines = 3; 4041 t7cY0free.WindowNumberOfTextLines = 3;
4042 4042
4043 textpointer += snprintf(&text[textpointer],50,"\001Satellites\n\r");
4043 textpointer += snprintf(&text[textpointer],50,"\001Longitude\n\r"); 4044 textpointer += snprintf(&text[textpointer],50,"\001Longitude\n\r");
4044 textpointer += snprintf(&text[textpointer],50,"\001Latitude\n\r"); 4045 textpointer += snprintf(&text[textpointer],50,"\001Latitude\n\r");
4045 GFX_write_string(&FontT24, &t7cY0free, text, 1); 4046 GFX_write_string(&FontT24, &t7cY0free, text, 1);
4046 4047
4047 t7cY0free.WindowY0 -= 52; 4048 t7cY0free.WindowY0 -= 52;
4048 snprintf(text,60, 4049 snprintf(text,60,
4050 "\001%d - %d %d %d %d %d\n\r"
4049 "\001%0.5f\n\r" 4051 "\001%0.5f\n\r"
4050 "\001%0.5f\n\r" 4052 "\001%0.5f\n\r"
4051 ,stateUsed->lifeData.gnssPosition.Longitude 4053 ,stateUsed->lifeData.gnssData.numSat, stateUsed->lifeData.gnssData.fixType
4052 ,stateUsed->lifeData.gnssPosition.Latitude ); 4054 ,stateUsed->lifeData.gnssData.signalQual[0],stateUsed->lifeData.gnssData.signalQual[1],stateUsed->lifeData.gnssData.signalQual[2],stateUsed->lifeData.gnssData.signalQual[3]
4055 ,stateUsed->lifeData.gnssData.fLat
4056 ,stateUsed->lifeData.gnssData.fLon );
4053 4057
4054 GFX_write_string(&FontT42, &t7cY0free, text, 1); 4058 GFX_write_string(&FontT42, &t7cY0free, text, 1);
4055 } 4059 }
4056 void t7_SummaryOfLeftCorner(void) 4060 void t7_SummaryOfLeftCorner(void)
4057 { 4061 {