The collision the bump sensor is checking for is state to be sensor_collision, but I don't see that collision anywhere. Maybe you meant to write chassis_collision instead?