Closed fnoop closed 4 years ago
Port 6000 is blocked by most browsers as it's standard X11 port, so start from 6001. https://superuser.com/a/188070
This is a new list of fixed/known ports:
Dev:
Docs for mavlink need to be updated to reflect new port ranges; https://goodrobots.github.io/maverick/next/#/modules/mavlink
Refactor mavlink ports. Current the ports are all over the place, depending on the service which are usually unrelated, eg. for FC:
For SITL/default dev instance:
New FC ports:
New Dev SITL ports:
In addition, maverick_dev::apsitl creates instance clusters based on an instance number, and numbers ports based on a multiple of the instance number. Currently the starting ports are:
Instead create a set of grouped ports per instance, eg.:
so..
OK, now document.
Also need to refactor px4 sitl. Currently on: ROSmaster: 6131 maverick-api: 6132 mavlink-tcp: 6133-6135 maverick-udp: 6136-6141
There will be a set of fixed/known services, for example:
Then there will be sets of variable/unknown services, eg.:
Define:
Within the set of known services, we should define fixed ports for the various services. This is particularly important for services such as -discovery, which need to be consistently available on the same port at all times. eg: