2020-11-17, 06:05 PM
Hello, dear OpenPlotter team!
Unfortunately, I have failed to get RMB, APB from OpenCPN on my USBserial device.
First, I installed
- OpenPlotter version 2020-03-24-OpenPlotter-v2-Starting-img
onto
- Raspberry Pi 4 model B
Then I update
- SignalK to v 1.36.0
- openCPN to 5.2.4
I have connected USBSerial device to RPi [Yacht Devices YDNU-02 USB gateway]
Then I follow documentation at
https://openplotter.readthedocs.io/en/la...-converter
Section "Connecting a USB-RS422 converter"
1) Input data
OpenCPN configured as per documentation, using direct SignalK connection ( Fig. 1. ).
Fig. 1. OpenCPN direct SignalK server connection settings.
It works fine, I can see vessel moving and AIS targets displayed as well. All OK.
Then I proceed to the next step
2) Input + output data
OpenCPN configured as per documentation, using UDP connection to port 10119 ( Fig. 2. ).
[ direct SignalK connection configured earlier is also present and active ]
Fig. 2. OpenCPN AP output connection settings.
Then I've added a new connection "opencpnOUT" using the same UDP port 10119,
set ignored sentences RMB,APB and sentence event "autopilot" ( Fig. 3. ).
Fig. 3. "opencpnOUT" connection settings.
Then I need to specify what data should be sent to boat via the USB-RS422 converter, done that as well ( Fig. 4. ).
Fig. 4. "rs422" connection settings.
..and finally restarted SignalK server and openCPN.
Then I activate "GoTo" in openCPN.
I can see APB and RMB sent, and RMC and XTE blocked in OpenCPN "NMEA Debug Window" ( Fig. 5. ). Seems correct.
Fig. 5. OpenCPN can get data from SignalK server and can send APB and RMB to UDP port 10119.
Unfortunately, I do not observe any NMEA 0183 sentences on RS-422 interface.
And opencpnOUT has zero activity ( Fig. 6. ).
Fig. 6. No activity on "opencpnOUT" connection.
Please, kindly, check my configuration.
I suppose I am just missing one minor configuration detail or made a small mistake.
PS:
I've tried empty "Ignored Sentences" filters in "opencpnOUT" connection,
got APB and RMB on RS-422 device output.
However, I am not sure if this is a correct solution.
Please, confirm, if this configuration is legit,
maybe there is just an error in the openplotter documentation and we do not need APB and RMB filtering on "opencpnOUT" connection?
Thank you.
Unfortunately, I have failed to get RMB, APB from OpenCPN on my USBserial device.
First, I installed
- OpenPlotter version 2020-03-24-OpenPlotter-v2-Starting-img
onto
- Raspberry Pi 4 model B
Then I update
- SignalK to v 1.36.0
- openCPN to 5.2.4
I have connected USBSerial device to RPi [Yacht Devices YDNU-02 USB gateway]
Then I follow documentation at
https://openplotter.readthedocs.io/en/la...-converter
Section "Connecting a USB-RS422 converter"
1) Input data
OpenCPN configured as per documentation, using direct SignalK connection ( Fig. 1. ).
Fig. 1. OpenCPN direct SignalK server connection settings.
It works fine, I can see vessel moving and AIS targets displayed as well. All OK.
Then I proceed to the next step
2) Input + output data
OpenCPN configured as per documentation, using UDP connection to port 10119 ( Fig. 2. ).
[ direct SignalK connection configured earlier is also present and active ]
Fig. 2. OpenCPN AP output connection settings.
Then I've added a new connection "opencpnOUT" using the same UDP port 10119,
set ignored sentences RMB,APB and sentence event "autopilot" ( Fig. 3. ).
Fig. 3. "opencpnOUT" connection settings.
Then I need to specify what data should be sent to boat via the USB-RS422 converter, done that as well ( Fig. 4. ).
Fig. 4. "rs422" connection settings.
..and finally restarted SignalK server and openCPN.
Then I activate "GoTo" in openCPN.
I can see APB and RMB sent, and RMC and XTE blocked in OpenCPN "NMEA Debug Window" ( Fig. 5. ). Seems correct.
Fig. 5. OpenCPN can get data from SignalK server and can send APB and RMB to UDP port 10119.
Unfortunately, I do not observe any NMEA 0183 sentences on RS-422 interface.
And opencpnOUT has zero activity ( Fig. 6. ).
Fig. 6. No activity on "opencpnOUT" connection.
Please, kindly, check my configuration.
I suppose I am just missing one minor configuration detail or made a small mistake.
PS:
I've tried empty "Ignored Sentences" filters in "opencpnOUT" connection,
got APB and RMB on RS-422 device output.
However, I am not sure if this is a correct solution.
Please, confirm, if this configuration is legit,
maybe there is just an error in the openplotter documentation and we do not need APB and RMB filtering on "opencpnOUT" connection?
Thank you.