How does my bot know when it's been hit, and how much health it has left?
chassis.hull is your bot's health: its hull points left. When it drops, you've been hit; at 0 the bot is out of the match. The hull doesn't say where a hit came from: for that, carry a damage localizer (DMG-1), whose 32 panels report which side was struck.