2021-09-02, 12:59 PM
yes, it seems the problem is client connection trying to reconnect in a blocking way. I will look into it.
As for multiplex, it should do this. Already it relays nmea received from usb ports to tcp, however it limits the rate to 4 per second which may/may not be a problem. I am considering if a bunch of ais targets are received at once it would drop some and this could be bad. Perhaps this should be user adjustable, or the rate only limited for messages with $ rather than !?
The exception is RSA, MWV and APB, these are not repeated. RSA and MWV are output if received from serial or the motor controller as they are recalibrated. For example, if rudder angle is fed to pypilot over usb, the rudder angle calibration is applied, and the calibrated rudder angle is output on 20220, same with wind angle which has an offset applied.
As for multiplex, it should do this. Already it relays nmea received from usb ports to tcp, however it limits the rate to 4 per second which may/may not be a problem. I am considering if a bunch of ais targets are received at once it would drop some and this could be bad. Perhaps this should be user adjustable, or the rate only limited for messages with $ rather than !?
The exception is RSA, MWV and APB, these are not repeated. RSA and MWV are output if received from serial or the motor controller as they are recalibrated. For example, if rudder angle is fed to pypilot over usb, the rudder angle calibration is applied, and the calibrated rudder angle is output on 20220, same with wind angle which has an offset applied.