Introduction

Your goal for this lab is to complete the provided sentry.py node so that it makes an audible signal any time something crosses in front of the robot. The Kobuki beeping sounds can be controlled by publishing to the /mobile_base/commands/sound topic.

Your intruder detection code should follow the algorithm below. Your solution should not contain any loops. Use appropriate numpy methods to accomplish each step.

Intruder Detection Algorithm

Complete each of the following steps on each callback: