I use px4 Eclipse in combination with a Pixhawk. Now I have to make a new flightmode. In this mode I have to read in a Sonar Mb1200 during the flight. Therefor I added a new flight mode and now I’d like to connnect this sensor (probably with the Serial 4/5).
Is there somewhere an introduction how I can make this? I read a few examples wich are made under UserCode.pde. But I don’t wont to program it there.