@matyihi If you are looking for a while true loop, it's best to use the orange "is code running?" block. This block will check if you have stopped the code and keep the browser from crashing. Let us know if this helps!
@verdicchio Hi there,
I answered on the other thread about why you cannot pair. I also wanted to clear up that there are two Blockly coding platforms, one for CoDrone Lite/Pro and one for CoDrone Mini. Make sure you select the right one that matches with your product.
@verdicchio If you have tried to pair to CoDrone using Blockly without any device connected then it is likely that your device is not enabled with BLE (Bluetooth Low Energy). Since we have phased out Snap! and we are solely using our web-based coding software, you will need to have a BLE enabled device. Most recent laptops and Chromebooks will not be an issue but desktop computers and older laptops will not work.
I just wanted to update everyone on the new way to program CoDrone with Chromebooks. At the moment, Blockly programming with a Chromebook. Snap! has been phased out and we only use our web platform that runs on Chrome. Codebender is working on adding our board to their Arduino web editor, but in the meantime, there will be no text-based coding available on Chromebooks.
@sbrels4d CoDrone relies on the optical flow sensor and height sensors for its position. If you have some highly reflective floors or are flying in a dark room, it might be difficult for the drone to stabilize. If you have labeled the bottom of the drones, make sure nothing is obstructing the opening where the sensors are. Let us know if you have any questions! Feel free to attach pictures of the bottom of your drones and the classroom.
@jacksonpope2 I am not sure what you are referring to. The Rokit and CoDrone board are the same but the libraries are different. You can definitely program the board with both libraries but the Rokit library will not be able to program the drone.
@jacksonpope2 To use CoDrone Lite, you will need to program it with either Blockly or Python. You are probably seeing that error because it's not receiving any commands so it disconnects automatically. Check out our coding lessons to get started with CoDrone!
@jacksonpope2 If you are trying to program in Blockly, you do not need to connect the Bluetooth board to the computer. Doing so will cause the pairing to fail. If you are trying to pair with Python, try installing the driver found in this lesson. Hope this helps!
@hmeenen For Blockly programming with CoDrone Pro/Lite, you do not need the Bluetooth board to be connected to the device. Make sure the Bluetooth board is off and disconnected so the drone does not pair to it. Try pairing again on Blockly with the battery in the CoDrone only. Hope this helps!
@vangj We have not tested any other battery with CoDrone Mini so we can't recommend anything other than the CoDrone Mini battery. Some things to be aware of if you choose to try another battery with a higher discharge rate (35C vs 30C):
Some things to note about the camera:
@vangj For now, please include
set_trim() in every program to make sure the trim values are set. Have you tried larger values yet? Every now and then we encounter a drone that needs pretty high trim values (above 50). If more than one drone is experiencing these problems, let us know so we can schedule a call with you.