V. Chyhin, Mykhailo Pazyniuk, Olha Terendii, Oleksii Menshikov
{"title":"使用flask python服务器控制远程设备的操作","authors":"V. Chyhin, Mykhailo Pazyniuk, Olha Terendii, Oleksii Menshikov","doi":"10.31891/2307-5732-2023-317-1-214-219","DOIUrl":null,"url":null,"abstract":"A computer model of controlling an unmanned aerial vehicle (UAV) using remote cloud technologies according to predetermined scenarios from the user’s desktop was studied. For this, an experimental setup was created, which includes an unmanned aerial vehicle of the quadcopter type, a personal computer with the Windows operating system, a Raspberry Pi 3 on-board computer with the Raspbian Linux operating system, a Pi Camera V2 video camera, and a Pixhawk autopilot. Worked out connection sequence between client (web browser user) and server (Raspberry Pi 3 with Flask system) and execution of remote commands using HTTP requests. As a framework, the Flask system was chosen, which is one of the simplest and has comprehensive, small-volume documentation. According to the obtained research results, a model of controlling the UAV from the desktop of the user’s personal computer through the on-board computer without using a standard control panel and operator is proposed. According to the obtained research results, a model of remote control of an unmanned aerial vehicle with an on-board computer of the Raspberry Pi type using remote cloud technologies and a control program according to predetermined scenarios is proposed. At the same time, the user works only with the desktop of a personal computer, and accesses through an external or internal network and a Flask-type server to the on-board computer of the UAV without using a standard control panel and operator. The proposed experimental setup includes an unmanned aerial vehicle of the quadcopter type with a Q450 frame and D2212-920 kv engines, a personal computer with a Windows operating system, a Raspberry Pi 3 on-board computer with a Raspbian Linux operating system. It made it possible to realize the set goal of researching the process of controlling an unmanned aerial vehicle using a Flask-type server. It was found that the full time of passing the HTTP request through the browser window and receiving a response from the server about the successful completion of the task does not exceed one second. In the future, it is planned to work out more complex processes of launching and controlling an unmanned aerial vehicle in flights according to predetermined scenarios, including the performance of a task such as neutralizing unauthorized aerial vehicles, as well as returning one’s own UAV to the place of deployment. The proposed system of remote control with the Flask server can also be useful for receiving an immediate notification when detecting certain sounds from foreign unmanned aerial vehicles, detecting and measuring their flight parameters.","PeriodicalId":386560,"journal":{"name":"Herald of Khmelnytskyi National University. Technical sciences","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"CONTROLLING THE OPERATION OF THE REMOTE DEVICE USING FLASK PYTHON SERVER\",\"authors\":\"V. Chyhin, Mykhailo Pazyniuk, Olha Terendii, Oleksii Menshikov\",\"doi\":\"10.31891/2307-5732-2023-317-1-214-219\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A computer model of controlling an unmanned aerial vehicle (UAV) using remote cloud technologies according to predetermined scenarios from the user’s desktop was studied. For this, an experimental setup was created, which includes an unmanned aerial vehicle of the quadcopter type, a personal computer with the Windows operating system, a Raspberry Pi 3 on-board computer with the Raspbian Linux operating system, a Pi Camera V2 video camera, and a Pixhawk autopilot. Worked out connection sequence between client (web browser user) and server (Raspberry Pi 3 with Flask system) and execution of remote commands using HTTP requests. As a framework, the Flask system was chosen, which is one of the simplest and has comprehensive, small-volume documentation. According to the obtained research results, a model of controlling the UAV from the desktop of the user’s personal computer through the on-board computer without using a standard control panel and operator is proposed. According to the obtained research results, a model of remote control of an unmanned aerial vehicle with an on-board computer of the Raspberry Pi type using remote cloud technologies and a control program according to predetermined scenarios is proposed. At the same time, the user works only with the desktop of a personal computer, and accesses through an external or internal network and a Flask-type server to the on-board computer of the UAV without using a standard control panel and operator. The proposed experimental setup includes an unmanned aerial vehicle of the quadcopter type with a Q450 frame and D2212-920 kv engines, a personal computer with a Windows operating system, a Raspberry Pi 3 on-board computer with a Raspbian Linux operating system. It made it possible to realize the set goal of researching the process of controlling an unmanned aerial vehicle using a Flask-type server. It was found that the full time of passing the HTTP request through the browser window and receiving a response from the server about the successful completion of the task does not exceed one second. In the future, it is planned to work out more complex processes of launching and controlling an unmanned aerial vehicle in flights according to predetermined scenarios, including the performance of a task such as neutralizing unauthorized aerial vehicles, as well as returning one’s own UAV to the place of deployment. The proposed system of remote control with the Flask server can also be useful for receiving an immediate notification when detecting certain sounds from foreign unmanned aerial vehicles, detecting and measuring their flight parameters.\",\"PeriodicalId\":386560,\"journal\":{\"name\":\"Herald of Khmelnytskyi National University. Technical sciences\",\"volume\":\"82 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-02-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Herald of Khmelnytskyi National University. Technical sciences\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.31891/2307-5732-2023-317-1-214-219\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Herald of Khmelnytskyi National University. Technical sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.31891/2307-5732-2023-317-1-214-219","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
研究了基于远程云技术的无人机控制计算机模型。为此,创建了一个实验装置,其中包括四轴飞行器类型的无人驾驶飞行器,带有Windows操作系统的个人计算机,带有树莓派Linux操作系统的树莓派3机载计算机,Pi Camera V2摄像机和Pixhawk自动驾驶仪。制定客户端(web浏览器用户)与服务器(带Flask系统的Raspberry Pi 3)之间的连接顺序,并使用HTTP请求执行远程命令。作为框架,我们选择了Flask系统,它是最简单的框架之一,并且拥有全面的小批量文档。根据所获得的研究结果,提出了一种不使用标准控制面板和操作员,从用户个人计算机桌面通过机载计算机对无人机进行控制的模型。根据获得的研究成果,提出了一种基于远程云技术的树莓派型机载计算机无人机远程控制模型,并根据预定场景提出了控制方案。同时,用户只需使用个人电脑的桌面,无需使用标准的控制面板和操作员,即可通过外部或内部网络和flask型服务器访问无人机的机载计算机。提出的实验装置包括一个四轴飞行器类型的无人机与Q450框架和d2212 - 920kv发动机,一个个人电脑与Windows操作系统,一个树莓派3机载计算机与树莓Linux操作系统。利用flask型伺服器实现了研究无人机控制过程的既定目标。结果发现,通过浏览器窗口传递HTTP请求并从服务器接收关于成功完成任务的响应的完整时间不超过1秒。未来,计划根据预定场景制定更复杂的发射和控制无人机飞行过程,包括执行任务,如中和未经授权的飞行器,以及将自己的无人机返回部署地点。所提出的带有Flask服务器的远程控制系统也可以用于在检测国外无人机的某些声音时接收即时通知,检测和测量其飞行参数。
CONTROLLING THE OPERATION OF THE REMOTE DEVICE USING FLASK PYTHON SERVER
A computer model of controlling an unmanned aerial vehicle (UAV) using remote cloud technologies according to predetermined scenarios from the user’s desktop was studied. For this, an experimental setup was created, which includes an unmanned aerial vehicle of the quadcopter type, a personal computer with the Windows operating system, a Raspberry Pi 3 on-board computer with the Raspbian Linux operating system, a Pi Camera V2 video camera, and a Pixhawk autopilot. Worked out connection sequence between client (web browser user) and server (Raspberry Pi 3 with Flask system) and execution of remote commands using HTTP requests. As a framework, the Flask system was chosen, which is one of the simplest and has comprehensive, small-volume documentation. According to the obtained research results, a model of controlling the UAV from the desktop of the user’s personal computer through the on-board computer without using a standard control panel and operator is proposed. According to the obtained research results, a model of remote control of an unmanned aerial vehicle with an on-board computer of the Raspberry Pi type using remote cloud technologies and a control program according to predetermined scenarios is proposed. At the same time, the user works only with the desktop of a personal computer, and accesses through an external or internal network and a Flask-type server to the on-board computer of the UAV without using a standard control panel and operator. The proposed experimental setup includes an unmanned aerial vehicle of the quadcopter type with a Q450 frame and D2212-920 kv engines, a personal computer with a Windows operating system, a Raspberry Pi 3 on-board computer with a Raspbian Linux operating system. It made it possible to realize the set goal of researching the process of controlling an unmanned aerial vehicle using a Flask-type server. It was found that the full time of passing the HTTP request through the browser window and receiving a response from the server about the successful completion of the task does not exceed one second. In the future, it is planned to work out more complex processes of launching and controlling an unmanned aerial vehicle in flights according to predetermined scenarios, including the performance of a task such as neutralizing unauthorized aerial vehicles, as well as returning one’s own UAV to the place of deployment. The proposed system of remote control with the Flask server can also be useful for receiving an immediate notification when detecting certain sounds from foreign unmanned aerial vehicles, detecting and measuring their flight parameters.