I am trying to get the PowerSwitch Module to work. I am using cflib 0.1.12.1 and the 2020.09 firmware.
I have modified the line from reboot.py slightly, see below:
Code: Select all
uri = 'radio://0/80/2M/E7E7E7E7E7'
PowerSwitch(uri).stm_power_cycle()
Code: Select all
AttributeError: 'NoneType' object has no attribute 'ack'
I attempted to try this with a cf on the 2019.01 firmware but could not seem to even get the firmware to compile? cloned folder to the same directory level as cflib and the client
Code: Select all
git clone --recursive https://github.com/bitcraze/crazyflie-firmware.git --branch 2019.01 "crazyflie-firmware-2019.01"
Code: Select all
make: python2: No such file or directory
make: *** [check_submodules] Error 1