So I followed the instructions on setting up a custom config, but unfortunately WAF won’t work since I am using an older version of MacOS. However, make seems to be working. I don’t know if the code was messed up, but the compiler kept throwing errors. This is what has happened so far:
- Threw error of motor_reverse or something being out of range, did that for the other ones (10-12) as well. Went into AP_MOTORS6DOF.h and changed AP_Int8 parameter from _motor_reverse to _motor_reverse, which resolved the issue.
- Then, the compiler threw errors of GROUND_IDLE in the switch case being undefined, so I looked around and figured out that I needed to change it to SPIN_WHEN_ARMED, which worked.
- Battery monitor was initialized incorrectly, kept throwing ‘AP’ undefined. Changed line that said “AP::battery()” in AP_MOTORS6DOF.cpp to AP__BattMonitor(), which resolved that, BUT…
- now it is saying that the float “_batt_current” is shadowing something in “AP_MOTORS6DOF”
At this point I am wondering if I somehow cloned or set up the git incorrectly, because there seems to be a lot of variables that were modified in one file and not in the other. Every time I fix one of these a new one crops up, and I can’t compile my custom config (again using make, because WAF isn’t working on my Computer). If somebody knows what is going on, please help. Thanks!