Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 27-03-2013, 15:41   #91
Registered User

Join Date: Apr 2012
Location: Port Steven, NSW, Australia
Boat: Van der Stadt Samoa 48
Posts: 142
Re: celestial navigation plugin redux

When plotting three stars from textbook i get pretty close to the result, but the plugin do not remember the index error. I don't think that the plugin use the index error in the calculation.

Lars
Taarnskov is offline   Reply With Quote
Old 27-03-2013, 18:09   #92
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: celestial navigation plugin redux

It maybe doesn't remember index error from each run, but should work. Did you check the computations tab?
seandepagnier is offline   Reply With Quote
Old 28-03-2013, 00:42   #93
Registered User

Join Date: Apr 2012
Location: Port Steven, NSW, Australia
Boat: Van der Stadt Samoa 48
Posts: 142
Re: celestial navigation plugin redux

I don't think it uses the index error correction because under the tab calculation it is set to 0. I have entered all data and pushed the OK button, and after that edited the sight.

I can make it work if i change the eye height after changing the index error.
Taarnskov is offline   Reply With Quote
Old 28-03-2013, 01:42   #94
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: celestial navigation plugin redux

ok this is a slight bug and will be corrected. Thank you.
seandepagnier is offline   Reply With Quote
Old 28-03-2013, 03:11   #95
Registered User

Join Date: Apr 2012
Location: Port Steven, NSW, Australia
Boat: Van der Stadt Samoa 48
Posts: 142
Re: celestial navigation plugin redux

It would be nice to be able to make a way point from the celestial fix with a push of a button. The way point should include the information from the calculation tab from all the sights included in the fix. There is room below the information button.

The fix should also be transferred to the logbook from Konni if possible.
Taarnskov is offline   Reply With Quote
Old 29-03-2013, 09:41   #96
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: celestial navigation plugin redux

I 've been wondering....... is there going to be a way to "advance" an LOP? ...IE: I'm pretty rusty on this but back in the day, in cloudy weather, I'd get sights when I could, and then advance them per my DR to intersect my next possible sight...it was also pretty common method to get a morning sun sight and then advance it to the noon sight...or vice versa to an afternoon or star shot
Practically, there's often no way to get two or three sights simultaneously and a couple of sailing miles will elapse at least... do you see what I mean?
That said, I think I can do this with O's route maker albeit it's clumsy (drawing DR from LOP through AP and then two sides of the advanced lop from it=three lines...?)
HappySeagull is offline   Reply With Quote
Old 29-03-2013, 10:16   #97
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: celestial navigation plugin redux

..I found a quote from Navigation in a Teacup that explains what I mean:
Code:
"Running Fix 
The running fix is a method by which two or more line of positions (LOPs) 
taken at different times on a moving vessel can be coalesced together to 
represent a navigational fix at any single arbitrary time between the 
observations.  Most frequently, it is used to advance an old LOP to get a fix 
with a new LOP while the ship is under way.  Quite simply, the old LOP is 
parallel-advanced in the direction of the true course-made-good (TC) to the 
DR distance between the last LOP and the new one.  With a quick study of the 
figure, the reader should discern the mechanics involved.  Essentially, if you 
produced a ‘good’ LOP earlier, you can ‘drag it’ along with your moving vessel 
as if it were pinned to the stern using the simple distance = rate x time for the 
distance to drag, and it gets dragged in the same course direction as the vessel. "
HappySeagull is offline   Reply With Quote
Old 29-03-2013, 16:43   #98
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: celestial navigation plugin redux

Yes you can, I support it. You must enter DR bearing and distance, and it shifts the sight by that much. So if you take a sight in the morning, you can say you traveled 30 miles, take another sun sight, and get a position

The position has to be determined visually by looking where the sights overlap on the chart. (the red X won't work for this)

It can not compute a fix from sights shifted in this manner because the resulting shifted positions are no longer a circle on the earth. For example, if you shift north 1000 miles, and parts of the sight are nearer to the pole than 1000 miles, then they cross over, and you have a figure 8. This is an obvious case, but it turns out, you never have a circle anymore unless you shift exactly east or west. Therefore the position you are on is no longer described by a plane or sphere or cone or whateveer intersecting the earth. If you can derive an equation which does describe something which intersects the earth at all the possible positions once shifted by a bearing and distance, I would love to hear about it as I could then determine fixes. In the meantime, just do it visually.
seandepagnier is offline   Reply With Quote
Old 29-03-2013, 18:00   #99
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: celestial navigation plugin redux

Aha! I see it now! On the config tab! Thanks! I couldn't ask for more.
HappySeagull is offline   Reply With Quote
Old 29-03-2013, 18:07   #100
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,620
Images: 2
Re: celestial navigation plugin redux

Sean, is there another version to git clone that fixes the fix replaces fix repllaces fix bug? Or have you been busy with other things? Thanks
rgleason is offline   Reply With Quote
Old 29-03-2013, 21:53   #101
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: celestial navigation plugin redux

Quote:
Originally Posted by rgleason View Post
Sean, is there another version to git clone that fixes the fix replaces fix repllaces fix bug? Or have you been busy with other things? Thanks
No, I cannot reproduce it, and as far as I know you are the only person who has this. I really would like to see it fixed though.
seandepagnier is offline   Reply With Quote
Old 30-03-2013, 02:29   #102
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: celestial navigation plugin redux

Quote:
Originally Posted by boat_alexandra View Post
....
....
If you can derive an equation which does describe something which intersects the earth at all the possible positions once shifted by a bearing and distance, I would love to hear about it as I could then determine fixes. In the meantime, just do it visually.
In my mind, this is just a case of moving the geographical position of the body (dec,LHA), equal to the center of the position circle, with the bearing and distance, and then redraw the position circle. Regard it as a new body if you like.

Thomas
cagney is offline   Reply With Quote
Old 30-03-2013, 05:15   #103
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,620
Images: 2
Re: celestial navigation plugin redux

I deleted the plugin and git clone and recompiled:
It still breaks immediately after the second fix is entered, line 159 and 508 in celestial_navigation_pi.dll

Code:
wxmsw28ud_core_vc_custom.dll!wxListCtrl::InsertItem(const wxListItem & info)  Line 1625 + 0x1a bytes    C++
 
 celestial_navigation_pi.dll!CelestialNavigationDialog::UpdateSights()  Line 149 + 0x15 bytes    C++
     celestial_navigation_pi.dll!CelestialNavigationDialog::OnNew(wxCommandEvent & event)  Line 508    C++
     wxbase28ud_vc_custom.dll!wxAppConsole::HandleEvent(wxEvtHandler * handler, void (wxEvent &)* func, wxEvent & event)  Line 323    C++
     wxbase28ud_vc_custom.dll!wxEvtHandler::ProcessEventIfMatches(const wxEventTableEntryBase & entry, wxEvtHandler * handler, wxEvent & event)  Line 1241    C++
CelestialNavigationDialogue.cpp Update Sights Line 149
Code:
    // then add sights to the listctrl
    SightList::iterator it;
    wxListItem item;
    int index = 0;

    for (it = m_SightList.begin(); it != m_SightList.end(); ++it, ++index)
    {
        item.SetId(index);
        item.SetImage((*it)->IsVisible() ? 0 : -1);
        item.SetData(index);
        
        long idx = m_lSights->InsertItem(item);
        m_lSights->SetItemImage(index, (*it)->IsVisible() ? 0 : -1);
        m_lSights->SetItem(idx, rmTYPE, (*it)->m_Type ? _("Azimuth") : _("Altitude"));
        m_lSights->SetItem(idx, rmBODY, (*it)->m_Body);
        m_lSights->SetItem(idx, rmTIME, (*it)->m_DateTime.Format());
        m_lSights->SetItem(idx, rmMEASUREMENT, wxString::Format(_T("%.4f"), (*it)->m_Measurement));
        
        m_lSights->SetItem(idx, rmCOLOR,
                           wxString::Format(_T("0x%hhx%hhx%hhx"),
                                            (*it)->m_Colour.Red(),
                                              (*it)->m_Colour.Green(),   <--Line 149
                                            (*it)->m_Colour.Blue()));
    }
CelestialNavigationDialogue.cpp On new command event Line 508
Code:
void CelestialNavigationDialog::OnNew(wxCommandEvent &event)
{
    wxDateTime now = wxDateTime::Now();
    now.MakeUTC();

    Sight s(Sight::ALTITUDE, _("Sun"), Sight::LOWER, now, 1, 0, .25);
    SightDialog dialog(GetParent(), s);
      
    if( dialog.ShowModal() == wxID_OK ) {
        Sight *ns = new Sight(s);

        dialog.RecomputeSight();
        ns->RebuildPolygons();
        m_SightList.Append(ns);
        UpdateSights();
        RequestRefresh( GetParent() );    <---Line 508
    }
}
Don't know how to fix it. In Debug version it won't "Continue" so I have to "Stop Debugging"

I've done this 3 times with the same results each time.
Attached Files
File Type: doc celestial_nav-Break.doc (5.2 KB, 61 views)
rgleason is offline   Reply With Quote
Old 30-03-2013, 08:06   #104
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: celestial navigation plugin redux

Quote:
Originally Posted by cagney View Post
In my mind, this is just a case of moving the geographical position of the body (dec,LHA), equal to the center of the position circle, with the bearing and distance, and then redraw the position circle. Regard it as a new body if you like.

Thomas
good idea, Thomas!
boat_alexandra, another question: the "degrees certainty"...what is your thinking per the .25 default?
HappySeagull is offline   Reply With Quote
Old 30-03-2013, 09:26   #105
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: celestial navigation plugin redux

Quote:
Originally Posted by cagney View Post
In my mind, this is just a case of moving the geographical position of the body (dec,LHA), equal to the center of the position circle, with the bearing and distance, and then redraw the position circle. Regard it as a new body if you like.

Thomas
I better correct myself. Read GHA instead of LHA above.
Thomas
cagney is offline   Reply With Quote
Reply

Tags
celestial navigation, navigation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logbook Konni for OpenCPN konni OpenCPN 1128 15-05-2022 11:25
Google Earth Plugin r.fairman OpenCPN 445 29-04-2020 10:11
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 09:14.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.