Throwing warning "The first node of the order does not equal the last base node" for new orders and rejects the order
The warning, "The first node of the order does not equal the last base node," should only appear if the stitching node does not match for an update to an existing order (i.e., with the same orderID). However, this warning is also generated for new orders with unique orderIDs.
Based on my observations, the warning occurs when a previous order completes, and I then send a new one with a new orderID. However, the warning does not appear if I cancel the previous order before sending the new one.
Below, I’ve attached two orders as examples. The first order ran successfully, but the subsequent order generated the warning and was subsequently rejected.
{ "headerId": 51, "timestamp": "2024-10-29T13:56:03.797900", "version": "2.0.0", "manufacturer": "CapraRobotics", "serialNumber": "CAPRA500-0015", "orderId": "7406b458-3287-4ec7-8d94-2093a7b6f2d1-n1", "orderUpdateId": 0, "nodes": [ { "nodeId": "7406b458-3287-4ec7-8d94-2093a7b6f2d1-n1-s0", "sequenceId": 0, "released": true, "actions": [ { "actionId": "7406b458-3287-4ec7-8d94-2093a7b6f2d1-n1-s0-n1", "actionType": "startCharging", "blockingType": "NONE", "actionParameters": [ { "key": "frameId", "value": 4 } ] } ], "nodePosition": { "x": 3.4854321479797363, "y": -8.416680335998535, "mapId": "floor 0", "theta": 0.09808707982301712 } } ], "edges": [] }
{ "headerId": 52, "timestamp": "2024-10-29T13:56:03.797900", "version": "2.0.0", "manufacturer": "CapraRobotics", "serialNumber": "CAPRA500-0015", "orderId": "f706ee4b-a824-4ebd-b72d-e6bba8a43897-n0", "orderUpdateId": 0, "nodes": [ { "nodeId": "f706ee4b-a824-4ebd-b72d-e6bba8a43897-n0-s0", "sequenceId": 0, "released": true, "actions": [ { "actionId": "f706ee4b-a824-4ebd-b72d-e6bba8a43897-n0-s0-n0", "actionType": "stopCharging", "blockingType": "NONE", "actionParameters": [ { "key": "depth", "value": 2 } ] } ], "nodePosition": { "x": 5.318168640136719, "y": -8.504645347595215, "mapId": "floor 0", "theta": 0.01606071926653385 } } ], "edges": [] }