Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mocap server uses different server port according to message protocol version and endianess. User can define the base port number, which is used for legacy 1.0 protocol version. Other port numbers are based on the base port (e.g. protocol 1.1 little-endian: base-port +1). The base port should not be used for new clients using newer protocol versions, but other related port shall be selected (base port + n)
Currently the mocap_pose sends handshake request to that base-port (22222), but due to protocol 1.1. and little-endianess, the server responds back from base-port+1 (22223). This causes routing issue in case the mocap-pose is not running in same subnet, but the NAT device checks the translation table and gets confused, because the response does not come from the same port where request was sent.
To fix this, the mocap-pose shall send the initial request already to the correct port (base-port+1) which shall be used for it's protocol/endianess combination.
Link to documentation: https://docs.qualisys.com/qtm-rt-protocol/#connecting