PX4 micro-quad using computer vision for autnomous flight

If somebody could point me to a guide to writing both the mixer and init scripts it would be appreciated.