Code for handling a camera connected to Erle