You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an admin or system user,
I want bot location, power, temperature, status, and availability to be updated from robot-output events,
so that the system can display the latest known operating state of each bot.
Acceptance Criteria
Given a RobotTelemetryUpdated event is received
When the event is processed
Then the Function App updates the bot document with location, power level, temperature values, last telemetry timestamp, and updated timestamp.
Given a RobotStatusUpdated event is received
When the event is processed
Then the Function App updates the bot document with status, availability, active order ID, queued order count, last status changed timestamp, and updated timestamp.
Given a bot is actively delivering
When telemetry events are received
Then the readable bot state reflects movement toward the delivery destination.
Given a bot is idle or available
When telemetry events are received
Then the readable bot state reflects the bot’s latest known idle location and operating values.
Given an older telemetry or status event arrives after a newer event
When the Function App compares timestamps
Then the older event does not overwrite newer bot state.
As an admin or system user,
I want bot location, power, temperature, status, and availability to be updated from robot-output events,
so that the system can display the latest known operating state of each bot.
Acceptance Criteria
Given a RobotTelemetryUpdated event is received
When the event is processed
Then the Function App updates the bot document with location, power level, temperature values, last telemetry timestamp, and updated timestamp.
Given a RobotStatusUpdated event is received
When the event is processed
Then the Function App updates the bot document with status, availability, active order ID, queued order count, last status changed timestamp, and updated timestamp.
Given a bot is actively delivering
When telemetry events are received
Then the readable bot state reflects movement toward the delivery destination.
Given a bot is idle or available
When telemetry events are received
Then the readable bot state reflects the bot’s latest known idle location and operating values.
Given an older telemetry or status event arrives after a newer event
When the Function App compares timestamps
Then the older event does not overwrite newer bot state.