Back to problems

Robot Status Message Deduplication

Algorithm · Google · Medium

Problem: Filtering Repeated Robot Status Messages A robot sends status updates continuously, and the operator should not be overwhelmed by repeated copies of the same update. Create a filter governed by these rules: Suppress a message when an identical message was displayed during the previous 10 seconds. Display it again once more than 10 seconds have elapsed since its most recent display. The filter records the time the message was shown, rather than the time it arrived.…

Checking your access…