On a low accuracy chart when the
GPS is valid I believe the color of the ship should be yellow but its grey. See the attachment.
The code seems to indicate it should be yellow:
In CHCANV.cpp..
wxColour pred_colour;
pred_colour = GetGlobalColor ( _T ( "URED" ) );
if(SHIP_NORMAL != m_ownship_state)
pred_colour = GetGlobalColor ( _T ( "GREY1" ) );
// Establish ship color
// It changes color based on
GPS and Chart accuracy/availability
wxColour ship_color(GetGlobalColor ( _T ( "URED" ))); // default is OK
if(SHIP_NORMAL != m_ownship_state)
ship_color = GetGlobalColor ( _T ( "GREY1" ) );
if(SHIP_LOWACCURACY == m_ownship_state)
ship_color = GetGlobalColor ( _T ( "YELO1" ) );
The m_ownship_state is set in CHART1.cpp
if(cc1->GetQuiltMode())
{
double erf = cc1->GetQuiltMaxErrorFactor();
if(erf > 0.02)
cc1->SetOwnShipState(SHIP_LOWACCURACY);
}
else
{
if(Current_Ch)
{
if(Current_Ch->GetChart_Error_Factor() > 0.02)
cc1->SetOwnShipState(SHIP_LOWACCURACY);
}
}
This code in from V3.20 but the problem happens up to V3.3.19