I am trying to make a new mode by following the instructions on the wiki but it seems like I am misinterpreting them, or it is out of date and missing steps. I am just starting by trying to make an copy of guided mode with just a different name.
It seems like my issue is with the following step:
Create a new mode_.cpp file based on a similar mode such as mode_stabilize.cpp or mode_loiter.cpp
I made a copy of the guided mode cpp file and if I rename all the methods my compile fail says error: cannot convert ‘ModeCopyGuided::SubMode’ to ‘ModeGuided::SubMode’
If I keep the names my compile fails and says it is being defined in multiple places.
I am unsure what else needs to be changed/added for this file to not cause an error