An unmanned aerial vehicle parameter adjustment method based on optical motion capture and related equipment
By acquiring UAV pose information through optical motion capture technology, combined with extended Kalman filtering and VRPN communication, the problem of insufficient flight data accuracy in UAV parameter tuning was solved, enabling high-precision positioning and navigation of UAVs in indoor environments and improving the stability and safety of the flight control system.
Patent Information
- Application Number
- CN202311222222.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-20
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-09-20
AI Technical Summary
In existing methods for adjusting drone parameters, the accuracy of flight data is insufficient, resulting in poor parameter adjustment effects and an inability to effectively utilize GPS for high-precision positioning and navigation in indoor environments.
Optical motion capture technology is used to acquire the pose information of the UAV. Data is collected within a preset range by multiple motion capture devices, and waypoints are set in the UAV path planner for parameter adjustment. Combined with extended Kalman filtering and VRPN communication, high-precision UAV control is achieved.
This improved the reliability and coordination of UAV PID control parameters, enabling high-precision positioning and navigation of UAVs in indoor environments, reducing the risks during parameter tuning, and enhancing the stability and safety of the flight control system.
Smart Images

Figure CN117311382B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of unmanned aerial vehicle (UAV) technology, and in particular to a method, system, terminal, and computer-readable storage medium for adjusting UAV parameters based on optical motion capture. Background Technology
[0002] Unmanned aerial vehicle (UAV) parameter tuning refers to the technique of optimizing the performance and stability of a UAV by adjusting its flight control parameters. In the design of UAV flight control systems, most designers employ the PID (proportional-integral-derivative) control method, the core of which lies in parameter tuning. The adjustment and selection of various parameters of the PID controller not only determine the control accuracy of the UAV but also profoundly affect the success of various flight missions performed by the UAV. Therefore, UAV parameter tuning is extremely necessary.
[0003] Existing parameter tuning methods mostly improve the flight performance and stability of UAVs by optimizing control parameters through genetic algorithms or particle swarm optimization. In the past, there were also UAV parameter tuning methods based on fuzzy control, which optimized the flight performance and stability of UAVs by fuzzifying the control parameters. In recent years, however, the most attention has been paid to UAV parameter tuning methods based on neural networks. This method optimizes and adjusts various control parameters of the UAV by training the control parameters of the UAV into a neural network, thereby improving its flight performance.
[0004] The methods described above all optimize control parameters at the algorithm level. The reliability of the obtained pose information is positively correlated with the measurement accuracy of the UAV's built-in sensors. However, sensors such as gyroscopes, magnetometers, and accelerometers are greatly affected by environmental factors, resulting in significant measurement errors. This makes the so-called "true values" used during parameter tuning extremely unreliable. Furthermore, since parameter tuning is generally conducted indoors, GPS and other global positioning technologies cannot be applied to this field.
[0005] Therefore, existing technologies still need to be improved and developed. Summary of the Invention
[0006] The main objective of this invention is to provide a method, system, terminal, and computer-readable storage medium for adjusting the parameters of a UAV based on optical motion capture, aiming to solve the problem that the accuracy of flight data acquired in the prior art for adjusting UAV parameters is insufficient, resulting in poor parameter adjustment effects.
[0007] To achieve the above objectives, the present invention provides a method for adjusting the parameters of a UAV based on optical motion capture, the method comprising the following steps:
[0008] The pose information of the drone is acquired by the motion capture lenses of multiple motion capture devices under a preset range of light intensity during the drone's flight.
[0009] Based on the pose information, different waypoints are set in the UAV path planner to adjust the parameters of the designated channel of the UAV.
[0010] Optionally, in the aforementioned method for adjusting the parameters of a UAV based on optical motion capture, the UAV flies in a pre-set motion capture area, which is enclosed by a truss and a protective net.
[0011] Optionally, in the aforementioned method for adjusting the parameters of a UAV based on optical motion capture, the motion capture device includes eight motion capture lenses mounted on the top of a truss.
[0012] Optionally, the aforementioned method for adjusting the parameters of a UAV based on optical motion capture, wherein acquiring the pose information of the UAV, the pose information being collected by motion capture lenses corresponding to multiple motion capture devices during the flight of the UAV under a preset range of light intensity, specifically includes:
[0013] The motion capture device is calibrated to enable the information from each motion capture camera to be coordinated;
[0014] Place the L-shaped rod in the center of the motion capture area, run the motion capture equipment, observe the number and position of the reflective points of each motion capture lens, remove the reflective points under each motion capture lens except for the reflective ball on the L-shaped rod, and then remove the L-shaped rod from the field to a place where the motion capture lens cannot capture.
[0015] The T-shaped pole is continuously waved along any possible flight path of the drone for a preset time to ensure that the reflective ball information can be collected along each path without any missing points. The calibration is then completed, and the T-shaped pole is removed from the field.
[0016] The drone to be adjusted is placed in the center of the motion capture area. After stably attaching multiple reflective spheres, the frame is frozen. In the motion capture software, a rigid body is created based on the multiple reflective points. The rigid body is then given a custom name and the frame is unfrozen to ensure that the host plays the motion capture footage in real time and obtains the drone's pose information.
[0017] Optionally, the aforementioned UAV parameter tuning method based on optical motion capture further includes:
[0018] The motion capture software is further developed using the SDK, and the pose information of the constructed rigid body is transmitted to other computer hosts in the same IP network segment via broadcast data.
[0019] The UAV host computer establishes a communication connection with the host computer where the motion capture software is located via VRPN.
[0020] Optionally, the aforementioned UAV parameter tuning method based on optical motion capture further includes:
[0021] The ROS system in the host computer of the drone runs, performs extended Kalman filtering on the information obtained by the motion capture device, and sends it to the upper-level controller of the drone. The upper-level controller of the drone calculates the pose information in the host computer and issues instructions to the lower-level drone, which controls the motors to adjust the attitude.
[0022] Optionally, in the aforementioned UAV parameter tuning method based on optical motion capture, the pose information includes position information and attitude information.
[0023] Furthermore, to achieve the above objectives, the present invention also provides a drone parameter tuning system based on optical motion capture, wherein the drone parameter tuning system based on optical motion capture includes:
[0024] The UAV attitude information acquisition module is used to acquire the attitude information of the UAV. The attitude information is acquired by the motion capture lenses of multiple motion capture devices under a preset range of light intensity during the flight of the UAV.
[0025] The UAV parameter adjustment module is used to set different waypoints in the UAV path planner based on the pose information, and adjust the parameters of the UAV on the designated channel.
[0026] In addition, to achieve the above objectives, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a drone parameter tuning program based on optical motion capture stored in the memory and executable on the processor, wherein when the drone parameter tuning program based on optical motion capture is executed by the processor, it implements the steps of the drone parameter tuning method based on optical motion capture as described above.
[0027] Furthermore, to achieve the above objectives, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a drone parameter tuning program based on optical motion capture, and when the drone parameter tuning program based on optical motion capture is executed by a processor, it implements the steps of the drone parameter tuning method based on optical motion capture as described above.
[0028] In this invention, the pose information of a drone is acquired by motion capture cameras of multiple motion capture devices under a preset range of light intensity during the drone's flight. Based on this pose information, different waypoints are set in the drone's path planner, and the parameters of the designated channel for the drone are adjusted. This invention utilizes motion capture devices to accurately analyze and measure the drone's motion, and uses the obtained drone data to adjust the drone's parameters, achieving stable control and precise adjustment of its flight attitude. Attached Figure Description
[0029] Figure 1 This is a flowchart of a preferred embodiment of the UAV parameter tuning method based on optical motion capture of the present invention;
[0030] Figure 2 This is a schematic diagram of the motion capture principle in a preferred embodiment of the UAV parameter tuning method based on optical motion capture of the present invention;
[0031] Figure 3 This is a schematic diagram of the parameter adjustment process in a preferred embodiment of the UAV parameter tuning method based on optical motion capture of the present invention;
[0032] Figure 4 This is a schematic diagram of a preferred embodiment of the UAV parameter tuning system based on optical motion capture of the present invention;
[0033] Figure 5 This is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0035] Optical motion capture (OFC) technology originated in the film industry and has been widely applied in the positioning, navigation, and precision control of external devices for indoor unmanned aerial vehicles (UAVs) due to its high-precision measurement capabilities. By deploying multiple motion capture cameras and reflectors, this technology can achieve high-precision measurement and tracking of six degrees of freedom (DOF) information, including the UAV's attitude and position. Furthermore, OFC can be used to monitor UAV trajectories, check flight quality, and conduct subsequent analysis and evaluation. Its most common application is in indoor high-precision formation flying. Therefore, OFC provides crucial support for the design, manufacturing, control, navigation, and mapping of UAVs, and has become an indispensable part of UAV research and development.
[0036] To address the issue of insufficient accuracy in flight data acquired through traditional UAV parameter tuning, this invention applies optical motion capture technology to UAV parameter tuning, obtaining sub-millimeter-level accuracy UAV pose information. This method connects to the local area network of the optical motion capture device via a VRPN, then performs an extended Kalman filter on the data acquired from this device before feeding it back to the UAV's upper-level controller, achieving precise six-degree-of-freedom control of the UAV. By setting different waypoints in the UAV path planner to adjust specific parameters of a particular channel, high-precision, high-quality real-time evaluation and parameter tuning of the UAV are achieved. This invention allows for both single-parameter adjustment of the controller and multi-channel, multi-parameter joint tuning of the flight control system, significantly improving the reliability and coordination of UAV PID control parameter tuning and meeting the parameter tuning requirements of actual flight control system design processes.
[0037] The preferred embodiment of the UAV parameter tuning method based on optical motion capture described in this invention, such as... Figure 1 As shown, the UAV parameter tuning method based on optical motion capture includes the following steps:
[0038] Step S10: Obtain the pose information of the UAV. The pose information is collected by the motion capture lenses of multiple motion capture devices during the flight of the UAV under a preset range of light intensity.
[0039] Step S20: Based on the pose information, set different waypoints in the UAV path planner and adjust the parameters of the designated channel of the UAV.
[0040] Specifically, such as Figure 2 As shown, the site was pre-deployed to obtain the motion capture area for the drone's flight (the motion capture area is the restricted area for the drone's flight; because the error of motion capture is extremely small compared to conventional measurement methods, all measured values can be treated as true values in this environment). A truss and protective netting were used to enclose the capture area to prevent the drone from crashing and injuring people if it flew out of the capture area due to signal loss. Eight motion capture cameras were installed on the top of the truss and connected to a switch via a PoE splitter and Cat6 network cables. The bottom of the site was completely covered with thick foam padding to ensure a smooth landing for the drone. When using the motion capture equipment, the light in the capture area should not be too strong (for example, a solution is to draw the curtains and use ceiling-mounted fluorescent lights for supplemental lighting; this ensures that the light source is not mistakenly captured by the motion capture equipment and also provides a stable light source for the reflector). Otherwise, it may lead to too many reflective points that cannot be eliminated or too many eliminated areas affecting the motion capture range.
[0041] Next, we'll debug the motion capture software (on Windows systems, most motion capture operations are performed using this software). This step serves two main purposes: first, to calibrate the motion capture equipment, ensuring that information from each motion capture camera is synchronized; and second, to create the UAV's rigid body, laying the groundwork for subsequent data acquisition. During calibration, ensure that the motion capture software is correctly installed on the host machine and that it can connect properly to the switch and motion capture equipment via Ethernet.
[0042] After placing the L-shaped stick in the center of the motion capture area, operate the motion capture equipment and observe the number and position of reflective points on each motion capture lens. Remove all reflective points under each lens except for the reflective ball on the L-shaped stick, then remove the L-shaped stick from the field to a location where the lenses cannot capture the image. The person swinging the stick enters the field with a T-shaped stick and continuously swings it for at least one minute along any possible flight path of the drone. Once the drone has captured reflective ball information along all possible paths without any missing points, the calibration is complete, and the T-shaped stick is removed from the field. During this step, pay attention to the person's clothing; reflective clothing can cause abnormalities in the number of reflective points captured by the lens.
[0043] The L-shaped and T-shaped bars are calibration tools for the motion capture equipment. They tell the equipment the size of a given area (accurate to sub-millimeters). The more rigorous the calibration process, the more accurate the measured values of the motion capture space, providing support for subsequent parameter adjustments. While the L-shaped bar calibrates the entire space, the T-shaped bar tests the motion capture performance of the equipment. Operators continuously wave this bar to observe the camera's capture behavior. Both the L-shaped and T-shaped bars are equipped with reflective balls, and the distance between the balls is rigorously measured.
[0044] Place the drone equipment whose parameters need to be adjusted in the center of the capture area, and stably attach 5 reflective balls. Then freeze the frame (freezing the frame means freezing the current image and keeping it still. Only after freezing the frame can subsequent operations be performed. This is a rule for motion capture operation to prevent the measured object from floating out of the capture area during motion capture camera operation, making it difficult to select a rigid body). Create a rigid body in the motion capture software based on these 5 reflective points. After creating the rigid body, give it a custom name and then unfreeze the frame to ensure that the host can play the motion capture image in real time.
[0045] Furthermore, data communication is acquired: Secondary SDK development is performed on the motion capture software, enabling the broadcast transmission of the pose information of the rigid body established in the previous step (pose information is a general term encompassing position and attitude information; position information refers to the UAV's x, y, and z coordinates in space; attitude information refers to the angular information of the UAV's rotational motion along the x, y, and z axes; these six motion states refer to the commonly known six degrees of freedom motion. Additionally, for precise control of the UAV, the derivatives of the pose information—the velocities along the three axes and the angular velocities along those axes—are generally used as control quantities, which the motion capture equipment can accurately capture) to other computer hosts on the same IP network segment. The UAV is equipped with a mini-computer running Ubuntu. Information sharing allows this mini-computer to receive the pose information; after obtaining the true values, it can issue commands to the UAV on how to fly. This onboard computer solves the problem of insufficient accuracy in traditional parameter tuning and eliminates the need for manual remote control. The UAV host computer establishes a communication connection with the host machine running the motion capture software via VRPN. The host computer has an Ubuntu system built-in, while the host machine running the motion capture software has a Windows system installed. This step is achieved by utilizing VRPN's ability to establish a cross-platform communication connection.
[0046] like Figure 3 As shown, pre-flight preparation involves running the ROS system in the host computer (a general term for the mini-computers deployed on the drone). The motion capture information is processed by extended Kalman filtering and sent to the drone's upper-level controller. The upper-level controller calculates the pose information in the host computer and issues commands to the lower-level computer, which then controls the motors to adjust the attitude. The host computer and lower-level computer are similar to the brain and cerebellum. While a typical drone can fly stably with only the lower-level computer, it cannot receive motion capture information. Therefore, this invention uses the drone's brain—the host computer—to receive pose information from motion capture and issue flight commands to the lower-level computer. Furthermore, the host computer can work with advanced algorithms and sensors to help the drone become more intelligent, possessing the ability to think autonomously and complete tasks. It should be noted that the host computer is not limited to an onboard computer; real-time transmission of drone attitude information can also be achieved through a host computer or server. This method requires the drone to be equipped with a data transmission system. This invention can use software such as Simulink in the host computer to create a virtual host computer, and then communicate the acquired motion capture information with the drone via data transmission to achieve precise control.
[0047] The upper-level controller of the drone analyzes flight data more reliably through packet recording software; grant serial port permissions to the lower-level machine. Ubuntu is a system that highly values administrator privileges, and failure to grant this permission may cause connection failure between the upper-level and lower-level machines; start Mavros to establish communication between the upper-level and lower-level machines; perform overclocking because the initial frequency of the lower-level machine, i.e., the flight controller board, is very low, generally not exceeding 50Hz, which cannot meet the requirements for precise control. In other words, the host computer transmits information much faster than the slave computer. To keep up with the frequency of information transmission from the host computer, the slave computer must be overclocked to around 200Hz to avoid noticeable lag and stuttering in control performance. VRPN (a communication protocol) is activated to allow the host computer to acquire capture information from the motion capture device. EKF (Extended Kalman Filter) is used to fuse motion capture information with the UAV's own IMU (Inertial Measurement Unit) to prevent measurement errors from either side, resulting in more accurate controller precision. The path planner and odometer are activated; these are code deployed on the host computer, and running this code allows the aircraft to fly according to the settings of the path planner and odometer. Finally, the controller is activated, allowing the host computer to transmit all previous movement commands to the slave computer; the upper-level controller is activated; and the UAV flies according to the predetermined attitude.
[0048] Based on the flight data from the recording software, observe the fitting of the graph and adjust the various parameters appropriately (optimize the overall performance of the controller by adjusting the proportional, integral, and derivative control parameters). After adjustment, repeat online cyclical UAV test flights for verification. Perform multiple repeated trials to obtain the optimal parameters for the adjusted channels. Repeat the test flights and parameter adjustments until the optimal PID control parameters for each loop and each channel are found.
[0049] This invention discloses a method for adjusting the parameters of a UAV based on optical motion capture technology. By installing optical sensors and corresponding software, attitude control of the UAV can be achieved, including stable control and precise adjustment of flight attitude. High-precision positioning and navigation of the UAV can be achieved indoors without GPS by acquiring data from external sensors. Finally, precise analysis and measurement of the UAV's motion using motion capture equipment, including measurements of parameters such as velocity, acceleration, angular velocity, and angular acceleration, provides crucial data support for the UAV's parameter adjustment.
[0050] This invention enables a simple, safe, and efficient anti-interference test of the PID tuning effect of UAVs, facilitating PID tuning of UAVs, greatly reducing the dangers in the tuning process, effectively protecting UAVs, avoiding unnecessary losses, and greatly promoting the development and progress of the industry.
[0051] Furthermore, such as Figure 4 As shown, based on the above-described UAV parameter tuning method based on optical motion capture, the present invention also provides a UAV parameter tuning system based on optical motion capture, wherein the UAV parameter tuning system based on optical motion capture includes:
[0052] The UAV attitude information acquisition module 51 is used to acquire the attitude information of the UAV. The attitude information is acquired by the motion capture lenses corresponding to multiple motion capture devices during the flight of the UAV under a preset range of light intensity.
[0053] The UAV parameter adjustment module 52 is used to adjust the parameters of the designated channel of the UAV by setting different waypoints in the UAV path planner according to the pose information.
[0054] Furthermore, such as Figure 5 As shown, based on the above-mentioned UAV parameter tuning method and system based on optical motion capture, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 5 Only some of the terminal components are shown; however, it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0055] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory. In other embodiments, the memory 20 may be an external storage device of the terminal, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the terminal. Further, the memory 20 may include both internal and external storage units of the terminal. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code installed on the terminal. The memory 20 can also be used to temporarily store data that has been output or will be output. In one embodiment, the memory 20 stores a drone parameter tuning program 40 based on optical motion capture, which can be executed by the processor 10 to implement the drone parameter tuning method based on optical motion capture in this application.
[0056] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor, or other data processing chip, used to run program code stored in the memory 20 or process data, such as executing the UAV parameter tuning method based on optical motion capture.
[0057] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0058] In one embodiment, when the processor 10 executes the UAV parameter tuning program 40 based on optical motion capture in the memory 20, the following steps are performed:
[0059] The pose information of the drone is acquired by the motion capture lenses of multiple motion capture devices under a preset range of light intensity during the drone's flight.
[0060] Based on the pose information, different waypoints are set in the UAV path planner to adjust the parameters of the designated channel of the UAV.
[0061] The drone flies within a pre-defined motion capture area, which is enclosed by trusses and protective netting.
[0062] The motion capture equipment includes eight motion capture cameras mounted on the top of the truss.
[0063] The acquisition of the drone's pose information, wherein the pose information is obtained by motion capture cameras corresponding to multiple motion capture devices during the drone's flight under light intensity within a preset range, specifically includes:
[0064] The motion capture device is calibrated to enable the information from each motion capture camera to be coordinated;
[0065] Place the L-shaped rod in the center of the motion capture area, run the motion capture equipment, observe the number and position of the reflective points of each motion capture lens, remove the reflective points under each motion capture lens except for the reflective ball on the L-shaped rod, and then remove the L-shaped rod from the field to a place where the motion capture lens cannot capture.
[0066] The T-shaped pole is continuously waved along any possible flight path of the drone for a preset time to ensure that the reflective ball information can be collected along each path without any missing points. The calibration is then completed, and the T-shaped pole is removed from the field.
[0067] The drone to be adjusted is placed in the center of the motion capture area. After stably attaching multiple reflective spheres, the frame is frozen. In the motion capture software, a rigid body is created based on the multiple reflective points. The rigid body is then given a custom name and the frame is unfrozen to ensure that the host plays the motion capture footage in real time and obtains the drone's pose information.
[0068] The method for adjusting the parameters of a UAV based on optical motion capture also includes:
[0069] The motion capture software is further developed using the SDK, and the pose information of the constructed rigid body is transmitted to other computer hosts in the same IP network segment via broadcast data.
[0070] The UAV host computer establishes a communication connection with the host computer where the motion capture software is located via VRPN.
[0071] The method for adjusting the parameters of a UAV based on optical motion capture also includes:
[0072] The ROS system in the host computer of the drone runs, performs extended Kalman filtering on the information obtained by the motion capture device, and sends it to the upper-level controller of the drone. The upper-level controller of the drone calculates the pose information in the host computer and issues instructions to the lower-level drone, which controls the motors to adjust the attitude.
[0073] The pose information includes position information and attitude information.
[0074] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a drone parameter tuning program based on optical motion capture, and the drone parameter tuning program based on optical motion capture, when executed by a processor, implements the steps of the drone parameter tuning method based on optical motion capture as described above.
[0075] In summary, this invention provides a method and related equipment for adjusting the parameters of a UAV based on optical motion capture. The method includes: acquiring the pose information of the UAV, which is collected by motion capture lenses of multiple motion capture devices during the flight of the UAV under light intensity within a preset range; and setting different waypoints in the UAV path planner based on the pose information to adjust the parameters of the designated channel of the UAV. This invention utilizes motion capture equipment to accurately analyze and measure the motion of the UAV, and uses the obtained UAV data to adjust the UAV parameters, thereby achieving stable control and precise adjustment of the flight attitude.
[0076] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal that includes that element.
[0077] Of course, those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.). The program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The computer-readable storage medium can be a memory, magnetic disk, optical disk, etc.
[0078] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A method for parameter tuning of a UAV based on optical motion capture, characterized in that, The UAV parameter tuning method based on optical motion capture includes: The pose information of the drone is acquired by the motion capture lenses of multiple motion capture devices under a preset range of light intensity during the drone's flight. Based on the pose information, different waypoints are set in the UAV path planner to adjust the parameters of the designated channel of the UAV. The acquisition of the drone's pose information, which is obtained by motion capture cameras of multiple motion capture devices during the drone's flight under a preset range of light intensity, specifically includes: The motion capture device is calibrated to enable the information from each motion capture camera to be coordinated; Place the L-shaped rod in the center of the motion capture area, run the motion capture equipment, observe the number and position of the reflective points of each motion capture lens, remove the reflective points under each motion capture lens except for the reflective ball on the L-shaped rod, and then remove the L-shaped rod from the field to a place where the motion capture lens cannot capture. The T-shaped pole is continuously waved along any possible flight path of the drone for a preset time to ensure that the reflective ball information can be collected along each path without any missing points. The calibration is then completed, and the T-shaped pole is removed from the field. Place the drone to be adjusted in the center of the motion capture area, stably attach multiple reflective spheres, and freeze the frame. Create a rigid body in the motion capture software based on the multiple reflective points. After customizing the rigid body, unfreeze the frame to ensure that the host plays the motion capture footage in real time and obtains the drone's pose information. The motion capture software is further developed using the SDK, and the pose information of the constructed rigid body is transmitted to other computer hosts in the same IP network segment via broadcast data. Among them, the host computer of the drone establishes a communication connection with the host computer where the motion capture software is located through VRPN; The ROS system in the host computer of the drone runs, performs extended Kalman filtering on the information obtained by the motion capture device, and sends it to the upper-level controller of the drone. The upper-level controller of the drone calculates the pose information in the host computer and issues instructions to the lower-level drone, which controls the motors to adjust the attitude.
2. The UAV parameter tuning method based on optical motion capture according to claim 1, characterized in that, The drone flies in a pre-set motion capture area, which is enclosed by trusses and protective netting.
3. The UAV parameter tuning method based on optical motion capture according to claim 2, characterized in that, The motion capture equipment includes eight motion capture cameras mounted on top of the truss.
4. The UAV parameter tuning method based on optical motion capture according to claim 1, characterized in that, The pose information includes position information and attitude information.
5. A parameter tuning system for unmanned aerial vehicles (UAVs) based on optical motion capture, characterized in that, The optical motion capture-based UAV parameter tuning system is used to implement the optical motion capture-based UAV parameter tuning method according to any one of claims 1-4, wherein the optical motion capture-based UAV parameter tuning system comprises: The UAV attitude information acquisition module is used to acquire the attitude information of the UAV. The attitude information is acquired by the motion capture lenses of multiple motion capture devices under a preset range of light intensity during the flight of the UAV. The UAV parameter adjustment module is used to set different waypoints in the UAV path planner based on the pose information, and adjust the parameters of the UAV on the designated channel.
6. A terminal, characterized in that, The terminal includes: a memory, a processor, and a drone parameter tuning program based on optical motion capture stored in the memory and executable on the processor. When the drone parameter tuning program based on optical motion capture is executed by the processor, it implements the steps of the drone parameter tuning method based on optical motion capture as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a drone parameter tuning program based on optical motion capture, which, when executed by a processor, implements the steps of the drone parameter tuning method based on optical motion capture as described in any one of claims 1-4.
Citation Information
Patent Citations
Antenna beam measurement system and method based on lift-off platform
CN111025032A
Augmented Reality Coordination Of Human-Robot Interaction
US20210094180A1
