- Major cleanup of initialization
- Major cleanup of FW loading
- Better error checking to avoid bricking
- Better logging
- Add reboot arg to script
- Tag for param reset if resetParams in /firmware directory
The parameter setting as part of a factory reset is no longer needed
since the ArduCopter firmware for both stock and green cubes has the
defaults baked in. This will shorten the installation time, and remove 2
automated reboots.
Major update to pixhawk.py to handle loading firmware and factory resets
- If factory reset detected, reset parameters and reboot, then load some
basic required params
- Detect if pixhawk is stock PH2 or new PH2.1 to choose proper FW
- Check FW in new Open Solo locations for factory resets
- Better logging