Would it be possible to give me an example python code of what it would look like to have the codrone check itself in space and correct it's course.
For example if the challenge was to create a program that allows your codrone to successfully fly thru 3 hoops of various heights turn around and go back thru ( straight line) and land. How would that look in python with an emergency stop?
The students challenge would read " Your Lieutenant has decided that your flight skills are above par. You and your flight partner have been selected to preform at the local air show. A copy of the course has been provided. Good Luck and as always personal touches are encouraged!"
@alancox I can check again but as far as I know installing the driver was usually necessary to detect the board. You can try using Codebender here if you would like.
Here is the information from that old lesson:
On the bottom of that same workspace, you're going to see two drop-down menus: one is for your board, and the other is for your port.
For your board, select Rokit-SmartInventor-mega32_v2.
For your port, there may only be one option, depending on how many things are plugged into your computer at once! If you run your code and get a message saying your device is unresponsive, change your port and that should help.
First, make sure that the board is in run mode ( see step 5 of this lesson) and that the back LED of CoDrone is blinking green. Place the drone in an empty space on the floor and once it pairs the code will run automatically. If this doesn't work, reply with a screenshot of the code so I can help you. Let me know if you have any more questions!
I would double check that you installed the driver properly for your operating system. It seems like your computer does not recognize the device. In the past some users needed to install it twice for it to work. Also make sure the UART cable is disconnected from the SmartInventor board if you have a CoDrone Pro. If you still experience problems, you might have an incompatible USB cable. Did you switch it out by any chance with another one? If you are still experiencing issues please set up a support call here
@garyt This is so heartwarming to hear! I've shared the post with our team. We're happy to hear the event turned out so well! Getting kids inspired to learn about and pursue STEM is what we're all about, especially inspiring more girls to get into the field.
I love the incorporation of the other areas of science, like the Mars rover and learning about physics concepts.
Please let us know how we can help you further
So much happy crying from our team.