How an educational drone helps you learn Python programming and what's wrong with Lua

Almost 4 years have passed since the release of the first article about the training quadrocopter Geoscan Pioneer. During this time, the format of the constructor for assembling an educational quadrocopter has gained popularity - it is well suited both for organizing the educational process with schoolchildren or students, and for using at various hackathons, competitions, or when performing research projects on its basis.





The key elements of training today are the development of programming skills for solving problems of autonomous flight of a copter, understanding the basics of control algorithms and working with various functional modules. For young users, the entry threshold was lowered due to the possibility of using visual block programming in the plug-in for TRIK-Studio , but the creation of more complex programs required familiarity with the Lua language.





In 2020, the line of Pioneers was supplemented with new models - the younger and older "brothers" Mini and Max appeared. And if in terms of size and weight the brothers are ranked - Mini is the smallest and lightest, and Max is the largest and heaviest, then in terms of functionality, the younger is ready to give odds to his predecessor (let's call him the Classic Pioneer).





-, Wi-Fi. -, , - ( ). - , , , . , .. TOF .





, . . , GPS . , , : , , " " . -,   Wi-Fi    Python.





? .





, Wi-fi , , , 868. ( . ), MAVLink , , , , . , . , , .





Lua , . , - , , .





Lua :





, β€œ ” .





.





- - . , : OpenCV, , . …





, Lua , . . , OpenMV H7, . . Pioneer Station, , Lua  . OpenMV IDE, , MicroPython… , IDE , -  Lua . UART, , .





, , , . . - .





, , . . , Python.





Python - , . , , . , Python. , - , Lua, , Python . , , , β€ž β€¦β€œ





Lua , . Python . . , . , β€žβ€ , . Python β€ž ” threading multiprocessing, , Lua - github-, readme, . , Python ROS, .





Python β€žβ€œ . , .





, numpy , Matlab, . , , , numpy . matplotlib , . , Lua , .





:





Python open-source github, pip PyPi. , Lua , , .





, , , β€œβ€ . , : ARUCO , , .. Lua ( , ).





, Lua, β€žβ€œ  , . Python, , . , .





, . , OpenCV , .





Python β„– 239 . -. (PyCharm Community Pioneer Station 1.11.0.), ESP-32 0.2.7., . Python.





, , ( OpenCV pioneer_sdk).





All students say that for them the advantages of working with the Pioneer Mini are the breadth of the copter's capabilities, the ability to fully implement computer vision functions using the OpenCV library and the compactness of the drone. Everyone has a great interest in additional modules (for learning Python and video vision).








All Articles