Hardware and firmware for MAVRIC's camera system