feat(proposed_setup): deliver action results across an outage
With the service relay, the result of an action goal still running while its robot was out of
reach for longer than the lease never arrived (0/3). Three changes to zt_dbridge_srv:
- a reply goes out through the service object advertised when it arrives; replies arriving
while the service is withdrawn or just re-created are held (up to 60 s, sent after 1 s);
- an action's three services are advertised as one unit (send_goal last, withdrawn first);
- pending get_result requests are sent again when the server returns, because rmw_cyclonedds
drops the reply to the original request after rediscovery (no error).
Result: 3/3 delivered (results/proposed__long_action_*); the six-fault set rerun matches
proposed__relay_1007 (results/proposed__relayfix_1009).
Harness: ZT_LONG_ACT=1 starts bin/zt_long_action.py (80 s goals from the ground station to
every robot, plus short goals sent without a readiness check).
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>
parent
eb23b416
Please register or sign in to comment