Open matejpoliacek opened 6 years ago
In the SpaceshipViewActivity
, all UI fragments are updated correctly with GNSSCompare data. One thing that is not working is the retrieving of Satellites Positions to update the RadarView
.
on SpaceshipViewActivity
, the following observer:
public Observer shipUpdater = new Observer() {
@Override
public void update(final Observable o, Object arg) {
List<SatelliteParameters> satellites = ((CalculationModule.CalculationModuleObservable) o).getParentReference().getConstellation().getSatellites();
if (satellites.size() > 1){
System.out.println(satellites.get(1).getSatellitePosition();
}
}
returns the log
updateSatellites:null
See following commit for more details (mentionning issue #5)
[test log done in RadarView
under tag SAT_POSITION_CHECK
]
The entirety of "Satellites" section uses dummy data as before. It should be linked with the PVT to get actual satellite information,