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

Negative True Headings. #21

Closed
trudK45 opened this issue Mar 19, 2018 · 13 comments
Closed

Negative True Headings. #21

trudK45 opened this issue Mar 19, 2018 · 13 comments

Comments

@trudK45
Copy link
Contributor

trudK45 commented Mar 19, 2018

When sailing close to north, say 350 degrees and you have a variation of for example West 15 degrees you get negative true headings. Input is HDG and WMM is used to establish variation.
This error exist when having HDG or HDM as compass input.
I have modified the code and tested this and it now works as it should.
I can make a branch and commit if you want.

@tom-r
Copy link
Owner

tom-r commented Mar 20, 2018

Thanks for fixing, please give me time till the next weekend, I don't have access to my development machine right now.
BR,
Thomas

@trudK45
Copy link
Contributor Author

trudK45 commented Mar 20, 2018

If you give me push access I can make a remote branch and do a push. Only 2 files are changed tactics_pi.cpp and tactics_pi.h. You will have to change the revision I suppose.
/Hans

@trudK45
Copy link
Contributor Author

trudK45 commented Mar 22, 2018

I did a fork instead and made a pull request. #22

@rgleason
Copy link
Contributor

trudik45, I would like to personally thank you for your persistence in getting this fixed for Opencpn, Dashboard and Tactics. I realize that you are responding to several reports by users. Thank you for figuring out what was happening and providing the programming!

@rgleason
Copy link
Contributor

Thanks very much Thomas, I'll compile, test and put it up for others, with the new language files and trudK improvement.

@tom-r
Copy link
Owner

tom-r commented Mar 24, 2018

Rick.
I'll do a new patch with this change. I just had some issues compiling yesterday evening and couldn't finish.
Just wait until this is done (probably tonight).
BR,
Thomas

@rgleason
Copy link
Contributor

rgleason commented Mar 24, 2018

I think we want to find these binaries Correction: OpenCPN_buildwin.7z | 2017-12-27 | 6.2 MB
Sorry.
at this location https://sourceforge.net/projects/opencpnplugins/files/?source=navbar

I haven't used this package, (well maybe I have) I have the binaries that were provided earlier.
Perhaps I should update? (yes, I think I will update) I don't believe they've changed but perhaps they have? Pavel is a man of few words, he doesn't tell us much.

@rgleason
Copy link
Contributor

rgleason commented Mar 24, 2018

I am going to update to Correction: OpenCPN_buildwin.7z | 2017-12-27 | 6.2 MB to be sure.

@rgleason
Copy link
Contributor

Thomas, you did it! https://github.com/tom-r/tactics_pi/releases
Was it that "release" directory.

@rgleason
Copy link
Contributor

rgleason commented May 4, 2018

Thomas, TransmitterDan has some changes to trudK45 improvements in Opencpn. They may apply too Tactics too.

See

OpenCPN/OpenCPN@c4fb6a0
OpenCPN/OpenCPN#1024

@rgleason
Copy link
Contributor

rgleason commented Jul 8, 2019

I think this can now be closed. .. Is that correct?

@tom-r
Copy link
Owner

tom-r commented Jul 8, 2019

Hi Rick,
yes it can be closed.
I still had trudK45's code in tactics, and transmitterdans code is exactly the same functionality, just a bit more "elegant" ...
So I changed it manually to transmitterdans code (local "heading" variable).
It'll come with the next patch, I'm reworking some code on the same file right now, which is not yet ready for a push to github ...
Thomas

@tom-r tom-r closed this as completed Jul 8, 2019
@rgleason
Copy link
Contributor

rgleason commented Jul 8, 2019

Thanks so much. Thomas.

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

No branches or pull requests

3 participants