Motors Spinning on Connection
Posted: Fri Nov 13, 2015 2:39 pm
Hi,
I have recently been given a Crazyflie 2.0 by my college as part of a project. I have managed to set up the VM and have been flying the CF with an Xbox 360 remote control. The problem I am having is when I initially connect to the CF using the CF python client provided. When I initially connect to the CF, the motors spin very fast by themselves, and the CF is unresponsive to any input from the remote control. The only way I have found to stop them spinning is by clicking the "Crazyflie" tab, and then "Configure 2.0", and then clicking "write" with all of the default values. When I click this, the motors stop instantly, and the CF can be flown as normal. Also, once this has been clicked I can hit "Disconnect" and disconnect from the CF and then reconnect with no problem, provided the CF itself has not been turned off. If the CF has been turned off, the same problem occurs.
I have updated the code using the "Update all projects" application, but still have the same problem. Is there some bit of code I need to change to prevent the motors from spinning like this on connection?
Thanks
I have recently been given a Crazyflie 2.0 by my college as part of a project. I have managed to set up the VM and have been flying the CF with an Xbox 360 remote control. The problem I am having is when I initially connect to the CF using the CF python client provided. When I initially connect to the CF, the motors spin very fast by themselves, and the CF is unresponsive to any input from the remote control. The only way I have found to stop them spinning is by clicking the "Crazyflie" tab, and then "Configure 2.0", and then clicking "write" with all of the default values. When I click this, the motors stop instantly, and the CF can be flown as normal. Also, once this has been clicked I can hit "Disconnect" and disconnect from the CF and then reconnect with no problem, provided the CF itself has not been turned off. If the CF has been turned off, the same problem occurs.
I have updated the code using the "Update all projects" application, but still have the same problem. Is there some bit of code I need to change to prevent the motors from spinning like this on connection?
Thanks