Two kinds of locators are used:
BAY (PAD, PORT) bay_ - means separate landing site for the ship
WAYPOINT wp_ - all other locators except bays
The docking path is created as a chain of waypoints referencing the previous one (in-reference).
The undock path is created as a chain of waypoints referencing the next one (out-reference).
The same point can be included in both the docking route and the undocking route.
Waypoint syntax (things in square brackets can be omitted):
Code: Select all
wp_<name>[:[<in-reference>][_<out-reference>]][:pos]
reference is a name of some other point
in-reference is a name of the previous waypoint of the docking route
out-reference is a name of the next waypoint of the undocking route
:pos indicating that the ship is not required to adopt the orientation of a given tag
example:
wp_gr2:gr1_gr3 - waypoint with name 'gr2' with in-reference from 'gr1' and out-reference to 'gr3', that is, its previous point of the docking route is gr1, and the next point when undocking is gr3
Bay syntax:
Code: Select all
bay_<name>_s<min_size>_<max_size>[:[<in-reference>][_<out-reference>]]
min_size, max_size - integers, mean the minimum and maximum allowable size of the ship for this bay, meters
references means the same as for waypoints, of course, these are names of the last waypoint of the docking route, and the first waypoint of the undocking route
example:
bay_A1_s0_20:gr1_gr2
Simplifications.
If a reference to an output point is omitted, the input reference is copied to the output:
wp_a10:a11 == wp_a10:a11_a11
bay_B1_s0_20:gr3 == bay_B1_s0_20:gr3_gr3
If both references are omitted, they are considered non-existent:
wp_entr == wp_entr:_
wp_a12:_a10 - no previous dock waypoint, next undock waypoint is a10
wp_a12:a10_ - previous dock wp is a10, no next undock wp
The absence of an input reference at the point means that this point can be the beginning of the docking route.
The absence of an output reference means that this point can be the end of the undock route.
If the bay does not have a docking/undocking reference, one waypoint is added to it 500 m above.
Docking and undocking routes are built starting from the bay, following the refs until a null reference is encountered in this direction.
Input refs are considered only when building an input route.
Output refs are considered only when building an output route.
Route point blocking.
If the ship has received permission to dock, all points of the docking route are blocked, this means that it is unacceptable to move along any other route containing one of the blocked points.
As ship passes the waypoints, the autopilot can send a signal to the station so that the passed waypoint is unlocked.
After the end of the passage along the route, all points of this route are unlocked.
Example of locators configuration.
See the names of locators, and what connections are formed from that names:
Show the route for only one bay:
Route building starts from bay4. since only one ref is specified (gr2), it automatically becomes both an input ref and an output ref. Further by the refs from gr2, we are going to gr1 for the docking route and gr3 for the undocking. Further, following the link from gr1, we come to wp_entr, which has no further links, so this is the entrance. And following the link from gr3 we get to wp_exit, which also has no links, so this is the end of the undocking route (exit).
As you can see, many points are reused by different bays.
see which points are blocked when the ship receives permission to dock at bay4. As you can see, point wp_gr3 and wp_exit are free, so undocking can be started at the same time, for example from bay8.
Also, after passing the points, the autopilot releases them, so after passing wp_gr1 you can start another docking, for example, in bay2
If all the bays are available at the same time (for example, at ground stations), you can simply place bay locators only. Above each bay, at an altitude of 500 m, one waypoint will be automatically set to ensure a vertical landing. On the other hand, it may be worth organizing traffic more strictly, creating waypoints of approach to the station, waypoints of departure, so that the trajectories of ships do not intersect, etc.
Thus, using this system, you can create a network of waypoints of any complexity, probably for any station architecture. With one limitation - bay can only be connected to one entrance and one exit.