How to change the code of the pixhawk to make it fly automatically

Hi,
We are trying to change part of the code of the pixhawk, but it seems out of our ablity. So, is here someone who could help us?

There are people that can help, but it also helps to be more specific in what your require.