Fix regulator.py to work with new MAVProxy version and control module