There was an error while loading. Please reload this page.
1 parent 3e3374b commit 2203badCopy full SHA for 2203bad
1 file changed
plugins-dev/alliance/src/java/pt/lsts/neptus/plugins/alliance/NmeaPlotter.java
@@ -431,7 +431,7 @@ public void on(AisInfo aisInfo) {
431
mtShip.LON = AngleUtils.nomalizeAngleDegrees180(Math.toDegrees(aisInfo.getLon()));
432
mtShip.STATUS_NAME = "" + aisInfo.getNavStatus(); // TODO AISUtil.translateNavigationalStatus(aisInfo.getNavStatus());
433
mtShip.SPEED = aisInfo.getSpeed();
434
- mtShip.COURSE = AngleUtils.nomalizeAngleDegrees180(aisInfo.getCourse());
+ mtShip.COURSE = AngleUtils.nomalizeAngleDegrees180(Math.toDegrees(aisInfo.getCourse()));
435
mtShip.HEADING = mtShip.COURSE;
436
mtShip.ELAPSED = System.currentTimeMillis() - aisInfo.getTimestampMillis();
437
contactDb.setMTShip(mtShip);
0 commit comments