ADCS code for the ARAPAIMA project