Raffaele Montella - I'm writing a plugin to man...
I'm writing a plugin to manage MOBs. Now it registers to vessels.self.notifications.mob, as receive the notification with state: "emergency", it reads data.position and saves it in vessels.self.navigation.mob.position alongside the time of the event in vessels.self.navigation.mob.time. Then it registers to vessels.self.navigation.position, each update it computes: vessels.self.navigation.mob.distance, vessels.self.navigation.mob.headingTrue, vessels.self.navigation.mob.elapsed (in seconds). Optionally the MOB position can be set as next waypoiny automatically and then restored the previously set navigation waypoint once the MOB alarm has canceled. The idea is using (if available) grib files with wind at 10m and surface current to apply the leeway correction of the mob position. My concern is I put the mob data in vessels.self.navigation.mob because apparently I didn't find a better place reading the documentation. Aim I wrong? What do you suggest? I'd like to make freeboard-sk able to draw on the map the SAR pattern computed considering the last know position or the position updated by the leeway.