Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPA calculation #398

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

quantenschaum
Copy link
Contributor

see #397

- use labels form ais formatter in AisTargetWidget
- display target name/MMSI in AisTargetWidget
- display TCPA in minutes
- highlight DCPA/TCPA/pass in AisInfoPage if over threshold
- correct for the age of the ais data before CPA computation
- do not set cpa=tcpa=0 if cpa is undefined (undefined!=0)
- set warning flag only if tcpa>0 (cpa not yet passed)
- set warning flag on all target over threshold
- reviewed cpa computation: looks good to me
- never set cpa=dst
- revised we-pass-logic
  - front (1) = we will cross track of target in front of target
  - back (-1) =  we will cross track of target astern of target
  - pass (0) = we have crossed the track of the target already
  - done (undefined) = we have crossed the track and have passed CPA
 - added BCPA = bearing to CPA
- include target distance
- sort by distance for passed CPAs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant