upcomingSegment callback never called if only one node is send in order
When sending an order with only one node (no edges), the baseIncreased callback function is called but the upcomingSegment callback is not.
For example:
{
"headerId": 40,
"timestamp": "2024-08-28T06:32:24.643904",
"version": "2.0.0",
"manufacturer": "manufacturer",
"serialNumber": "3246895434",
"orderId": "some-order-id-n0",
"orderUpdateId": 0,
"nodes": [
{
"nodeId": "some-node-id-n0-s2",
"sequenceId": 0,
"released": true,
"actions": [],
"nodePosition": {
"x": 8.9,
"y": 1.45,
"mapId": "",
"theta": 1.35
}
}
],
"edges": []
}
In general, it seems that upcomingSegment is never called with begin_seq = 0. It always begins with sequenceId = 2.