how to add a new flight mode

Has anyone tried to add a flight mode into the ArduCopter souce code?

I want to create my own flight mode into APM, so first I learn how to add a new flight mode,

I follow the instruction below step by step, just skip the step #6, I don't know how to do step 6, but I think it can be skiped, isn't it?

http://dev.ardupilot.com/wiki/apmcopter-code-overview/apmcopter-adding-a-new-flight-mode/

but when compiling in the Arduino, error came out. The compile error information is in the attactching files. 

Any advise will be appreciate!  thanks

1.PNG

2.PNG

3.PNG

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.