https://ardupilot.org/dev/docs/apmcopter-adding-a-new-flight-mode.html
I completed all the steps for adding a new mode as described in the link. I am working on Windows with WSL. After ensuring that I had followed all the steps correctly, I compiled the code. I encountered an access error. I was able to resolve the access error by adding the name of my new mode after friend class
in the Copter.h file. This way, I managed to compile Copter successfully and load it onto the autopilot without any errors.
However, I cannot see the mode I added at all. Neither Mission Planner nor QGroundControl shows my mode.
I am using ArduCopter V4.5.3.
I even completed step 7, but I still did not get any results. Can you help me?