[go: up one dir, main page]

WO2021189215A1 - Control method and apparatus for movable platform, movable platform, and storage medium - Google Patents

Control method and apparatus for movable platform, movable platform, and storage medium Download PDF

Info

Publication number
WO2021189215A1
WO2021189215A1 PCT/CN2020/080750 CN2020080750W WO2021189215A1 WO 2021189215 A1 WO2021189215 A1 WO 2021189215A1 CN 2020080750 W CN2020080750 W CN 2020080750W WO 2021189215 A1 WO2021189215 A1 WO 2021189215A1
Authority
WO
WIPO (PCT)
Prior art keywords
movable platform
control amount
pan
tilt
control
Prior art date
Application number
PCT/CN2020/080750
Other languages
French (fr)
Chinese (zh)
Inventor
颜江
张立天
刘昂
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/080750 priority Critical patent/WO2021189215A1/en
Priority to CN202510338639.9A priority patent/CN120122695A/en
Priority to CN202080029321.8A priority patent/CN113692560B/en
Publication of WO2021189215A1 publication Critical patent/WO2021189215A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw

Definitions

  • the embodiments of the present application relate to the field of movable platforms, and in particular, to a control method, device, movable platform, and storage medium of a movable platform.
  • a user can control a movable platform such as a drone through a control device.
  • the user needs to continuously and stably control the joystick, dial or button on the control device, which will cause user fatigue, or for novice users, it is difficult to continuously and stably control the joystick, dial or button.
  • the prior art adds a cruise control function to the drone. For example, when the drone enters the cruise control state, the drone can fly at a fixed speed.
  • the embodiment of the application provides a control method, device, movable platform, and storage medium of a movable platform to achieve locking control of higher-order motion parameters of the movable platform, so that the control effect that the movable platform can achieve diversification.
  • the user needs to achieve a smooth mirror movement effect, by locking the pan-tilt control, the user does not need to continuously and accurately operate the operating elements on the control device, thereby improving the user experience.
  • the first aspect of the embodiments of the present application is to provide a method for controlling a movable platform, the movable platform is provided with a pan-tilt, and the method includes:
  • the movable platform When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt;
  • the movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform
  • the pan/tilt head is controlled to move in the predetermined mode according to the control amount of the pan/tilt.
  • the second aspect of the embodiments of the present application is to provide a control device for a movable platform, including: a memory and a processor;
  • the memory is used to store program code
  • the processor calls the program code, and when the program code is executed, is used to perform the following operations:
  • the movable platform When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt;
  • the movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the control amount of the pan/tilt.
  • the third aspect of the embodiments of the present application is to provide a movable platform, including:
  • the power system is installed on the fuselage to provide mobile power
  • the fourth aspect of the embodiments of the present application is to provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect.
  • the control method, device, movable platform, and storage medium of the movable platform obtained the control amount of the movable platform and the control amount of the pan/tilt when the movable platform enters a predetermined mode, and according to the movable platform
  • the control amount controls the movable platform to move in the predetermined mode, and controls the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt, that is, in the predetermined mode, not only can
  • the speed of the mobile platform can be locked, and the higher-order motion parameters of the movable platform can be locked and controlled.
  • the acceleration of the movable platform and the pan/tilt set on the movable platform can be locked and controlled to make it movable
  • the control effects that the platform can achieve are diversified. When the user needs to achieve a smooth mirror movement effect, there is no need to continuously and accurately operate the operating elements on the control device, thereby improving the user experience.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application
  • FIG. 2 is a flowchart of a method for controlling a movable platform provided by an embodiment of the application
  • FIG. 3 is a schematic diagram of the correspondence between the way the user uses the left stick and the right stick and the movement of the drone according to an embodiment of the application;
  • FIG. 4 is a flowchart of a method for controlling a movable platform provided by another embodiment of the application.
  • FIG. 5 is a flowchart of a method for controlling a movable platform according to another embodiment of the application.
  • FIG. 6 is a flowchart of a method for controlling a movable platform according to another embodiment of the application.
  • FIG. 7 is a schematic diagram of a predicted trajectory provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of a target trajectory provided by an embodiment of this application.
  • Fig. 9 is a structural diagram of a control device for a movable platform provided by an embodiment of the application.
  • control device 91: memory; 92: processor;
  • a component when referred to as being "fixed to” another component, it can be directly on the other component or a centered component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to the other component or there may be a centered component at the same time.
  • the embodiment of the present application provides a method for controlling a movable platform.
  • the movable platform is provided with a pan-tilt.
  • the movable platform may specifically be a movable device such as a drone or a movable robot.
  • the following is a schematic description using a drone as an example.
  • the drone 10 is equipped with a photographing device 101.
  • the photographing device 101 is mounted on the fuselage of the drone 10 through a supporting device 102.
  • the supporting device 102 may specifically be a pan/tilt, and the photographing device 101. Used to capture images or record videos during the movement of the drone.
  • the user can control the flight of the drone through the control device 11 on the ground.
  • the control method of the movable platform may be executed on the movable platform, or may be executed on the control device of the movable platform. The following takes the execution on the movable platform as an example for description.
  • Fig. 2 is a flowchart of a method for controlling a movable platform provided by an embodiment of the application. As shown in Figure 2, the method in this embodiment may include:
  • the movable platform When the movable platform enters a predetermined mode, acquire a control amount of the movable platform and a control amount of the pan/tilt, where the control amount of the movable platform and the control amount of the pan/tilt are the control equipment of the user through the movable platform Input, the movable platform control variable is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control variable is used to lock the speed and/or acceleration of the pan/tilt.
  • control amount of the movable platform and the control amount of the pan/tilt are input by the user through the control device of the movable platform, and the foregoing input methods include but are not limited to the following two forms:
  • the control amount of the movable platform and the control amount of the pan/tilt head are input through the operating elements (for example, joystick, dial) of the control device of the movable platform.
  • the drone can lock the speed (for example, linear speed) of the drone in the constant speed cruise mode, so that the drone can fly straight at a fixed speed (for example, linear speed).
  • the higher-order motion parameters can not only include The motion parameters of the man-machine, for example, the acceleration of the drone.
  • the higher-order motion parameters may also include the motion parameters of the pan/tilt, for example, the speed and/or acceleration of the pan/tilt.
  • the speed of the movable platform includes at least one of the following: a linear speed of the movable platform and an angular speed of the movable platform.
  • the speed of the drone includes at least one of the linear speed and the angular speed of the drone. That is, in the predetermined mode, at least one of the linear velocity and the angular velocity of the drone can be locked.
  • the acceleration of the movable platform includes at least one of the following: linear acceleration of the movable platform, and angular acceleration of the movable platform.
  • the acceleration of the drone includes at least one of the linear acceleration and the angular acceleration of the drone. That is to say, in the predetermined mode, when the higher-order motion parameters of the drone are locked and controlled, at least one of the linear acceleration and the angular acceleration of the drone can be locked.
  • the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt.
  • the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt.
  • the speed and/or acceleration of the gimbal can be locked and controlled.
  • the speed of the gimbal includes the attitude angular velocity of the gimbal.
  • the acceleration of the gimbal includes the angular acceleration of the gimbal's attitude.
  • the control device 11 shown in FIG. 1 may be a remote controller (for example, a remote controller with a screen), a mobile phone, a tablet computer, a notebook computer, and other devices that communicate with a drone.
  • the remote controller is used as Examples are illustrated schematically.
  • the remote controller may be provided with operating elements for the user to operate, for example, a joystick, a dial, or a button.
  • the joystick can be used to control the drone
  • the dial can be used to control the pan/tilt.
  • the remote controller can generate the drone control amount according to the user's operation of the joystick, and generate the PTZ control amount according to the user's operation of the trackwheel.
  • the drone can obtain the drone control amount and the PTZ control amount from the remote control.
  • the remote controller sends the drone control amount and the pan/tilt control amount to the drone 10.
  • the UAV control quantity can be used to control the speed and/or acceleration of the UAV
  • the PTZ control quantity can be used to control the speed and/or acceleration of the PTZ.
  • the operating elements provided on the remote control for the user to operate are not limited to joysticks, dial wheels or buttons, for example, they may also be icons or virtual buttons displayed on the screen of the remote control.
  • the supporting device 102 can be equipped with not only a camera, but also a distance sensor (for example, a lidar), a searchlight, and other equipment.
  • S202 Control the movable platform to move in the predetermined mode according to the control amount of the movable platform, and control the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt.
  • the UAV 10 is provided with a communication module 103 and a flight controller 104.
  • the flight controller 104 receives the UAV control quantity and the PTZ control quantity from the remote controller through the communication module 103, it will The man-machine control quantity generates an unmanned aerial vehicle control instruction for controlling the unmanned aerial vehicle, and the pan/tilt control instruction for controlling the gimbal is generated according to the pan/tilt control quantity.
  • the flight controller 104 controls the speed and/or acceleration of the drone flying in the predetermined mode according to the drone control instruction, and controls the speed and/or acceleration of the pan/tilt in the predetermined mode according to the pan/tilt control instruction.
  • the remote controller can also generate a drone control instruction for controlling the drone according to the drone control amount, and generate a pan/tilt control instruction for controlling the pan/tilt based on the drone control amount. Further, the remote controller sends the drone control command and the pan/tilt control command to the drone 10, so that the flight controller 104 can control the speed and/or speed of the drone flying in the predetermined mode according to the drone control command. Acceleration: Control the speed and/or acceleration of the pan/tilt in the predetermined mode according to the pan/tilt control command.
  • the remote controller is provided with a left joystick and a right joystick, and the corresponding relationship between the way the user uses the left joystick and the right joystick and the movement mode of the drone can be as shown in FIG. 3.
  • the drone rises.
  • the drone descends.
  • the drone rotates to the left.
  • the drone rotates to the right.
  • the user pushes the right joystick up the drone flies forward.
  • the user pushes the right joystick down the drone flies backward.
  • the user pushes the right stick to the left, the drone pans to the left.
  • the user pushes the right stick to the right the drone pans to the right.
  • the UAV can move at a uniform acceleration and deceleration
  • the PTZ of the UAV can move at a uniform speed, move at a uniform acceleration, and move at a uniform deceleration.
  • the motion parameters that are locked at the same time can have multiple combinations. For example, the linear acceleration of the UAV and the attitude angular velocity of the gimbal can be locked at the same time, and the linear velocity of the UAV and the attitude angular acceleration of the gimbal can be locked at the same time.
  • the user pushes the right joystick up, and the remote controller generates a first control amount for controlling the drone to fly forward according to the user's operation of pushing the right joystick up, and locks the first control amount.
  • the amount can control the linear speed of the drone flying forward.
  • the user pushes the left joystick to the right, and the remote controller generates a second control amount for controlling the drone to rotate to the right according to the operation of the user pushing the left joystick to the right, and locks the second control amount. It can control the angular velocity of the drone turning to the right.
  • the drone controls the drone to rotate to the right on the basis of forward flight, so that the flight trajectory of the drone is an arc.
  • the control amount of the movable platform and the control amount of the pan/tilt are acquired, and the movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and according to The control amount of the pan/tilt controls the movement of the pan/tilt in the predetermined mode, that is, in the predetermined mode, not only the speed of the movable platform can be locked, but also the higher order of the movable platform can be locked.
  • the motion parameters are locked and controlled, for example, the acceleration of the movable platform and the pan/tilt set on the movable platform can be locked and controlled, so that the control effect that the movable platform can achieve is diversified.
  • FIG. 4 is a flowchart of a method for controlling a movable platform according to another embodiment of the application. As shown in Figure 4, on the basis of the foregoing embodiment, the method in this embodiment may further include:
  • control device may generate a predetermined instruction according to the first operation, and the predetermined instruction may be used to control the drone to enter a predetermined mode.
  • the first operation includes an operation on a predetermined key of the control device.
  • the control device is a remote control.
  • the remote control can be a remote control with a screen.
  • a user interaction interface is displayed on the screen of the remote control with a screen. Pilot Assistant System (APAS) function.
  • APAS Pilot Assistant System
  • the user controls the drone to enter the free mode in the smart eye mode through the user interaction interface, and the smart eye mode may specifically be a unified entrance of the free mode, the follow mode, and the surround mode.
  • APAS Pilot Assistant System
  • the user can operate a predetermined button on the remote control, and this operation is recorded as the first operation.
  • the predetermined button can control the drone to enter a predetermined mode.
  • the predetermined key may be a physical key or a virtual key displayed on the screen of the remote control.
  • the predetermined key includes a C1 key and a C2 key.
  • the C1 key can be used to lock the drone control volume, and the C2 key can be used to lock the PTZ control volume.
  • the C1 key can be used to lock the speed of the drone and/or gimbal, and the C2 key can be used to lock the acceleration of the drone and/or gimbal.
  • the flight controller 104 After the flight controller 104 receives the predetermined instruction, it controls the drone to enter a predetermined mode according to the predetermined instruction.
  • the method before the acquisition of the predetermined instruction, the method further includes: when the second operation of the control device by the user satisfies a preset condition, generating first prompt information, where the first prompt information is used to prompt the The user performs the first operation on the control device.
  • the user before the user performs the first operation on the remote control, the user can also perform a second operation on the remote control.
  • the remote control can generate the first prompt message.
  • a prompt message is used to prompt the user to perform the above-mentioned first operation on the remote controller, so as to control the drone to enter a predetermined mode.
  • the second operation includes an operation on a first component or a second component of the control device, the first component is used to control the movable platform, and the second component is used to control the Yuntai.
  • the second operation meeting a preset condition includes: the operation time of the second operation is greater than or equal to a first preset time.
  • the first component includes a rocker, and the second component includes a pan/tilt dial.
  • the user can operate the joystick or pan/tilt dial on the remote control.
  • the user controls the drone by operating the joystick, and operates the pan/tilt. Use the dial to control the pan/tilt.
  • the remote control detects that the user's continuous operation of the joystick or pan/tilt wheel is greater than or equal to the first preset time, for example, 2 seconds, the remote control can generate the first prompt message, and the specific prompt method can be omitted.
  • the remote control can display the first prompt information on its screen.
  • the first prompt message may prompt the user to click a predetermined button to control the drone to enter a predetermined mode.
  • the remote controller or the drone can lock the drone control amount and/or the pan/tilt control amount according to the operation.
  • the user controls the movable platform to enter the predetermined mode through the operation of the predetermined button of the control device, which improves the convenience for the user to control the movable platform to enter the predetermined mode.
  • the first prompt message generated by the control device can prompt the user to operate the predetermined button to control the movable
  • the platform enters a predetermined mode, so that the user does not need to continuously and accurately operate the operating elements on the control device, which further improves the user experience.
  • the user can also control the movable platform to enter a predetermined mode in other ways, for example, control the movable platform to enter the predetermined mode through a virtual button on the user interaction interface, and input that the movable platform is in the predetermined mode through the user interaction interface.
  • the movable platform control amount and the PTZ control amount are examples of the movable platform control amount and the PTZ control amount.
  • acquiring the control amount of the movable platform and the control amount of the pan/tilt includes: when the movable platform enters the predetermined mode, acquiring that the movable platform enters the predetermined mode The control amount of the movable platform and the control amount of the pan/tilt at the time of the mode.
  • the drone control amount locked by the remote control is the control amount of the drone at the moment of the operation.
  • the PTZ control amount locked by the remote controller is the PTZ control amount at the moment of the operation.
  • acquiring the control amount of the movable platform and the control amount of the pan/tilt includes: when the movable platform enters the predetermined mode, acquiring that the movable platform enters the predetermined mode The control amount of the movable platform and the control amount of the pan/tilt head within the second preset time before the mode.
  • the locked drone control amount and pan/tilt control amount when the drone enters the predetermined mode can be the drone control amount within the second preset time before the drone enters the predetermined mode, for example, within 5 seconds And PTZ control volume.
  • the drone control quantity is used to control the uniform acceleration of the drone.
  • the linear velocity of the drone is 1m/s and 2m in turn /s, 3m/s.
  • the pan/tilt control amount controls the pan/tilt to raise its head at a constant speed from the top view state to the front view state.
  • the drone When the drone enters the predetermined mode, lock the drone control amount and the gimbal control amount within the 5 seconds, so that after the drone enters the predetermined mode, the drone and the gimbal can repeat the 5 seconds sports. That is to say, when the drone enters the predetermined mode, the drone control amount and the PTZ control amount within 5 seconds can be played back, so that the user does not need to continuously and accurately operate the operating elements on the control device. Further improve the user experience.
  • acquiring the control amount of the movable platform and the control amount of the pan/tilt includes the following steps as shown in FIG. 5:
  • the first control amount for controlling the drone and the second control amount for controlling the pan/tilt are locked.
  • the user may re-operate the joystick and/or the pan/tilt dial to make the drone control amount and/or the pan/tilt control amount Changes.
  • a third control quantity for controlling the drone and a fourth control quantity for controlling the pan/tilt are acquired.
  • the third control quantity may be a change in the control quantity of the drone.
  • the fourth control amount may be a change amount of the pan/tilt control amount.
  • the acquiring the third control quantity for controlling the movable platform and the fourth control quantity for controlling the pan-tilt includes: acquiring according to a third operation of the user on the first component A third control value for controlling the movable platform; and a fourth control value for controlling the pan/tilt head according to the fourth operation of the user on the second component.
  • the operation of the joystick by the user is recorded as the third operation, and the control amount generated by the remote controller according to the third operation is recorded as the third control amount.
  • the user's operation on the pan/tilt dial is recorded as the fourth operation, and the control amount generated by the remote controller according to the fourth operation is recorded as the fourth control amount.
  • S503 Determine the control amount of the movable platform according to the first control amount and the third control amount.
  • the third control value is superimposed on the first control value to obtain the drone control value.
  • the fourth control amount is superimposed on the second control amount to obtain the pan/tilt control amount.
  • the drone can enter the predetermined mode
  • the control amount of the drone locked at the time is superimposed on the control amount generated by the user's operation of the joystick, and/or the control amount of the pan/tilt locked when the drone enters a predetermined mode is superimposed on the user's control of the pan/tilt wheel
  • the amount of control generated by the operation is superimposed on the user's control of the pan/tilt wheel
  • the user can also change the original control intention, which increases the flexibility of the drone control.
  • the method further includes: generating second prompt information, the second prompt information being used to prompt the user whether to relock the control amount of the movable platform and the control amount of the pan/tilt;
  • the control amount of the mobile platform controls the movable platform to move in the predetermined mode
  • the control of the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt includes: controlling the movable platform according to the locked The amount controls the movable platform to move in the predetermined mode, and controls the pan/tilt to move in the predetermined mode according to the locked pan/tilt control amount.
  • the remote control can also generate a second prompt message, which is used to prompt the user whether to relock the changed drone control amount and / Or PTZ control amount. If the user determines to lock the changed drone control amount and/or PTZ control amount, the drone can control the drone to fly in a predetermined mode according to the changed drone control amount, and according to the changed cloud The platform control quantity controls the pan/tilt to move in the predetermined mode.
  • a second prompt message is generated to prompt the user whether to re-lock the changed drone control amount and/or the pan/tilt control amount, so that the user changes
  • the control intention can still be smoothly locked, which improves the flexibility of the locked UAV control amount and/or PTZ control amount.
  • the drone when the user clicks a predetermined button again, such as the C1 button or the C2 button, the drone can be controlled to exit the predetermined mode.
  • FIG. 6 is a flowchart of a method for controlling a movable platform according to another embodiment of the application.
  • the controlling the movable platform to move in the predetermined mode according to the control amount of the movable platform may include:
  • the drone after the drone receives the drone control amount sent by the remote control, it will generate an initial instruction sequence based on the drone control amount, and predict the drone's trajectory according to the initial instruction sequence to obtain the predicted trajectory. , Determine the predicted trajectory information according to the predicted trajectory.
  • the determining the predicted trajectory information of the movable platform according to the control amount of the movable platform includes: generating an initial instruction sequence according to the control amount of the movable platform; The predicted trajectory of the movable platform; determining the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory as the predicted trajectory information.
  • the drone when the drone receives the drone control quantity generated by the remote controller, it obtains an instruction sequence according to the drone control quantity, and uses the instruction sequence as the initial instruction sequence.
  • the initial instruction sequence includes: an initial speed instruction sequence and an initial acceleration instruction sequence.
  • the initial instruction sequence may include: an initial linear velocity instruction sequence and an initial linear acceleration instruction sequence.
  • the UAV control quantity can be mapped to a linear speed command, and the current linear speed command can be filtered according to the linear speed command filtered at the previous time, and the initial linear speed command sequence can be obtained according to the uniform acceleration model , And according to the air resistance model, find the linear acceleration corresponding to the linear velocity in the initial linear velocity command sequence to obtain the initial linear acceleration command sequence.
  • the UAV control quantity can also be mapped to linear acceleration commands, and the linear velocity corresponding to the linear acceleration in the initial linear acceleration command sequence can be searched to obtain the initial linear velocity command sequence; alternatively, no The man-machine control variables are simultaneously mapped into the linear velocity command sequence and the linear acceleration command sequence.
  • the initial instruction sequence includes: an initial position instruction sequence and an initial attitude instruction sequence.
  • the initial position command sequence includes the initial linear velocity command sequence and the initial linear acceleration command sequence as described above.
  • the initial attitude command sequence may include: an initial heading and angular velocity command sequence.
  • the predicted trajectory of the drone is determined according to the initial instruction sequence, and further, the position and/or speed of the drone corresponding to at least one trajectory point of the predicted trajectory is determined as the predicted trajectory information.
  • the position of the drone corresponding to the trajectory point can be understood as the position of the drone when the drone is located at the trajectory point, that is, the position of the trajectory point, and the speed of the drone corresponding to the trajectory point can be understood as The speed of the drone when the drone is at the track point.
  • the determining the predicted trajectory of the movable platform according to the initial instruction sequence includes: obtaining a kinematics model of the movable platform, and the kinematics model includes a uniform acceleration model, a uniform velocity model, or a nonlinear At least one of the models; performing trajectory prediction according to the kinematic model and the initial instruction sequence to obtain the predicted trajectory.
  • the kinematics model of the UAV is first obtained.
  • the kinematics model includes uniform acceleration model, uniform velocity model or non-uniform acceleration model. At least one of the linear models. Then use the kinematics model to predict the trajectory of the initial instruction sequence to obtain the predicted trajectory, and the predicted trajectory points in the predicted trajectory are characterized by the predicted position parameters.
  • the predicted position parameters include: predicted position; or, predicted position and predicted linear velocity.
  • the following takes a uniform acceleration model as an example for description, but this embodiment is not limited to this, and any other type of kinematic model may also be used, such as, but not limited to: a uniform velocity model, a nonlinear model, etc.
  • the uniform acceleration model is as follows:
  • ⁇ t represents the time interval between adjacent moments
  • p k represents the position at time k
  • v k represents the linear velocity at time k
  • a k represents the linear acceleration at time k
  • v k+1 represents the linear velocity at time k+1
  • a k+1 represents the linear acceleration at time k+1.
  • the predicted position parameter of the predicted trajectory point of the trajectory Specifically, the position p 0 , linear velocity v 0 and linear acceleration a 0 of the UAV at the current moment can be obtained through the sensors of the UAV.
  • the position parameter includes two parameters: predicted position and predicted linear velocity.
  • the UAV control quantity is the UAV control quantity corresponding to the curve trajectory
  • the process of determining the predicted trajectory first obtain the kinematics model of the UAV, and then use the kinematics model to predict the trajectory of the initial instruction sequence.
  • the predicted trajectory is obtained, and the predicted trajectory points in the predicted trajectory are characterized by predicted position parameters and predicted attitude parameters.
  • the predicted attitude parameters include: predicted heading angle and predicted heading angular velocity.
  • the predicted trajectory can also be a linear trajectory.
  • the determining the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory is the predicted trajectory information, including: determining the movable platform corresponding to the end trajectory point of the predicted trajectory
  • the position and/or velocity of is the predicted trajectory information.
  • 30 represents the predicted trajectory of a straight line
  • P 1 , P 2 ,..., P n represent the n predicted trajectory points of the predicted trajectory
  • P n represents the end trajectory point of the predicted trajectory 30.
  • the position and/or linear velocity of the drone corresponding to the end trajectory point P n is used as the predicted trajectory information.
  • S602 Establish an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located.
  • the drone can also query the obstacle information in the environment where the drone is located from the Euclidean Signed Distance Fields (ESDF) map, for example, the position and distance of the obstacle relative to the drone. Further, the objective function is established at least partly based on the predicted trajectory information and the obstacle information in the environment where the drone is located.
  • ESDF Euclidean Signed Distance Fields
  • the objective function is established to optimize the objective function, that is, to minimize the objective function, and in the process of minimizing the objective function to determine the target trajectory that the UAV can avoid obstacles.
  • minimizing the objective function can make the end trajectory point of the target trajectory converge to the end trajectory point of the predicted trajectory.
  • minimizing the objective function can make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the predicted trajectory.
  • the end trajectory point corresponding to the linear velocity of the UAV, and/or minimizing the objective function can make the position of the UAV corresponding to the end trajectory point of the target trajectory converge to the position of the UAV corresponding to the end trajectory point of the predicted trajectory . Therefore, the objective function is at least related to the predicted trajectory information.
  • the target trajectory enables the UAV to bypass obstacles, that is, the distance between the target trajectory point on the target trajectory and the obstacle must meet certain conditions. Therefore, the objective function is at least the same as the environment in which the UAV is located.
  • the obstacle information is relevant.
  • the objective function can not only be related to the predicted trajectory information and obstacle information in the environment where the drone is located, but also related to other information. Therefore, it can be based at least in part on the predicted trajectory information and the environment where the drone is located.
  • the obstacle information in establishes the objective function.
  • S604 Control the movable platform to move according to the target track.
  • the objective function is minimized to determine the target trajectory of the UAV to avoid obstacles. Further, control the drone to fly according to the target trajectory.
  • multiple predicted trajectory points can be sampled from the predicted trajectory 30, and the motion parameters of the drone corresponding to the multiple predicted trajectory points after sampling are used as initial values to minimize the target function.
  • the method further includes: sampling the predicted trajectory at intervals to obtain predicted trajectory points after the interval sampling.
  • the predicted trajectory 30 includes a plurality of predicted trajectory points, for example, P 1 represents the first predicted trajectory point, and P n represents the nth predicted trajectory point, that is, the end trajectory point.
  • the n predicted trajectory points included in the predicted trajectory 30 can be sampled at intervals.
  • one predicted trajectory point is sampled every other predicted trajectory point, and finally 8 sampled predicted trajectory points are obtained.
  • the predicted trajectory points after 8 samples are recorded as It is understandable that the embodiment of the present application does not limit the sampling interval.
  • one predicted trajectory point may also be sampled every 5 predicted trajectory points, that is, the sampling interval may be fixed.
  • the sampling interval may also be variable, for example, with There is 1 predicted trajectory point in between, with There are 2 predicted trajectory points in between.
  • the embodiment of the present application does not limit the number of predicted trajectory points after sampling, and the predicted trajectory points after 8 sampling are only a schematic illustration.
  • the embodiments of the present application take a fixed sampling interval as an example for schematic illustration.
  • the number of predicted trajectory points after sampling is greater than 8, then It may be the end trajectory point of the predicted trajectory 30. or It can be any one of the five predicted trajectory points at the end of the predicted trajectory 30.
  • one predicted trajectory point is selected from the five predicted trajectory points in the dashed box 31 shown in FIG. This is only a schematic illustration, and the predicted trajectory points in the dashed box 31 are not limited to five. It can be freely selected from the predicted trajectory points after sampling.
  • the linear velocity of the UAV corresponding to the end trajectory point P n of the predicted trajectory 30 is used to continue to extend the predicted trajectory 30 forward until it can Obtain 8 sampled predicted trajectory points.
  • the motion parameters of the corresponding UAV are initial values to minimize the objective function.
  • the objective function can be denoted as f(X), where X represents a decision variable.
  • the minimizing the objective function to determine a target trajectory for the movable platform to bypass the obstacle includes: minimizing the objective function to determine the movable corresponding to a plurality of target trajectory points The motion parameters of the platform, and the motion parameters of the movable platform corresponding to the multiple target track points minimize the function value of the target function.
  • the objective of minimizing the objective function f(X) is to find the motion parameters of the drone corresponding to multiple target trajectory points, and the motion parameters of the drone corresponding to the multiple target trajectory points make the objective function
  • the function value of f(X) is the smallest.
  • the motion parameter includes at least one of position, velocity, and acceleration.
  • X may be a vector formed by the motion parameters of the drone corresponding to the eight candidate trajectory points on the candidate trajectory.
  • the 8 candidate trajectory points that can minimize the function value of f(X) are the final 8 target trajectory points.
  • the 8 candidate trajectory points can be continuously adjusted until the function value of f(X) is the smallest.
  • the minimizing the objective function includes: minimizing the objective function by using the motion parameter of the predicted trajectory point after sampling as an initial value.
  • the initial value X0 of X can be the vector composed of the motion parameters of the drone corresponding to the 8 sampled predicted trajectory points as described above.
  • the motion parameters include three parameters: position, linear velocity and linear acceleration
  • X is a 24-dimensional vector.
  • the motion parameters of the drone corresponding to at least one of the 8 sampled predicted trajectory points are adjusted to obtain the motion parameters of the drone corresponding to the 8 candidate trajectory points, respectively.
  • the motion parameters of the UAV corresponding to the eight candidate trajectory points can constitute the first updated value X1 of X, and the updated value X1 can be substituted into the objective function to obtain the function value f2.
  • the motion parameters of the drone corresponding to at least one of the 8 candidate trajectory points are adjusted to obtain the motion parameters of the drone corresponding to the updated 8 candidate trajectory points, so that Obtain the second updated value X2 of X, and substitute the updated value X2 into the objective function to obtain the function value f3, and so on, step by step iteration can make the function value of the objective function gradually converge, and determine the minimum function value of the objective function,
  • the 8 candidate trajectory points that can minimize the function value of f(X) are the 8 target trajectory points sought. According to the 8 target trajectory points, the target trajectory of the UAV to bypass the obstacle can be determined.
  • the flight controller in the drone controls the drone to fly and avoid obstacles according to the target trajectory.
  • the 8 candidate trajectory points after each adjustment can constitute one candidate trajectory, and therefore, in the process of continuously adjusting the 8 candidate trajectory points, multiple candidate trajectories can be obtained. Therefore, the target trajectory is a candidate trajectory that can minimize the function value of f(X) among multiple candidate trajectories.
  • the execution subject of S201-S204 can also be the remote controller corresponding to the drone.
  • the remote controller determines the target trajectory to bypass the obstacle
  • the target trajectory is sent to the drone, so that The flight controller in the drone controls the drone to fly and avoid obstacles according to the target trajectory.
  • the predicted trajectory information of the movable platform is determined by the control amount of the movable platform, and the objective function is established at least partially based on the predicted trajectory information and obstacle information in the environment where the movable platform is located, and the objective function is minimized by minimizing the objective function.
  • the method based on motion primitives can only choose a detour trajectory that bypasses obstacles from a limited number of candidate trajectories.
  • the movable platform When the movable platform is in an environment with dense obstacles, the movable platform can be improved to plan the detour trajectory
  • the detour trajectory selected from an infinite number of alternative trajectories can better avoid obstacles, thereby avoiding frequent braking of the movable platform in the process of avoiding obstacles, improving user experience .
  • the embodiment of the present application provides a method for controlling a movable platform.
  • the objective function is used to optimize: the speed difference and/or position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory; and the target trajectory The distance between each target track point in the target and the target obstacle.
  • the minimized objective function f(X) can be expressed as the following formula (3):
  • f ep (X) represents the end point cost function, which is used to make the end trajectory point of the target trajectory converge to the end trajectory point of the predicted trajectory, for example, make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the prediction
  • the linear velocity of the UAV corresponding to the end trajectory point of the trajectory, and/or the position of the UAV corresponding to the end trajectory point of the target trajectory converges to the position of the UAV corresponding to the end trajectory point of the predicted trajectory.
  • f ep (X) can optimize the line speed of the UAV corresponding to the end trajectory point of the target trajectory and the line of the UAV corresponding to the end trajectory point of the predicted trajectory.
  • the difference between the speeds, and/or f ep (X) can optimize the difference between the position of the drone corresponding to the end trajectory point of the target trajectory and the position of the drone corresponding to the end trajectory point of the predicted trajectory.
  • the function value of the objective function f(X) is smaller.
  • f c (X) represents the collision cost function, and the function is to make the target trajectory to avoid obstacles.
  • f c (X) can optimize the distance between each target trajectory point in the target trajectory and the target obstacle. When the distance is larger, the objective function f(X) The smaller the function value.
  • the objective function is also used to optimize: the velocity, acceleration, or rate of change of acceleration at each track point of the target trajectory.
  • minimizing the objective function f(X) can also be expressed as the following formula (4):
  • f ep (X) and f c (X) are as described above, and will not be repeated here.
  • f q (X) represents the differential cost function of each order of the candidate trajectory, and its function is to punish the more aggressive candidate trajectory, so that the final target trajectory is smoother.
  • f q (X) can optimize the velocity, acceleration, or rate of change of acceleration at each trajectory point of the target trajectory.
  • the objective function is also used to optimize: the degree of matching of the position, velocity, and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.
  • the minimized objective function f(X) can also be expressed as the following formula (5) or (6):
  • f soft (X) represents the soft constraints that the target trajectory point needs to meet, for example, the kinematic constraints and the boundary constraints of each order differential.
  • the function is to make the target trajectory point conform to the kinematic model while its differentials satisfy the dynamic model.
  • f soft (X) can optimize the matching degree of the position, velocity and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.
  • This embodiment uses the objective function to optimize the speed difference and/or position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory, so that the end trajectory point of the target trajectory converges to the end trajectory point of the predicted trajectory , So that after flying along the target trajectory, the UAV can return to the predicted trajectory and continue to fly, or continue to fly along the linear velocity of the end trajectory point of the predicted trajectory.
  • each target trajectory point in the target trajectory can be as far away from the target obstacle as possible, thereby improving the safety of the drone flying along the target trajectory sex.
  • each track point of the target trajectory can satisfy the kinematic model and dynamic model as much as possible. Improve the flight stability of the UAV.
  • the embodiment of the present application provides a method for controlling a movable platform.
  • the objective function includes a first cost function
  • the velocity of the movable platform corresponding to the end trajectory point of the target trajectory is equal to the velocity of the movable platform corresponding to the end trajectory point of the predicted trajectory. The greater the difference, the greater the value of the first cost function.
  • f ep (X) can be recorded as the first cost function
  • f ep (X) can be expressed as the following formula (7):
  • ⁇ v represents the weight coefficient
  • f ep (X) can make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the linear velocity of the UAV corresponding to the end trajectory point of the predicted trajectory.
  • f ep (X) can also be expressed as the following formula (8):
  • ⁇ p represents the weight coefficient
  • f ep (X) can make the position of the UAV corresponding to the end trajectory point of the target trajectory converge to the position of the UAV corresponding to the end trajectory point of the predicted trajectory.
  • f ep (X) can also be expressed as the following formula (9):
  • f ep (X) can not only make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the linear velocity of the UAV corresponding to the end trajectory point of the predicted trajectory, but also make the target trajectory The position of the drone corresponding to the end trajectory point of is converged to the position of the drone corresponding to the end trajectory point of the predicted trajectory.
  • the objective function includes a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle is, the larger the value of the second cost function is.
  • f c (X) can be recorded as the second cost function
  • f c (X) can be expressed as the following formula (10):
  • ⁇ c represents the weight coefficient, Indicates the location of the drone corresponding to the 8 target trajectory points, Represents the linear velocity of the UAV corresponding to the 8 target trajectory points.
  • c(p) is the single-point collision distance cost function, and c(p) can be expressed as the following formula (11):
  • represents the safety threshold of the obstacle distance.
  • d(p) represents the distance between the position p and the target obstacle, and the target obstacle can be obtained from the ESDF map.
  • p in d(p) and c(p) is When the distance between each target trajectory point in the target trajectory and the target obstacle is closer, the value of f c (X) is larger.
  • the objective function In order to be able to calculate the minimum value of the objective function, the farther the distance between each target trajectory point in the target trajectory and the target obstacle, the better, that is, the farther the distance between each target trajectory point in the target trajectory and the target obstacle is, the objective function The smaller the value of the function is, therefore, f c (X) can punish the target trajectory points that are less than the safety threshold from the target obstacle to prevent the drone from colliding with the obstacle.
  • the target obstacle includes the obstacle closest to the target track point.
  • the weight coefficient in f c (X) can be different.
  • the weight coefficient in f c (X) can be relatively large.
  • c(p) includes the square of the difference between the distance between the position p and the nearest obstacle and the safety threshold
  • f c (X) turns the problem of optimizing the objective function into a non-linear optimization problem, so
  • the NLopt optimization library can be used to solve the problem of nonlinear optimization.
  • eigen3.3.5 can also be used for ordinary matrix operations, and suitesparse-metis can be used for sparse matrix operations.
  • the objective function includes a third cost function, and the greater the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory, the greater the value of the third cost function. Big.
  • f q (X) can be recorded as the third cost function
  • f q (X) can be expressed as the following formula (12):
  • ⁇ a and ⁇ j respectively represent the weight coefficients, Represents the linear acceleration of the UAV corresponding to the 8 target trajectory points.
  • each target of the target trajectory The linear acceleration or linear acceleration change rate of the UAV corresponding to the trajectory point is as small as possible.
  • f q (X) can be used for the linear acceleration or linear acceleration of the UAV corresponding to each target trajectory point of the target trajectory. Penalizes the rate of change, so that the target trajectory is not too aggressive, but smoother.
  • the objective function includes a fourth cost function, and when the position, velocity, and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary, the fourth cost function The larger the value of the cost function.
  • the f soft (X) described in the above embodiment can be recorded as the fourth cost function, and f soft (X) can make the target trajectory point conform to the kinematics model while its differentials satisfy the dynamics model.
  • the kinematic model that each target trajectory point of the target trajectory needs to meet can be expressed as the following formulas (13) and (14)
  • kinematics model can also be described as the soft constraint described in the following formulas (15) and (16):
  • ⁇ p and ⁇ v denote relaxation factors, respectively, and ⁇ p and ⁇ v can also be referred to as the constraint boundary of the kinematics model. If both ⁇ p and ⁇ v are 0, the target trajectory point is required to strictly meet the kinematics model.
  • v max and a max respectively represent the constraint boundary of the dynamic model.
  • v max can be the maximum linear velocity that the drone can reach
  • a max can be the maximum linear acceleration that the drone can reach.
  • f soft (X) can be expressed as the following formula (19):
  • ⁇ kin represents the weight coefficient of the kinematic model constraint
  • ⁇ lim represents the weight coefficient of the dynamic model constraint
  • It can be expressed as the following formula (20)
  • It can be expressed as the following formula (21)
  • the weight coefficients in the four functions of f ep (X), f c (X), f q (X), and f soft (X) can be set before the drone leaves the factory.
  • the weight coefficients in the four functions f ep (X), f c (X), f q (X), and f soft (X) may also be adjustable. For example, when the user prefers the target When the end trajectory point of the trajectory can converge to the end trajectory point of the predicted trajectory, and the UAV can safely circumvent obstacles, the weight coefficients in f ep (X) and f c (X) can be increased.
  • the weight coefficient in f q (X) can be increased.
  • the weight coefficients in f ep (X), f c (X), and f soft (X) can be set larger, and the weight coefficients in f q (X) can be set smaller.
  • f ep (X) can choose formula (9), so that the end trajectory point of the target trajectory Converges to the end trajectory point of the predicted trajectory 30 Therefore, the drone can return to the predicted trajectory 30 after bypassing the obstacle along the target trajectory 46.
  • the embodiment of the present application provides a control device for a movable platform.
  • the control device may be a control device in a movable platform, for example, a flight controller.
  • the control device may be the above-mentioned control device or a component in the control device.
  • Fig. 9 is a structural diagram of a control device for a movable platform provided by an embodiment of the application. As shown in Fig.
  • the control device 90 includes: a memory 91 and a processor 92; wherein the memory 91 is used to store program codes;
  • the processor 92 calls the program code, and when the program code is executed, it is used to perform the following operations: when the movable platform enters a predetermined mode, obtain the movable platform control amount and the pan/tilt control amount, and the movable platform
  • the platform control quantity and the PTZ control quantity are input by the user through the control device of the movable platform, and the movable platform control quantity is used to lock the speed and/or acceleration of the movable platform.
  • the control amount is used to lock the speed and/or acceleration of the platform; control the movable platform to move in the predetermined mode according to the control amount of the movable platform, and control the cloud according to the control amount of the platform The station moves in the predetermined pattern.
  • the speed of the movable platform includes at least one of the following: a linear speed of the movable platform and an angular speed of the movable platform.
  • the acceleration of the movable platform includes at least one of the following: linear acceleration of the movable platform, and angular acceleration of the movable platform.
  • the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt.
  • the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt.
  • the processor 92 is further configured to: obtain a predetermined instruction, the predetermined instruction is generated according to a user's first operation on the control device of the movable platform; according to the predetermined instruction, control the movable platform Enter the predetermined mode.
  • the first operation includes an operation on a predetermined key of the control device.
  • the processor 92 is further configured to: when the second operation of the control device by the user satisfies a preset condition, generate first prompt information, where the first prompt information is used for The user is prompted to perform the first operation on the control device.
  • the second operation includes an operation on a first component or a second component of the control device, the first component is used to control the movable platform, and the second component is used to control the Yuntai.
  • the first component includes a rocker
  • the second component includes a pan/tilt dial.
  • the second operation meeting a preset condition includes: the operation time of the second operation is greater than or equal to a first preset time.
  • control amount of the movable platform is a control amount that is locked when the user performs the first operation on the control device for controlling the movable platform
  • control amount of the pan/tilt is the The control amount for controlling the pan/tilt that is locked when the user performs the first operation on the control device.
  • the processor 92 acquires the movable platform control amount and the pan/tilt control amount, it is specifically used for: when the movable platform enters the predetermined mode, lock for control The first control quantity of the movable platform and the second control quantity for controlling the pan/tilt; when the movable platform is controlled to move in the predetermined mode according to the first control quantity, and according to the
  • the second control amount controls the pan/tilt head to move in the predetermined mode
  • a third control amount for controlling the movable platform and a fourth control amount for controlling the pan/tilt head are acquired; according to the first A control quantity and the third control quantity determine the movable platform control quantity; according to the second control quantity and the fourth control quantity, the pan/tilt control quantity is determined.
  • the processor 92 acquires the third control quantity used to control the movable platform and the fourth control quantity used to control the pan/tilt head, it is specifically configured to:
  • the third operation is to obtain a third control value for controlling the movable platform; and according to a fourth operation of the user on the second component, a fourth control value for controlling the pan/tilt head is obtained.
  • the processor 92 is further configured to: generate second prompt information, where the second prompt information is used to prompt the user whether to relock the movable platform control amount and the pan/tilt control amount;
  • the control amount of the movable platform controls the movable platform to move in the predetermined mode
  • the control amount of the pan/tilt controls the platform to move in the predetermined mode
  • it is specifically used to: The control amount of the movable platform controls the movable platform to move in the predetermined mode, and controls the movement of the pan/tilt in the predetermined mode according to the locked control amount of the pan/tilt.
  • the processor 92 acquires the control amount of the movable platform and the control amount of the pan/tilt when the movable platform enters the predetermined mode, it is specifically configured to: when the movable platform enters the predetermined mode, obtain all the parameters. The control amount of the movable platform and the control amount of the PTZ in the second preset time before the movable platform enters the predetermined mode.
  • the processor 92 controls the movable platform to move in the predetermined mode according to the control amount of the movable platform, it is specifically configured to: determine the control value of the movable platform according to the control amount of the movable platform. Predicted trajectory information; establish an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located; minimize the objective function to determine that the movable platform bypasses the obstacle The target trajectory; controlling the movable platform to move in accordance with the target trajectory.
  • the processor 92 determines the predicted trajectory information of the movable platform according to the control amount of the movable platform, it is specifically configured to: generate an initial instruction sequence according to the control amount of the movable platform; The instruction sequence determines the predicted trajectory of the movable platform; and determines the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory as the predicted trajectory information.
  • the initial instruction sequence includes: an initial speed instruction sequence and an initial acceleration instruction sequence.
  • the processor 92 determines the predicted trajectory of the movable platform according to the initial instruction sequence, it is specifically configured to: obtain a kinematics model of the movable platform, and the kinematics model includes a uniform acceleration model and a uniform velocity model. At least one of a model or a non-linear model; performing trajectory prediction according to the kinematics model and the initial instruction sequence to obtain the predicted trajectory.
  • the processor 92 determines that the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory is the predicted trajectory information, it is specifically configured to: determine that the end trajectory point of the predicted trajectory corresponds to The position and/or speed of the movable platform is the predicted trajectory information.
  • the processor 92 is further configured to: perform interval sampling on the predicted trajectory to obtain predicted trajectory points after the interval sampling; when the processor 92 minimizes the objective function, it is specifically configured to: use the sampled predicted trajectory The motion parameter of the point is the initial value, and the objective function is minimized.
  • the processor 92 when the processor 92 minimizes the objective function to determine a target trajectory for the movable platform to bypass the obstacle, it is specifically configured to: minimize the objective function to determine the corresponding target trajectory points The motion parameters of the movable platform, and the motion parameters of the movable platform corresponding to the multiple target trajectory points make the function value of the objective function the smallest.
  • the motion parameter includes at least one of position, velocity, and acceleration.
  • the objective function is used to optimize: the speed difference and/or the position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory; and each target trajectory in the target trajectory The distance between the point and the target obstacle.
  • the objective function is also used to optimize: the velocity, acceleration, or rate of change of acceleration at each track point of the target trajectory.
  • the objective function is also used to optimize: the degree of matching of the position, velocity, and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.
  • the objective function includes a first cost function, and the greater the difference between the speed of the movable platform corresponding to the end trajectory point of the target trajectory and the speed of the movable platform corresponding to the end trajectory point of the predicted trajectory, The larger the value of the first cost function is.
  • the objective function includes a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle is, the larger the value of the second cost function is.
  • the target obstacle includes the obstacle closest to the target track point.
  • the objective function includes a third cost function, and the greater the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory, the greater the value of the third cost function. Big.
  • the objective function includes a fourth cost function, and when the position, velocity, and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary, the fourth cost function The larger the value of the cost function.
  • control device 90 may further include a communication interface 93.
  • the communication interface 93 is used to communicate with the control device.
  • the control device 90 is a control device or a component in a control device
  • the communication interface 93 is used to communicate with a movable platform.
  • control device provided in the embodiment of the present application is used to execute the control method of the movable platform as described above.
  • the specific principle and implementation of the method are similar to those in the above embodiment, and will not be repeated here.
  • the embodiment of the present application provides a movable platform.
  • the movable platform includes: a fuselage, a power system, and the control device as described in the above embodiment.
  • the power system is installed on the fuselage to provide moving power.
  • the control device is used to execute the control method of the movable platform as described above, and the specific principle and implementation of the method are similar to the foregoing embodiment, and will not be repeated here.
  • the movable platform includes a drone.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the control method of the movable platform described in the foregoing embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute the method described in each embodiment of the present application. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A control method and apparatus for a movable platform, the movable platform, and a storage medium. According to the embodiments of the present application, the method comprises: when the movable platform enters a predetermined mode, obtaining a movable platform control amount and a gimbal control amount; and controlling, according to the movable platform control amount, the movable platform to move in the predetermined mode, and controlling, according to the gimbal control amount, the gimbal to move in the predetermined mode. In the predetermined mode, not only can the speed of the movable platform be locked, but also higher-order motion parameters of the movable platform can be locked and controlled, for example, the acceleration of the movable platform and the gimbal disposed on the movable platform can be locked and controlled, so that control effects that the movable platform can achieve are diversified. When a user needs to achieve a smooth lens movement effect, by locking and controlling the gimbal, the user does not need to continuously and accurately operate operation elements on a control device, thereby improving user experience.

Description

可移动平台的控制方法、装置、可移动平台及存储介质Control method, device, movable platform and storage medium of movable platform 技术领域Technical field

本申请实施例涉及可移动平台领域,尤其涉及一种可移动平台的控制方法、装置、可移动平台及存储介质。The embodiments of the present application relate to the field of movable platforms, and in particular, to a control method, device, movable platform, and storage medium of a movable platform.

背景技术Background technique

现有技术中用户可通过控制设备来控制无人机等可移动平台。具体操作时,用户需要持续稳定的对控制设备上的摇杆、拨轮或按键进行控制,这样会造成用户疲劳,或者对于新手用户而言,难以持续稳定的控制摇杆、拨轮或按键。为了解决该问题,现有技术给无人机增加了定速巡航功能,例如,当无人机进入定速巡航状态时,该无人机可以按照固定的速度飞行。In the prior art, a user can control a movable platform such as a drone through a control device. In specific operations, the user needs to continuously and stably control the joystick, dial or button on the control device, which will cause user fatigue, or for novice users, it is difficult to continuously and stably control the joystick, dial or button. In order to solve this problem, the prior art adds a cruise control function to the drone. For example, when the drone enters the cruise control state, the drone can fly at a fixed speed.

但是,目前用户只能对无人机的速度进行锁定,不能对无人机进行更高阶的锁定控制。这会导致无人机在定速巡航状态下能够实现的控制效果单一,如果用户需要实现平滑的运镜效果,仍需要持续准确的手动操作。However, at present, users can only lock the speed of the drone, and cannot perform higher-level lock control on the drone. This will result in a single control effect that the UAV can achieve in a constant-speed cruise state. If the user needs to achieve a smooth mirror movement effect, continuous and accurate manual operation is still required.

发明内容Summary of the invention

本申请实施例提供一种可移动平台的控制方法、装置、可移动平台及存储介质,以实现对该可移动平台的更高阶运动参数进行锁定控制,从而使得可移动平台可以实现的控制效果多样化。当用户需要实现平滑的运镜效果时,通过对云台进行锁定控制,可使得用户无需对控制设备上的操作元件进行持续准确的操作,从而提高了用户体验。The embodiment of the application provides a control method, device, movable platform, and storage medium of a movable platform to achieve locking control of higher-order motion parameters of the movable platform, so that the control effect that the movable platform can achieve diversification. When the user needs to achieve a smooth mirror movement effect, by locking the pan-tilt control, the user does not need to continuously and accurately operate the operating elements on the control device, thereby improving the user experience.

本申请实施例的第一方面是提供一种可移动平台的控制方法,所述可移动平台设置有云台,所述方法包括:The first aspect of the embodiments of the present application is to provide a method for controlling a movable platform, the movable platform is provided with a pan-tilt, and the method includes:

当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度;When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt;

根据所述可移动平台控制量控制所述可移动平台在所述预定模式下 移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and the pan/tilt head is controlled to move in the predetermined mode according to the control amount of the pan/tilt.

本申请实施例的第二方面是提供一种可移动平台的控制装置,包括:存储器和处理器;The second aspect of the embodiments of the present application is to provide a control device for a movable platform, including: a memory and a processor;

所述存储器用于存储程序代码;The memory is used to store program code;

所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:

当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度;When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt;

根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the control amount of the pan/tilt.

本申请实施例的第三方面是提供一种可移动平台,包括:The third aspect of the embodiments of the present application is to provide a movable platform, including:

机身;body;

动力系统,安装在所述机身,用于提供移动动力;The power system is installed on the fuselage to provide mobile power;

以及第二方面所述的控制装置。And the control device described in the second aspect.

本申请实施例的第四方面是提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。The fourth aspect of the embodiments of the present application is to provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect.

本实施例提供的可移动平台的控制方法、装置、可移动平台及存储介质,通过当可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,并根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动,也就是说,在预定模式下,不仅可以对可移动平台的速度进行锁定,还可以对该可移动平台的更高阶运动参数进行锁定控制,例如,可以对可移动平台的加速度、可移动平台上设置的云台进行锁定控制,从而使得可移动平台可以实现的控制效果多样化。当用户需要实现平滑的运镜效果时,无需对控制设备上的操作元件进行持续准确的操作,从而提高了用户体验。The control method, device, movable platform, and storage medium of the movable platform provided in this embodiment obtain the control amount of the movable platform and the control amount of the pan/tilt when the movable platform enters a predetermined mode, and according to the movable platform The control amount controls the movable platform to move in the predetermined mode, and controls the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt, that is, in the predetermined mode, not only can The speed of the mobile platform can be locked, and the higher-order motion parameters of the movable platform can be locked and controlled. For example, the acceleration of the movable platform and the pan/tilt set on the movable platform can be locked and controlled to make it movable The control effects that the platform can achieve are diversified. When the user needs to achieve a smooth mirror movement effect, there is no need to continuously and accurately operate the operating elements on the control device, thereby improving the user experience.

附图说明Description of the drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述 中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.

图1为本申请实施例提供的一种应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application;

图2为本申请实施例提供的可移动平台的控制方法的流程图;2 is a flowchart of a method for controlling a movable platform provided by an embodiment of the application;

图3为本申请实施例提供的用户对左摇杆和右摇杆的打杆方式与无人机运动方式之间的对应关系的示意图;FIG. 3 is a schematic diagram of the correspondence between the way the user uses the left stick and the right stick and the movement of the drone according to an embodiment of the application;

图4为本申请另一实施例提供的可移动平台的控制方法的流程图;4 is a flowchart of a method for controlling a movable platform provided by another embodiment of the application;

图5为本申请另一实施例提供的可移动平台的控制方法的流程图;FIG. 5 is a flowchart of a method for controlling a movable platform according to another embodiment of the application;

图6为本申请另一实施例提供的可移动平台的控制方法的流程图;FIG. 6 is a flowchart of a method for controlling a movable platform according to another embodiment of the application;

图7为本申请实施例提供的一种预测轨迹的示意图;FIG. 7 is a schematic diagram of a predicted trajectory provided by an embodiment of the application;

图8为本申请实施例提供的一种目标轨迹的示意图;FIG. 8 is a schematic diagram of a target trajectory provided by an embodiment of this application;

图9为本申请实施例提供的可移动平台的控制装置的结构图。Fig. 9 is a structural diagram of a control device for a movable platform provided by an embodiment of the application.

附图标记:Reference signs:

10:无人机;         101:拍摄装置;     102:支撑设备;10: drone; 101: camera; 102: supporting equipment;

103:通信模块;      104:飞行控制器;     11:控制设备;103: Communication module; 104: Flight controller; 11: Control equipment;

30:预测轨迹;       31:虚线框;         40:障碍物;30: predicted trajectory; 31: dashed box; 40: obstacle;

41:障碍物;         42:障碍物;          43:障碍物;41: Obstacle; 42: Obstacle; 43: Obstacle;

44:障碍物;        45:障碍物;         46:目标轨迹;44: Obstacle; 45: Obstacle; 46: Target trajectory;

90:控制装置;           91:存储器;       92:处理器;90: control device; 91: memory; 92: processor;

93:通讯接口。93: Communication interface.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is referred to as being "fixed to" another component, it can be directly on the other component or a centered component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to the other component or there may be a centered component at the same time.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in the specification of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the application. The term "and/or" as used herein includes any and all combinations of one or more related listed items.

下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

本申请实施例提供一种可移动平台的控制方法。所述可移动平台设置有云台。在本申请实施例中,可移动平台具体可以是无人机、可移动机器人等可移动的设备。下面以无人机为例进行示意性说明。如图1所示,无人机10上搭载有拍摄装置101,具体的,拍摄装置101通过支撑设备102搭载在无人机10的机身上,支撑设备102具体可以是云台,拍摄装置101用于在无人机运动过程中捕捉图像或录制视频。另外,用户可以通过地面的控制设备11控制无人机的飞行。在本申请实施例中,可移动平台的控制方法可以在可移动平台执行,也可以在可移动平台的控制设备执行,下面以在可移动平台执行为例进行说明。The embodiment of the present application provides a method for controlling a movable platform. The movable platform is provided with a pan-tilt. In the embodiment of the present application, the movable platform may specifically be a movable device such as a drone or a movable robot. The following is a schematic description using a drone as an example. As shown in FIG. 1, the drone 10 is equipped with a photographing device 101. Specifically, the photographing device 101 is mounted on the fuselage of the drone 10 through a supporting device 102. The supporting device 102 may specifically be a pan/tilt, and the photographing device 101. Used to capture images or record videos during the movement of the drone. In addition, the user can control the flight of the drone through the control device 11 on the ground. In the embodiment of the present application, the control method of the movable platform may be executed on the movable platform, or may be executed on the control device of the movable platform. The following takes the execution on the movable platform as an example for description.

图2为本申请实施例提供的可移动平台的控制方法的流程图。如图2所示,本实施例中的方法,可以包括:Fig. 2 is a flowchart of a method for controlling a movable platform provided by an embodiment of the application. As shown in Figure 2, the method in this embodiment may include:

S201、当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度。S201. When the movable platform enters a predetermined mode, acquire a control amount of the movable platform and a control amount of the pan/tilt, where the control amount of the movable platform and the control amount of the pan/tilt are the control equipment of the user through the movable platform Input, the movable platform control variable is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control variable is used to lock the speed and/or acceleration of the pan/tilt.

所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,上述输入的方式包括但不限于以下两种形式:The control amount of the movable platform and the control amount of the pan/tilt are input by the user through the control device of the movable platform, and the foregoing input methods include but are not limited to the following two forms:

通过所述可移动平台的控制设备的用户交互界面输入所述可移动平台控制量和所述云台控制量;或者Input the control amount of the movable platform and the control amount of the pan/tilt through the user interaction interface of the control device of the movable platform; or

通过所述可移动平台的控制设备的操作元件(例如摇杆、拨轮)输入所述可移动平台控制量和所述云台控制量。The control amount of the movable platform and the control amount of the pan/tilt head are input through the operating elements (for example, joystick, dial) of the control device of the movable platform.

通常情况下,无人机在定速巡航模式下,可以对无人机的速度(例如,线速度)进行锁定,使得无人机按照固定速度(例如,线速度)直线飞行。相比于定速巡航模式,在本实施例的预定模式下,不仅可以对无人机的速度进行锁定,还可以对更高阶运动参数进行锁定控制,该更高阶运动参数不仅可以包括无人机的运动参数,例如,无人机的加速度。另外,该更高阶运动参数还可以包括云台的运动参数,例如,云台的速度和/或加速度。Under normal circumstances, the drone can lock the speed (for example, linear speed) of the drone in the constant speed cruise mode, so that the drone can fly straight at a fixed speed (for example, linear speed). Compared with the cruise mode, in the predetermined mode of this embodiment, not only the speed of the drone can be locked, but also the higher-order motion parameters can be locked and controlled. The higher-order motion parameters can not only include The motion parameters of the man-machine, for example, the acceleration of the drone. In addition, the higher-order motion parameters may also include the motion parameters of the pan/tilt, for example, the speed and/or acceleration of the pan/tilt.

可选的,所述可移动平台的速度包括如下至少一种:所述可移动平台的线速度、所述可移动平台的角速度。Optionally, the speed of the movable platform includes at least one of the following: a linear speed of the movable platform and an angular speed of the movable platform.

例如,无人机的速度包括无人机的线速度和角速度中的至少一个。也就是说,在该预定模式下,可以对无人机的线速度和角速度中的至少一个进行锁定。For example, the speed of the drone includes at least one of the linear speed and the angular speed of the drone. That is, in the predetermined mode, at least one of the linear velocity and the angular velocity of the drone can be locked.

可选的,所述可移动平台的加速度包括如下至少一种:所述可移动平台的线加速度、所述可移动平台的角加速度。Optionally, the acceleration of the movable platform includes at least one of the following: linear acceleration of the movable platform, and angular acceleration of the movable platform.

例如,无人机的加速度包括无人机的线加速度和角加速度中的至少一个。也就是说,在该预定模式下,对无人机的更高阶运动参数进行锁定控制时,可以对无人机的线加速度和角加速度中的至少一个进行锁定。For example, the acceleration of the drone includes at least one of the linear acceleration and the angular acceleration of the drone. That is to say, in the predetermined mode, when the higher-order motion parameters of the drone are locked and controlled, at least one of the linear acceleration and the angular acceleration of the drone can be locked.

可选的,所述云台的速度包括所述云台的姿态角速度。可选的,所述云台的加速度包括所述云台的姿态角加速度。Optionally, the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt. Optionally, the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt.

例如,对无人机的云台进行锁定控制时,可以对云台的速度和/或加速度进行锁定控制。其中,云台的速度包括云台的姿态角速度。云台的加速度包括云台的姿态角加速度。For example, when performing lock control on the gimbal of the drone, the speed and/or acceleration of the gimbal can be locked and controlled. Among them, the speed of the gimbal includes the attitude angular velocity of the gimbal. The acceleration of the gimbal includes the angular acceleration of the gimbal's attitude.

在本申请实施例中,如图1所示的控制设备11可以是与无人机通信的遥控器(例如,带屏遥控器)、手机、平板电脑、笔记本电脑等设备,此处以遥控器为例进行示意性说明。具体的,遥控器可设置有供用户操作的操作元件,例如,摇杆、拨轮或按键。其中,摇杆可用于控制无人机,拨轮可用于控制云台。遥控器可根据用户对摇杆的操作生成无人机控制量,根据用户对拨轮的操作生成云台控制量。当无人机进入预定模式时,无人机可从遥控器获取无人机控制量和云台控制量。例如,遥控器将无人机控制量和云台控制量发送给无人机10。其中,无人机控制量可用于控制无人机的速度和/或加速度,云台控制量可用于控制云台的速度和/或加速度。In the embodiment of the present application, the control device 11 shown in FIG. 1 may be a remote controller (for example, a remote controller with a screen), a mobile phone, a tablet computer, a notebook computer, and other devices that communicate with a drone. Here, the remote controller is used as Examples are illustrated schematically. Specifically, the remote controller may be provided with operating elements for the user to operate, for example, a joystick, a dial, or a button. Among them, the joystick can be used to control the drone, and the dial can be used to control the pan/tilt. The remote controller can generate the drone control amount according to the user's operation of the joystick, and generate the PTZ control amount according to the user's operation of the trackwheel. When the drone enters a predetermined mode, the drone can obtain the drone control amount and the PTZ control amount from the remote control. For example, the remote controller sends the drone control amount and the pan/tilt control amount to the drone 10. Among them, the UAV control quantity can be used to control the speed and/or acceleration of the UAV, and the PTZ control quantity can be used to control the speed and/or acceleration of the PTZ.

可以理解的是,遥控器上设置的供用户操作的操作元件不限于摇杆、拨轮或按键,例如,还可以是遥控器屏幕上显示的图标或者虚拟按键。另外,支撑设备102不仅可以搭载拍摄装置,还可以搭载距离传感器(例如,激光雷达)、探照灯等设备。It is understandable that the operating elements provided on the remote control for the user to operate are not limited to joysticks, dial wheels or buttons, for example, they may also be icons or virtual buttons displayed on the screen of the remote control. In addition, the supporting device 102 can be equipped with not only a camera, but also a distance sensor (for example, a lidar), a searchlight, and other equipment.

S202、根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。S202: Control the movable platform to move in the predetermined mode according to the control amount of the movable platform, and control the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt.

如图1所示,无人机10内设置有通信模块103和飞行控制器104,飞行控制器104通过通信模块103从遥控器接收到无人机控制量和云台控制量后,根据该无人机控制量生成用于控制无人机的无人机控制指令,根据该云台控制量生成用于控制云台的云台控制指令。进一步,飞行控制器104根据无人机控制指令控制无人机在该预定模式下飞行的速度和/或加速度,根据云台控制指令控制云台在该预定模式下的速度和/或加速度。As shown in Figure 1, the UAV 10 is provided with a communication module 103 and a flight controller 104. After the flight controller 104 receives the UAV control quantity and the PTZ control quantity from the remote controller through the communication module 103, it will The man-machine control quantity generates an unmanned aerial vehicle control instruction for controlling the unmanned aerial vehicle, and the pan/tilt control instruction for controlling the gimbal is generated according to the pan/tilt control quantity. Further, the flight controller 104 controls the speed and/or acceleration of the drone flying in the predetermined mode according to the drone control instruction, and controls the speed and/or acceleration of the pan/tilt in the predetermined mode according to the pan/tilt control instruction.

在一些场景中,遥控器还可以根据该无人机控制量生成用于控制无人机的无人机控制指令,根据该云台控制量生成用于控制云台的云台控制指令。进一步,遥控器将无人机控制指令和云台控制指令发送给无人机10,从而使得飞行控制器104可以根据无人机控制指令控制无人机在该预定模式下飞行的速度和/或加速度,根据云台控制指令控制云台在该预定模式下的速度和/或加速度。In some scenarios, the remote controller can also generate a drone control instruction for controlling the drone according to the drone control amount, and generate a pan/tilt control instruction for controlling the pan/tilt based on the drone control amount. Further, the remote controller sends the drone control command and the pan/tilt control command to the drone 10, so that the flight controller 104 can control the speed and/or speed of the drone flying in the predetermined mode according to the drone control command. Acceleration: Control the speed and/or acceleration of the pan/tilt in the predetermined mode according to the pan/tilt control command.

例如,遥控器上设置有左摇杆和右摇杆,用户对左摇杆和右摇杆的打杆方式与无人机运动方式之间的对应关系可以如图3所示。例如,用户向上推动左摇杆时,无人机上升。用户向下推动左摇杆时,无人机下降。用户向左推动左摇杆时,无人机向左转动。用户向右推动左摇杆时,无人机向右转动。用户向上推动右摇杆时,无人机向前飞行。用户向下推动右摇杆时,无人机向后飞行。用户向左推动右摇杆时,无人机向左平移。用户向右推动右摇杆时,无人机向右平移。For example, the remote controller is provided with a left joystick and a right joystick, and the corresponding relationship between the way the user uses the left joystick and the right joystick and the movement mode of the drone can be as shown in FIG. 3. For example, when the user pushes the left stick up, the drone rises. When the user pushes the left stick down, the drone descends. When the user pushes the left stick to the left, the drone rotates to the left. When the user pushes the left stick to the right, the drone rotates to the right. When the user pushes the right joystick up, the drone flies forward. When the user pushes the right joystick down, the drone flies backward. When the user pushes the right stick to the left, the drone pans to the left. When the user pushes the right stick to the right, the drone pans to the right.

由于在预定模式下,不仅可以对无人机的速度进行锁定,还可以对无人机的加速度和/或无人机的云台进行锁定。如此,可以实现无人机匀加速移动、匀减速移动,无人机的云台匀速移动、匀加速移动、匀减速移动等。此外,被同时锁定的运动参数可以有多种组合方式,例如,可以同时锁定无人机的线加速度和云台的姿态角速度,同时锁定无人机的线速度和云台 的姿态角加速度等。Because in the predetermined mode, not only the speed of the drone can be locked, but also the acceleration of the drone and/or the drone's gimbal can be locked. In this way, the UAV can move at a uniform acceleration and deceleration, and the PTZ of the UAV can move at a uniform speed, move at a uniform acceleration, and move at a uniform deceleration. In addition, the motion parameters that are locked at the same time can have multiple combinations. For example, the linear acceleration of the UAV and the attitude angular velocity of the gimbal can be locked at the same time, and the linear velocity of the UAV and the attitude angular acceleration of the gimbal can be locked at the same time.

下面以同时锁定无人机的线速度和角速度为例进行示意性说明。如图3所示,用户向上推动右摇杆,遥控器根据用户向上推动右摇杆的操作生成控制无人机向前飞行的第一控制量,并锁定该第一控制量,该第一控制量可控制无人机向前飞行的线速度。进一步,用户向右推动左摇杆,遥控器根据用户向右推动左摇杆的操作生成控制无人机向右转动的第二控制量,并锁定该第二控制量,该第二控制量可控制无人机向右转动的角速度。无人机根据锁定的第一控制量和第二控制量,控制无人机在向前飞行的基础上向右转动,从而使得无人机的飞行轨迹是一条弧线。In the following, a schematic description will be given by taking the simultaneous locking of the linear velocity and the angular velocity of the UAV as an example. As shown in Figure 3, the user pushes the right joystick up, and the remote controller generates a first control amount for controlling the drone to fly forward according to the user's operation of pushing the right joystick up, and locks the first control amount. The amount can control the linear speed of the drone flying forward. Further, the user pushes the left joystick to the right, and the remote controller generates a second control amount for controlling the drone to rotate to the right according to the operation of the user pushing the left joystick to the right, and locks the second control amount. It can control the angular velocity of the drone turning to the right. According to the locked first control quantity and the second control quantity, the drone controls the drone to rotate to the right on the basis of forward flight, so that the flight trajectory of the drone is an arc.

本实施例通过当可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,并根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动,也就是说,在预定模式下,不仅可以对可移动平台的速度进行锁定,还可以对该可移动平台的更高阶运动参数进行锁定控制,例如,可以对可移动平台的加速度、可移动平台上设置的云台进行锁定控制,从而使得可移动平台可以实现的控制效果多样化。当用户需要实现平滑的运镜效果时,无需对控制设备上的操作元件进行持续准确的操作,从而提高了用户体验。In this embodiment, when the movable platform enters the predetermined mode, the control amount of the movable platform and the control amount of the pan/tilt are acquired, and the movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and according to The control amount of the pan/tilt controls the movement of the pan/tilt in the predetermined mode, that is, in the predetermined mode, not only the speed of the movable platform can be locked, but also the higher order of the movable platform can be locked. The motion parameters are locked and controlled, for example, the acceleration of the movable platform and the pan/tilt set on the movable platform can be locked and controlled, so that the control effect that the movable platform can achieve is diversified. When the user needs to achieve a smooth mirror movement effect, there is no need to continuously and accurately operate the operating elements on the control device, thereby improving the user experience.

本申请实施例提供一种可移动平台的控制方法。图4为本申请另一实施例提供的可移动平台的控制方法的流程图。如图4示,在上述实施例的基础上,本实施例中的方法,还可以包括:The embodiment of the present application provides a method for controlling a movable platform. FIG. 4 is a flowchart of a method for controlling a movable platform according to another embodiment of the application. As shown in Figure 4, on the basis of the foregoing embodiment, the method in this embodiment may further include:

S401、获取预定指令,所述预定指令是根据用户对所述可移动平台的控制设备的第一操作生成的。S401. Obtain a predetermined instruction, where the predetermined instruction is generated according to a user's first operation on the control device of the movable platform.

例如,当用户对控制设备进行第一操作时,该控制设备可根据该第一操作生成预定指令,该预定指令可用于控制无人机进入预定模式。For example, when the user performs a first operation on the control device, the control device may generate a predetermined instruction according to the first operation, and the predetermined instruction may be used to control the drone to enter a predetermined mode.

可选的,所述第一操作包括对所述控制设备的预定按键的操作。Optionally, the first operation includes an operation on a predetermined key of the control device.

例如,控制设备为遥控器,该遥控器可以是带屏遥控器,该带屏遥控器的屏幕上显示有用户交互界面,用户通过该用户交互界面可控制无人机进入高级辅助飞行系统(Advanced Pilot Assistance System,APAS)功能。 或者,用户通过该用户交互界面控制无人机进入慧眼模式下的自由模式,该慧眼模式具体可以是自由模式、跟随模式、环绕模式的统一入口。For example, the control device is a remote control. The remote control can be a remote control with a screen. A user interaction interface is displayed on the screen of the remote control with a screen. Pilot Assistant System (APAS) function. Alternatively, the user controls the drone to enter the free mode in the smart eye mode through the user interaction interface, and the smart eye mode may specifically be a unified entrance of the free mode, the follow mode, and the surround mode.

进一步,在APAS功能下或自由模式下,用户可以对该遥控器上的预定按键进行操作,该操作记为第一操作。该预定按键可控制无人机进入预定模式。该预定按键可以是物理按键,也可以是遥控器屏幕上显示的虚拟按键。例如,该预定按键包括C1键和C2键。C1键可用于锁定无人机控制量,C2键用于锁定云台控制量。或者,C1键可用于锁定无人机和/或云台的速度,C2键用于锁定无人机和/或云台的加速度。Further, in the APAS function or in the free mode, the user can operate a predetermined button on the remote control, and this operation is recorded as the first operation. The predetermined button can control the drone to enter a predetermined mode. The predetermined key may be a physical key or a virtual key displayed on the screen of the remote control. For example, the predetermined key includes a C1 key and a C2 key. The C1 key can be used to lock the drone control volume, and the C2 key can be used to lock the PTZ control volume. Alternatively, the C1 key can be used to lock the speed of the drone and/or gimbal, and the C2 key can be used to lock the acceleration of the drone and/or gimbal.

S402、根据所述预定指令,控制所述可移动平台进入所述预定模式。S402: According to the predetermined instruction, control the movable platform to enter the predetermined mode.

当飞行控制器104接收到该预定指令后,根据该预定指令,控制无人机进入预定模式。After the flight controller 104 receives the predetermined instruction, it controls the drone to enter a predetermined mode according to the predetermined instruction.

另外,所述获取预定指令之前,所述方法还包括:当所述用户对所述控制设备的第二操作满足预设条件时,生成第一提示信息,所述第一提示信息用于提示所述用户对所述控制设备进行所述第一操作。In addition, before the acquisition of the predetermined instruction, the method further includes: when the second operation of the control device by the user satisfies a preset condition, generating first prompt information, where the first prompt information is used to prompt the The user performs the first operation on the control device.

例如,用户对遥控器进行第一操作之前,用户还可以对该遥控器进行第二操作,当用户对遥控器的第二操作满足预设条件,该遥控器可生成第一提示信息,该第一提示信息用于提示用户对该遥控器进行如上所述的第一操作,从而控制无人机进入预定模式。For example, before the user performs the first operation on the remote control, the user can also perform a second operation on the remote control. When the user’s second operation on the remote control meets a preset condition, the remote control can generate the first prompt message. A prompt message is used to prompt the user to perform the above-mentioned first operation on the remote controller, so as to control the drone to enter a predetermined mode.

可选的,所述第二操作包括对所述控制设备的第一部件或第二部件的操作,所述第一部件用于控制所述可移动平台,所述第二部件用于控制所述云台。可选的,所述第二操作满足预设条件,包括:所述第二操作的操作时间大于或等于第一预设时间。可选的,所述第一部件包括摇杆,所述第二部件包括云台拨轮。Optionally, the second operation includes an operation on a first component or a second component of the control device, the first component is used to control the movable platform, and the second component is used to control the Yuntai. Optionally, the second operation meeting a preset condition includes: the operation time of the second operation is greater than or equal to a first preset time. Optionally, the first component includes a rocker, and the second component includes a pan/tilt dial.

例如,当用户对遥控器上的预定按键进行操作之前,用户可以对该遥控器上的摇杆或云台拨轮进行操作,例如,用户通过操作摇杆来控制无人机,通过操作云台拨轮来控制云台。当遥控器检测到用户对摇杆或云台拨轮持续操作的时间大于或等于第一预设时间,例如2秒时,该遥控器可生成第一提示信息,具体的提示方式可以不做具体限定,例如,遥控器可以在其屏幕上显示该第一提示信息。该第一提示信息可提示用户点击预定按键以控制无人机进入预定模式。进一步,用户根据该第一提示信息对C1 键或C2键进行操作,该遥控器或无人机可根据该操作锁定无人机控制量和/或云台控制量。For example, before the user operates a predetermined button on the remote control, the user can operate the joystick or pan/tilt dial on the remote control. For example, the user controls the drone by operating the joystick, and operates the pan/tilt. Use the dial to control the pan/tilt. When the remote control detects that the user's continuous operation of the joystick or pan/tilt wheel is greater than or equal to the first preset time, for example, 2 seconds, the remote control can generate the first prompt message, and the specific prompt method can be omitted. Limited, for example, the remote control can display the first prompt information on its screen. The first prompt message may prompt the user to click a predetermined button to control the drone to enter a predetermined mode. Further, the user operates the C1 key or the C2 key according to the first prompt information, and the remote controller or the drone can lock the drone control amount and/or the pan/tilt control amount according to the operation.

本实施例通过用户对控制设备的预定按键的操作,控制可移动平台进入预定模式,提高了用户控制可移动平台进入预定模式的便捷性。另外,当用户对控制设备上的摇杆或云台拨轮持续操作的时间大于或等于第一预设时间时,通过控制设备生成的第一提示信息可提示用户对预定按键操作以控制可移动平台进入预定模式,从而使得用户无需对控制设备上的操作元件进行持续准确的操作,进一步提高了用户体验。In this embodiment, the user controls the movable platform to enter the predetermined mode through the operation of the predetermined button of the control device, which improves the convenience for the user to control the movable platform to enter the predetermined mode. In addition, when the user continues to operate the joystick or pan/tilt dial on the control device for a time greater than or equal to the first preset time, the first prompt message generated by the control device can prompt the user to operate the predetermined button to control the movable The platform enters a predetermined mode, so that the user does not need to continuously and accurately operate the operating elements on the control device, which further improves the user experience.

可选的,用户还可以通过其他方式控制可移动平台进入预定模式,例如通过用户交互界面上的虚拟按键控制可移动平台进入预定模式,并且可以通过用户交互界面输入可移动平台在该预定模式下的可移动平台控制量和云台控制量。Optionally, the user can also control the movable platform to enter a predetermined mode in other ways, for example, control the movable platform to enter the predetermined mode through a virtual button on the user interaction interface, and input that the movable platform is in the predetermined mode through the user interaction interface. The movable platform control amount and the PTZ control amount.

可选的,所述当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,包括:当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之时的所述可移动平台控制量和所述云台控制量。Optionally, when the movable platform enters a predetermined mode, acquiring the control amount of the movable platform and the control amount of the pan/tilt includes: when the movable platform enters the predetermined mode, acquiring that the movable platform enters the predetermined mode The control amount of the movable platform and the control amount of the pan/tilt at the time of the mode.

例如,当用户对遥控器进行如上所述的第一操作,即对遥控器上的预定按键进行操作时,该遥控器锁定的无人机控制量是该操作瞬时的无人机的控制量,该遥控器锁定的云台控制量是该操作瞬时的云台的控制量。For example, when the user performs the above-mentioned first operation on the remote control, that is, operates a predetermined button on the remote control, the drone control amount locked by the remote control is the control amount of the drone at the moment of the operation. The PTZ control amount locked by the remote controller is the PTZ control amount at the moment of the operation.

可选的,所述当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,包括:当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之前第二预设时间内的所述可移动平台控制量和所述云台控制量。Optionally, when the movable platform enters a predetermined mode, acquiring the control amount of the movable platform and the control amount of the pan/tilt includes: when the movable platform enters the predetermined mode, acquiring that the movable platform enters the predetermined mode The control amount of the movable platform and the control amount of the pan/tilt head within the second preset time before the mode.

例如,当无人机进入预定模式时锁定的无人机控制量和云台控制量,可以是该无人机进入预定模式之前第二预设时间内,例如5秒内的无人机控制量和云台控制量。例如,无人机进入预定模式之前的5秒内,无人机控制量用于控制无人机匀加速运动,例如,在该5秒内,无人机的线速度依次为1m/s、2m/s、3m/s。另外,在该5秒内,云台控制量控制云台从俯视状态匀速抬头到前视状态。当无人机进入预定模式时,锁定该5秒内的无人机控制量和云台控制量,从而使得无人机进入预定模式后,无人机和 云台可重复执行该5秒内的运动。也就是说,当无人机进入预定模式后,可以对该5秒内的无人机控制量和云台控制量进行回放,从而使得用户无需对控制设备上的操作元件进行持续准确的操作,进一步提高了用户体验。For example, the locked drone control amount and pan/tilt control amount when the drone enters the predetermined mode can be the drone control amount within the second preset time before the drone enters the predetermined mode, for example, within 5 seconds And PTZ control volume. For example, within 5 seconds before the drone enters the predetermined mode, the drone control quantity is used to control the uniform acceleration of the drone. For example, within the 5 seconds, the linear velocity of the drone is 1m/s and 2m in turn /s, 3m/s. In addition, within the 5 seconds, the pan/tilt control amount controls the pan/tilt to raise its head at a constant speed from the top view state to the front view state. When the drone enters the predetermined mode, lock the drone control amount and the gimbal control amount within the 5 seconds, so that after the drone enters the predetermined mode, the drone and the gimbal can repeat the 5 seconds sports. That is to say, when the drone enters the predetermined mode, the drone control amount and the PTZ control amount within 5 seconds can be played back, so that the user does not need to continuously and accurately operate the operating elements on the control device. Further improve the user experience.

可选的,当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,包括如图5所示的如下步骤:Optionally, when the movable platform enters a predetermined mode, acquiring the control amount of the movable platform and the control amount of the pan/tilt includes the following steps as shown in FIG. 5:

S501、当所述可移动平台进入预定模式时,锁定用于控制所述可移动平台的第一控制量和用于控制所述云台的第二控制量。S501: When the movable platform enters a predetermined mode, lock a first control quantity for controlling the movable platform and a second control quantity for controlling the pan/tilt.

例如,当无人机进入预定模式时,锁定用于控制无人机的第一控制量和用于控制云台的第二控制量。For example, when the drone enters a predetermined mode, the first control amount for controlling the drone and the second control amount for controlling the pan/tilt are locked.

S502、当根据所述第一控制量控制所述可移动平台在所述预定模式下移动,以及根据所述第二控制量控制所述云台在所述预定模式下移动时,获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量。S502. When the movable platform is controlled to move in the predetermined mode according to the first control amount, and the pan/tilt is controlled to move in the predetermined mode according to the second control amount, obtain the information used for controlling The third control quantity of the movable platform and the fourth control quantity for controlling the pan-tilt.

在根据该第一控制量和第二控制量进行锁定控制的过程中,用户可能会对摇杆和/或云台拨轮进行再次操作,从而使得无人机控制量和/或云台控制量发生变化。例如,在锁定控制的过程中,获取用于控制无人机的第三控制量和用于控制云台的第四控制量,该第三控制量可以是无人机控制量的变化量,该第四控制量可以是云台控制量的变化量。In the process of performing lock control according to the first control amount and the second control amount, the user may re-operate the joystick and/or the pan/tilt dial to make the drone control amount and/or the pan/tilt control amount Changes. For example, in the process of lock control, a third control quantity for controlling the drone and a fourth control quantity for controlling the pan/tilt are acquired. The third control quantity may be a change in the control quantity of the drone. The fourth control amount may be a change amount of the pan/tilt control amount.

可选的,所述获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量,包括:根据用户对所述第一部件的第三操作,获取用于控制所述可移动平台的第三控制量;根据所述用户对所述第二部件的第四操作,获取用于控制所述云台的第四控制量。Optionally, the acquiring the third control quantity for controlling the movable platform and the fourth control quantity for controlling the pan-tilt includes: acquiring according to a third operation of the user on the first component A third control value for controlling the movable platform; and a fourth control value for controlling the pan/tilt head according to the fourth operation of the user on the second component.

例如,在锁定控制的过程中,用户对摇杆的操作记为第三操作,遥控器根据该第三操作生成的控制量记为第三控制量。在锁定控制的过程中,用户对云台拨轮的操作记为第四操作,遥控器根据该第四操作生成的控制量记为第四控制量。For example, in the process of locking control, the operation of the joystick by the user is recorded as the third operation, and the control amount generated by the remote controller according to the third operation is recorded as the third control amount. During the lock control process, the user's operation on the pan/tilt dial is recorded as the fourth operation, and the control amount generated by the remote controller according to the fourth operation is recorded as the fourth control amount.

S503、根据所述第一控制量和所述第三控制量,确定所述可移动平台控制量。S503: Determine the control amount of the movable platform according to the first control amount and the third control amount.

例如,在第一控制量的基础上叠加第三控制量得到无人机控制量。For example, the third control value is superimposed on the first control value to obtain the drone control value.

S504、根据所述第二控制量和所述第四控制量,确定所述云台控制量。S504. Determine the pan/tilt control amount according to the second control amount and the fourth control amount.

例如,在第二控制量的基础上叠加第四控制量得到云台控制量。For example, the fourth control amount is superimposed on the second control amount to obtain the pan/tilt control amount.

也就是说,在锁定控制过程中,若用户对摇杆和/或云台拨轮的操作,导致无人机控制量和/或云台控制量发生变化时,可以在无人机进入预定模式时锁定的无人机控制量的基础上叠加用户对摇杆的操作生成的控制量,和/或在无人机进入预定模式时锁定的云台控制量的基础上叠加用户对云台拨轮的操作生成的控制量。从而使得无人机在进入锁定控制之后,用户还可以改变原先的控制意图,增加了对无人机控制的灵活性。That is to say, during the lock control process, if the user's operation of the joystick and/or the pan/tilt dial changes the drone control amount and/or the pan/tilt control amount, the drone can enter the predetermined mode The control amount of the drone locked at the time is superimposed on the control amount generated by the user's operation of the joystick, and/or the control amount of the pan/tilt locked when the drone enters a predetermined mode is superimposed on the user's control of the pan/tilt wheel The amount of control generated by the operation. Thus, after the drone enters the lock control, the user can also change the original control intention, which increases the flexibility of the drone control.

可选的,所述方法还包括:生成第二提示信息,所述第二提示信息用于提示用户是否重新锁定所述可移动平台控制量和所述云台控制量;所述根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动,包括:根据锁定的所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据锁定的所述云台控制量控制所述云台在所述预定模式下移动。Optionally, the method further includes: generating second prompt information, the second prompt information being used to prompt the user whether to relock the control amount of the movable platform and the control amount of the pan/tilt; The control amount of the mobile platform controls the movable platform to move in the predetermined mode, and the control of the pan/tilt to move in the predetermined mode according to the control amount of the pan/tilt includes: controlling the movable platform according to the locked The amount controls the movable platform to move in the predetermined mode, and controls the pan/tilt to move in the predetermined mode according to the locked pan/tilt control amount.

例如,当无人机控制量和/或云台控制量发生变化时,遥控器还可以生成第二提示信息,该第二提示信息用于提示用户是否重新锁定变化后的无人机控制量和/或云台控制量。若用户确定锁定变化后的无人机控制量和/或云台控制量,则无人机可根据变化后的无人机控制量控制无人机在预定模式下飞行,以及根据变化后的云台控制量控制云台在该预定模式下移动。通过在无人机控制量和/或云台控制量发生变化时,生成第二提示信息以提示用户是否重新锁定变化后的无人机控制量和/或云台控制量,从而使得用户改变后的控制意图仍然可以被平滑锁定,提高了锁定的无人机控制量和/或云台控制量的灵活性。For example, when the drone control amount and/or the pan/tilt control amount changes, the remote control can also generate a second prompt message, which is used to prompt the user whether to relock the changed drone control amount and / Or PTZ control amount. If the user determines to lock the changed drone control amount and/or PTZ control amount, the drone can control the drone to fly in a predetermined mode according to the changed drone control amount, and according to the changed cloud The platform control quantity controls the pan/tilt to move in the predetermined mode. When the drone control amount and/or the pan/tilt control amount changes, a second prompt message is generated to prompt the user whether to re-lock the changed drone control amount and/or the pan/tilt control amount, so that the user changes The control intention can still be smoothly locked, which improves the flexibility of the locked UAV control amount and/or PTZ control amount.

此外,当用户再次点击预定按键,例如C1键或C2键时,可控制无人机退出预定模式。In addition, when the user clicks a predetermined button again, such as the C1 button or the C2 button, the drone can be controlled to exit the predetermined mode.

本申请实施例提供一种可移动平台的控制方法。图6为本申请另一实施例提供的可移动平台的控制方法的流程图。如图6所示,在上述实施例的基础上,所述根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,可以包括:The embodiment of the present application provides a method for controlling a movable platform. FIG. 6 is a flowchart of a method for controlling a movable platform according to another embodiment of the application. As shown in FIG. 6, on the basis of the foregoing embodiment, the controlling the movable platform to move in the predetermined mode according to the control amount of the movable platform may include:

S601、根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息。S601. Determine the predicted trajectory information of the movable platform according to the control amount of the movable platform.

例如,无人机接收到遥控器发送的无人机控制量后,会根据该无人机控制量生成初始指令序列,并根据初始指令序列对无人机的轨迹进行预测,得到预测轨迹,进一步,根据该预测轨迹确定预测轨迹信息。For example, after the drone receives the drone control amount sent by the remote control, it will generate an initial instruction sequence based on the drone control amount, and predict the drone's trajectory according to the initial instruction sequence to obtain the predicted trajectory. , Determine the predicted trajectory information according to the predicted trajectory.

可选的,所述根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息,包括:根据所述可移动平台控制量,生成初始指令序列;根据所述初始指令序列确定所述可移动平台的预测轨迹;确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Optionally, the determining the predicted trajectory information of the movable platform according to the control amount of the movable platform includes: generating an initial instruction sequence according to the control amount of the movable platform; The predicted trajectory of the movable platform; determining the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory as the predicted trajectory information.

具体的,当无人机接收到遥控器生成的无人机控制量时,根据该无人机控制量得到一个指令序列,并将该指令序列作为初始指令序列。可选的,所述初始指令序列包括:初始速度指令序列和初始加速度指令序列。Specifically, when the drone receives the drone control quantity generated by the remote controller, it obtains an instruction sequence according to the drone control quantity, and uses the instruction sequence as the initial instruction sequence. Optionally, the initial instruction sequence includes: an initial speed instruction sequence and an initial acceleration instruction sequence.

当该无人机控制量为直线轨迹对应的无人机控制量时,该初始指令序列可以包括:初始线速度指令序列和初始线加速度指令序列。在一个示例中,可将无人机控制量映射为线速度指令,并根据上一个时刻滤波后的线速度指令对当前时刻的线速度指令进行滤波,并根据匀加速模型得到初始线速度指令序列,并根据空气阻力模型,查找与初始线速度指令序列中的线速度相对应的线加速度,从而得到初始线加速度指令序列。在其它示例中,也可以将无人机控制量映射为线加速度指令,查找与初始线加速度指令序列中的线加速度相对应的线速度,从而得到初始线速度指令序列;或者,也可以将无人机控制量同时映射为线速度指令序列和线加速度指令序列。When the UAV control quantity is the UAV control quantity corresponding to the linear trajectory, the initial instruction sequence may include: an initial linear velocity instruction sequence and an initial linear acceleration instruction sequence. In one example, the UAV control quantity can be mapped to a linear speed command, and the current linear speed command can be filtered according to the linear speed command filtered at the previous time, and the initial linear speed command sequence can be obtained according to the uniform acceleration model , And according to the air resistance model, find the linear acceleration corresponding to the linear velocity in the initial linear velocity command sequence to obtain the initial linear acceleration command sequence. In other examples, the UAV control quantity can also be mapped to linear acceleration commands, and the linear velocity corresponding to the linear acceleration in the initial linear acceleration command sequence can be searched to obtain the initial linear velocity command sequence; alternatively, no The man-machine control variables are simultaneously mapped into the linear velocity command sequence and the linear acceleration command sequence.

当该无人机控制量为曲线轨迹对应的无人机控制量时,该初始指令序列包括:初始位置指令序列和初始姿态指令序列。其中,初始位置指令序列包括如上所述的初始线速度指令序列和初始线加速度指令序列。初始姿态指令序列可以包括:初始航向角速度指令序列。When the UAV control quantity is the UAV control quantity corresponding to the curved trajectory, the initial instruction sequence includes: an initial position instruction sequence and an initial attitude instruction sequence. The initial position command sequence includes the initial linear velocity command sequence and the initial linear acceleration command sequence as described above. The initial attitude command sequence may include: an initial heading and angular velocity command sequence.

生成初始指令序列后,根据初始指令序列确定无人机的预测轨迹,进一步,确定预测轨迹的至少一个轨迹点对应的无人机的位置和/或速度为预测轨迹信息。其中,轨迹点对应的无人机的位置可以理解为当该无人机位 于该轨迹点时该无人机的位置即该轨迹点的位置,轨迹点对应的无人机的速度可以理解为当该无人机位于该轨迹点时该无人机的速度。After the initial instruction sequence is generated, the predicted trajectory of the drone is determined according to the initial instruction sequence, and further, the position and/or speed of the drone corresponding to at least one trajectory point of the predicted trajectory is determined as the predicted trajectory information. Among them, the position of the drone corresponding to the trajectory point can be understood as the position of the drone when the drone is located at the trajectory point, that is, the position of the trajectory point, and the speed of the drone corresponding to the trajectory point can be understood as The speed of the drone when the drone is at the track point.

可选的,所述根据所述初始指令序列确定所述可移动平台的预测轨迹,包括:获取所述可移动平台的运动学模型,所述运动学模型包括匀加速模型、匀速模型或非线性模型中的至少一个;根据所述运动学模型和所述初始指令序列进行轨迹预测,得到所述预测轨迹。Optionally, the determining the predicted trajectory of the movable platform according to the initial instruction sequence includes: obtaining a kinematics model of the movable platform, and the kinematics model includes a uniform acceleration model, a uniform velocity model, or a nonlinear At least one of the models; performing trajectory prediction according to the kinematic model and the initial instruction sequence to obtain the predicted trajectory.

当该无人机控制量为直线轨迹对应的无人机控制量时,在确定预测轨迹的过程中,首先获取无人机的运动学模型,该运动学模型包括匀加速模型、匀速模型或非线性模型中的至少一个。再利用运动学模型对初始指令序列进行轨迹预测,得到预测轨迹,预测轨迹中的预测轨迹点通过预测位置参数进行表征。预测位置参数包括:预测位置;或者,预测位置和预测线速度。以下以匀加速模型为例进行说明,但本实施例并不限于此,还可以采用其他任何类型的运动学模型,例如但不限于:匀速模型、非线性模型等。When the UAV control quantity is the UAV control quantity corresponding to the linear trajectory, in the process of determining the predicted trajectory, the kinematics model of the UAV is first obtained. The kinematics model includes uniform acceleration model, uniform velocity model or non-uniform acceleration model. At least one of the linear models. Then use the kinematics model to predict the trajectory of the initial instruction sequence to obtain the predicted trajectory, and the predicted trajectory points in the predicted trajectory are characterized by the predicted position parameters. The predicted position parameters include: predicted position; or, predicted position and predicted linear velocity. The following takes a uniform acceleration model as an example for description, but this embodiment is not limited to this, and any other type of kinematic model may also be used, such as, but not limited to: a uniform velocity model, a nonlinear model, etc.

匀加速模型如下所示:The uniform acceleration model is as follows:

p k+1=p k+v k·Δt+0.5·a k·Δt 2        (1) p k+1 = p k +v k ·Δt+0.5·a k ·Δt 2 (1)

v k+1=v k+a k·Δt           (2) v k+1 = v k +a k ·Δt (2)

其中,Δt表示相邻时刻间的时间间隔;p k表示k时刻的位置,v k表示k时刻的线速度,a k表示k时刻的线加速度,v k+1表示k+1时刻的线速度,a k+1表示k+1时刻的线加速度。 Among them, Δt represents the time interval between adjacent moments; p k represents the position at time k, v k represents the linear velocity at time k, a k represents the linear acceleration at time k, and v k+1 represents the linear velocity at time k+1 , A k+1 represents the linear acceleration at time k+1.

本实施例中,首先获取无人机在当前时刻的位置参数,再将当前时刻的位置参数、初始线速度指令序列和初始线加速度指令序列输入公式(1)和(2),即可得到预测轨迹的预测轨迹点的预测位置参数。具体来说,可通过无人机的传感器得到无人机在当前时刻的位置p 0、线速度v 0和线加速度a 0。然后将位置p 0、线速度v 0和线加速度a 0作为公式(1)和(2)的初始值,并将初始值以及初始线速度指令序列v_cmd k中的各个线速度指令、初始线加速度指令序列a_cmd k中的各个线加速度指令代入公式(1)和(2)迭代运算,即可得到预测轨迹的各个预测轨迹点P 1,P 2,...,P n,预测轨迹点的 预测位置参数包括预测位置和预测线速度两个参数。 In this embodiment, first obtain the position parameters of the UAV at the current moment, and then input the current position parameters, the initial linear velocity command sequence and the initial linear acceleration command sequence into formulas (1) and (2) to obtain the prediction The predicted position parameter of the predicted trajectory point of the trajectory. Specifically, the position p 0 , linear velocity v 0 and linear acceleration a 0 of the UAV at the current moment can be obtained through the sensors of the UAV. Then the position p 0 , linear velocity v 0 and linear acceleration a 0 are used as the initial values of formulas (1) and (2), and the initial values and each linear velocity command and initial linear acceleration in the initial linear velocity command sequence v_cmd k Each linear acceleration command in the instruction sequence a_cmd k is substituted into formulas (1) and (2) iterative operations, and each predicted trajectory point P 1 , P 2 ,..., P n of the predicted trajectory can be obtained, and the prediction of the predicted trajectory point The position parameter includes two parameters: predicted position and predicted linear velocity.

当该无人机控制量为曲线轨迹对应的无人机控制量时,在确定预测轨迹的过程中,首先获取无人机的运动学模型,再利用运动学模型对初始指令序列进行轨迹预测,得到预测轨迹,预测轨迹中的预测轨迹点通过预测位置参数和预测姿态参数进行表征。其中,预测姿态参数包括:预测航向角和预测航向角速度。When the UAV control quantity is the UAV control quantity corresponding to the curve trajectory, in the process of determining the predicted trajectory, first obtain the kinematics model of the UAV, and then use the kinematics model to predict the trajectory of the initial instruction sequence. The predicted trajectory is obtained, and the predicted trajectory points in the predicted trajectory are characterized by predicted position parameters and predicted attitude parameters. Among them, the predicted attitude parameters include: predicted heading angle and predicted heading angular velocity.

下面以无人机控制量为直线轨迹对应的无人机控制量为例进行示意性说明。相应的,预测轨迹也可以是直线型的轨迹。在得到预测轨迹后,确定预测轨迹的至少一个轨迹点对应的无人机的位置和/或线速度为预测轨迹信息。The following is a schematic illustration by taking the UAV control quantity corresponding to the linear trajectory as an example. Correspondingly, the predicted trajectory can also be a linear trajectory. After obtaining the predicted trajectory, determine the position and/or linear velocity of the drone corresponding to at least one trajectory point of the predicted trajectory as the predicted trajectory information.

可选的,所述确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息,包括:确定所述预测轨迹的末端轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Optionally, the determining the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory is the predicted trajectory information, including: determining the movable platform corresponding to the end trajectory point of the predicted trajectory The position and/or velocity of is the predicted trajectory information.

如图7所示,30表示直线的预测轨迹,P 1,P 2,...,P n表示预测轨迹30的n个预测轨迹点,P n表示预测轨迹30的末端轨迹点,此处,将末端轨迹点P n对应的无人机的位置和/或线速度作为预测轨迹信息。 As shown in Fig. 7, 30 represents the predicted trajectory of a straight line, P 1 , P 2 ,..., P n represent the n predicted trajectory points of the predicted trajectory 30, and P n represents the end trajectory point of the predicted trajectory 30. Here, The position and/or linear velocity of the drone corresponding to the end trajectory point P n is used as the predicted trajectory information.

S602、至少部分地根据所述预测轨迹信息和所述可移动平台所处环境中的障碍物信息建立目标函数。S602: Establish an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located.

无人机还可以从欧几里得符号距离场(Euclidean Signed Distance Fields,ESDF)图中查询无人机所处环境中的障碍物信息,例如,障碍物相对于无人机的位置和距离。进一步,至少部分地根据预测轨迹信息和无人机所处环境中的障碍物信息建立目标函数。The drone can also query the obstacle information in the environment where the drone is located from the Euclidean Signed Distance Fields (ESDF) map, for example, the position and distance of the obstacle relative to the drone. Further, the objective function is established at least partly based on the predicted trajectory information and the obstacle information in the environment where the drone is located.

此处,建立目标函数是为了对该目标函数进行优化处理,即最小化目标函数,并在最小化目标函数的过程中确定出无人机可以绕开障碍物的目标轨迹。具体的,最小化目标函数可以使得目标轨迹的末端轨迹点收敛到预测轨迹的末端轨迹点,例如,最小化目标函数可以使得目标轨迹的末端轨迹点对应的无人机的线速度收敛到预测轨迹的末端轨迹点对应的无人机的线速度,和/或最小化目标函数可以使得目标轨迹的末端轨迹点对应的无人机的位置收敛到预测轨迹的末端轨迹点对应的无人机的位置。因此, 该目标函数至少与预测轨迹信息是相关的。另外,目标轨迹能够使得无人机可以绕开障碍物,即目标轨迹上的目标轨迹点与障碍物之间的距离需要满足一定的条件,因此,该目标函数至少与无人机所处环境中的障碍物信息是相关的。Here, the objective function is established to optimize the objective function, that is, to minimize the objective function, and in the process of minimizing the objective function to determine the target trajectory that the UAV can avoid obstacles. Specifically, minimizing the objective function can make the end trajectory point of the target trajectory converge to the end trajectory point of the predicted trajectory. For example, minimizing the objective function can make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the predicted trajectory The end trajectory point corresponding to the linear velocity of the UAV, and/or minimizing the objective function can make the position of the UAV corresponding to the end trajectory point of the target trajectory converge to the position of the UAV corresponding to the end trajectory point of the predicted trajectory . Therefore, the objective function is at least related to the predicted trajectory information. In addition, the target trajectory enables the UAV to bypass obstacles, that is, the distance between the target trajectory point on the target trajectory and the obstacle must meet certain conditions. Therefore, the objective function is at least the same as the environment in which the UAV is located. The obstacle information is relevant.

此外,该目标函数不仅可以与预测轨迹信息、以及无人机所处环境中的障碍物信息相关,还可以与其他信息相关,因此,可以至少部分地根据预测轨迹信息和无人机所处环境中的障碍物信息建立目标函数。In addition, the objective function can not only be related to the predicted trajectory information and obstacle information in the environment where the drone is located, but also related to other information. Therefore, it can be based at least in part on the predicted trajectory information and the environment where the drone is located. The obstacle information in establishes the objective function.

S603、最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹。S603. Minimize the objective function to determine a target trajectory for the movable platform to bypass the obstacle.

S604、控制所述可移动平台按照所述目标轨迹移动。S604: Control the movable platform to move according to the target track.

在建立目标函数后,最小化该目标函数以确定无人机绕开障碍物的目标轨迹。进一步,控制无人机按照该目标轨迹飞行。After the objective function is established, the objective function is minimized to determine the target trajectory of the UAV to avoid obstacles. Further, control the drone to fly according to the target trajectory.

为了节省最小化该目标函数的运算量,可以从预测轨迹30中采样多个预测轨迹点,并以采样后的多个预测轨迹点对应的无人机的运动参数为初值来最小化该目标函数。In order to save the computational effort to minimize the objective function, multiple predicted trajectory points can be sampled from the predicted trajectory 30, and the motion parameters of the drone corresponding to the multiple predicted trajectory points after sampling are used as initial values to minimize the target function.

在对预测轨迹30进行采样的过程中,所述方法还包括:对所述预测轨迹进行间隔采样,得到间隔采样后的预测轨迹点。In the process of sampling the predicted trajectory 30, the method further includes: sampling the predicted trajectory at intervals to obtain predicted trajectory points after the interval sampling.

如图7所示,预测轨迹30包括多个预测轨迹点,例如,P 1表示第1个预测轨迹点,P n表示第n个预测轨迹点即末端轨迹点。对预测轨迹30进行间隔采样时可以对预测轨迹30包括的n个预测轨迹点进行间隔采样,例如,每隔1个预测轨迹点采样一个预测轨迹点,最终得到8个采样后的预测轨迹点,例如,8个采样后的预测轨迹点分别记为

Figure PCTCN2020080750-appb-000001
Figure PCTCN2020080750-appb-000002
可以理解的是,本申请实施例并不限定采样间隔,例如,还可以每隔5个预测轨迹点采样一个预测轨迹点,也就是说,该采样间隔可以是固定的。在一些实施例中,该采样间隔还可以是变化的,例如,
Figure PCTCN2020080750-appb-000003
Figure PCTCN2020080750-appb-000004
之间有1个预测轨迹点,
Figure PCTCN2020080750-appb-000005
Figure PCTCN2020080750-appb-000006
之间有2个预测轨迹点。此外,本申请实施例也不限定采样后的预测轨迹点的个数,8个采样后的预测轨迹点只是一个示意性说明。 As shown in FIG. 7, the predicted trajectory 30 includes a plurality of predicted trajectory points, for example, P 1 represents the first predicted trajectory point, and P n represents the nth predicted trajectory point, that is, the end trajectory point. When the predicted trajectory 30 is sampled at intervals, the n predicted trajectory points included in the predicted trajectory 30 can be sampled at intervals. For example, one predicted trajectory point is sampled every other predicted trajectory point, and finally 8 sampled predicted trajectory points are obtained. For example, the predicted trajectory points after 8 samples are recorded as
Figure PCTCN2020080750-appb-000001
Figure PCTCN2020080750-appb-000002
It is understandable that the embodiment of the present application does not limit the sampling interval. For example, one predicted trajectory point may also be sampled every 5 predicted trajectory points, that is, the sampling interval may be fixed. In some embodiments, the sampling interval may also be variable, for example,
Figure PCTCN2020080750-appb-000003
with
Figure PCTCN2020080750-appb-000004
There is 1 predicted trajectory point in between,
Figure PCTCN2020080750-appb-000005
with
Figure PCTCN2020080750-appb-000006
There are 2 predicted trajectory points in between. In addition, the embodiment of the present application does not limit the number of predicted trajectory points after sampling, and the predicted trajectory points after 8 sampling are only a schematic illustration.

本申请实施例以固定的采样间隔为例进行示意性说明,在一些实施例中,若采样后的预测轨迹点的个数大于8个,则

Figure PCTCN2020080750-appb-000007
可以是预测轨迹30的 末端轨迹点。或者
Figure PCTCN2020080750-appb-000008
可以是预测轨迹30的末尾5个预测轨迹点中的任意一个,例如,从图7所示的虚线框31中的5个预测轨迹点中选一个预测轨迹点作为
Figure PCTCN2020080750-appb-000009
此处只是一个示意性说明,虚线框31中的预测轨迹点不限于5个。
Figure PCTCN2020080750-appb-000010
可以从采样后的预测轨迹点中随意选取。 The embodiments of the present application take a fixed sampling interval as an example for schematic illustration. In some embodiments, if the number of predicted trajectory points after sampling is greater than 8, then
Figure PCTCN2020080750-appb-000007
It may be the end trajectory point of the predicted trajectory 30. or
Figure PCTCN2020080750-appb-000008
It can be any one of the five predicted trajectory points at the end of the predicted trajectory 30. For example, one predicted trajectory point is selected from the five predicted trajectory points in the dashed box 31 shown in FIG.
Figure PCTCN2020080750-appb-000009
This is only a schematic illustration, and the predicted trajectory points in the dashed box 31 are not limited to five.
Figure PCTCN2020080750-appb-000010
It can be freely selected from the predicted trajectory points after sampling.

在另一些实施例中,若采样后的预测轨迹点的个数小于8个,则以预测轨迹30的末端轨迹点P n对应的无人机的线速度继续向前延伸预测轨迹30,直到能得到8个采样后的预测轨迹点。 In other embodiments, if the number of predicted trajectory points after sampling is less than 8, the linear velocity of the UAV corresponding to the end trajectory point P n of the predicted trajectory 30 is used to continue to extend the predicted trajectory 30 forward until it can Obtain 8 sampled predicted trajectory points.

在本申请实施例中,

Figure PCTCN2020080750-appb-000011
分别对应的无人机的位置记为
Figure PCTCN2020080750-appb-000012
k=1,2,3,4,5,6,7,8。也就是说,在本申请实施例中,大写字母和小写字母的含义是不同的,例如,
Figure PCTCN2020080750-appb-000013
表示采样后的预测轨迹点,
Figure PCTCN2020080750-appb-000014
表示
Figure PCTCN2020080750-appb-000015
对应的无人机的位置。另外,
Figure PCTCN2020080750-appb-000016
Figure PCTCN2020080750-appb-000017
分别对应的无人机的线速度记为
Figure PCTCN2020080750-appb-000018
k=1,2,3,4,5,6,7,8。
Figure PCTCN2020080750-appb-000019
Figure PCTCN2020080750-appb-000020
分别对应的无人机的线加速度记为
Figure PCTCN2020080750-appb-000021
k=1,2,3,4,5,6,7,8。 In the embodiments of this application,
Figure PCTCN2020080750-appb-000011
The positions of the corresponding drones are recorded as
Figure PCTCN2020080750-appb-000012
k=1, 2, 3, 4, 5, 6, 7, 8. That is to say, in the embodiments of this application, the meanings of uppercase letters and lowercase letters are different, for example,
Figure PCTCN2020080750-appb-000013
Indicates the predicted trajectory point after sampling,
Figure PCTCN2020080750-appb-000014
Express
Figure PCTCN2020080750-appb-000015
The location of the corresponding drone. in addition,
Figure PCTCN2020080750-appb-000016
Figure PCTCN2020080750-appb-000017
The linear velocity of the corresponding UAV is recorded as
Figure PCTCN2020080750-appb-000018
k=1, 2, 3, 4, 5, 6, 7, 8.
Figure PCTCN2020080750-appb-000019
Figure PCTCN2020080750-appb-000020
The linear acceleration of the corresponding UAV is recorded as
Figure PCTCN2020080750-appb-000021
k=1, 2, 3, 4, 5, 6, 7, 8.

在本申请实施例中,可以采用8个采样后的预测轨迹点

Figure PCTCN2020080750-appb-000022
Figure PCTCN2020080750-appb-000023
对应的无人机的运动参数为初值来最小化该目标函数。 In the embodiment of this application, 8 sampled predicted trajectory points can be used
Figure PCTCN2020080750-appb-000022
Figure PCTCN2020080750-appb-000023
The motion parameters of the corresponding UAV are initial values to minimize the objective function.

具体的,该目标函数可记为f(X),其中,X表示决策变量。通过对该目标函数f(X)进行优化,即计算该目标函数f(X)的最小函数值,可确定出无人机绕开障碍物的目标轨迹。Specifically, the objective function can be denoted as f(X), where X represents a decision variable. By optimizing the objective function f(X), that is, calculating the minimum function value of the objective function f(X), the target trajectory of the UAV to avoid obstacles can be determined.

可选的,所述最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹,包括:最小化所述目标函数以确定多个目标轨迹点对应的所述可移动平台的运动参数,所述多个目标轨迹点对应的所述可移动平台的运动参数使得所述目标函数的函数值最小。Optionally, the minimizing the objective function to determine a target trajectory for the movable platform to bypass the obstacle includes: minimizing the objective function to determine the movable corresponding to a plurality of target trajectory points The motion parameters of the platform, and the motion parameters of the movable platform corresponding to the multiple target track points minimize the function value of the target function.

例如,对目标函数f(X)进行最小化的目的是:求出多个目标轨迹点对应的无人机的运动参数,该多个目标轨迹点对应的无人机的运动参数使得该目标函数f(X)的函数值最小。可选的,所述运动参数包括位置、速度、加速度中的至少一个。For example, the objective of minimizing the objective function f(X) is to find the motion parameters of the drone corresponding to multiple target trajectory points, and the motion parameters of the drone corresponding to the multiple target trajectory points make the objective function The function value of f(X) is the smallest. Optionally, the motion parameter includes at least one of position, velocity, and acceleration.

例如,X可以是备选轨迹上的8个备选轨迹点分别对应的无人机的运动参数构成的一个向量。能够使得f(X)的函数值最小的8个备选轨迹点即 为最终所求的8个目标轨迹点。在确定该8个目标轨迹点的过程中,可以不断调整该8个备选轨迹点,直到f(X)的函数值最小。For example, X may be a vector formed by the motion parameters of the drone corresponding to the eight candidate trajectory points on the candidate trajectory. The 8 candidate trajectory points that can minimize the function value of f(X) are the final 8 target trajectory points. In the process of determining the 8 target trajectory points, the 8 candidate trajectory points can be continuously adjusted until the function value of f(X) is the smallest.

可选的,该8个目标轨迹点依次记为

Figure PCTCN2020080750-appb-000024
Figure PCTCN2020080750-appb-000025
该8个目标轨迹点分别对应的无人机的位置记为
Figure PCTCN2020080750-appb-000026
k=1,2,3,4,5,6,7,8。该8个目标轨迹点分别对应的无人机的线速度记为
Figure PCTCN2020080750-appb-000027
k=1,2,3,4,5,6,7,8。该8个目标轨迹点分别对应的无人机的线加速度记为
Figure PCTCN2020080750-appb-000028
k=1,2,3,4,5,6,7,8。 Optionally, the 8 target trajectory points are sequentially recorded as
Figure PCTCN2020080750-appb-000024
Figure PCTCN2020080750-appb-000025
The positions of the drones corresponding to the 8 target trajectory points are recorded as
Figure PCTCN2020080750-appb-000026
k=1, 2, 3, 4, 5, 6, 7, 8. The linear velocity of the UAV corresponding to the 8 target trajectory points is recorded as
Figure PCTCN2020080750-appb-000027
k=1, 2, 3, 4, 5, 6, 7, 8. The linear acceleration of the UAV corresponding to the 8 target trajectory points is recorded as
Figure PCTCN2020080750-appb-000028
k=1, 2, 3, 4, 5, 6, 7, 8.

可选的,所述最小化所述目标函数,包括:以采样后的预测轨迹点的运动参数为初值,最小化所述目标函数。Optionally, the minimizing the objective function includes: minimizing the objective function by using the motion parameter of the predicted trajectory point after sampling as an initial value.

例如,X的初值X0可以是如上所述的8个采样后的预测轨迹点分别对应的无人机的运动参数构成的向量,当该运动参数包括位置、线速度和线加速度3个参数时,X是一个24维向量。将该初值代入目标函数中得到一个函数值,该函数值记为f1。进一步,对该8个采样后的预测轨迹点中的至少一个采样后的预测轨迹点对应的无人机的运动参数进行调整,得到8个备选轨迹点分别对应的无人机的运动参数,该8个备选轨迹点分别对应的无人机的运动参数可构成X的第1次更新值X1,将该更新值X1代入目标函数中可得到函数值f2。进一步,对该8个备选轨迹点中的至少一个备选轨迹点对应的无人机的运动参数进行调整,得到更新后的8个备选轨迹点分别对应的无人机的运动参数,以便得到X的第2次更新值X2,将该更新值X2代入目标函数中可得到函数值f3,依次类推,逐步迭代可使得目标函数的函数值逐渐收敛,并确定出目标函数的最小函数值,能够使得f(X)的函数值最小的8个备选轨迹点即为所求的8个目标轨迹点。根据该8个目标轨迹点即可确定出无人机绕开障碍物的目标轨迹。无人机中的飞行控制器根据该目标轨迹控制无人机飞行并绕开障碍物。For example, the initial value X0 of X can be the vector composed of the motion parameters of the drone corresponding to the 8 sampled predicted trajectory points as described above. When the motion parameters include three parameters: position, linear velocity and linear acceleration , X is a 24-dimensional vector. Substitute the initial value into the objective function to obtain a function value, which is denoted as f1. Further, the motion parameters of the drone corresponding to at least one of the 8 sampled predicted trajectory points are adjusted to obtain the motion parameters of the drone corresponding to the 8 candidate trajectory points, respectively. The motion parameters of the UAV corresponding to the eight candidate trajectory points can constitute the first updated value X1 of X, and the updated value X1 can be substituted into the objective function to obtain the function value f2. Further, the motion parameters of the drone corresponding to at least one of the 8 candidate trajectory points are adjusted to obtain the motion parameters of the drone corresponding to the updated 8 candidate trajectory points, so that Obtain the second updated value X2 of X, and substitute the updated value X2 into the objective function to obtain the function value f3, and so on, step by step iteration can make the function value of the objective function gradually converge, and determine the minimum function value of the objective function, The 8 candidate trajectory points that can minimize the function value of f(X) are the 8 target trajectory points sought. According to the 8 target trajectory points, the target trajectory of the UAV to bypass the obstacle can be determined. The flight controller in the drone controls the drone to fly and avoid obstacles according to the target trajectory.

可以理解的是,每次调整后的8个备选轨迹点可构成一条备选轨迹,因此,在不断调整该8个备选轨迹点的过程中,可以得到多条备选轨迹。因此,目标轨迹是多条备选轨迹中能够使得f(X)的函数值最小的一条备选轨迹。It is understandable that the 8 candidate trajectory points after each adjustment can constitute one candidate trajectory, and therefore, in the process of continuously adjusting the 8 candidate trajectory points, multiple candidate trajectories can be obtained. Therefore, the target trajectory is a candidate trajectory that can minimize the function value of f(X) among multiple candidate trajectories.

可以理解的是,S201-S204的执行主体还可以是无人机对应的遥控器,当遥控器确定出绕开所述障碍物的目标轨迹后,将该目标轨迹发送给无人机,从而使得无人机中的飞行控制器根据该目标轨迹控制无人机飞行并绕 开障碍物。It is understandable that the execution subject of S201-S204 can also be the remote controller corresponding to the drone. When the remote controller determines the target trajectory to bypass the obstacle, the target trajectory is sent to the drone, so that The flight controller in the drone controls the drone to fly and avoid obstacles according to the target trajectory.

本实施例通过可移动平台控制量,确定可移动平台的预测轨迹信息,以及至少部分地根据预测轨迹信息和可移动平台所处环境中的障碍物信息建立目标函数,并通过最小化目标函数以确定可移动平台绕开障碍物的目标轨迹,由于最小化目标函数的解空间较多,即可以从无穷多条备选轨迹中选择绕开障碍物的绕行轨迹即目标轨迹,相比于采用基于运动基元的方法只能从有限的几条备选轨迹中选择绕开障碍物的绕行轨迹,当可移动平台处于障碍物较为密集的环境时,可以提高可移动平台规划出绕行轨迹的可能性,另外,从无穷多条备选轨迹中选择出的绕行轨迹可以更好的绕开障碍物,从而可以避免可移动平台在绕开障碍物的过程中频繁刹车,提高了用户体验。In this embodiment, the predicted trajectory information of the movable platform is determined by the control amount of the movable platform, and the objective function is established at least partially based on the predicted trajectory information and obstacle information in the environment where the movable platform is located, and the objective function is minimized by minimizing the objective function. Determine the target trajectory of the movable platform to bypass the obstacle. Since there is more solution space for minimizing the objective function, it is possible to select the trajectory that bypasses the obstacle from an infinite number of candidate trajectories, that is, the target trajectory. The method based on motion primitives can only choose a detour trajectory that bypasses obstacles from a limited number of candidate trajectories. When the movable platform is in an environment with dense obstacles, the movable platform can be improved to plan the detour trajectory In addition, the detour trajectory selected from an infinite number of alternative trajectories can better avoid obstacles, thereby avoiding frequent braking of the movable platform in the process of avoiding obstacles, improving user experience .

本申请实施例提供一种可移动平台的控制方法。在上述实施例的基础上,所述目标函数用于优化:所述目标轨迹的末端轨迹点与预测轨迹的末端轨迹点对应的可移动平台的速度差异和/或位置差异;以及所述目标轨迹中各个目标轨迹点与目标障碍物的距离。The embodiment of the present application provides a method for controlling a movable platform. On the basis of the foregoing embodiment, the objective function is used to optimize: the speed difference and/or position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory; and the target trajectory The distance between each target track point in the target and the target obstacle.

例如,最小化目标函数f(X)可以表示为如下公式(3):For example, the minimized objective function f(X) can be expressed as the following formula (3):

minf(X)=f ep(X)+f c(X)        (3) minf(X)=f ep (X)+f c (X) (3)

其中,f ep(X)表示终点代价函数,作用是使目标轨迹的末端轨迹点收敛到预测轨迹的末端轨迹点,例如,使得目标轨迹的末端轨迹点对应的无人机的线速度收敛到预测轨迹的末端轨迹点对应的无人机的线速度,和/或使得目标轨迹的末端轨迹点对应的无人机的位置收敛到预测轨迹的末端轨迹点对应的无人机的位置。在计算目标函数f(X)的最小值的过程中,f ep(X)可以优化目标轨迹的末端轨迹点对应的无人机的线速度与预测轨迹的末端轨迹点对应的无人机的线速度之间的差异,和/或f ep(X)可以优化目标轨迹的末端轨迹点对应的无人机的位置与预测轨迹的末端轨迹点对应的无人机的位置之间的差异。当如前所述的差异越小时,目标函数f(X)的函数值越小。f c(X)表示碰撞代价函数,作用是使目标轨迹可以绕开障碍物。在计算目标函数f(X)的最小值的过程中,f c(X)可以优化目标轨迹中各个目标轨迹点与目标障碍物的距离,当该距离越大时,目标函数f(X)的 函数值越小。 Among them, f ep (X) represents the end point cost function, which is used to make the end trajectory point of the target trajectory converge to the end trajectory point of the predicted trajectory, for example, make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the prediction The linear velocity of the UAV corresponding to the end trajectory point of the trajectory, and/or the position of the UAV corresponding to the end trajectory point of the target trajectory converges to the position of the UAV corresponding to the end trajectory point of the predicted trajectory. In the process of calculating the minimum value of the objective function f(X), f ep (X) can optimize the line speed of the UAV corresponding to the end trajectory point of the target trajectory and the line of the UAV corresponding to the end trajectory point of the predicted trajectory The difference between the speeds, and/or f ep (X) can optimize the difference between the position of the drone corresponding to the end trajectory point of the target trajectory and the position of the drone corresponding to the end trajectory point of the predicted trajectory. When the difference as described above is smaller, the function value of the objective function f(X) is smaller. f c (X) represents the collision cost function, and the function is to make the target trajectory to avoid obstacles. In the process of calculating the minimum value of the objective function f(X), f c (X) can optimize the distance between each target trajectory point in the target trajectory and the target obstacle. When the distance is larger, the objective function f(X) The smaller the function value.

可选的,所述目标函数还用于优化:所述目标轨迹的各个轨迹点的速度、加速度或加速度的变化率。Optionally, the objective function is also used to optimize: the velocity, acceleration, or rate of change of acceleration at each track point of the target trajectory.

例如,最小化目标函数f(X)还可以表示为如下公式(4):For example, minimizing the objective function f(X) can also be expressed as the following formula (4):

minf(X)=f ep(X)+f c(X)+f q(X)       (4) minf(X)=f ep (X)+f c (X)+f q (X) (4)

其中,f ep(X)和f c(X)的含义如上所述,此处不再赘述。f q(X)表示备选轨迹的各阶微分代价函数,作用是惩罚比较激进的备选轨迹,从而使得最终确定的目标轨迹较为平滑。在计算目标函数f(X)的最小值的过程中,f q(X)可以优化目标轨迹的各个轨迹点的速度、加速度或加速度的变化率。 Among them, the meanings of f ep (X) and f c (X) are as described above, and will not be repeated here. f q (X) represents the differential cost function of each order of the candidate trajectory, and its function is to punish the more aggressive candidate trajectory, so that the final target trajectory is smoother. In the process of calculating the minimum value of the objective function f(X), f q (X) can optimize the velocity, acceleration, or rate of change of acceleration at each trajectory point of the target trajectory.

可选的,所述目标函数还用于优化:所述目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型和动力学模型的匹配度。Optionally, the objective function is also used to optimize: the degree of matching of the position, velocity, and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.

例如,最小化目标函数f(X)还可以表示为如下公式(5)或(6):For example, the minimized objective function f(X) can also be expressed as the following formula (5) or (6):

minf(X)=f ep(X)+f c(X)+f q(X)+f soft(X)      (5) minf(X)=f ep (X)+f c (X)+f q (X)+f soft (X) (5)

minf(X)=f ep(X)+f c(X)+f soft(X)        (6) minf(X)=f ep (X)+f c (X)+f soft (X) (6)

其中,f ep(X)、f c(X)、f q(X)的含义如上所述,此处不再赘述。f soft(X)表示目标轨迹点需要满足的软约束,例如,运动学约束以及各阶微分的边界约束,作用是使目标轨迹点符合运动学模型的同时其各阶微分满足动力学模型。在计算目标函数f(X)的最小值的过程中,f soft(X)可以优化目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型和动力学模型的匹配度。 Among them, the meanings of f ep (X), f c (X), and f q (X) are as described above, and will not be repeated here. f soft (X) represents the soft constraints that the target trajectory point needs to meet, for example, the kinematic constraints and the boundary constraints of each order differential. The function is to make the target trajectory point conform to the kinematic model while its differentials satisfy the dynamic model. In the process of calculating the minimum value of the objective function f(X), f soft (X) can optimize the matching degree of the position, velocity and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.

本实施例通过目标函数优化目标轨迹的末端轨迹点与预测轨迹的末端轨迹点对应的可移动平台的速度差异和/或位置差异,可使得目标轨迹的末端轨迹点收敛到预测轨迹的末端轨迹点,从而可以使得无人机沿着目标轨迹飞行之后可以返回到预测轨迹继续飞行,或者沿着预测轨迹的末端轨迹点的线速度继续飞行。通过目标函数优化目标轨迹中各个目标轨迹点与目标障碍物的距离,可以使得目标轨迹中的各个目标轨迹点尽可能的远离目标障碍物,从而提高了无人机沿着该目标轨迹飞行的安全性。另外,通过目标函数优化目标轨迹的各个轨迹点的速度、加速度或加速度的变化率,可避免目标轨迹太过激进,从而可以使得目标轨迹较为平滑。此外,通过目标函数优化目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型 和动力学模型的匹配度,可使得目标轨迹的各个轨迹点尽可能的满足运动学模型和动力学模型,提高了无人机飞行的平稳性。This embodiment uses the objective function to optimize the speed difference and/or position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory, so that the end trajectory point of the target trajectory converges to the end trajectory point of the predicted trajectory , So that after flying along the target trajectory, the UAV can return to the predicted trajectory and continue to fly, or continue to fly along the linear velocity of the end trajectory point of the predicted trajectory. By optimizing the distance between each target trajectory point in the target trajectory and the target obstacle through the objective function, each target trajectory point in the target trajectory can be as far away from the target obstacle as possible, thereby improving the safety of the drone flying along the target trajectory sex. In addition, by optimizing the velocity, acceleration, or rate of change of acceleration at each trajectory point of the target trajectory through the objective function, the target trajectory can be prevented from being too aggressive, and the target trajectory can be made smoother. In addition, by optimizing the matching degree of the position, speed and acceleration of each track point of the target trajectory with the kinematic model and dynamic model through the objective function, each track point of the target trajectory can satisfy the kinematic model and dynamic model as much as possible. Improve the flight stability of the UAV.

本申请实施例提供一种可移动平台的控制方法。在上述实施例的基础上,所述目标函数包括第一代价函数,所述目标轨迹的末端轨迹点对应的可移动平台的速度与所述预测轨迹的末端轨迹点对应的可移动平台的速度的差异越大,所述第一代价函数的取值越大。The embodiment of the present application provides a method for controlling a movable platform. On the basis of the foregoing embodiment, the objective function includes a first cost function, and the velocity of the movable platform corresponding to the end trajectory point of the target trajectory is equal to the velocity of the movable platform corresponding to the end trajectory point of the predicted trajectory. The greater the difference, the greater the value of the first cost function.

例如,上述实施例所述的f ep(X)可记为第一代价函数,f ep(X)可表示为如下公式(7): For example, the f ep (X) described in the above embodiment can be recorded as the first cost function, and f ep (X) can be expressed as the following formula (7):

Figure PCTCN2020080750-appb-000029
Figure PCTCN2020080750-appb-000029

其中,λ v表示权重系数,

Figure PCTCN2020080750-appb-000030
表示目标轨迹的末端轨迹点对应的无人机的线速度,
Figure PCTCN2020080750-appb-000031
表示预测轨迹的末端轨迹点对应的无人机的线速度,当
Figure PCTCN2020080750-appb-000032
Figure PCTCN2020080750-appb-000033
的差异越大时,f ep(X)的取值越大。为了能够计算出目标函数的最小值,
Figure PCTCN2020080750-appb-000034
Figure PCTCN2020080750-appb-000035
的差异越小越好,也就是说,
Figure PCTCN2020080750-appb-000036
Figure PCTCN2020080750-appb-000037
的差异越小,目标函数的函数值越小。因此,f ep(X)可以使得目标轨迹的末端轨迹点对应的无人机的线速度收敛到预测轨迹的末端轨迹点对应的无人机的线速度。 Among them, λ v represents the weight coefficient,
Figure PCTCN2020080750-appb-000030
Indicates the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory,
Figure PCTCN2020080750-appb-000031
Indicates the linear velocity of the UAV corresponding to the end trajectory point of the predicted trajectory, when
Figure PCTCN2020080750-appb-000032
and
Figure PCTCN2020080750-appb-000033
The larger the difference between f ep (X), the larger the value of f ep (X). In order to be able to calculate the minimum value of the objective function,
Figure PCTCN2020080750-appb-000034
and
Figure PCTCN2020080750-appb-000035
The smaller the difference, the better, that is,
Figure PCTCN2020080750-appb-000036
and
Figure PCTCN2020080750-appb-000037
The smaller the difference, the smaller the function value of the objective function. Therefore, f ep (X) can make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the linear velocity of the UAV corresponding to the end trajectory point of the predicted trajectory.

可选的,所述目标轨迹的末端轨迹点对应的可移动平台的位置与所述预测轨迹的末端轨迹点对应的可移动平台的位置的差异越大,所述第一代价函数的取值越大。Optionally, the greater the difference between the position of the movable platform corresponding to the end trajectory point of the target trajectory and the position of the movable platform corresponding to the end trajectory point of the predicted trajectory, the greater the value of the first cost function Big.

例如,在一些实施例中,f ep(X)还可表示为如下公式(8): For example, in some embodiments, f ep (X) can also be expressed as the following formula (8):

Figure PCTCN2020080750-appb-000038
Figure PCTCN2020080750-appb-000038

其中,λ p表示权重系数,

Figure PCTCN2020080750-appb-000039
表示目标轨迹的末端轨迹点对应的无人机的位置,
Figure PCTCN2020080750-appb-000040
表示预测轨迹的末端轨迹点对应的无人机的位置,当
Figure PCTCN2020080750-appb-000041
Figure PCTCN2020080750-appb-000042
的差异越大时,f ep(X)的取值越大。为了能够计算出目标函数的最小值,
Figure PCTCN2020080750-appb-000043
Figure PCTCN2020080750-appb-000044
的差异越小越好,也就是说,
Figure PCTCN2020080750-appb-000045
Figure PCTCN2020080750-appb-000046
的差异越小,目标函数的函数值越小。因此,f ep(X)可以使得目标轨迹的末端轨迹点对应的无人机的位置收敛到预测轨迹的末端轨迹点对应的无人机的位置。 Among them, λ p represents the weight coefficient,
Figure PCTCN2020080750-appb-000039
Indicates the position of the drone corresponding to the end trajectory point of the target trajectory,
Figure PCTCN2020080750-appb-000040
Indicates the position of the drone corresponding to the end trajectory point of the predicted trajectory, when
Figure PCTCN2020080750-appb-000041
and
Figure PCTCN2020080750-appb-000042
The larger the difference between f ep (X), the larger the value of f ep (X). In order to be able to calculate the minimum value of the objective function,
Figure PCTCN2020080750-appb-000043
and
Figure PCTCN2020080750-appb-000044
The smaller the difference, the better, that is,
Figure PCTCN2020080750-appb-000045
and
Figure PCTCN2020080750-appb-000046
The smaller the difference, the smaller the function value of the objective function. Therefore, f ep (X) can make the position of the UAV corresponding to the end trajectory point of the target trajectory converge to the position of the UAV corresponding to the end trajectory point of the predicted trajectory.

在另外一些实施例中,f ep(X)还可表示为如下公式(9): In other embodiments, f ep (X) can also be expressed as the following formula (9):

Figure PCTCN2020080750-appb-000047
Figure PCTCN2020080750-appb-000047

在这种情况下,f ep(X)不仅可以使得目标轨迹的末端轨迹点对应的无 人机的线速度收敛到预测轨迹的末端轨迹点对应的无人机的线速度,还可以使得目标轨迹的末端轨迹点对应的无人机的位置收敛到预测轨迹的末端轨迹点对应的无人机的位置。 In this case, f ep (X) can not only make the linear velocity of the UAV corresponding to the end trajectory point of the target trajectory converge to the linear velocity of the UAV corresponding to the end trajectory point of the predicted trajectory, but also make the target trajectory The position of the drone corresponding to the end trajectory point of is converged to the position of the drone corresponding to the end trajectory point of the predicted trajectory.

可选的,所述目标函数包括第二代价函数,所述目标轨迹中各个目标轨迹点与目标障碍物的距离越近,所述第二代价函数的取值越大。所述目标轨迹中各个目标轨迹点对应的可移动平台的速度越大,所述第二代价函数的取值越大。Optionally, the objective function includes a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle is, the larger the value of the second cost function is. The higher the speed of the movable platform corresponding to each target trajectory point in the target trajectory, the larger the value of the second cost function.

例如,上述实施例所述的f c(X)可记为第二代价函数,f c(X)可表示为如下公式(10): For example, the f c (X) described in the above embodiment can be recorded as the second cost function, and f c (X) can be expressed as the following formula (10):

Figure PCTCN2020080750-appb-000048
Figure PCTCN2020080750-appb-000048

其中,λ c表示权重系数,

Figure PCTCN2020080750-appb-000049
表示8个目标轨迹点分别对应的无人机的位置,
Figure PCTCN2020080750-appb-000050
表示8个目标轨迹点分别对应的无人机的线速度。其中,c(p)为单点碰撞距离代价函数,c(p)可表示为如下公式(11): Among them, λ c represents the weight coefficient,
Figure PCTCN2020080750-appb-000049
Indicates the location of the drone corresponding to the 8 target trajectory points,
Figure PCTCN2020080750-appb-000050
Represents the linear velocity of the UAV corresponding to the 8 target trajectory points. Among them, c(p) is the single-point collision distance cost function, and c(p) can be expressed as the following formula (11):

Figure PCTCN2020080750-appb-000051
Figure PCTCN2020080750-appb-000051

其中,τ表示障碍物距离的安全阈值。d(p)表示位置p与目标障碍物的距离,该目标障碍物可从ESDF图中查询获得。当d(p)和c(p)中的p为

Figure PCTCN2020080750-appb-000052
时,目标轨迹中各个目标轨迹点与目标障碍物的距离越近,f c(X)的取值越大。为了能够计算出目标函数的最小值,目标轨迹中各个目标轨迹点与目标障碍物的距离越远越好,也就是说,目标轨迹中各个目标轨迹点与目标障碍物的距离越远,目标函数的函数值越小,因此,f c(X)可以对距离目标障碍物小于安全阈值的目标轨迹点进行惩罚,以免无人机碰撞到障碍物。 Among them, τ represents the safety threshold of the obstacle distance. d(p) represents the distance between the position p and the target obstacle, and the target obstacle can be obtained from the ESDF map. When p in d(p) and c(p) is
Figure PCTCN2020080750-appb-000052
When the distance between each target trajectory point in the target trajectory and the target obstacle is closer, the value of f c (X) is larger. In order to be able to calculate the minimum value of the objective function, the farther the distance between each target trajectory point in the target trajectory and the target obstacle, the better, that is, the farther the distance between each target trajectory point in the target trajectory and the target obstacle is, the objective function The smaller the value of the function is, therefore, f c (X) can punish the target trajectory points that are less than the safety threshold from the target obstacle to prevent the drone from colliding with the obstacle.

可选的,所述目标障碍物包括距离所述目标轨迹点最近的障碍物。当该目标障碍物是不同种类的障碍物时,f c(X)中的权重系数可以不同,例 如,当该目标障碍物为人体时,f c(X)中的权重系数可以比较大。另外,由于c(p)中包括位置p相对于最近障碍物的距离与安全阈值的差值的平方,从而使得f c(X)将优化目标函数的问题变为一个非线性优化的问题,因此,在计算目标函数的最小值的过程中,例如,可以采用NLopt优化库求解非线性优化的问题,另外,还可以采用eigen3.3.5进行普通矩阵运算,采用suitesparse-metis进行稀疏矩阵操作。 Optionally, the target obstacle includes the obstacle closest to the target track point. When the target obstacle is a different type of obstacle, the weight coefficient in f c (X) can be different. For example, when the target obstacle is a human body, the weight coefficient in f c (X) can be relatively large. In addition, since c(p) includes the square of the difference between the distance between the position p and the nearest obstacle and the safety threshold, f c (X) turns the problem of optimizing the objective function into a non-linear optimization problem, so In the process of calculating the minimum value of the objective function, for example, the NLopt optimization library can be used to solve the problem of nonlinear optimization. In addition, eigen3.3.5 can also be used for ordinary matrix operations, and suitesparse-metis can be used for sparse matrix operations.

此外,根据公式(10)可知,目标轨迹中各个目标轨迹点对应的无人机的线速度越大,f c(X)的取值越大。为了能够计算出目标函数的最小值,目标轨迹中各个目标轨迹点对应的无人机的线速度越小越好,以使目标轨迹可以缓慢的沿着目标轨迹绕过障碍物,防止由于无人机速度太快而难以控制导致与障碍物发生碰撞。 In addition, according to formula (10), it can be known that the greater the linear velocity of the UAV corresponding to each target trajectory point in the target trajectory, the greater the value of f c (X). In order to be able to calculate the minimum value of the objective function, the linear velocity of the UAV corresponding to each target trajectory point in the target trajectory is as small as possible, so that the target trajectory can slowly bypass obstacles along the target trajectory to prevent unmanned The speed of the machine is too fast and difficult to control, resulting in a collision with obstacles.

可选的,所述目标函数包括第三代价函数,所述目标轨迹的各个目标轨迹点对应的可移动平台的加速度或所述加速度的变化率越大,所述第三代价函数的取值越大。Optionally, the objective function includes a third cost function, and the greater the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory, the greater the value of the third cost function. Big.

例如,上述实施例所述的f q(X)可记为第三代价函数,f q(X)可表示为如下公式(12): For example, the f q (X) described in the above embodiment can be recorded as the third cost function, and f q (X) can be expressed as the following formula (12):

Figure PCTCN2020080750-appb-000053
Figure PCTCN2020080750-appb-000053

其中,λ a和λ j分别表示权重系数,

Figure PCTCN2020080750-appb-000054
表示8个目标轨迹点分别对应的无人机的线加速度。目标轨迹的各个目标轨迹点对应的无人机的线加速度或线加速度的变化率越大,f q(X)的取值越大,为了能够计算出目标函数的最小值,目标轨迹的各个目标轨迹点对应的无人机的线加速度或线加速度的变化率越小越好,也就是说,f q(X)可以对目标轨迹的各个目标轨迹点对应的无人机的线加速度或线加速度的变化率进行惩罚,从而使得目标轨迹不要太激进,而是平滑一些。 Among them, λ a and λ j respectively represent the weight coefficients,
Figure PCTCN2020080750-appb-000054
Represents the linear acceleration of the UAV corresponding to the 8 target trajectory points. The greater the linear acceleration or the rate of change of linear acceleration of the UAV corresponding to each target trajectory point of the target trajectory, the greater the value of f q (X). In order to calculate the minimum value of the objective function, each target of the target trajectory The linear acceleration or linear acceleration change rate of the UAV corresponding to the trajectory point is as small as possible. In other words, f q (X) can be used for the linear acceleration or linear acceleration of the UAV corresponding to each target trajectory point of the target trajectory. Penalizes the rate of change, so that the target trajectory is not too aggressive, but smoother.

可选的,所述目标函数包括第四代价函数,当所述目标轨迹的各个目标轨迹点的位置、速度和加速度越偏离运动学模型约束边界和/或动力学模型约束边界,所述第四代价函数的取值越大。Optionally, the objective function includes a fourth cost function, and when the position, velocity, and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary, the fourth cost function The larger the value of the cost function.

例如,上述实施例所述的f soft(X)可记为第四代价函数,f soft(X)可以使得目标轨迹点符合运动学模型的同时其各阶微分满足动力学模型。 For example, the f soft (X) described in the above embodiment can be recorded as the fourth cost function, and f soft (X) can make the target trajectory point conform to the kinematics model while its differentials satisfy the dynamics model.

例如,目标轨迹的各个目标轨迹点需要满足的运动学模型可以表示为如下公式(13)和(14)For example, the kinematic model that each target trajectory point of the target trajectory needs to meet can be expressed as the following formulas (13) and (14)

Figure PCTCN2020080750-appb-000055
Figure PCTCN2020080750-appb-000055

Figure PCTCN2020080750-appb-000056
Figure PCTCN2020080750-appb-000056

进一步,还可以将该运动学模型描述为如下公式(15)和(16)所述的软约束:Further, the kinematics model can also be described as the soft constraint described in the following formulas (15) and (16):

Figure PCTCN2020080750-appb-000057
Figure PCTCN2020080750-appb-000057

Figure PCTCN2020080750-appb-000058
Figure PCTCN2020080750-appb-000058

其中,ε p和ε v分别表示松弛因子,ε p和ε v也可称为运动学模型约束边界。如果ε p和ε v均为0,则要求目标轨迹点严格满足运动学模型。 Among them, ε p and ε v denote relaxation factors, respectively, and ε p and ε v can also be referred to as the constraint boundary of the kinematics model. If both ε p and ε v are 0, the target trajectory point is required to strictly meet the kinematics model.

例如,目标轨迹的各个目标轨迹点需要满足的动力学模型可以表示为如下公式(17)和(18):For example, the dynamic model that each target trajectory point of the target trajectory needs to meet can be expressed as the following formulas (17) and (18):

Figure PCTCN2020080750-appb-000059
Figure PCTCN2020080750-appb-000059

Figure PCTCN2020080750-appb-000060
Figure PCTCN2020080750-appb-000060

其中,v max和a max分别表示动力学模型约束边界。例如,v max可以是无人机可以达到的最大线速度,a max可以是无人机可以达到的最大线加速度。 Among them, v max and a max respectively represent the constraint boundary of the dynamic model. For example, v max can be the maximum linear velocity that the drone can reach, and a max can be the maximum linear acceleration that the drone can reach.

f soft(X)可表示为如下公式(19): f soft (X) can be expressed as the following formula (19):

Figure PCTCN2020080750-appb-000061
Figure PCTCN2020080750-appb-000061

其中,λ kin表示运动学模型约束的权重系数,λ lim表示动力学模型约束的权重系数,

Figure PCTCN2020080750-appb-000062
可表示为如下公式(20),
Figure PCTCN2020080750-appb-000063
可表示为如下公式(21),
Figure PCTCN2020080750-appb-000064
可以是
Figure PCTCN2020080750-appb-000065
可以是
Figure PCTCN2020080750-appb-000066
Among them, λ kin represents the weight coefficient of the kinematic model constraint, λ lim represents the weight coefficient of the dynamic model constraint,
Figure PCTCN2020080750-appb-000062
It can be expressed as the following formula (20),
Figure PCTCN2020080750-appb-000063
It can be expressed as the following formula (21),
Figure PCTCN2020080750-appb-000064
Can be
Figure PCTCN2020080750-appb-000065
Can be
Figure PCTCN2020080750-appb-000066

Figure PCTCN2020080750-appb-000067
Figure PCTCN2020080750-appb-000067

Figure PCTCN2020080750-appb-000068
Figure PCTCN2020080750-appb-000068

约束函数l(x)可以表示为如下公式(22):The constraint function l(x) can be expressed as the following formula (22):

Figure PCTCN2020080750-appb-000069
Figure PCTCN2020080750-appb-000069

其中,x max表示边界约束,当

Figure PCTCN2020080750-appb-000070
时,x max=ε p。当
Figure PCTCN2020080750-appb-000071
时,x max=ε v。当
Figure PCTCN2020080750-appb-000072
时,x max=v max。当
Figure PCTCN2020080750-appb-000073
时,x max=a max。 Among them, x max represents boundary constraints, when
Figure PCTCN2020080750-appb-000070
, X maxp . when
Figure PCTCN2020080750-appb-000071
, X maxv . when
Figure PCTCN2020080750-appb-000072
, X max =v max . when
Figure PCTCN2020080750-appb-000073
, X max =a max .

根据公式(19)可知,目标轨迹的各个目标轨迹点的位置、速度和加速度偏离运动学模型约束边界和/或动力学模型约束边界的程度越大,f soft(X)的取值越大,为了能够计算出目标函数的最小值,目标轨迹的各个目标轨迹点的位置、速度和加速度偏离运动学模型约束边界和/或动力学模型约束边界的程度越小越好,也就是说,f soft(X)可以使目标轨迹点符合运动学模型的同时其各阶微分满足动力学模型。 According to formula (19), it can be seen that the position, velocity and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary, and the greater the value of f soft (X), In order to be able to calculate the minimum value of the objective function, the position, velocity and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary as small as possible, that is, f soft (X) It can make the target trajectory point conform to the kinematics model, and at the same time its various order differentials satisfy the dynamics model.

可以理解的是,f ep(X)、f c(X)、f q(X)、f soft(X)四个函数中的权重系数可以在无人机出厂时设置好的。在一些实施例中,f ep(X)、f c(X)、f q(X)、f soft(X)四个函数中的权重系数还可以是可调节的,例如,当用户优先希望目标轨迹的末端轨迹点能够收敛到预测轨迹的末端轨迹点,并且无人机可以较为安全的绕开障碍物时,可以提高f ep(X)、f c(X)中的权重系数。如果用户优先希望目标轨迹足够平滑时,可以提高f q(X)中的权重系数。通常情况下,f ep(X)、f c(X)、f soft(X)中的权重系数可以设置的较大一些,f q(X)中的权重系数可以设置的较小一些。 It is understandable that the weight coefficients in the four functions of f ep (X), f c (X), f q (X), and f soft (X) can be set before the drone leaves the factory. In some embodiments , the weight coefficients in the four functions f ep (X), f c (X), f q (X), and f soft (X) may also be adjustable. For example, when the user prefers the target When the end trajectory point of the trajectory can converge to the end trajectory point of the predicted trajectory, and the UAV can safely circumvent obstacles, the weight coefficients in f ep (X) and f c (X) can be increased. If the user preferentially wants the target trajectory to be smooth enough, the weight coefficient in f q (X) can be increased. Generally , the weight coefficients in f ep (X), f c (X), and f soft (X) can be set larger, and the weight coefficients in f q (X) can be set smaller.

如图8所示,在预测轨迹30的周围存在密集的障碍物40-障碍物45,为了避免无人机与障碍物碰撞,根据如上所述的方法,可确定出绕开障碍物的目标轨迹46,其中,f ep(X)可以选择公式(9),从而使得目标轨迹的末端轨迹点

Figure PCTCN2020080750-appb-000074
收敛到预测轨迹30的末端轨迹点
Figure PCTCN2020080750-appb-000075
因此,可以使得无人 机沿着目标轨迹46绕开障碍物之后又回到了预测轨迹30。 As shown in Fig. 8, there are dense obstacles 40-obstacles 45 around the predicted trajectory 30. In order to avoid collision between the drone and the obstacle, the target trajectory to bypass the obstacle can be determined according to the method described above. 46. Among them, f ep (X) can choose formula (9), so that the end trajectory point of the target trajectory
Figure PCTCN2020080750-appb-000074
Converges to the end trajectory point of the predicted trajectory 30
Figure PCTCN2020080750-appb-000075
Therefore, the drone can return to the predicted trajectory 30 after bypassing the obstacle along the target trajectory 46.

本申请实施例提供一种可移动平台的控制装置。该控制装置可以是可移动平台中的控制装置,例如,飞行控制器。或者,该控制装置可以是如上所述的控制设备或该控制设备中的部件。图9为本申请实施例提供的可移动平台的控制装置的结构图,如图9所示,控制装置90包括:存储器91和处理器92;其中,所述存储器91用于存储程序代码;所述处理器92调用所述程序代码,当程序代码被执行时,用于执行以下操作:当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度;根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。The embodiment of the present application provides a control device for a movable platform. The control device may be a control device in a movable platform, for example, a flight controller. Alternatively, the control device may be the above-mentioned control device or a component in the control device. Fig. 9 is a structural diagram of a control device for a movable platform provided by an embodiment of the application. As shown in Fig. 9, the control device 90 includes: a memory 91 and a processor 92; wherein the memory 91 is used to store program codes; The processor 92 calls the program code, and when the program code is executed, it is used to perform the following operations: when the movable platform enters a predetermined mode, obtain the movable platform control amount and the pan/tilt control amount, and the movable platform The platform control quantity and the PTZ control quantity are input by the user through the control device of the movable platform, and the movable platform control quantity is used to lock the speed and/or acceleration of the movable platform. The control amount is used to lock the speed and/or acceleration of the platform; control the movable platform to move in the predetermined mode according to the control amount of the movable platform, and control the cloud according to the control amount of the platform The station moves in the predetermined pattern.

可选的,所述可移动平台的速度包括如下至少一种:所述可移动平台的线速度、所述可移动平台的角速度。Optionally, the speed of the movable platform includes at least one of the following: a linear speed of the movable platform and an angular speed of the movable platform.

可选的,所述可移动平台的加速度包括如下至少一种:所述可移动平台的线加速度、所述可移动平台的角加速度。Optionally, the acceleration of the movable platform includes at least one of the following: linear acceleration of the movable platform, and angular acceleration of the movable platform.

可选的,所述云台的速度包括所述云台的姿态角速度。Optionally, the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt.

可选的,所述云台的加速度包括所述云台的姿态角加速度。Optionally, the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt.

可选的,处理器92还用于:获取预定指令,所述预定指令是根据用户对所述可移动平台的控制设备的第一操作生成的;根据所述预定指令,控制所述可移动平台进入所述预定模式。Optionally, the processor 92 is further configured to: obtain a predetermined instruction, the predetermined instruction is generated according to a user's first operation on the control device of the movable platform; according to the predetermined instruction, control the movable platform Enter the predetermined mode.

可选的,所述第一操作包括对所述控制设备的预定按键的操作。Optionally, the first operation includes an operation on a predetermined key of the control device.

可选的,处理器92在获取预定指令之前,还用于:当所述用户对所述控制设备的第二操作满足预设条件时,生成第一提示信息,所述第一提示信息用于提示所述用户对所述控制设备进行所述第一操作。Optionally, before acquiring the predetermined instruction, the processor 92 is further configured to: when the second operation of the control device by the user satisfies a preset condition, generate first prompt information, where the first prompt information is used for The user is prompted to perform the first operation on the control device.

可选的,所述第二操作包括对所述控制设备的第一部件或第二部件的操作,所述第一部件用于控制所述可移动平台,所述第二部件用于控制所述云台。Optionally, the second operation includes an operation on a first component or a second component of the control device, the first component is used to control the movable platform, and the second component is used to control the Yuntai.

可选的,所述第一部件包括摇杆,所述第二部件包括云台拨轮。Optionally, the first component includes a rocker, and the second component includes a pan/tilt dial.

可选的,所述第二操作满足预设条件,包括:所述第二操作的操作时间大于或等于第一预设时间。Optionally, the second operation meeting a preset condition includes: the operation time of the second operation is greater than or equal to a first preset time.

可选的,所述可移动平台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述可移动平台的控制量,所述云台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述云台的控制量。Optionally, the control amount of the movable platform is a control amount that is locked when the user performs the first operation on the control device for controlling the movable platform, and the control amount of the pan/tilt is the The control amount for controlling the pan/tilt that is locked when the user performs the first operation on the control device.

可选的,当所述可移动平台进入预定模式时,处理器92获取可移动平台控制量和云台控制量时,具体用于:当所述可移动平台进入预定模式时,锁定用于控制所述可移动平台的第一控制量和用于控制所述云台的第二控制量;当根据所述第一控制量控制所述可移动平台在所述预定模式下移动,以及根据所述第二控制量控制所述云台在所述预定模式下移动时,获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量;根据所述第一控制量和所述第三控制量,确定所述可移动平台控制量;根据所述第二控制量和所述第四控制量,确定所述云台控制量。Optionally, when the movable platform enters a predetermined mode, when the processor 92 acquires the movable platform control amount and the pan/tilt control amount, it is specifically used for: when the movable platform enters the predetermined mode, lock for control The first control quantity of the movable platform and the second control quantity for controlling the pan/tilt; when the movable platform is controlled to move in the predetermined mode according to the first control quantity, and according to the When the second control amount controls the pan/tilt head to move in the predetermined mode, a third control amount for controlling the movable platform and a fourth control amount for controlling the pan/tilt head are acquired; according to the first A control quantity and the third control quantity determine the movable platform control quantity; according to the second control quantity and the fourth control quantity, the pan/tilt control quantity is determined.

可选的,处理器92获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量时,具体用于:根据用户对所述第一部件的第三操作,获取用于控制所述可移动平台的第三控制量;根据所述用户对所述第二部件的第四操作,获取用于控制所述云台的第四控制量。Optionally, when the processor 92 acquires the third control quantity used to control the movable platform and the fourth control quantity used to control the pan/tilt head, it is specifically configured to: The third operation is to obtain a third control value for controlling the movable platform; and according to a fourth operation of the user on the second component, a fourth control value for controlling the pan/tilt head is obtained.

可选的,处理器92还用于:生成第二提示信息,所述第二提示信息用于提示用户是否重新锁定所述可移动平台控制量和所述云台控制量;处理器92根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动时,具体用于:根据锁定的所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据锁定的所述云台控制量控制所述云台在所述预定模式下移动。Optionally, the processor 92 is further configured to: generate second prompt information, where the second prompt information is used to prompt the user whether to relock the movable platform control amount and the pan/tilt control amount; When the control amount of the movable platform controls the movable platform to move in the predetermined mode, and when the control amount of the pan/tilt controls the platform to move in the predetermined mode, it is specifically used to: The control amount of the movable platform controls the movable platform to move in the predetermined mode, and controls the movement of the pan/tilt in the predetermined mode according to the locked control amount of the pan/tilt.

可选的,所述当所述可移动平台进入预定模式时,处理器92获取可移动平台控制量和云台控制量时,具体用于:当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之前第二预设时间内的所述可移动平台控制量和所述云台控制量。Optionally, when the processor 92 acquires the control amount of the movable platform and the control amount of the pan/tilt when the movable platform enters the predetermined mode, it is specifically configured to: when the movable platform enters the predetermined mode, obtain all the parameters. The control amount of the movable platform and the control amount of the PTZ in the second preset time before the movable platform enters the predetermined mode.

可选的,处理器92根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动时,具体用于:根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息;至少部分地根据所述预测轨迹信息和所述可移动平台所处环境中的障碍物信息建立目标函数;最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹;控制所述可移动平台按照所述目标轨迹移动。Optionally, when the processor 92 controls the movable platform to move in the predetermined mode according to the control amount of the movable platform, it is specifically configured to: determine the control value of the movable platform according to the control amount of the movable platform. Predicted trajectory information; establish an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located; minimize the objective function to determine that the movable platform bypasses the obstacle The target trajectory; controlling the movable platform to move in accordance with the target trajectory.

可选的,处理器92根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息时,具体用于:根据所述可移动平台控制量,生成初始指令序列;根据所述初始指令序列确定所述可移动平台的预测轨迹;确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Optionally, when the processor 92 determines the predicted trajectory information of the movable platform according to the control amount of the movable platform, it is specifically configured to: generate an initial instruction sequence according to the control amount of the movable platform; The instruction sequence determines the predicted trajectory of the movable platform; and determines the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory as the predicted trajectory information.

可选的,所述初始指令序列包括:初始速度指令序列和初始加速度指令序列。Optionally, the initial instruction sequence includes: an initial speed instruction sequence and an initial acceleration instruction sequence.

可选的,处理器92根据所述初始指令序列确定所述可移动平台的预测轨迹时,具体用于:获取所述可移动平台的运动学模型,所述运动学模型包括匀加速模型、匀速模型或非线性模型中的至少一个;根据所述运动学模型和所述初始指令序列进行轨迹预测,得到所述预测轨迹。Optionally, when the processor 92 determines the predicted trajectory of the movable platform according to the initial instruction sequence, it is specifically configured to: obtain a kinematics model of the movable platform, and the kinematics model includes a uniform acceleration model and a uniform velocity model. At least one of a model or a non-linear model; performing trajectory prediction according to the kinematics model and the initial instruction sequence to obtain the predicted trajectory.

可选的,处理器92确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息时,具体用于:确定所述预测轨迹的末端轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Optionally, when the processor 92 determines that the position and/or speed of the movable platform corresponding to at least one trajectory point of the predicted trajectory is the predicted trajectory information, it is specifically configured to: determine that the end trajectory point of the predicted trajectory corresponds to The position and/or speed of the movable platform is the predicted trajectory information.

可选的,处理器92还用于:对所述预测轨迹进行间隔采样,得到间隔采样后的预测轨迹点;处理器92最小化所述目标函数时,具体用于:以采样后的预测轨迹点的运动参数为初值,最小化所述目标函数。Optionally, the processor 92 is further configured to: perform interval sampling on the predicted trajectory to obtain predicted trajectory points after the interval sampling; when the processor 92 minimizes the objective function, it is specifically configured to: use the sampled predicted trajectory The motion parameter of the point is the initial value, and the objective function is minimized.

可选的,处理器92最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹时,具体用于:最小化所述目标函数以确定多个目标轨迹点对应的所述可移动平台的运动参数,所述多个目标轨迹点对应的所述可移动平台的运动参数使得所述目标函数的函数值最小。Optionally, when the processor 92 minimizes the objective function to determine a target trajectory for the movable platform to bypass the obstacle, it is specifically configured to: minimize the objective function to determine the corresponding target trajectory points The motion parameters of the movable platform, and the motion parameters of the movable platform corresponding to the multiple target trajectory points make the function value of the objective function the smallest.

可选的,所述运动参数包括位置、速度、加速度中的至少一个。Optionally, the motion parameter includes at least one of position, velocity, and acceleration.

可选的,所述目标函数用于优化:所述目标轨迹的末端轨迹点与预测 轨迹的末端轨迹点对应的可移动平台的速度差异和/或位置差异;以及所述目标轨迹中各个目标轨迹点与目标障碍物的距离。Optionally, the objective function is used to optimize: the speed difference and/or the position difference of the movable platform corresponding to the end trajectory point of the target trajectory and the end trajectory point of the predicted trajectory; and each target trajectory in the target trajectory The distance between the point and the target obstacle.

可选的,所述目标函数还用于优化:所述目标轨迹的各个轨迹点的速度、加速度或加速度的变化率。Optionally, the objective function is also used to optimize: the velocity, acceleration, or rate of change of acceleration at each track point of the target trajectory.

可选的,所述目标函数还用于优化:所述目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型和动力学模型的匹配度。Optionally, the objective function is also used to optimize: the degree of matching of the position, velocity, and acceleration of each track point of the target trajectory with the kinematics model and the dynamics model.

可选的,所述目标函数包括第一代价函数,所述目标轨迹的末端轨迹点对应的可移动平台的速度与所述预测轨迹的末端轨迹点对应的可移动平台的速度的差异越大,所述第一代价函数的取值越大。Optionally, the objective function includes a first cost function, and the greater the difference between the speed of the movable platform corresponding to the end trajectory point of the target trajectory and the speed of the movable platform corresponding to the end trajectory point of the predicted trajectory, The larger the value of the first cost function is.

可选的,所述目标轨迹的末端轨迹点对应的可移动平台的位置与所述预测轨迹的末端轨迹点对应的可移动平台的位置的差异越大,所述第一代价函数的取值越大。Optionally, the greater the difference between the position of the movable platform corresponding to the end trajectory point of the target trajectory and the position of the movable platform corresponding to the end trajectory point of the predicted trajectory, the greater the value of the first cost function Big.

可选的,所述目标函数包括第二代价函数,所述目标轨迹中各个目标轨迹点与目标障碍物的距离越近,所述第二代价函数的取值越大。Optionally, the objective function includes a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle is, the larger the value of the second cost function is.

可选的,所述目标轨迹中各个目标轨迹点对应的可移动平台的速度越大,所述第二代价函数的取值越大。Optionally, the greater the velocity of the movable platform corresponding to each target trajectory point in the target trajectory, the greater the value of the second cost function.

可选的,所述目标障碍物包括距离所述目标轨迹点最近的障碍物。Optionally, the target obstacle includes the obstacle closest to the target track point.

可选的,所述目标函数包括第三代价函数,所述目标轨迹的各个目标轨迹点对应的可移动平台的加速度或所述加速度的变化率越大,所述第三代价函数的取值越大。Optionally, the objective function includes a third cost function, and the greater the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory, the greater the value of the third cost function. Big.

可选的,所述目标函数包括第四代价函数,当所述目标轨迹的各个目标轨迹点的位置、速度和加速度越偏离运动学模型约束边界和/或动力学模型约束边界,所述第四代价函数的取值越大。Optionally, the objective function includes a fourth cost function, and when the position, velocity, and acceleration of each target trajectory point of the target trajectory deviate from the kinematic model constraint boundary and/or the dynamic model constraint boundary, the fourth cost function The larger the value of the cost function.

在一些实施例中,该控制装置90还可以包括通讯接口93,当该控制装置90是可移动平台中的控制装置时,该通讯接口93用于与控制设备通信。当该控制装置90是控制设备或控制设备中的部件时,该通讯接口93用于与可移动平台进行通信。In some embodiments, the control device 90 may further include a communication interface 93. When the control device 90 is a control device in a movable platform, the communication interface 93 is used to communicate with the control device. When the control device 90 is a control device or a component in a control device, the communication interface 93 is used to communicate with a movable platform.

本申请实施例提供的控制装置用于执行如上所述的可移动平台的控制方法,该方法的具体原理和实现方式均与上述实施例类似,此处不再赘述。The control device provided in the embodiment of the present application is used to execute the control method of the movable platform as described above. The specific principle and implementation of the method are similar to those in the above embodiment, and will not be repeated here.

本申请实施例提供一种可移动平台。该可移动平台包括:机身、动力系统和如上实施例所述的控制装置。其中,动力系统安装在所述机身,用于提供移动动力。控制装置用于执行如上所述的可移动平台的控制方法,该方法的具体原理和实现方式均与上述实施例类似,此处不再赘述。The embodiment of the present application provides a movable platform. The movable platform includes: a fuselage, a power system, and the control device as described in the above embodiment. Wherein, the power system is installed on the fuselage to provide moving power. The control device is used to execute the control method of the movable platform as described above, and the specific principle and implementation of the method are similar to the foregoing embodiment, and will not be repeated here.

可选的,所述可移动平台包括无人机。Optionally, the movable platform includes a drone.

另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的可移动平台的控制方法。In addition, this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the control method of the movable platform described in the foregoing embodiment.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only  Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute the method described in each embodiment of the present application. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, that is, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. Scope.

Claims (71)

一种可移动平台的控制方法,所述可移动平台设置有云台,其特征在于,所述方法包括:A control method of a movable platform, the movable platform is provided with a pan-tilt, characterized in that the method includes: 当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度;When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt; 根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the control amount of the pan/tilt. 根据权利要求1所述的方法,其特征在于,所述可移动平台的速度包括如下至少一种:The method according to claim 1, wherein the speed of the movable platform includes at least one of the following: 所述可移动平台的线速度、所述可移动平台的角速度。The linear velocity of the movable platform and the angular velocity of the movable platform. 根据权利要求1或2所述的方法,其特征在于,所述可移动平台的加速度包括如下至少一种:The method according to claim 1 or 2, wherein the acceleration of the movable platform includes at least one of the following: 所述可移动平台的线加速度、所述可移动平台的角加速度。The linear acceleration of the movable platform and the angular acceleration of the movable platform. 根据权利要求1-3任一项所述的方法,其特征在于,所述云台的速度包括所述云台的姿态角速度。The method according to any one of claims 1 to 3, wherein the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt. 根据权利要求1-4任一项所述的方法,其特征在于,所述云台的加速度包括所述云台的姿态角加速度。The method according to any one of claims 1 to 4, wherein the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises: 获取预定指令,所述预定指令是根据用户对所述可移动平台的控制设备的第一操作生成的;Acquiring a predetermined instruction, the predetermined instruction being generated according to a user's first operation on the control device of the movable platform; 根据所述预定指令,控制所述可移动平台进入所述预定模式。According to the predetermined instruction, the movable platform is controlled to enter the predetermined mode. 根据权利要求6所述的方法,其特征在于,所述第一操作包括对所述控制设备的预定按键的操作。The method according to claim 6, wherein the first operation comprises an operation of a predetermined key of the control device. 根据权利要求6或7所述的方法,其特征在于,所述获取预定指令之前,所述方法还包括:The method according to claim 6 or 7, characterized in that, before the obtaining the predetermined instruction, the method further comprises: 当所述用户对所述控制设备的第二操作满足预设条件时,生成第一提示信息,所述第一提示信息用于提示所述用户对所述控制设备进行所述第一操作。When the second operation of the user on the control device meets a preset condition, first prompt information is generated, where the first prompt information is used to prompt the user to perform the first operation on the control device. 根据权利要求8所述的方法,其特征在于,所述第二操作包括对所述控制设备的第一部件或第二部件的操作,所述第一部件用于控制所述可移动平台,所述第二部件用于控制所述云台。The method according to claim 8, wherein the second operation comprises an operation on a first component or a second component of the control device, and the first component is used to control the movable platform, so The second component is used to control the pan/tilt. 根据权利要求9所述的方法,其特征在于,所述第一部件包括摇杆,所述第二部件包括云台拨轮。The method according to claim 9, wherein the first component includes a rocker, and the second component includes a pan/tilt wheel. 根据权利要求8-10任一项所述的方法,其特征在于,所述第二操作满足预设条件,包括:The method according to any one of claims 8-10, wherein the second operation satisfies a preset condition, comprising: 所述第二操作的操作时间大于或等于第一预设时间。The operation time of the second operation is greater than or equal to the first preset time. 根据权利要求6-11任一项所述的方法,其特征在于,所述可移动平台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述可移动平台的控制量,所述云台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述云台的控制量。The method according to any one of claims 6-11, wherein the movable platform control amount is locked when the user performs the first operation on the control device for controlling the movable platform The control amount of the platform, the pan/tilt control amount is the control amount locked for controlling the pan/tilt when the user performs the first operation on the control device. 根据权利要求9或10所述的方法,其特征在于,当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,包括:The method according to claim 9 or 10, characterized in that, when the movable platform enters a predetermined mode, acquiring the control amount of the movable platform and the control amount of the pan/tilt includes: 当所述可移动平台进入预定模式时,锁定用于控制所述可移动平台的第一控制量和用于控制所述云台的第二控制量;When the movable platform enters a predetermined mode, lock the first control quantity for controlling the movable platform and the second control quantity for controlling the pan-tilt; 当根据所述第一控制量控制所述可移动平台在所述预定模式下移动,以及根据所述第二控制量控制所述云台在所述预定模式下移动时,获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量;When the movable platform is controlled to move in the predetermined mode according to the first control amount, and the pan-tilt is controlled to move in the predetermined mode according to the second control amount, a method for controlling the A third control quantity of the movable platform and a fourth control quantity for controlling the pan/tilt; 根据所述第一控制量和所述第三控制量,确定所述可移动平台控制量;Determining the control amount of the movable platform according to the first control amount and the third control amount; 根据所述第二控制量和所述第四控制量,确定所述云台控制量。The pan/tilt control amount is determined according to the second control amount and the fourth control amount. 根据权利要求13所述的方法,其特征在于,所述获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量,包括:The method according to claim 13, wherein said acquiring a third control value for controlling the movable platform and a fourth control value for controlling the pan/tilt head comprises: 根据用户对所述第一部件的第三操作,获取用于控制所述可移动平台的第三控制量;Obtaining a third control amount for controlling the movable platform according to the user's third operation on the first component; 根据所述用户对所述第二部件的第四操作,获取用于控制所述云台的第四控制量。According to the fourth operation of the user on the second component, a fourth control amount for controlling the pan/tilt head is acquired. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:The method according to claim 13 or 14, wherein the method further comprises: 生成第二提示信息,所述第二提示信息用于提示用户是否重新锁定所 述可移动平台控制量和所述云台控制量;Generating second prompt information, the second prompt information being used to prompt the user whether to relock the control amount of the movable platform and the control amount of the pan/tilt; 所述根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动,包括:The controlling the movable platform to move in the predetermined mode according to the control amount of the movable platform, and controlling the movement of the pan/tilt in the predetermined mode according to the control amount of the pan/tilt includes: 根据重新锁定的所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据锁定的所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the re-locked control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the locked control amount of the pan/tilt. 根据权利要求1-11任一项所述的方法,其特征在于,所述当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,包括:The method according to any one of claims 1-11, wherein when the movable platform enters a predetermined mode, obtaining a control amount of the movable platform and a control amount of the pan/tilt includes: 当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之时的所述可移动平台控制量和所述云台控制量;或者When the movable platform enters a predetermined mode, acquiring the movable platform control amount and the PTZ control amount when the movable platform enters the predetermined mode; or 当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之前第二预设时间内的所述可移动平台控制量和所述云台控制量。When the movable platform enters the predetermined mode, acquiring the movable platform control amount and the PTZ control amount within the second preset time before the movable platform enters the predetermined mode. 根据权利要求1-16任一项所述的方法,其特征在于,所述根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,包括:The method according to any one of claims 1-16, wherein the controlling the movable platform to move in the predetermined mode according to the control amount of the movable platform comprises: 根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息;Determine the predicted trajectory information of the movable platform according to the control amount of the movable platform; 至少部分地根据所述预测轨迹信息和所述可移动平台所处环境中的障碍物信息建立目标函数;Establishing an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located; 最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹;Minimizing the objective function to determine a target trajectory for the movable platform to bypass the obstacle; 控制所述可移动平台按照所述目标轨迹移动。Control the movable platform to move according to the target trajectory. 根据权利要求17所述的方法,其特征在于,所述根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息,包括:The method according to claim 17, wherein the determining the predicted trajectory information of the movable platform according to the control amount of the movable platform comprises: 根据所述可移动平台控制量,生成初始指令序列;Generating an initial instruction sequence according to the control amount of the movable platform; 根据所述初始指令序列确定所述可移动平台的预测轨迹;Determining the predicted trajectory of the movable platform according to the initial instruction sequence; 确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。The position and/or speed of the movable platform corresponding to at least one track point of the predicted track is determined as the predicted track information. 根据权利要求18所述的方法,其特征在于,所述初始指令序列包括:初始速度指令序列和初始加速度指令序列。The method according to claim 18, wherein the initial instruction sequence comprises: an initial speed instruction sequence and an initial acceleration instruction sequence. 根据权利要求18所述的方法,其特征在于,所述根据所述初始 指令序列确定所述可移动平台的预测轨迹,包括:The method according to claim 18, wherein the determining the predicted trajectory of the movable platform according to the initial instruction sequence comprises: 获取所述可移动平台的运动学模型,所述运动学模型包括匀加速模型、匀速模型或非线性模型中的至少一个;Acquiring a kinematics model of the movable platform, where the kinematics model includes at least one of a uniform acceleration model, a uniform velocity model, or a nonlinear model; 根据所述运动学模型和所述初始指令序列进行轨迹预测,得到所述预测轨迹。Perform trajectory prediction according to the kinematic model and the initial instruction sequence to obtain the predicted trajectory. 根据权利要求18所述的方法,其特征在于,所述确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息,包括:The method according to claim 18, wherein the determining the position and/or speed of the movable platform corresponding to at least one track point of the predicted trajectory is the predicted trajectory information, comprising: 确定所述预测轨迹的末端轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Determine the position and/or speed of the movable platform corresponding to the end track point of the predicted track as the predicted track information. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method according to claim 18, wherein the method further comprises: 对所述预测轨迹进行间隔采样,得到间隔采样后的预测轨迹点;Perform interval sampling on the predicted trajectory to obtain predicted trajectory points after the interval sampling; 所述最小化所述目标函数,包括:The minimizing the objective function includes: 以采样后的预测轨迹点的运动参数为初值,最小化所述目标函数。The motion parameter of the predicted trajectory point after sampling is taken as the initial value, and the objective function is minimized. 根据权利要求17所述的方法,其特征在于,所述最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹,包括:The method according to claim 17, wherein the minimizing the objective function to determine the target trajectory of the movable platform to bypass the obstacle comprises: 最小化所述目标函数以确定多个目标轨迹点对应的所述可移动平台的运动参数,所述多个目标轨迹点对应的所述可移动平台的运动参数使得所述目标函数的函数值最小。Minimize the objective function to determine the motion parameters of the movable platform corresponding to multiple target trajectory points, and the motion parameters of the movable platform corresponding to the multiple target trajectory points minimize the function value of the objective function . 根据权利要求22或23所述的方法,其特征在于,所述运动参数包括位置、速度、加速度中的至少一个。The method according to claim 22 or 23, wherein the motion parameter includes at least one of position, velocity, and acceleration. 根据权利要求17所述的方法,其特征在于,所述目标函数用于优化:The method according to claim 17, wherein the objective function is used to optimize: 所述目标轨迹的末端轨迹点与预测轨迹的末端轨迹点对应的可移动平台的速度差异和/或位置差异;以及The speed difference and/or position difference of the movable platform corresponding to the end track point of the target track and the end track point of the predicted track; and 所述目标轨迹中各个目标轨迹点与目标障碍物的距离。The distance between each target trajectory point in the target trajectory and the target obstacle. 根据权利要求25所述的方法,其特征在于,所述目标函数还用于优化:The method according to claim 25, wherein the objective function is also used for optimizing: 所述目标轨迹的各个轨迹点的速度、加速度或加速度的变化率。The velocity, acceleration, or rate of change of acceleration at each track point of the target track. 根据权利要求25或26所述的方法,其特征在于,所述目标函数 还用于优化:The method according to claim 25 or 26, wherein the objective function is also used for optimizing: 所述目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型和动力学模型的匹配度。The matching degree of the position, velocity and acceleration of each track point of the target track with the kinematic model and the dynamic model. 根据权利要求17所述的方法,其特征在于,所述目标函数包括第一代价函数,所述目标轨迹的末端轨迹点对应的可移动平台的速度与所述预测轨迹的末端轨迹点对应的可移动平台的速度的差异越大,所述第一代价函数的取值越大。The method according to claim 17, wherein the target function comprises a first cost function, and the speed of the movable platform corresponding to the end trajectory point of the target trajectory corresponds to the speed of the movable platform corresponding to the end trajectory point of the predicted trajectory. The greater the difference in the speed of the mobile platform, the greater the value of the first cost function. 根据权利要求28所述的方法,其特征在于,所述目标轨迹的末端轨迹点对应的可移动平台的位置与所述预测轨迹的末端轨迹点对应的可移动平台的位置的差异越大,所述第一代价函数的取值越大。The method according to claim 28, wherein the position of the movable platform corresponding to the end track point of the target trajectory and the position of the movable platform corresponding to the end track point of the predicted trajectory are more different, so The value of the first cost function is larger. 根据权利要求17所述的方法,其特征在于,所述目标函数包括第二代价函数,所述目标轨迹中各个目标轨迹点与目标障碍物的距离越近,所述第二代价函数的取值越大。The method according to claim 17, wherein the objective function comprises a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle, the value of the second cost function Bigger. 根据权利要求30所述的方法,其特征在于,所述目标轨迹中各个目标轨迹点对应的可移动平台的速度越大,所述第二代价函数的取值越大。The method according to claim 30, wherein the greater the speed of the movable platform corresponding to each target trajectory point in the target trajectory, the greater the value of the second cost function. 根据权利要求30或31所述的方法,其特征在于,所述目标障碍物包括距离所述目标轨迹点最近的障碍物。The method according to claim 30 or 31, wherein the target obstacle comprises an obstacle closest to the target track point. 根据权利要求17所述的方法,其特征在于,所述目标函数包括第三代价函数,所述目标轨迹的各个目标轨迹点对应的可移动平台的加速度或所述加速度的变化率越大,所述第三代价函数的取值越大。The method according to claim 17, wherein the target function comprises a third cost function, and the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory is greater, so The value of the third cost function is larger. 根据权利要求17所述的方法,其特征在于,所述目标函数包括第四代价函数,当所述目标轨迹的各个目标轨迹点的位置、速度和加速度越偏离运动学模型约束边界和/或动力学模型约束边界,所述第四代价函数的取值越大。The method according to claim 17, wherein the objective function comprises a fourth cost function, when the position, velocity, and acceleration of each target trajectory point of the target trajectory deviate from the kinematics model constraint boundary and/or the power The learning model constrains the boundary, the larger the value of the fourth cost function is. 一种可移动平台的控制装置,其特征在于,包括:存储器和处理器;A control device for a movable platform, which is characterized by comprising: a memory and a processor; 所述存储器用于存储程序代码;The memory is used to store program code; 所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations: 当所述可移动平台进入预定模式时,获取可移动平台控制量和云台控制量,所述可移动平台控制量和所述云台控制量是用户通过所述可移动平台的控制设备输入的,所述可移动平台控制量用于锁定所述可移动平台的速度和/或加速度,所述云台控制量用于锁定所述云台的速度和/或加速度;When the movable platform enters a predetermined mode, obtain the movable platform control amount and the PTZ control amount, the movable platform control amount and the PTZ control amount are input by the user through the control device of the movable platform , The movable platform control quantity is used to lock the speed and/or acceleration of the movable platform, and the pan/tilt control quantity is used to lock the speed and/or acceleration of the pan/tilt; 根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the control amount of the pan/tilt. 根据权利要求35所述的控制装置,其特征在于,所述可移动平台的速度包括如下至少一种:The control device according to claim 35, wherein the speed of the movable platform comprises at least one of the following: 所述可移动平台的线速度、所述可移动平台的角速度。The linear velocity of the movable platform and the angular velocity of the movable platform. 根据权利要求35或36所述的控制装置,其特征在于,所述可移动平台的加速度包括如下至少一种:The control device according to claim 35 or 36, wherein the acceleration of the movable platform includes at least one of the following: 所述可移动平台的线加速度、所述可移动平台的角加速度。The linear acceleration of the movable platform and the angular acceleration of the movable platform. 根据权利要求35-37任一项所述的控制装置,其特征在于,所述云台的速度包括所述云台的姿态角速度。The control device according to any one of claims 35-37, wherein the speed of the pan/tilt includes the attitude angular velocity of the pan/tilt. 根据权利要求35-38任一项所述的控制装置,其特征在于,所述云台的加速度包括所述云台的姿态角加速度。The control device according to any one of claims 35-38, wherein the acceleration of the pan/tilt includes the attitude angular acceleration of the pan/tilt. 根据权利要求35所述的控制装置,其特征在于,所述处理器还用于:The control device according to claim 35, wherein the processor is further configured to: 获取预定指令,所述预定指令是根据用户对所述可移动平台的控制设备的第一操作生成的;Acquiring a predetermined instruction, the predetermined instruction being generated according to a user's first operation on the control device of the movable platform; 根据所述预定指令,控制所述可移动平台进入所述预定模式。According to the predetermined instruction, the movable platform is controlled to enter the predetermined mode. 根据权利要求40所述的控制装置,其特征在于,所述第一操作包括对所述控制设备的预定按键的操作。The control device according to claim 40, wherein the first operation comprises an operation of a predetermined key of the control device. 根据权利要求40或41所述的控制装置,其特征在于,所述处理器在获取预定指令之前,还用于:The control device according to claim 40 or 41, wherein, before obtaining a predetermined instruction, the processor is further configured to: 当所述用户对所述控制设备的第二操作满足预设条件时,生成第一提示信息,所述第一提示信息用于提示所述用户对所述控制设备进行所述第一操作。When the second operation of the user on the control device meets a preset condition, first prompt information is generated, where the first prompt information is used to prompt the user to perform the first operation on the control device. 根据权利要求42所述的控制装置,其特征在于,所述第二操作包括对所述控制设备的第一部件或第二部件的操作,所述第一部件用于控 制所述可移动平台,所述第二部件用于控制所述云台。The control device according to claim 42, wherein the second operation comprises an operation on a first component or a second component of the control device, and the first component is used to control the movable platform, The second component is used to control the pan/tilt. 根据权利要求43所述的控制装置,其特征在于,所述第一部件包括摇杆,所述第二部件包括云台拨轮。The control device according to claim 43, wherein the first component comprises a rocker, and the second component comprises a pan/tilt dial. 根据权利要求42-44任一项所述的控制装置,其特征在于,所述第二操作满足预设条件,包括:The control device according to any one of claims 42-44, wherein the second operation satisfies a preset condition and includes: 所述第二操作的操作时间大于或等于第一预设时间。The operation time of the second operation is greater than or equal to the first preset time. 根据权利要求40-45任一项所述的控制装置,其特征在于,所述可移动平台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述可移动平台的控制量,所述云台控制量是所述用户对所述控制设备进行所述第一操作时锁定的用于控制所述云台的控制量。The control device according to any one of claims 40-45, wherein the control amount of the movable platform is locked when the user performs the first operation on the control device for controlling the The control amount of the mobile platform, where the pan/tilt control amount is the control amount locked for controlling the pan/tilt when the user performs the first operation on the control device. 根据权利要求43或44所述的控制装置,其特征在于,当所述可移动平台进入预定模式时,所述处理器获取可移动平台控制量和云台控制量时,具体用于:The control device according to claim 43 or 44, wherein when the movable platform enters a predetermined mode, when the processor obtains the control amount of the movable platform and the control amount of the pan/tilt, it is specifically used for: 当所述可移动平台进入预定模式时,锁定用于控制所述可移动平台的第一控制量和用于控制所述云台的第二控制量;When the movable platform enters a predetermined mode, lock the first control quantity for controlling the movable platform and the second control quantity for controlling the pan-tilt; 当根据所述第一控制量控制所述可移动平台在所述预定模式下移动,以及根据所述第二控制量控制所述云台在所述预定模式下移动时,获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量;When the movable platform is controlled to move in the predetermined mode according to the first control amount, and the pan-tilt is controlled to move in the predetermined mode according to the second control amount, a method for controlling the A third control quantity of the movable platform and a fourth control quantity for controlling the pan/tilt; 根据所述第一控制量和所述第三控制量,确定所述可移动平台控制量;Determining the control amount of the movable platform according to the first control amount and the third control amount; 根据所述第二控制量和所述第四控制量,确定所述云台控制量。The pan/tilt control amount is determined according to the second control amount and the fourth control amount. 根据权利要求47所述的控制装置,其特征在于,所述处理器获取用于控制所述可移动平台的第三控制量和用于控制所述云台的第四控制量时,具体用于:The control device according to claim 47, wherein when the processor acquires a third control variable for controlling the movable platform and a fourth control variable for controlling the pan/tilt, it is specifically used for : 根据用户对所述第一部件的第三操作,获取用于控制所述可移动平台的第三控制量;Obtaining a third control amount for controlling the movable platform according to the user's third operation on the first component; 根据所述用户对所述第二部件的第四操作,获取用于控制所述云台的第四控制量。According to the fourth operation of the user on the second component, a fourth control amount for controlling the pan/tilt head is acquired. 根据权利要求47或48所述的控制装置,其特征在于,所述处理器还用于:The control device according to claim 47 or 48, wherein the processor is further configured to: 生成第二提示信息,所述第二提示信息用于提示用户是否重新锁定所 述可移动平台控制量和所述云台控制量;Generating second prompt information, the second prompt information being used to prompt the user whether to relock the control amount of the movable platform and the control amount of the pan/tilt; 所述处理器根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据所述云台控制量控制所述云台在所述预定模式下移动时,具体用于:When the processor controls the movable platform to move in the predetermined mode according to the control amount of the movable platform, and controls the movement of the pan/tilt in the predetermined mode according to the control amount of the pan/tilt, it specifically uses At: 根据重新锁定的所述可移动平台控制量控制所述可移动平台在所述预定模式下移动,以及根据锁定的所述云台控制量控制所述云台在所述预定模式下移动。The movable platform is controlled to move in the predetermined mode according to the re-locked control amount of the movable platform, and the pan/tilt is controlled to move in the predetermined mode according to the locked control amount of the pan/tilt. 根据权利要求35-45任一项所述的控制装置,其特征在于,所述当所述可移动平台进入预定模式时,所述处理器获取可移动平台控制量和云台控制量时,具体用于:The control device according to any one of claims 35-45, wherein when the movable platform enters a predetermined mode, the processor obtains the control amount of the movable platform and the control amount of the pan/tilt, specifically Used for: 当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之时的所述可移动平台控制量和所述云台控制量;或者When the movable platform enters a predetermined mode, acquiring the movable platform control amount and the PTZ control amount when the movable platform enters the predetermined mode; or 当所述可移动平台进入预定模式时,获取所述可移动平台进入预定模式之前第二预设时间内的所述可移动平台控制量和所述云台控制量。When the movable platform enters the predetermined mode, acquiring the movable platform control amount and the PTZ control amount within the second preset time before the movable platform enters the predetermined mode. 根据权利要求35-50任一项所述的控制装置,其特征在于,所述处理器根据所述可移动平台控制量控制所述可移动平台在所述预定模式下移动时,具体用于:The control device according to any one of claims 35-50, wherein when the processor controls the movable platform to move in the predetermined mode according to the control amount of the movable platform, it is specifically configured to: 根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息;Determine the predicted trajectory information of the movable platform according to the control amount of the movable platform; 至少部分地根据所述预测轨迹信息和所述可移动平台所处环境中的障碍物信息建立目标函数;Establishing an objective function based at least in part on the predicted trajectory information and obstacle information in the environment where the movable platform is located; 最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹;Minimizing the objective function to determine a target trajectory for the movable platform to bypass the obstacle; 控制所述可移动平台按照所述目标轨迹移动。Control the movable platform to move according to the target trajectory. 根据权利要求51所述的控制装置,其特征在于,所述处理器根据所述可移动平台控制量,确定所述可移动平台的预测轨迹信息时,具体用于:The control device according to claim 51, wherein when the processor determines the predicted trajectory information of the movable platform according to the control amount of the movable platform, it is specifically configured to: 根据所述可移动平台控制量,生成初始指令序列;Generating an initial instruction sequence according to the control amount of the movable platform; 根据所述初始指令序列确定所述可移动平台的预测轨迹;Determining the predicted trajectory of the movable platform according to the initial instruction sequence; 确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。The position and/or speed of the movable platform corresponding to at least one track point of the predicted track is determined as the predicted track information. 根据权利要求52所述的控制装置,其特征在于,所述初始指令序列包括:初始速度指令序列和初始加速度指令序列。The control device according to claim 52, wherein the initial command sequence comprises: an initial speed command sequence and an initial acceleration command sequence. 根据权利要求52所述的控制装置,其特征在于,所述处理器根据所述初始指令序列确定所述可移动平台的预测轨迹时,具体用于:The control device according to claim 52, wherein when the processor determines the predicted trajectory of the movable platform according to the initial instruction sequence, it is specifically configured to: 获取所述可移动平台的运动学模型,所述运动学模型包括匀加速模型、匀速模型或非线性模型中的至少一个;Acquiring a kinematics model of the movable platform, where the kinematics model includes at least one of a uniform acceleration model, a uniform velocity model, or a nonlinear model; 根据所述运动学模型和所述初始指令序列进行轨迹预测,得到所述预测轨迹。Perform trajectory prediction according to the kinematic model and the initial instruction sequence to obtain the predicted trajectory. 根据权利要求52所述的控制装置,其特征在于,所述处理器确定所述预测轨迹的至少一个轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息时,具体用于:The control device according to claim 52, wherein when the processor determines that the position and/or speed of the movable platform corresponding to at least one track point of the predicted trajectory is the predicted trajectory information, it is specifically used for : 确定所述预测轨迹的末端轨迹点对应的可移动平台的位置和/或速度为所述预测轨迹信息。Determine the position and/or speed of the movable platform corresponding to the end track point of the predicted track as the predicted track information. 根据权利要求52所述的控制装置,其特征在于,所述处理器还用于:The control device according to claim 52, wherein the processor is further configured to: 对所述预测轨迹进行间隔采样,得到间隔采样后的预测轨迹点;Perform interval sampling on the predicted trajectory to obtain predicted trajectory points after the interval sampling; 所述处理器最小化所述目标函数时,具体用于:When the processor minimizes the objective function, it is specifically used for: 以采样后的预测轨迹点的运动参数为初值,最小化所述目标函数。The motion parameter of the predicted trajectory point after sampling is taken as the initial value, and the objective function is minimized. 根据权利要求51所述的控制装置,其特征在于,所述处理器最小化所述目标函数以确定所述可移动平台绕开所述障碍物的目标轨迹时,具体用于:The control device according to claim 51, wherein when the processor minimizes the objective function to determine the target trajectory of the movable platform to bypass the obstacle, it is specifically configured to: 最小化所述目标函数以确定多个目标轨迹点对应的所述可移动平台的运动参数,所述多个目标轨迹点对应的所述可移动平台的运动参数使得所述目标函数的函数值最小。Minimize the objective function to determine the motion parameters of the movable platform corresponding to multiple target trajectory points, and the motion parameters of the movable platform corresponding to the multiple target trajectory points minimize the function value of the objective function . 根据权利要求56或57所述的控制装置,其特征在于,所述运动参数包括位置、速度、加速度中的至少一个。The control device according to claim 56 or 57, wherein the motion parameter includes at least one of position, speed, and acceleration. 根据权利要求51所述的控制装置,其特征在于,所述目标函数用于优化:The control device according to claim 51, wherein the objective function is used for optimizing: 所述目标轨迹的末端轨迹点与预测轨迹的末端轨迹点对应的可移动平台的速度差异和/或位置差异;以及The speed difference and/or position difference of the movable platform corresponding to the end track point of the target track and the end track point of the predicted track; and 所述目标轨迹中各个目标轨迹点与目标障碍物的距离。The distance between each target trajectory point in the target trajectory and the target obstacle. 根据权利要求59所述的控制装置,其特征在于,所述目标函数还用于优化:The control device according to claim 59, wherein the objective function is also used for optimizing: 所述目标轨迹的各个轨迹点的速度、加速度或加速度的变化率。The velocity, acceleration, or rate of change of acceleration at each track point of the target track. 根据权利要求59或60所述的控制装置,其特征在于,所述目标函数还用于优化:The control device according to claim 59 or 60, wherein the objective function is also used for optimizing: 所述目标轨迹的各个轨迹点的位置、速度和加速度与运动学模型和动力学模型的匹配度。The matching degree of the position, velocity and acceleration of each track point of the target track with the kinematic model and the dynamic model. 根据权利要求51所述的控制装置,其特征在于,所述目标函数包括第一代价函数,所述目标轨迹的末端轨迹点对应的可移动平台的速度与所述预测轨迹的末端轨迹点对应的可移动平台的速度的差异越大,所述第一代价函数的取值越大。The control device according to claim 51, wherein the target function comprises a first cost function, and the speed of the movable platform corresponding to the end trajectory point of the target trajectory corresponds to the end trajectory point of the predicted trajectory The greater the difference in the speed of the movable platform, the greater the value of the first cost function. 根据权利要求62所述的控制装置,其特征在于,所述目标轨迹的末端轨迹点对应的可移动平台的位置与所述预测轨迹的末端轨迹点对应的可移动平台的位置的差异越大,所述第一代价函数的取值越大。The control device according to claim 62, wherein the greater the difference between the position of the movable platform corresponding to the end trajectory point of the target trajectory and the position of the movable platform corresponding to the end trajectory point of the predicted trajectory, The larger the value of the first cost function is. 根据权利要求51所述的控制装置,其特征在于,所述目标函数包括第二代价函数,所述目标轨迹中各个目标轨迹点与目标障碍物的距离越近,所述第二代价函数的取值越大。The control device according to claim 51, wherein the objective function comprises a second cost function, and the closer the distance between each target trajectory point in the target trajectory and the target obstacle is, the value of the second cost function is The larger the value. 根据权利要求64所述的控制装置,其特征在于,所述目标轨迹中各个目标轨迹点对应的可移动平台的速度越大,所述第二代价函数的取值越大。The control device according to claim 64, wherein the greater the speed of the movable platform corresponding to each target trajectory point in the target trajectory, the greater the value of the second cost function. 根据权利要求64或65所述的控制装置,其特征在于,所述目标障碍物包括距离所述目标轨迹点最近的障碍物。The control device according to claim 64 or 65, wherein the target obstacle includes an obstacle closest to the target track point. 根据权利要求51所述的控制装置,其特征在于,所述目标函数包括第三代价函数,所述目标轨迹的各个目标轨迹点对应的可移动平台的加速度或所述加速度的变化率越大,所述第三代价函数的取值越大。The control device according to claim 51, wherein the objective function comprises a third cost function, and the greater the acceleration of the movable platform or the rate of change of the acceleration corresponding to each target trajectory point of the target trajectory, The value of the third cost function is larger. 根据权利要求51所述的控制装置,其特征在于,所述目标函数包括第四代价函数,当所述目标轨迹的各个目标轨迹点的位置、速度和加速度越偏离运动学模型约束边界和/或动力学模型约束边界,所述第四代价函数的取值越大。The control device according to claim 51, wherein the objective function comprises a fourth cost function, when the position, velocity and acceleration of each target trajectory point of the target trajectory deviate from the kinematics model constraint boundary and/or The dynamic model constrains the boundary, and the value of the fourth cost function is larger. 一种可移动平台,其特征在于,包括:A movable platform, characterized in that it comprises: 机身;body; 动力系统,安装在所述机身,用于提供移动动力;The power system is installed on the fuselage to provide mobile power; 以及权利要求35-68任一项所述的控制装置。And the control device of any one of claims 35-68. 根据权利要求69所述的可移动平台,其特征在于,所述可移动平台包括无人机。The movable platform of claim 69, wherein the movable platform comprises an unmanned aerial vehicle. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器执行以实现权利要求1-34中任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1-34.
PCT/CN2020/080750 2020-03-23 2020-03-23 Control method and apparatus for movable platform, movable platform, and storage medium WO2021189215A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2020/080750 WO2021189215A1 (en) 2020-03-23 2020-03-23 Control method and apparatus for movable platform, movable platform, and storage medium
CN202510338639.9A CN120122695A (en) 2020-03-23 2020-03-23 Control method and device of movable platform
CN202080029321.8A CN113692560B (en) 2020-03-23 2020-03-23 Control method and device of movable platform, movable platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/080750 WO2021189215A1 (en) 2020-03-23 2020-03-23 Control method and apparatus for movable platform, movable platform, and storage medium

Publications (1)

Publication Number Publication Date
WO2021189215A1 true WO2021189215A1 (en) 2021-09-30

Family

ID=77890836

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/080750 WO2021189215A1 (en) 2020-03-23 2020-03-23 Control method and apparatus for movable platform, movable platform, and storage medium

Country Status (2)

Country Link
CN (2) CN113692560B (en)
WO (1) WO2021189215A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905077A (en) * 2021-10-28 2022-01-07 南京工程学院 Modularization unmanned aerial vehicle anti-shake cloud platform system based on loRa

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160144954A1 (en) * 2014-11-26 2016-05-26 Skymetro UAV Technology Inc. Unmanned aerial vehicle
CN108513649A (en) * 2017-05-24 2018-09-07 深圳市大疆创新科技有限公司 Flight control method, equipment, machine readable storage medium and system
CN108780328A (en) * 2017-12-18 2018-11-09 深圳市大疆灵眸科技有限公司 A kind of cloud platform control method, unmanned plane, holder and storage medium
CN110347171A (en) * 2019-07-12 2019-10-18 深圳市道通智能航空技术有限公司 A kind of flying vehicles control method and aircraft
CN110832419A (en) * 2018-07-25 2020-02-21 深圳市大疆创新科技有限公司 Unmanned aerial vehicle control method and system and unmanned aerial vehicle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102905111B (en) * 2012-09-07 2016-01-20 北京瀚景锦河科技有限公司 System and method for remote real-time video monitoring
CN107589691A (en) * 2017-08-11 2018-01-16 北京小米移动软件有限公司 The filming control method and device of unmanned plane
CN109116867B (en) * 2018-09-28 2020-04-14 拓攻(南京)机器人有限公司 Unmanned aerial vehicle flight obstacle avoidance method and device, electronic equipment and storage medium
WO2020087344A1 (en) * 2018-10-31 2020-05-07 深圳市大疆创新科技有限公司 Video capturing method and apparatus, and control device
CN110719401B (en) * 2019-09-23 2021-09-10 深圳市景阳信息技术有限公司 Control method and device for pan-tilt scanning, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160144954A1 (en) * 2014-11-26 2016-05-26 Skymetro UAV Technology Inc. Unmanned aerial vehicle
CN108513649A (en) * 2017-05-24 2018-09-07 深圳市大疆创新科技有限公司 Flight control method, equipment, machine readable storage medium and system
CN108780328A (en) * 2017-12-18 2018-11-09 深圳市大疆灵眸科技有限公司 A kind of cloud platform control method, unmanned plane, holder and storage medium
CN110832419A (en) * 2018-07-25 2020-02-21 深圳市大疆创新科技有限公司 Unmanned aerial vehicle control method and system and unmanned aerial vehicle
CN110347171A (en) * 2019-07-12 2019-10-18 深圳市道通智能航空技术有限公司 A kind of flying vehicles control method and aircraft

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113905077A (en) * 2021-10-28 2022-01-07 南京工程学院 Modularization unmanned aerial vehicle anti-shake cloud platform system based on loRa
CN113905077B (en) * 2021-10-28 2024-03-08 南京工程学院 Modularized unmanned aerial vehicle anti-shake cradle head system based on LoRa

Also Published As

Publication number Publication date
CN113692560A (en) 2021-11-23
CN120122695A (en) 2025-06-10
CN113692560B (en) 2025-04-11

Similar Documents

Publication Publication Date Title
US11914370B2 (en) System and method for providing easy-to-use release and auto-positioning for drone applications
WO2021189214A1 (en) Control method and apparatus for movable platform, movable platform and storage medium
US11340606B2 (en) System and method for controller-free user drone interaction
CN110825113B (en) A Formation Keeping Method Applicable to Quadrotor UAV Swarm Flight
US20190250601A1 (en) Aircraft flight user interface
WO2021212462A1 (en) Movement control method, movement apparatus, and movement platform
KR101813697B1 (en) Unmanned aerial vehicle flight control system and method using deep learning
CN109445459B (en) UAV swarm formation control method and device
WO2022042184A1 (en) Method and apparatus for estimating position of tracking target, and unmanned aerial vehicle
WO2022047709A1 (en) Method and apparatus for updating restricted area data, movable platform and computer storage medium
CN106973221A (en) Unmanned plane image capture method and system based on aesthetic evaluation
CN116360492B (en) A flapping-wing flying robot target tracking method and system
WO2021088684A1 (en) Omnidirectional obstacle avoidance method and unmanned aerial vehicle
CN111665870A (en) Trajectory tracking method and unmanned aerial vehicle
CN115494879A (en) Rotor unmanned aerial vehicle obstacle avoidance method, device and equipment based on reinforcement learning SAC
WO2021189215A1 (en) Control method and apparatus for movable platform, movable platform, and storage medium
WO2018133074A1 (en) Intelligent wheelchair system based on big data and artificial intelligence
Wang et al. Integrated learning-based framework for autonomous quadrotor UAV landing on a collaborative moving UGV
JP2021099383A (en) Information processing apparatus, information processing method, and program
WO2023025203A1 (en) Zoom control method and apparatus for gimbal camera, and terminal
WO2023025202A1 (en) Control method and apparatus for direction of gimbal, and terminal
CN116523968A (en) Target unmanned aerial vehicle state estimation method and device based on monocular vision
CN115755981A (en) Interactive unmanned aerial vehicle autonomous aerial photography method and device
CN113359852A (en) Unmanned aerial vehicle cluster cooperative control method capable of simulating individual attribute intelligent behaviors of pigeon
CN117642571A (en) Tripod head control method, control method and device of vertical stability augmentation equipment and tripod head

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20927041

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20927041

Country of ref document: EP

Kind code of ref document: A1