seandepagnier / autopilot_route_pi

autopilot route plugin for opencpn
5 stars 7 forks source link

Teach me how to use this PI #16

Closed rgleason closed 1 year ago

rgleason commented 2 years ago

Ok, here is a screenshot.

  1. Playing VDR of Hartmut file
  2. Made a route and set it active console (OpenCPN)
  3. Loaded Autopilot_route and activated.
  4. Selected Preferences
  5. Now have the AutoPilot settings screen up
  6. The active console has not changed configuration.
  7. What should I do next?
  8. What does "Generate" do? Screenshot (90)

The end of opencpn.log does have autopilot_route loading but no other log.

13:12:32.930 MESSAGE pluginmanager.cpp:1149 Checking plugin candidate: C:\Program Files (x86)\OpenCPN\plugins\wmm_pi.dll
13:12:32.930 MESSAGE OCPNPlatform.cpp:988 ChangeLocale: Language load for:  en_US
13:12:32.948 MESSAGE OCPNPlatform.cpp:1041 ChangeLocale: Locale Init OK for:  en_US
13:12:32.948 MESSAGE OCPNPlatform.cpp:1055 Loading catalog for:  opencpn-vdr_pi
13:12:32.948 MESSAGE OCPNPlatform.cpp:1055 Loading catalog for:  opencpn-autopilot_route_pi
13:12:32.964 MESSAGE OCPNPlatform.cpp:1060 Loading catalog for opencpn core.
13:12:32.964 MESSAGE OCPNPlatform.cpp:907 Getting DefaultSystemLocale...
13:12:32.964 MESSAGE OCPNPlatform.cpp:928 Found LanguageInfo for: English
rgleason commented 2 years ago

Ok, I have update this plugin, but still know next to nothing about how to run it or test it. What I have done so far:

  1. Install the update from PIM.
  2. Run VDR_pi with Hartmut's file.
  3. Indicate a "Navigate to here" route that is roughly the direction the boat is going in the console comes up.
  4. Options > Plugins Click on Autopilot_route and Select Preferences and open the AP_route Preferences.

Now what? How do I determine that it is even working? Should I try to save some output to read the nmea0183 sentences to see if the PI is outputting AP sentences?

A little bit of direction about this will save me a lot of time screwing around, and it would be appreciated. Screenshot (106)

BTW, I think this interface is pretty clumsy because it requires that the Options>Plugins window remain open. Is there any reason it could not have a toolbar icon and act like other well behaved plugins? Otherwise I think this would be a good alternative for users to try.

rgleason commented 2 years ago

Sean,, how would you suggest that I test this? See first post please.