WO2023065112A1 - Interaction method and apparatus of following tripod head and tripod head system - Google Patents
Interaction method and apparatus of following tripod head and tripod head system Download PDFInfo
- Publication number
- WO2023065112A1 WO2023065112A1 PCT/CN2021/124681 CN2021124681W WO2023065112A1 WO 2023065112 A1 WO2023065112 A1 WO 2023065112A1 CN 2021124681 W CN2021124681 W CN 2021124681W WO 2023065112 A1 WO2023065112 A1 WO 2023065112A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- display screen
- current display
- state information
- error
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 139
- 230000003993 interaction Effects 0.000 title claims abstract description 51
- 238000013519 translation Methods 0.000 claims abstract description 47
- 230000008569 process Effects 0.000 claims abstract description 43
- 230000008859 change Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 8
- 239000003550 marker Substances 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 description 32
- 230000006641 stabilisation Effects 0.000 description 21
- 238000011105 stabilization Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 20
- 230000002452 interceptive effect Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 230000000087 stabilizing effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- NAWXUBYGYWOOIX-SFHVURJKSA-N (2s)-2-[[4-[2-(2,4-diaminoquinazolin-6-yl)ethyl]benzoyl]amino]-4-methylidenepentanedioic acid Chemical compound C1=CC2=NC(N)=NC(N)=C2C=C1CCC1=CC=C(C(=O)N[C@@H](CC(=C)C(O)=O)C(O)=O)C=C1 NAWXUBYGYWOOIX-SFHVURJKSA-N 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F16—ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
- F16M—FRAMES, CASINGS OR BEDS OF ENGINES, MACHINES OR APPARATUS, NOT SPECIFIC TO ENGINES, MACHINES OR APPARATUS PROVIDED FOR ELSEWHERE; STANDS; SUPPORTS
- F16M13/00—Other supports for positioning apparatus or articles; Means for steadying hand-held apparatus or articles
- F16M13/04—Other supports for positioning apparatus or articles; Means for steadying hand-held apparatus or articles for supporting on, or holding steady relative to, a person, e.g. by chains, e.g. rifle butt or pistol grip supports, supports attached to the chest or head
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D3/00—Control of position or direction
- G05D3/12—Control of position or direction using feedback
Definitions
- the present application relates to the field of control technology, and in particular to an interaction method, device and a pan-tilt system when following a pan-tilt.
- the gimbal can be used to stabilize the camera.
- the user uses the gimbal to fix the shooting device, and can shoot stable and smooth pictures even under sports conditions.
- the gimbal can provide the function of following the movement of the base.
- the gimbal is following, if the parameter setting is strong, the gimbal following speed is faster, and the user can feel that the target of the gimbal following is the base of the gimbal.
- the parameter setting is weaker, the gimbal will follow at a slower speed, and the smaller the error, the slower the motion, and it is difficult for the user to predict the motion of the gimbal, which makes it difficult for the user to predict the direction the lens will eventually align, resulting in It is more difficult for the user to aim the lens at the desired shooting target.
- Embodiments of the present application provide a pan-tilt-following interaction method, device, and pan-tilt system to solve the problem in the prior art that it is difficult for a user to align a lens to a desired shooting target.
- the embodiment of the present application provides a method for interacting with the PTZ when following, including:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the embodiment of the present application provides a method for interacting with the PTZ when following, including:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the preset position calculates the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a method for interacting with the PTZ when following, including:
- the corresponding position of the state information of the cloud platform target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform
- the error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a method for interacting with the PTZ when following, including:
- the target position mark is displayed at the target position;
- the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
- the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
- the memory is used to store program codes
- the processor invokes the program code, and when the program code is executed, performs the following operations:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
- the memory is used to store program codes
- the processor invokes the program code, and when the program code is executed, performs the following operations:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the preset position calculates the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
- the memory is used to store program codes
- the processor invokes the program code, and when the program code is executed, performs the following operations:
- the corresponding position of the state information of the cloud platform target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform
- the error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a pan/tilt follow-up interaction device, the device includes: a memory and a processor;
- the memory is used to store program codes
- the processor invokes the program code, and when the program code is executed, performs the following operations:
- the target position mark is displayed at the target position;
- the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
- the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
- the controller for controlling the controller of the pan tilt, the controller is used for:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
- the controller for controlling the controller of the pan tilt, the controller is used for:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the preset position calculates the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
- the controller for controlling the controller of the pan tilt, the controller is used for:
- the corresponding position of the state information of the cloud platform target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform
- the error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
- the controller for controlling the controller of the pan tilt, the controller is used for:
- the target position mark is displayed at the target position;
- the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
- an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer Executing the method described in any one of the first aspect to the fourth aspect above.
- An embodiment of the present application provides a computer program, which is used to implement the method described in any one of the first aspect to the fourth aspect when the computer program is executed by a computer.
- the user by displaying to the user the error between the current state information of the pan/tilt and the state information of the target, or displaying to the user the corresponding position of the state information indicating the target of the pan/tilt in the current display screen, so that During the process of the gimbal following the base, the user can expect the movement of the gimbal according to the displayed content, so that the direction in which the lens will be finally aligned can be predicted according to the movement of the gimbal, so that the user can compare the direction in which the lens is finally aligned with the desired direction.
- the movement of the base can be adjusted in time so as to timely adjust the expected final alignment direction of the lens, thereby facilitating the user to align the lens to a desired shooting target.
- FIG. 1 is a schematic diagram of an application scenario of an interaction method when a pan/tilt follows in an embodiment of the present application
- Fig. 2 is a schematic flow chart of the interaction method when the pan/tilt follows according to an embodiment of the present application
- FIG. 3 is a schematic flow diagram of an interaction method when the pan/tilt follows according to another embodiment of the present application.
- FIG. 4 is a schematic diagram of the relationship between the vertical field of view, the height of the image sensor, and the focal length of the lens provided by the embodiment of the present application;
- FIG. 5A is a schematic diagram of the relationship between the first angle and the preset position provided by an embodiment of the present application.
- FIG. 5B is a schematic diagram of the relationship between the second angle and the preset position provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of determining a first corresponding position according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of the relationship between the target error and the position of the third edge provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of displaying the current location identifier and the target location identifier in the current display screen provided by an embodiment of the present application;
- FIG. 9 is a schematic diagram of displaying the current location identifier and the target location identifier in the current display screen provided by another embodiment of the present application.
- FIG. 10 is a schematic flow diagram of an interaction method for pan-tilt following provided in another embodiment of the present application.
- FIG. 11 is a schematic flow diagram of an interaction method when a pan/tilt follows according to another embodiment of the present application.
- FIG. 12 is a schematic flow diagram of an interaction method for pan-tilt following provided in another embodiment of the present application.
- FIG. 13 is a schematic structural diagram of an interaction device for pan-tilt following provided by an embodiment of the present application.
- FIG. 14 is a schematic structural diagram of an interaction device when a pan/tilt follows according to another embodiment of the present application.
- FIG. 15 is a schematic structural diagram of an interaction device for pan-tilt following provided in another embodiment of the present application.
- FIG. 16 is a schematic structural diagram of an interaction device for pan-tilt following provided in another embodiment of the present application.
- the application scenario may include a pan-tilt 11 and a base 12 , and the pan-tilt 11 may be set on the base 12 .
- the pan/tilt 11 may include an axial stabilization mechanism, the axial stabilization mechanism includes at least one rotating shaft mechanism, and the rotating shaft mechanism includes at least one driving motor and at least one shaft arm rotating around a corresponding axis.
- the rotating shaft mechanism may not include a shaft arm, but is directly connected to the load through a driving motor.
- the cloud platform 11 can include three rotating shaft mechanisms, and these three rotating shaft mechanisms can include a drive motor and a pitch axis arm that rotate around the pitch axis, and rotate around the yaw (yaw) axis.
- the axial stabilization mechanism can adjust the attitude of the gimbal according to the attitude of the base.
- the platform 11 may include a vertical stabilization mechanism, and the vertical stabilization mechanism may directly carry a load so as to be in the vertical direction. It should be understood that the vertical stabilization mechanism can adjust the position of the pan-tilt according to the position of the base. Certainly, the platform 11 may also include a stabilizing mechanism for stabilizing the load such as in the horizontal direction or in the front-back direction.
- the pan/tilt 11 may include an axial stabilization mechanism and a vertical stabilization mechanism.
- the vertical stabilization mechanism may be arranged between the base 12 and the axial stabilization mechanism for bearing the axial stabilization stabilizing mechanism to stabilize the load on the axial stabilizing mechanism in the vertical direction.
- the base 12 can specifically be any type of support structure that can be used to install the pan/tilt 11.
- the base 12 can include a handle, a hand-held mechanism, a body of a movable platform, etc.
- the movable platform can include an unmanned vehicle , drones, etc.
- the application scenario may further include a controller 13 , which may be used to control the pan/tilt 11 .
- the controller 13 in FIG. 1 is located in the base 12 for example only.
- the controller 13 can determine the target posture of the pan-tilt 11 according to the current posture of the base 12, and control the posture of the pan-tilt 11 to follow the base according to the target posture of the pan-tilt 11 12; and/or, the controller 13 can determine the target position of the pan/tilt 11 in the preset translation direction according to the current position of the base 12 in the preset translation direction, and according to the preset position of the pan/tilt 11
- the target position in the translation direction controls the position of the pan-tilt 11 to follow the position of the base 12 .
- the current posture may be represented by current posture information
- the current position may be represented by current position information
- the target posture may be represented by target posture information
- the target position may be represented by target position
- both attitude and position can be understood as states, that is, both attitude and position of the pan/tilt can be understood as the state of the pan/tilt.
- the controller 13 can control the gimbal to follow the base according to the status information of the gimbal target, and the current status of the gimbal can also exist relative to the status information of the gimbal target information, wherein the state information may include posture information and/or position information, and the position information is information on a position in a preset translation direction.
- the pan/tilt follows its base, specifically, the pan/tilt follows the base in the vertical direction, that is, the position of the pan/tilt in the vertical direction can follow The position of its base in the vertical direction.
- the pan/tilt includes an axial stabilization mechanism and does not include a vertical stabilization mechanism
- the pan/tilt follows its base specifically may mean that the pan/tilt axially follows the base, that is, the posture of the pan/tilt follows the posture of its base.
- the pan/tilt When the pan/tilt includes an axial stabilization mechanism and also includes a vertical stabilization mechanism, the pan/tilt follows its base specifically can be: the pan/tilt axially follows the base, and the vertical stabilization mechanism is used for stabilization; or, the pan/tilt The platform follows the base vertically, and the axial stabilization mechanism is used for stabilizing; or, the platform follows the base both axially and vertically.
- the axial heel base can be a uniaxial heel, a biaxial heel or a triaxial heel.
- the pan/tilt 11 may also include a fixing mechanism for fixing a load, such as a shooting device.
- the shooting device may be a mobile phone or a camera, for example.
- the base 12 as the handle as an example, when the user uses the fixed shooting device on the pan-tilt 11 to shoot the desired object, the user can turn the handle of the pan-tilt 11, since the controller 13 can control the attitude of the pan-tilt 11 to follow the handle Therefore, the pan-tilt 11 can rotate following the rotation of the handle, and the rotation of the pan-tilt will drive the camera to rotate, thereby changing the shooting direction of the camera, so that the camera can aim at the shooting target required by the user.
- the speed at which the controller 13 controls the pan/tilt 11 to follow the base 12 may be slow.
- the pan/tilt 11 can be controlled to follow the base 12 according to the set parameters
- the pan/tilt follows The speed is fast
- the parameter setting is weak
- the gimbal will follow at a slow speed.
- the pan/tilt follows at a slow speed, it is difficult for the user to predict the movement of the pan/tilt, which makes it difficult for the user to predict the direction in which the lens is finally aimed, which makes it difficult for the user to align the lens to the desired shooting target.
- the current state information of the pan-tilt and the target's The error between the state information, or display to the user the corresponding position of the state information used to indicate the target of the gimbal in the current display screen, so that the user can expect the gimbal according to the displayed content during the process of the gimbal following the base.
- the method provided in the embodiment of the present application can be executed by the interactive device when the pan-tilt is followed, and the specific product form of the interactive device when the pan-tilt is followed can be flexibly implemented according to requirements.
- the interaction device when the pan-tilt follows can be included in the pan-tilt system, that is, the method provided in the embodiment of the present application can be executed by the pan-tilt system, for example, the interaction device when the pan-tilt follows can be implemented by the controller 13 , that is, the controller 13 may execute the method provided in the embodiment of the present application.
- the pan/tilt system may include a display device, and the display device may be integrated, for example, integrated in the base, or detachable, for example, detachably connected with the base.
- the interaction device when the pan-tilt follows can be included outside the pan-tilt system, that is, the method provided in the embodiment of the present application can be performed by a device outside the pan-tilt system, for example, the interaction device when the pan-tilt follows can be provided by
- the control device communicatively connected with the pan-tilt system realizes, that is, the control device communicatively connected with the pan-tilt system can execute the method provided in the embodiment of the present application.
- FIG. 2 is a schematic flowchart of a pan-tilt-following interaction method provided by an embodiment of the present application.
- the execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device.
- the method of this embodiment may include:
- Step 21 in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculate the error between the current state information of the pan-tilt and the state information of the target in real time; the state The information includes attitude information and/or position information in a preset translation direction.
- the attitude information of the gimbal target refers to the attitude information of the gimbal determined according to the current attitude information of the base in the mode of following the base of the gimbal. According to the attitude information of the gimbal target, the attitude of the gimbal can be controlled to follow the attitude of its base. It should be noted that, regarding the determination of the attitude information of the pan-tilt target and the implementation of controlling the attitude of the pan-tilt to follow the attitude of its base, you can refer to the specific description in related technologies, and will not repeat them here.
- the position information of the gimbal target refers to the position information of the gimbal in the preset translation direction determined according to the current position information of the base in the preset translation direction in the mode of following its base. According to the position information of the gimbal target, the position of the gimbal can be controlled to follow the position of its base. In practical applications, the motor drive can be used to maintain the joint angle between the vertical stabilization mechanism and the base, so that the position of the gimbal follows the position of its base. It should be noted that for the implementation of determining the position information of the pan-tilt target and controlling the position of the pan-tilt to follow the position of its base, reference may be made to specific descriptions in related technologies, which will not be repeated here.
- the current status information of the gimbal refers to the status information of the gimbal at the current moment, which can be obtained through sensor measurement.
- Sensor for example can be arranged on the fixing mechanism that is used for fixing shooting device of cloud platform, or can be arranged on the parts (such as the shaft arm of platform) that is fixedly connected with fixing mechanism of cloud platform, or can also be arranged on the shooting device .
- the current state information of the gimbal can also be considered as the status information of the camera mounted on the gimbal at the current moment.
- the error between the current state information of the gimbal and the state information of the target includes the attitude error between the current attitude information of the gimbal and the attitude information of the target;
- the error between the current state information of the gimbal and the state information of the target includes the current position information of the gimbal in the preset translation direction, and the difference between the current position information of the gimbal in the preset The position error between the position information in the moving direction.
- the current attitude information of the gimbal and the attitude information of the target of the gimbal may be represented by Euler angles or four elements.
- the four elements of the current attitude information represent q_current
- the four elements of the target attitude information represent q_follow_target
- the error between the two q_follow_err the relationship between the three can satisfy the following formula (1).
- Step 22 displaying the error.
- the calculated error can be directly displayed.
- the error can be displayed directly through the display device provided on the handle; or, the The calculated error is sent to other devices/equipment to display the error by other devices/equipment.
- the base is a UAV
- the error can be sent to the control terminal used to control the UAV to be displayed by the UAV. The control terminal displays the error.
- the error between the calculated current state information of the pan/tilt and the state information of the target can be displayed graphically, that is, the error can be displayed graphically, so that the user can intuitively know the state of the pan/tilt
- the error between the current position (and/or attitude) and the target position (and/or attitude) is beneficial to improve user experience.
- the display error can be superimposed on the current display screen, so that the user can intuitively know the current position (and/or attitude) and target position (and and/or attitude).
- the currently displayed image refers to the currently displayed shooting image. It should be understood that the currently displayed shooting picture is related to the picture taken by the shooting device mounted on the gimbal. If the shooting picture obtained by shooting is cut and then displayed, the cut shooting picture can be used as the current display picture; if it is The shooting picture obtained by shooting is not cut and displayed, and the uncut shooting picture can be used as the current display picture.
- the pan/tilt can drive the shooting device to rotate, and the rotating shaft mechanism in the pan/tilt will rotate around one or more axes during the process of the pan/tilt following the base, therefore, during the process of the pan/tilt following the base, the photographing device
- the shooting range of the camera also changes with the attitude of the gimbal, that is, the shooting picture of the shooting device is associated with the attitude of the gimbal.
- the correlation between the shooting picture and the attitude of the gimbal can be ignored.
- the thickness of the line between two fixed pixel blocks in the current display picture can be used to represent a certain rotation axis
- the error in the direction that is, by displaying a connection line corresponding to the thickness of the error between two pixel blocks in the current display screen, the error in the direction of a certain rotation axis can be superimposed and displayed in the current display screen.
- the correlation between the shooting picture and the attitude of the gimbal can be considered.
- the current position indicator can be displayed through the corresponding position of the current state information of the gimbal in the current display picture , and at the corresponding position of the state information of the pan/tilt target in the current display screen, display the target position mark, so as to realize superimposing and displaying the error on the current display screen.
- the method provided in this embodiment calculates and displays the error between the current state information of the pan-tilt and the state information of the target in real time during the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, so that During the process of the gimbal following the base, the user can predict the motion of the gimbal according to the displayed error between the gimbal's current attitude and the target attitude, and/or the error between the current position and the target position, so that the user can The movement of the gimbal anticipates the direction in which the lens is finally aligned, so that the user can adjust the movement of the base in time to adjust the expected lens in time when there is a deviation between the direction in which the expected lens is finally aligned and the direction in which the expected lens is finally aligned. The direction of the final alignment, so that it is convenient for the user to align the lens to the desired shooting target.
- Fig. 3 is a schematic flow chart of the interaction method of the pan/tilt following provided by another embodiment of the present application.
- this embodiment mainly describes a method of superimposing display errors in the current display screen Specific implementation, as shown in Figure 3, the method of this embodiment may include:
- Step 31 during the process of controlling the pan/tilt to follow its base according to the state information of the pan/tilt target, calculate the error between the current state information of the pan/tilt and the state information of the target in real time.
- step 31 is similar to step 21 and will not be repeated here.
- Step 32 according to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, the preset position refers to the current state information of the pan/tilt in the current The corresponding position on the display screen is displayed.
- Step 33 displaying the target location mark at the corresponding position of the state information of the target in the current display screen, and displaying the current position mark at the preset position.
- the current display screen may be constantly changing, and the current display screen when calculating the corresponding position of the state information of the target may be the same screen as the current display screen when displaying the target position identifier, or may be a different screen, but their corresponding The location is the same location on the screen used to display the current display.
- the preset position can be flexibly selected according to requirements, for example, the center position of the screen can be used as the preset position.
- the selection of the preset position may be related to the composition of the picture, and the focus position set in the screen may be used as the preset position, so that it is convenient for the user to compose the picture.
- the corresponding position of the state information of the pan/tilt target in the current display screen may also vary. Therefore, in the process of the pan/tilt following its base, the display position of the target position mark in the current display screen can change with the change of the current state information of the pan/tilt, and the position difference between the current position mark and the target position mark The difference between the current status information related to the gimbal and the status information of the target.
- the corresponding position of the status information of the gimbal target in the current display screen (that is, the position of the target position identifier in the current display screen) is the same as the corresponding position of the current status information of the gimbal in the current display screen (ie The error between the preset position) can represent the error between the current state information of the pan/tilt and the state information of the target.
- the corresponding position of the status information of the target in the current display screen can be continuously approached to the preset position, and the current status information of the gimbal and the status of the target When the information is consistent, the corresponding position of the target's position information in the current display screen is the preset position.
- the current location identifier and the target location identifier can overlap on the current display screen.
- the current position mark and the target position mark can be the same or different, because the display position of the current position mark is fixed (that is, fixed as a preset position) during the process of the pan/tilt following its base, and the position of the current position mark The displayed position is variable, so although the current position mark is the same as the target position mark, the user can still distinguish which is the current position mark and which is the target position mark.
- the current location identifier is different from the target location identifier, for example, the color of the current location identifier may be different from that of the target location identifier, and/or the shape of the current location identifier may be different from that of the target location identifier.
- the error when the state information includes posture information, the error may include posture error, and the corresponding position of the state information of the target in the current display screen may include the first corresponding position of the posture information of the target in the current display screen, and the target The position identification may include a first target position identification for characterizing the first corresponding position, step 32 may include determining the first corresponding position according to the attitude error and the preset position in the current display screen, and step 33 may include displaying at the first corresponding position The first target location identifier.
- the error may include a position error
- the corresponding position of the state information of the target in the current display screen may include the second corresponding position of the position information of the target in the current display screen
- the target position identification may include A second target location mark representing the second corresponding position
- step 32 may include displaying the second target position mark at the second corresponding position
- step 33 may include displaying the second target position mark at the second corresponding position. Therefore, when the error between the current state information of the pan-tilt and the state information of the target includes the position error and the attitude error, the position error and the attitude error can be displayed separately.
- the preset location based on which the first corresponding location and the second corresponding location are determined may be the same location.
- the embodiment of the present application may include the following three situations: 1), the state information includes attitude information but not position information, the first corresponding position is calculated according to the attitude error, and the first target position mark is displayed at the first corresponding position; 2), the state information includes position information but does not include attitude information, calculate the second corresponding position according to the position error, and display the second target position mark at the second corresponding position; 3), the state information includes attitude information and position information, according to the attitude calculating the first corresponding position by error, and displaying the first target position mark at the first corresponding position; and calculating the second corresponding position according to the position error, and displaying the second target position mark at the second corresponding position.
- mode 1 can be used for the aforementioned case 1)
- mode 2 can be used for the aforementioned case 2)
- mode 1+mode 2 can be used for the aforementioned case 3.
- the overall error size may be calculated according to the error, according to the error size and the preset position , to determine the corresponding position of the state information of the target in the current display screen.
- step 32 may specifically include the following steps A and B.
- Step A according to the attitude error, calculate the error angle on at least one axis under the gimbal coordinate system of the gimbal;
- Step B determining the first corresponding position according to the error angle on the at least one axis and the preset position in the current display screen.
- At least one axis in the gimbal coordinate system can be all or part of the axes in the gimbal coordinate system, which can be flexibly implemented according to requirements.
- at least one axis may include a first axis corresponding to the vertical direction in the current display picture, and/or, a second axis corresponding to the horizontal direction in the current display picture.
- the first axis in the gimbal coordinate system refers to the rotation axis that can move the current display screen in the vertical direction when the gimbal rotates around it.
- the error angle Err_y on the y-axis in the gimbal coordinate system can satisfy the formula (2).
- Vy is the Vy in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, and Vy satisfies the following formula (3);
- err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the following formula (4).
- the second axis in the gimbal coordinate system refers to the rotation axis that can move the current display screen in the horizontal direction when the gimbal rotates around it.
- the error angle Err_z on the z-axis in the gimbal coordinate system can satisfy the formula (5).
- Vz is the Vz in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, Vz satisfies the following formula (6), err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the aforementioned formula (4).
- the first corresponding position may be calculated based on a pre-established two-dimensional coordinate system.
- step B may specifically include: taking the ratio of the error angle on the first axis to the first angle as the attitude information of the target in the first coordinate system
- the corresponding vertical coordinates are used to obtain the corresponding vertical position of the attitude information of the target in the current display screen. Therefore, the vertical position of the first target position mark in the current display screen can be linked with the rotation of the first axis.
- the current display screen can move in the vertical direction, so it can ensure that the pan/tilt The consistency between the rotation around the first axis and the vertical position change of the first target position marker.
- step B may specifically include: using the ratio of the error angle on the second axis to the second angle as the attitude information of the target at the second
- the corresponding abscissa in a coordinate system is used to determine the corresponding horizontal position of the attitude information of the target in the current display screen. Therefore, the horizontal position of the first target position mark in the current display screen can be linked with the rotation of the second axis.
- the current display screen can move in the horizontal direction, so it can ensure that the pan/tilt The consistency between the rotation around the second axis and the horizontal position change of the first target position mark.
- the first angle and the second angle are both related to the preset position
- the first coordinate system takes the preset position as the coordinate origin
- the horizontal direction of the current display screen is the horizontal axis direction
- the vertical direction of the current display screen is the vertical axis direction Cartesian coordinate system.
- the first angle can be understood as an error angle corresponding to a unit length in the direction of the vertical axis in the first coordinate system. Since the edge position of the currently displayed picture in the vertical axis direction is related to the coordinate origin of the first coordinate system (ie the preset position), the distance to the coordinate origin of the first coordinate system is related to the preset position through the first angle, The vertical coordinate of the edge position of the currently displayed picture in the vertical axis direction in the first coordinate system can be the first specific value.
- the first specific value may be 1, and the first angle may also be related to the vertical viewing angle corresponding to the current display screen, so that the vertical position of the first target position in the current display screen can be used to indicate When the gimbal is in the target posture, the subject of the device is photographed.
- the vertical field angle corresponding to the current displayed picture may be equal to the vertical field angle of the shooting device; when the currently displayed picture is a cropped shooting picture, The vertical viewing angle corresponding to the currently displayed image may be smaller than the vertical viewing angle of the photographing device.
- the vertical field of view fov_h of the photographing device the height sensor_size_h of the image sensor (sensor) of the photographing device and the focal length of the lens focus_len, the relationship between the three can be shown in Figure 4, according to Figure 4, it can be determined that the three satisfy Formula (7) is as follows.
- fov_h 2 ⁇ arctan(0.5 ⁇ sensor_size_h/focus_len) Formula (7)
- the error angle on the first axis of the gimbal coordinate system can be positive or negative.
- the error angle on the first axis can correspond to the positive direction of the vertical axis of the first coordinate system.
- the error angle on the axis is negative, it may correspond to the negative direction of the vertical axis of the first coordinate system.
- the first angle can be between the preset position and the first edge position in the current display screen.
- the field of view corresponding to the number of pixels.
- there are two edge positions in the vertical axis direction of the current display picture and when the error angle on the first axis is positive, the first edge position can be one of the two edge positions in the positive direction of the vertical axis, the first When the error angle on the axis is negative, the first edge position may be one of the two edge positions in the negative direction of the vertical axis. Therefore, the vertical coordinate of the edge position of the current display picture in the vertical axis direction in the first coordinate system may be 1.
- the number of pixels between the preset position and one edge position of the current display screen in the vertical axis direction is twice the number of pixels between the preset position and the other edge position of the current display screen in the vertical axis direction
- the relationship between the first angle and the preset position may be as shown in FIG. 5A .
- the coordinates of the edge position 51 in the first coordinate system with the preset position as the origin of the coordinates are (0, 1), where 1 can correspond to the vertical viewing angle corresponding to 1/3 of the current display screen, that is, the longitudinal
- the corresponding first angle in the positive direction of the axis can be 1/3 times the vertical viewing angle corresponding to the current display screen;
- the coordinates of the edge position 52 in the first coordinate system are also (0,1), and 1 can correspond to 2
- the vertical viewing angle corresponding to the current display image of /3, that is, the first angle corresponding to the negative direction of the vertical axis may be 2/3 times the vertical viewing angle corresponding to the current display image.
- the edge position 51 and the edge position 52 are two edge positions in the vertical axis direction from the preset position to the current display image.
- the first angle may be equal to 1/2 times the vertical viewing angle corresponding to the current display image.
- the preset position is the center position of the current display image, and the first angle is equal to 1/2 times the vertical viewing angle corresponding to the current display image. Therefore, the vertical coordinate of the edge position of the current display picture in the vertical axis direction in the first coordinate system may be 1.
- the ordinate y corresponding to the target posture in the first coordinate system can satisfy the following formula (8)
- Err_y represents the error angle on the y-axis in the gimbal coordinate system
- fov_h represents the vertical field of view angle of the camera.
- the second angle can be understood as an error angle corresponding to a unit length in the direction of the horizontal axis in the first coordinate system. Since the edge position of the currently displayed picture in the vertical axis direction is related to the coordinate origin of the first coordinate system (ie, the preset position), the distance to the coordinate origin of the first coordinate system is related to the preset position through the second angle, It can be made that the abscissa of the edge position of the currently displayed image in the vertical axis direction in the first coordinate system can be the second specific value.
- the second specific value can be 1, and the second angle can also be related to the horizontal field of view corresponding to the current display screen, so that the vertical position of the target position in the current display screen can be used to indicate the pan/tilt Photograph the subject of the device while in the target pose.
- the horizontal field of view corresponding to the current displayed picture may be equal to the horizontal field of view of the shooting device; when the currently displayed picture is a cropped shooting picture, The horizontal field of view corresponding to the currently displayed image may be smaller than the horizontal field of view of the photographing device.
- the horizontal field of view fov_l of the photographing device, the horizontal size sensor_size_l of the image sensor (sensor) of the photographing device, and the focal length of the lens focus_len may satisfy the following formula (9).
- the error angle on the second axis of the gimbal coordinate system can be positive or negative.
- the error angle on the second axis can correspond to the positive direction of the horizontal axis of the first coordinate system.
- the error angle on the axis is negative, it can correspond to the negative direction of the horizontal axis of the first coordinate system.
- the second angle can be between the preset position and the second edge position in the current display screen.
- the field of view corresponding to the number of pixels.
- there are two edge positions in the direction of the horizontal axis in the current display picture and when the error angle on the second axis is positive, the second edge position can be one of the two edge positions in the positive direction of the horizontal axis, and the second When the error angle on the axis is negative, the second edge position may be one of the two edge positions in the negative direction of the horizontal axis. Therefore, the abscissa of the edge position of the current display image in the abscissa direction in the first coordinate system may be 1.
- the number of pixels between the preset position and one edge position of the current display screen in the horizontal axis direction is twice the number of pixels between the preset position and the other edge position of the current display screen in the horizontal axis direction
- the relationship among the second angle, the preset position and the first coordinate system may be as shown in FIG. 5B .
- the coordinates of the edge position 61 in the first coordinate system with the preset position as the origin of the coordinates are (1,0), where 1 may correspond to the horizontal viewing angle corresponding to 1/3 of the current display screen, that is, the horizontal field of view.
- the second angle corresponding to the negative axis direction can be 1/3 times the horizontal viewing angle corresponding to the current display screen; the abscissa of the edge position 62 in the first coordinate system is also (1,0), and 1 in it can be
- the horizontal viewing angle corresponding to 2/3 of the current display image that is, the second angle corresponding to the positive direction of the horizontal axis may be 2/3 times the horizontal viewing angle corresponding to the current display image.
- the edge position 61 and the edge position 62 are two edge positions in the horizontal axis direction from the preset position to the current display image.
- the second angle may be equal to 1/2 times the horizontal viewing angle corresponding to the current display image.
- the preset position is the center position of the current display image
- the second angle is equal to 1/2 times the horizontal viewing angle corresponding to the current display image. Therefore, the abscissa of the edge position of the current display image in the abscissa direction in the first coordinate system may be 1.
- the abscissa x corresponding to the target posture in the first coordinate system can satisfy the following formula (10)
- Err_z represents the error angle on the z-axis in the gimbal coordinate system
- fov_l represents the horizontal field of view angle of the shooting device.
- the horizontal position and vertical position of the first target position mark in the current display screen can be used to indicate the subject of the shooting device when the pan/tilt is in the target posture, so that the user can not only expect
- the rotation of the gimbal can also predict the change of the lens aimed at the object caused by the rotation of the gimbal, so that the user can predict the direction of the final alignment of the lens according to the rotation of the gimbal and the change of the lens aimed at the object, which is beneficial Improves the accuracy of the user's expected final alignment of the camera.
- the object located in the first target position mark in the current display screen can be completed for the posture of the pan/tilt, so that the first target position indicator displayed at the first corresponding position in the current display screen can indicate that the posture of the pan/tilt follows the posture of its base desired subjects.
- the object to be photographed may be a movable object, so that the user can aim the lens at the movable object.
- the position of the first target position mark in the current display screen is related to the error between the current attitude information of the pan-tilt and the attitude information of the target and the preset position, and the preset position and the attitude information of the target are determined, so the position of the first target position mark in the current display screen can change with the change of the posture of the pan-tilt, and the posture of the pan-tilt changes with the change of the posture of the base, so the first target position mark
- the position in the current display screen can change with the posture of the base, so that the first target position mark can be superimposed on the desired object in the current display screen, that is, the first target position mark can be used to clearly indicate to the user The object to be photographed, and can use the function of the gimbal to follow the base to realize the shooting of the object.
- At least one axis may further include a third axis perpendicular to the first axis or the second axis.
- the third axis can be, for example, the x-axis under the pan-tilt coordinate system.
- Vx is Vx in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, Vx satisfies the following formula (12), err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the aforementioned formula (4).
- the display gesture of the first target position mark in the current display screen can be linked with the rotation of the third axis.
- the aforementioned displaying the first target position mark at the first corresponding position may specifically include: displaying the first target position mark at the first corresponding position, and rotating the first target position mark by a target angle, the target angle being on the third axis the error angle.
- the determined coordinates corresponding to the posture information of the target in the first coordinate system may be located outside the current display screen. inside, or outside the current display.
- the position represented by the coordinates corresponding to the posture information of the target in the first coordinate system can be used as the first corresponding position; once there is a target If the coordinates corresponding to the posture information of the target in the first coordinate system are located outside the current display screen, the position indicated by the coordinates corresponding to the posture information of the target in the first coordinate system cannot be used as the first corresponding position.
- the aforementioned determination of the first corresponding position according to the posture error and the preset position in the current display screen may also include: determining the first corresponding position according to the corresponding coordinates of the target's posture information in the first coordinate system .
- determining the first corresponding position according to the coordinates corresponding to the attitude information of the target in the first coordinate system may specifically include : Determining the intersection position of the line connecting the coordinate origin of the first coordinate system to the corresponding positions of the abscissa and ordinate and the edge of the current display screen; and determining the intersection position as the first corresponding position. Therefore, the first target position identifier can be used to represent the direction of the coordinates corresponding to the posture information of the target in the first coordinate system relative to the origin of the coordinates.
- position x2 can be determined as the corresponding position of the target posture in the current display screen.
- the second corresponding position may be calculated based on a pre-established one-dimensional coordinate system.
- determining the second corresponding position may include: taking the ratio of the position error to the target error as the corresponding coordinate of the target position in the second coordinate system , to get the second corresponding position.
- the target error is related to the preset position
- the second coordinate system is a one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- the target error can be understood as an error distance corresponding to a unit length in the direction of the coordinate axis in the second coordinate system. Since the edge position of the currently displayed screen in the direction of the coordinate axis is related to the coordinate origin of the second coordinate system (ie, the preset position), the distance to the coordinate origin of the second coordinate system is related, so the target error can be related to the preset position.
- the coordinates of the edge position of the currently displayed picture in the direction of the coordinate axis in the second coordinate system may be a third specific value.
- the specific direction can be determined based on the preset translation direction and the current attitude of the shooting device mounted on the gimbal.
- the specific direction may be the vertical direction.
- the preset translation direction is the vertical direction
- the current shooting posture of the shooting device is vertical shooting
- the specific direction may be the horizontal direction.
- the third specific value may be 1, and the target error may also be the field of view angle corresponding to the current display screen, and The current focal length of the photographing device is related, so that the position of the second target position identifier in the current display screen can be used to indicate the subject of the photographing device when the pan/tilt is at the target position.
- the target error may specifically be related to the horizontal viewing angle corresponding to the current display picture; when the specific direction is the vertical direction, the target error may be specifically related to the vertical viewing angle corresponding to the current display picture.
- the position error can be positive or negative. When the position error is positive, it can correspond to the positive direction of the coordinate axis of the second coordinate system. When the position error is negative, it can correspond to the negative direction of the coordinate axis of the second coordinate system. .
- the target error can be the preset position in the current display screen and the current The corresponding pan-tilt translation distance between the third edge positions in the display screen.
- the position error is positive
- the third edge position is one of the two edge positions in the positive direction of the coordinate axis.
- the position error is negative
- the third edge position The position is one of the two edge positions in the negative direction of the coordinate axis. Therefore, the coordinate of the edge position in the direction of the coordinate axis of the current display screen may be 1 in the second coordinate system.
- the pan-tilt translation distance can be understood as the current focal length of the shooting device and the field angle corresponding to the current display picture, by moving the pan-tilt in the preset translation direction, the preset position in the current display picture
- the screen content of the current display screen is moved to the third edge position along a specific direction, or the screen content at the third edge position in the current display screen is moved to a preset position along a specific direction, the distance that the pan/tilt needs to be translated.
- the preset position is the position 71 in FIG. 7
- the third edge position is the position 72 in FIG.
- the position 71 in the specific direction and The displacement between positions 72 is 73
- the pan-tilt translation distance can be the distance 74 in Figure 7.
- the pan-tilt translation distance can be converted, and the object distance can be calculated according to the focal length get.
- the dashed and solid line rectangles are used to represent the movement of the base of the gimbal in the vertical direction
- the ellipse represents the lens
- the angle between the two lines represents the FOV angle .
- the position of the second target position mark in the current display screen can be used to indicate the subject of the shooting device when the pan/tilt is at the target position, so that the user can not only predict the position of the pan/tilt according to the displayed current position mark and the second target position mark Movement can also predict the change of the lens aiming object caused by the movement of the pan/tilt, so that the user can predict the direction of the final alignment of the lens according to the movement of the pan/tilt and the change of the lens aiming object, which is conducive to improving user expectations.
- the resulting accuracy of the final alignment direction of the lens can be used to indicate the subject of the shooting device when the pan/tilt is at the target position, so that the user can not only predict the position of the pan/tilt according to the displayed current position mark and the second target position mark Movement can also predict the change of the lens aiming object caused by the movement of the pan/tilt, so that the user can predict the direction of the final alignment of the lens according to the movement of the pan/tilt
- the object located in the second target position mark in the current display screen can be the object of the pan/tilt.
- the position of the second target position mark in the current display screen is related to the error between the current position information of the pan-tilt and the position information of the target and the preset position, and the preset position and the position information of the target are determined, so the position of the second target position mark in the current display screen can change with the change of the position of the pan-tilt, and the position of the pan-tilt changes with the change of the position of the base, thus the second target position mark
- the position in the current display screen can change with the position of the base, so that the second target position mark can be superimposed on the desired object in the current display screen, that is, the second target position mark can be used to clearly indicate to the user The object to be photographed, and can use the function of the gimbal to follow the base to realize the shooting of the object.
- the corresponding coordinates of the determined target's position information in the second coordinate system may be located outside the current display screen. inside, or outside the current display.
- the position represented by the coordinates corresponding to the position information of the target in the second coordinate system can be used as the second corresponding position; once there is a target If the coordinates corresponding to the position information of the object in the second coordinate system are outside the current display screen, the position indicated by the coordinates corresponding to the position information of the target in the first coordinate system cannot be used as the second corresponding position.
- a position other than the preset position in the current display image may be used as the second corresponding position.
- the aforementioned determination of the second corresponding position according to the position error and the preset position in the current display screen may also include: determining the second corresponding position according to the corresponding coordinates of the target's position information in the second coordinate system .
- determining the second corresponding position according to the coordinates corresponding to the position information of the target in the second coordinate system may specifically include: when the coordinates corresponding to the position information of the target in the second coordinate system are positive coordinates, setting the second coordinates The position of the intersection point between the positive direction of the coordinate axis of the coordinate system and the edge of the current display screen is determined as the second corresponding position; when the coordinates corresponding to the position information of the target in the second coordinate system are negative coordinates, the coordinate axis of the second coordinate system is negative The intersection position of the direction and the edge of the current display screen is determined as the second corresponding position.
- displaying the target position identification at the corresponding position of the target state information in the current display screen may specifically include: displaying the first type of target at the first target corresponding position of the target state information in the current display screen Position identification, the corresponding position of the first target is obtained by at least one coordinate corresponding to the first state information of the target in the first target coordinate system, at least one coordinate is related to the first error and is located within the current display screen, the first type
- the target position identifier of is used to indicate that the corresponding coordinates of the first state information of the target in the first target coordinate system are located within the current display screen, wherein the first state information of the target includes the posture information of the target, and the first target coordinate system includes The first coordinate system, the first error includes the attitude error between the current attitude information of the gimbal and the attitude information of the target; and/or, the first state information of the target includes the position information of the target, and the first target coordinate system includes the second In the coordinate system, the first error includes a position error between the
- the specific form of the first type of target location mark can be flexibly implemented.
- the first type of target position mark can include a cross cursor.
- the display effect of displaying the current position mark and the target position mark in the current display screen may be, for example, as shown in FIG. 8 . It should be noted that, in FIG. 8 , both the current position mark and the target position mark are cross cursors for example only.
- displaying the target location identifier at the corresponding position of the target status information in the current display screen may specifically include: displaying the second type of icon at the second target corresponding position of the target status information in the current display screen.
- Target position identification the corresponding position of the second target is obtained from at least one coordinate in the second target coordinate system of the second state information of the target, at least one coordinate is related to the second error and at least part of the coordinates are located outside the current display screen
- the target position identifier of the second type is used to indicate that the corresponding coordinates of the second state information of the target in the second target coordinate system are located within the current display screen.
- the second state information of the target includes the attitude information of the target, the second target coordinate system includes the first coordinate system, and the second error includes the attitude error between the current attitude information of the gimbal and the attitude information of the target; and/or,
- the second state information of the target includes position information of the target, the second target coordinate system includes the second coordinate system, and the second error includes a position error between the current position information of the pan/tilt and the position information of the target.
- the second type of target location identifier may include an arrow pointing to a direction in which the aforementioned connecting line extends from the coordinate origin. Therefore, the effect of the second type of target position identification representing the direction of the corresponding coordinates of the target posture in the corresponding coordinate system relative to the origin of the coordinates is more intuitive.
- the arrow may point to the direction in which the line L extends from the origin O of the coordinates.
- the preset position is the center position of the screen, and at least one axis includes the first axis and the second axis, then the corresponding ordinate and
- the display effect of displaying the current position mark and the target position mark in the current display screen may be as shown in FIG. 9 , for example. It should be noted that the current position marked as a cross cursor in FIG. 9 is only an example.
- the method provided in this embodiment calculates the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen.
- the preset position refers to the position of the current posture of the pan/tilt in the current display screen.
- the target position mark is displayed at the corresponding position of the target's posture information in the current display screen, and the current position mark is displayed at the preset position, which can realize the distance between the current position mark and the target position mark in the current display screen relationship to represent the error relationship between the current state information of the gimbal and the state information of the target, so that the user can understand the error situation more vividly, which is conducive to improving the user experience.
- FIG. 10 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application.
- the execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device.
- the method of this embodiment may include:
- Step 101 in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculating the error between the current state information of the pan-tilt and the state information of the target in real time; the state
- the information includes attitude information and/or position information in a preset translation direction.
- step 101 is similar to step 21 and will not be repeated here.
- Step 102 according to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state of the pan/tilt The corresponding position of the information in the current display screen.
- Step 103 displaying a target location identifier at a corresponding position of the state information of the target in the current display screen.
- the method provided in this embodiment in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculates the error between the current state information of the pan-tilt and the state information of the target in real time, according to the error and preset
- the location calculates the corresponding position of the state information of the target in the current display screen, and displays the target position identification at the corresponding position of the target state information in the current display screen, so that the user can follow the base during the pan/tilt.
- the corresponding position of the target's status information in the current display screen is used to anticipate the motion of the pan/tilt.
- FIG. 11 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application.
- the execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device.
- the method of this embodiment may include:
- Step 111 determine the corresponding position of the status information of the pan/tilt target in the current display screen; the corresponding position of the status information of the target in the current display screen is in the process of the pan/tilt following its base, based on the The error between the current state information of the pan/tilt and the state information of the target, and the preset position in the current display screen are calculated, and the preset position refers to the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction.
- the corresponding position of the state information of the PTZ object in the current display screen can be calculated by the execution subject of this embodiment and a third party other than the PTZ.
- a third party other than the PTZ Regarding the specific manner of the corresponding position of the status information of the third-party computing platform object in the current display screen, refer to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
- the specific method for determining the corresponding position of the state information of the PTZ object in the current display screen is not limited in the present application.
- the state information of the PTZ object can be determined by receiving the indication information sent by a third party and according to the indication information. The corresponding position in the currently displayed screen.
- Step 112 displaying a target location identifier at a corresponding position of the target state information in the current display screen.
- the method provided in this embodiment by determining the corresponding position of the state information of the pan-tilt target in the current display screen, and displaying the target position identification at the corresponding position of the state information of the target in the current display screen, so that the pan-tilt follows the base During the process, the user can anticipate the movement of the pan/tilt according to the corresponding position of the displayed target status information in the current display screen.
- FIG. 12 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application.
- the execution subject of this embodiment may be an interaction device for pan-tilt following, specifically a processor of the interaction device.
- the method of this embodiment may include:
- Step 121 when the current state information of the platform is not the state information of the target, display the target position identification at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the target position
- the status information is the status information of the target of the pan-tilt in the mode of following the base of the pan-tilt, and the status information includes posture information and/or position information in a preset translation direction.
- the corresponding position of the state information of the target in the current display screen (that is, the target position) is not the preset position. It should be understood that when the current state information of the pan/tilt is approaching the state information of the target, the position of the target may be close to a preset position, and the corresponding position of the state information of the target in the current display screen may be calculated according to the preset position.
- the corresponding position of the status information of the object in the current display screen can be obtained by the execution subject of this embodiment, or the execution subject of this embodiment and a third party other than the pan/tilt. It should be noted that, as for the specific manner of calculating the corresponding position of the state information of the pan/tilt object in the current display screen, refer to the related description in the embodiment shown in FIG. 3 , which will not be repeated here.
- Step 122 when the current status information of the pan/tilt is the status information of the target, display the target location identifier at a preset position in the current display screen.
- the target position logo is displayed at the target position, and when the current state information of the pan/tilt is the state information of the target, the current display screen
- the target position mark is displayed at the preset position of the target, so that during the process of the pan-tilt following the base, the user can anticipate the movement of the pan-tilt according to the corresponding position of the displayed target status information in the current display screen.
- FIG. 13 is a schematic structural diagram of a pan/tilt follow-up interaction device according to an embodiment of the present application.
- the device 130 may include: a processor 131 and a memory 132 .
- the memory 132 is used to store program codes
- the processor 131 invokes the program code, and when the program code is executed, is used to perform the following operations:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the interactive device for pan/tilt following provided in this embodiment can be used to execute the technical solutions of the method embodiments shown in FIG. 2 and FIG. 3 .
- FIG. 14 is a schematic structural diagram of an interaction device when a pan/tilt follows according to another embodiment of the present application.
- the device 140 may include: a processor 141 and a memory 142 .
- the memory 142 is used to store program codes
- the processor 141 invokes the program code, and when the program code is executed, is used to perform the following operations:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the preset position calculates the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the interactive device for pan/tilt follow-up provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 10 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
- FIG. 15 is a schematic structural diagram of a pan/tilt-following interaction device according to yet another embodiment of the present application.
- the device 150 may include: a processor 151 and a memory 152 .
- the memory 152 is used to store program codes
- the processor 151 invokes the program code, and when the program code is executed, is used to perform the following operations:
- the corresponding position of the state information of the cloud platform target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform
- the error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the interactive device for pan/tilt following provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 11 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
- FIG. 16 is a schematic structural diagram of an interaction device for pan/tilt follow provided in another embodiment of the present application.
- the device 160 may include: a processor 161 and a memory 162 .
- the memory 162 is used to store program codes
- the processor 161 invokes the program code, and when the program code is executed, is used to perform the following operations:
- the target position mark is displayed at the target position;
- the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
- the interactive device for pan-tilt follow-up provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 12 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
- the interactive device when the pan-tilt follows can specifically be included in the pan-tilt system.
- the interactive device when the pan-tilt follows can specifically be the controller of the pan-tilt; or, the interactive device when the pan-tilt follows can specifically It may be included outside the pan-tilt system.
- the interaction device when the pan-tilt follows may specifically be a control device connected to the pan-tilt system.
- the embodiment of the present application also provides a pan-tilt system.
- the structure of the pan-tilt system may include, as shown in FIG. device; and, for controlling the controller 13 of the cloud platform 12, the controller 13 is used for:
- the error between the current state information of the pan-tilt and the state information of the target is calculated in real time, and the state information includes attitude information and/or position information in the preset translation direction, and display the error.
- the embodiment of the present application also provides a pan-tilt system.
- the structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 12, the controller 13 is used for:
- the state information of the cloud platform target in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time;
- the state information includes attitude information and/or positional information in preset translational directions;
- the preset position calculates the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
- the target position mark is displayed.
- the embodiment of the present application also provides a pan-tilt system.
- the structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 11, the controller 13 is used for:
- the corresponding position of the state information of the cloud platform target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform
- the error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen
- the state information includes attitude information and/or position information in a preset translation direction
- a target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- the embodiment of the present application also provides a pan-tilt system.
- the structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 11, the controller 13 is used for:
- the target position mark is displayed at the target position;
- the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
- the above pan/tilt system may further include a control terminal and/or a shooting device, wherein the control terminal may communicate with the controller 13 for controlling the pan/tilt 11 , and the shooting device may be mounted on the pan/tilt 11 .
- controller 13 in the above-mentioned pan/tilt system can also perform other steps, and for details, reference can be made to the content in the above-mentioned related method embodiments, which will not be repeated here.
- the aforementioned program can be stored in a computer-readable storage medium.
- the program executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An interaction method and apparatus (130, 140, 150, 160) of a following tripod head (11) and a tripod head system, which can facilitate a user aligning a lens to a desired shooting target. The method comprises: in a process of controlling a tripod head (11) to follow a base (12) thereof on the basis of target state information of the tripod head (11), calculating in real time an error between current state information of the tripod head (11) and target state information, the state information comprising pose information and/or position information in a predetermined translation direction (21); and displaying the error (22).
Description
本申请涉及控制技术领域,尤其涉及一种云台跟随时的交互方法、装置及云台系统。The present application relates to the field of control technology, and in particular to an interaction method, device and a pan-tilt system when following a pan-tilt.
云台可以用于为拍摄装置进行增稳。用户使用云台固定拍摄装置,即使在运动条件下也可以拍摄出稳定流畅的画面。The gimbal can be used to stabilize the camera. The user uses the gimbal to fix the shooting device, and can shoot stable and smooth pictures even under sports conditions.
目前,在拍摄装置拍摄的过程中,云台可以提供跟随基座运动的功能。云台跟随时,如果参数设置的较强,云台跟随速度较快,用户能感受到云台跟随的目标是云台的基座,云台很跟手,用户能预期云台的运动。但是,如果参数设置的较弱,云台会以较慢的速度跟随,且误差越小,运动的越慢,用户难以预期云台的运动,导致用户难以预期镜头最终对准的方向,从而导致用户比较难将镜头对准到所需要的拍摄目标。At present, during the shooting process of the shooting device, the gimbal can provide the function of following the movement of the base. When the gimbal is following, if the parameter setting is strong, the gimbal following speed is faster, and the user can feel that the target of the gimbal following is the base of the gimbal. However, if the parameter setting is weaker, the gimbal will follow at a slower speed, and the smaller the error, the slower the motion, and it is difficult for the user to predict the motion of the gimbal, which makes it difficult for the user to predict the direction the lens will eventually align, resulting in It is more difficult for the user to aim the lens at the desired shooting target.
发明内容Contents of the invention
本申请实施例提供一种云台跟随时的交互方法、装置及云台系统,用以解决现有技术中用户比较难将镜头对准到所需要的拍摄目标的问题。Embodiments of the present application provide a pan-tilt-following interaction method, device, and pan-tilt system to solve the problem in the prior art that it is difficult for a user to align a lens to a desired shooting target.
第一方面,本申请实施例提供一种云台跟随时的交互方法,包括:In the first aspect, the embodiment of the present application provides a method for interacting with the PTZ when following, including:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
显示所述误差。Display the error.
第二方面,本申请实施例提供一种云台跟随时的交互方法,包括:In the second aspect, the embodiment of the present application provides a method for interacting with the PTZ when following, including:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第三方面,本申请实施例提供一种云台跟随时的交互方法,包括:In the third aspect, the embodiment of the present application provides a method for interacting with the PTZ when following, including:
确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform The error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen , the state information includes attitude information and/or position information in a preset translation direction;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第四方面,本申请实施例提供一种云台跟随时的交互方法,包括:In the fourth aspect, the embodiment of the present application provides a method for interacting with the PTZ when following, including:
在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
第五方面,本申请实施例提供一种云台跟随时的交互装置,所述装置包括:存储器和处理器;In the fifth aspect, the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
所述存储器,用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态 信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
显示所述误差。Display the error.
第六方面,本申请实施例提供一种云台跟随时的交互装置,所述装置包括:存储器和处理器;In a sixth aspect, the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
所述存储器,用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第七方面,本申请实施例提供一种云台跟随时的交互装置,所述装置包括:存储器和处理器;In the seventh aspect, the embodiment of the present application provides a PTZ follow-up interaction device, the device includes: a memory and a processor;
所述存储器,用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:
确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform The error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen , the state information includes attitude information and/or position information in a preset translation direction;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第八方面,本申请实施例提供一种云台跟随时的交互装置,所述装置包括:存储器和处理器;In an eighth aspect, the embodiment of the present application provides a pan/tilt follow-up interaction device, the device includes: a memory and a processor;
所述存储器,用于存储程序代码;The memory is used to store program codes;
所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:
在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
第九方面,本申请实施例提供一种云台系统,所述云台系统包括:In the ninth aspect, the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
基座;base;
设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan-tilt arranged on the base, the pan-tilt is used to carry a shooting device;
以及,用于控制所述云台的控制器,所述控制器用于:And, for controlling the controller of the pan tilt, the controller is used for:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
显示所述误差。Display the error.
第十方面,本申请实施例提供一种云台系统,所述云台系统包括:In a tenth aspect, the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
基座;base;
设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan-tilt arranged on the base, the pan-tilt is used to carry a shooting device;
以及,用于控制所述云台的控制器,所述控制器用于:And, for controlling the controller of the pan tilt, the controller is used for:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第十一方面,本申请实施例提供一种云台系统,所述云台系统包括:In an eleventh aspect, the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
基座;base;
设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan-tilt arranged on the base, the pan-tilt is used to carry a shooting device;
以及,用于控制所述云台的控制器,所述控制器用于:And, for controlling the controller of the pan tilt, the controller is used for:
确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform The error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen , the state information includes attitude information and/or position information in a preset translation direction;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
第十二方面,本申请实施例提供一种云台系统,所述云台系统包括:In a twelfth aspect, the embodiment of the present application provides a pan-tilt system, and the pan-tilt system includes:
基座;base;
设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan-tilt arranged on the base, the pan-tilt is used to carry a shooting device;
以及,用于控制所述云台的控制器,所述控制器用于:And, for controlling the controller of the pan tilt, the controller is used for:
在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
另外,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行上述第一方面至第四方面中任一项所述的方法。In addition, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer Executing the method described in any one of the first aspect to the fourth aspect above.
本申请实施例提供一种计算机程序,当所述计算机程序被计算机执行时,用于实现上述第一方面至第四方面中任一项所述的方法。An embodiment of the present application provides a computer program, which is used to implement the method described in any one of the first aspect to the fourth aspect when the computer program is executed by a computer.
在本申请实施例中,通过向用户显示云台当前的状态信息与目标的状态信息之间的误差,或者向用户显示用于指示云台目标的状态信息在当前显示画面中的对应位置,使得在云台跟随基座的过程中,用户能够根据显示的内容预期云台的运动,从而能够根据云台的运动预期镜头最终对准的方向,进而使得用户在期望的镜头最终对准的方向与预期的镜头最终对准的方向存在偏差时,能够及时调整基座的运动以便及时调整预期的镜头最终对准的方向, 从而能够便于用户将镜头对准到需要的拍摄目标。In the embodiment of the present application, by displaying to the user the error between the current state information of the pan/tilt and the state information of the target, or displaying to the user the corresponding position of the state information indicating the target of the pan/tilt in the current display screen, so that During the process of the gimbal following the base, the user can expect the movement of the gimbal according to the displayed content, so that the direction in which the lens will be finally aligned can be predicted according to the movement of the gimbal, so that the user can compare the direction in which the lens is finally aligned with the desired direction. When there is a deviation in the expected final alignment direction of the lens, the movement of the base can be adjusted in time so as to timely adjust the expected final alignment direction of the lens, thereby facilitating the user to align the lens to a desired shooting target.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的云台跟随时的交互方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of an interaction method when a pan/tilt follows in an embodiment of the present application;
图2为本申请一实施例提供的云台跟随时的交互方法的流程示意图;Fig. 2 is a schematic flow chart of the interaction method when the pan/tilt follows according to an embodiment of the present application;
图3为本申请另一实施例提供的云台跟随时的交互方法的流程示意图;FIG. 3 is a schematic flow diagram of an interaction method when the pan/tilt follows according to another embodiment of the present application;
图4为本申请实施例提供的垂直视场角、图像传感器高度大小和镜头焦距之间的关系示意图;4 is a schematic diagram of the relationship between the vertical field of view, the height of the image sensor, and the focal length of the lens provided by the embodiment of the present application;
图5A为本申请一实施例提供的第一角度和预设位置之间的关系示意图;FIG. 5A is a schematic diagram of the relationship between the first angle and the preset position provided by an embodiment of the present application;
图5B为本申请一实施例提供的第二角度和预设位置之间的关系示意图;FIG. 5B is a schematic diagram of the relationship between the second angle and the preset position provided by an embodiment of the present application;
图6为本申请一实施例提供确定第一对应位置的示意图;FIG. 6 is a schematic diagram of determining a first corresponding position according to an embodiment of the present application;
图7为本申请一实施例提供的目标误差与第三边缘位置的关系示意图;FIG. 7 is a schematic diagram of the relationship between the target error and the position of the third edge provided by an embodiment of the present application;
图8为本申请一实施例提供的在当前显示画面中显示当前位置标识和目标位置标识的示意图;FIG. 8 is a schematic diagram of displaying the current location identifier and the target location identifier in the current display screen provided by an embodiment of the present application;
图9为本申请另一实施例提供的在当前显示画面中显示当前位置标识和目标位置标识的示意图;FIG. 9 is a schematic diagram of displaying the current location identifier and the target location identifier in the current display screen provided by another embodiment of the present application;
图10为本申请又一实施例提供的云台跟随时的交互方法的流程示意图;FIG. 10 is a schematic flow diagram of an interaction method for pan-tilt following provided in another embodiment of the present application;
图11为本申请又一实施例提供的云台跟随时的交互方法的流程示意图;FIG. 11 is a schematic flow diagram of an interaction method when a pan/tilt follows according to another embodiment of the present application;
图12为本申请又一实施例提供的云台跟随时的交互方法的流程示意图;FIG. 12 is a schematic flow diagram of an interaction method for pan-tilt following provided in another embodiment of the present application;
图13为本申请一实施例提供的云台跟随时的交互装置的结构示意图;FIG. 13 is a schematic structural diagram of an interaction device for pan-tilt following provided by an embodiment of the present application;
图14为本申请另一实施例提供的云台跟随时的交互装置的结构示意图;FIG. 14 is a schematic structural diagram of an interaction device when a pan/tilt follows according to another embodiment of the present application;
图15为本申请又一实施例提供的云台跟随时的交互装置的结构示意图;FIG. 15 is a schematic structural diagram of an interaction device for pan-tilt following provided in another embodiment of the present application;
图16为本申请又一实施例提供的云台跟随时的交互装置的结构示意图。FIG. 16 is a schematic structural diagram of an interaction device for pan-tilt following provided in another embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请实施例提供的方法可以应用于如图1所示的应用场景。参考图1,该应用场景中可以包括云台11和基座12,云台11可以设置于基座12上。The method provided in the embodiment of the present application may be applied to the application scenario shown in FIG. 1 . Referring to FIG. 1 , the application scenario may include a pan-tilt 11 and a base 12 , and the pan-tilt 11 may be set on the base 12 .
在一些实施例中,云台11可以包括轴向增稳机构,该轴向增稳机构包括至少一个转轴机构,转轴机构包括至少一个绕相应轴转动的驱动电机和至少一个轴臂,当然,在某些实施例中,转轴机构也可以不包括轴臂,而是通过驱动电机与负载直接连接。以云台11为三轴云台为例,云台11可以包括三个转轴机构,这三个转轴机构可以包括绕俯仰(pitch)轴转动的驱动电机和俯仰轴轴臂,绕偏航(yaw)轴转动的驱动电机和偏航轴轴臂,以及绕横滚(roll)轴转动的驱动电机和横滚轴轴臂。应理解,轴向增稳机构可以根据基座的姿态调整云台的姿态。In some embodiments, the pan/tilt 11 may include an axial stabilization mechanism, the axial stabilization mechanism includes at least one rotating shaft mechanism, and the rotating shaft mechanism includes at least one driving motor and at least one shaft arm rotating around a corresponding axis. Of course, in In some embodiments, the rotating shaft mechanism may not include a shaft arm, but is directly connected to the load through a driving motor. Taking the cloud platform 11 as a three-axis platform as an example, the cloud platform 11 can include three rotating shaft mechanisms, and these three rotating shaft mechanisms can include a drive motor and a pitch axis arm that rotate around the pitch axis, and rotate around the yaw (yaw) axis. ) axis to rotate the drive motor and the yaw axis arm, and the drive motor and the roll axis arm to rotate around the roll axis. It should be understood that the axial stabilization mechanism can adjust the attitude of the gimbal according to the attitude of the base.
在一些实施例中,云台11可以包括竖向增稳机构,竖向增稳机构可以直接承载负载,以在竖直方向。应理解,竖向增稳机构可以根据基座的位置调整云台的位置。当然,云台11也可以包括在诸如水平方向或前后方向上对负载进行增稳的增稳机构。In some embodiments, the platform 11 may include a vertical stabilization mechanism, and the vertical stabilization mechanism may directly carry a load so as to be in the vertical direction. It should be understood that the vertical stabilization mechanism can adjust the position of the pan-tilt according to the position of the base. Certainly, the platform 11 may also include a stabilizing mechanism for stabilizing the load such as in the horizontal direction or in the front-back direction.
在一些实施例中,云台11可以包括轴向增稳机构和竖向增稳机构,该竖向增稳机构可以设于基座12与轴向增稳机构之间,用于承载轴向增稳机构,以在竖直方向上对轴向增稳机构上的负载进行增稳。In some embodiments, the pan/tilt 11 may include an axial stabilization mechanism and a vertical stabilization mechanism. The vertical stabilization mechanism may be arranged between the base 12 and the axial stabilization mechanism for bearing the axial stabilization stabilizing mechanism to stabilize the load on the axial stabilizing mechanism in the vertical direction.
基座12具体可以是能够用于安装云台11的任意类型的支撑结构,示例性的,基座12可以包括手柄、手提机构、可移动平台的机身等,可移动平台可以包括无人车、无人机等。The base 12 can specifically be any type of support structure that can be used to install the pan/tilt 11. Exemplarily, the base 12 can include a handle, a hand-held mechanism, a body of a movable platform, etc., and the movable platform can include an unmanned vehicle , drones, etc.
如图1所示,该应用场景中还可以包括控制器13,控制器13可以用于对云台11进行控制,图1中控制器13位于基座12内仅为举例。在云台11处于跟随其基座的模式时,控制器13可以根据基座12的当前姿态,确定云台11的目标姿态,并根据云台11的目标姿态控制云台11的姿态跟随基座12的姿态;和/或, 控制器13可以根据基座12在预设平动方向上的当前位置,确定云台11在预设平动方向上的目标位置,并根据云台11在预设平动方向上的目标位置控制云台11的位置跟随基座12的位置。其中,当前姿态可以由当前的姿态信息表示,当前位置可以由当前的位置信息表示,目标姿态可以由目标的姿态信息表示,目标位置可以由目标的位置信息表示。As shown in FIG. 1 , the application scenario may further include a controller 13 , which may be used to control the pan/tilt 11 . The controller 13 in FIG. 1 is located in the base 12 for example only. When the pan-tilt 11 is in the mode of following its base, the controller 13 can determine the target posture of the pan-tilt 11 according to the current posture of the base 12, and control the posture of the pan-tilt 11 to follow the base according to the target posture of the pan-tilt 11 12; and/or, the controller 13 can determine the target position of the pan/tilt 11 in the preset translation direction according to the current position of the base 12 in the preset translation direction, and according to the preset position of the pan/tilt 11 The target position in the translation direction controls the position of the pan-tilt 11 to follow the position of the base 12 . Wherein, the current posture may be represented by current posture information, the current position may be represented by current position information, the target posture may be represented by target posture information, and the target position may be represented by target position information.
需要说明的是,本申请实施例中将姿态和位置均可以理解为状态,即云台的姿态和位置均可以理解为云台的状态。基于此,在云台11处于跟随其基座的模式时,控制器13可以根据云台目标的状态信息控制云台跟随基座,相对于云台目标的状态信息还可以存在云台当前的状态信息,其中,状态信息可以包括姿态信息和/或位置信息,且位置信息是在预设平动方向上位置的信息。It should be noted that in the embodiments of the present application, both attitude and position can be understood as states, that is, both attitude and position of the pan/tilt can be understood as the state of the pan/tilt. Based on this, when the gimbal 11 is in the mode of following its base, the controller 13 can control the gimbal to follow the base according to the status information of the gimbal target, and the current status of the gimbal can also exist relative to the status information of the gimbal target information, wherein the state information may include posture information and/or position information, and the position information is information on a position in a preset translation direction.
在云台包括竖向增稳机构且不包括轴向增稳机构时,云台跟随其基座具体可以是云台在竖直方向上跟随基座,即云台在竖直方向的位置可以跟随其基座在竖直方向上的位置。在云台包括轴向增稳机构且不包括竖向增稳机构时,云台跟随其基座具体可以是云台轴向跟随基座,即云台的姿态跟随其基座的姿态。在云台包括轴向增稳机构且还包括竖向增稳机构时,云台跟随其基座具体可以是:云台轴向跟随基座,竖向增稳机构用于增稳;或者,云台竖向跟随基座,轴向增稳机构用于增稳;或者,云台轴向和竖向均跟随基座。其中,轴向跟基座,可以是单轴跟、双轴跟或三轴跟。When the pan/tilt includes a vertical stabilization mechanism and does not include an axial stabilization mechanism, the pan/tilt follows its base, specifically, the pan/tilt follows the base in the vertical direction, that is, the position of the pan/tilt in the vertical direction can follow The position of its base in the vertical direction. When the pan/tilt includes an axial stabilization mechanism and does not include a vertical stabilization mechanism, the pan/tilt follows its base specifically may mean that the pan/tilt axially follows the base, that is, the posture of the pan/tilt follows the posture of its base. When the pan/tilt includes an axial stabilization mechanism and also includes a vertical stabilization mechanism, the pan/tilt follows its base specifically can be: the pan/tilt axially follows the base, and the vertical stabilization mechanism is used for stabilization; or, the pan/tilt The platform follows the base vertically, and the axial stabilization mechanism is used for stabilizing; or, the platform follows the base both axially and vertically. Wherein, the axial heel base can be a uniaxial heel, a biaxial heel or a triaxial heel.
云台11还可以包括用于固定负载,如拍摄装置的固定机构,拍摄装置例如可以为手机或摄像头等。以基座12为手柄为例,当用户使用云台11上固定的拍摄装置对期望拍摄对象进行拍摄时,用户可以转动云台11的手柄,由于控制器13可以控制云台11的姿态跟随手柄的姿态,因此云台11可以跟随手柄的转动而转动,云台的转动会带动拍摄装置转动,从而改变拍摄装置的拍摄方向,以便拍摄装置能够对准用户需要的拍摄目标。The pan/tilt 11 may also include a fixing mechanism for fixing a load, such as a shooting device. The shooting device may be a mobile phone or a camera, for example. Taking the base 12 as the handle as an example, when the user uses the fixed shooting device on the pan-tilt 11 to shoot the desired object, the user can turn the handle of the pan-tilt 11, since the controller 13 can control the attitude of the pan-tilt 11 to follow the handle Therefore, the pan-tilt 11 can rotate following the rotation of the handle, and the rotation of the pan-tilt will drive the camera to rotate, thereby changing the shooting direction of the camera, so that the camera can aim at the shooting target required by the user.
在实际应用中,控制器13控制云台11跟随基座12的速度可能较慢,例如可以根据设置的参数来控制云台11跟随基座12时,在参数设置的较强时,云台跟随速度较快,在参数设置的较弱时,云台会以较慢的速度跟随。在云台以较慢的速度跟随时,存在用户难以预期云台的运动,导致用户难以预期镜头最终对准的方向,从而导致用户比较难将镜头对准到所需要的拍摄目标的问题。In practical applications, the speed at which the controller 13 controls the pan/tilt 11 to follow the base 12 may be slow. For example, when the pan/tilt 11 can be controlled to follow the base 12 according to the set parameters, when the parameter setting is strong, the pan/tilt follows The speed is fast, and when the parameter setting is weak, the gimbal will follow at a slow speed. When the pan/tilt follows at a slow speed, it is difficult for the user to predict the movement of the pan/tilt, which makes it difficult for the user to predict the direction in which the lens is finally aimed, which makes it difficult for the user to align the lens to the desired shooting target.
为了解决云台跟随基座时用户难以预期云台的运动,导致用户比较难将镜头对准拍摄目标的技术问题,在本申请实施例中,通过向用户显示云台当前的状态信息与目标的状态信息之间的误差,或者向用户显示用于指示云台目标的状态信息在当前显示画面中的对应位置,使得在云台跟随基座的过程中,用户能够根据显示的内容预期云台的运动,从而能够根据云台的运动预期镜头最终对准的方向,进而使得用户在期望的镜头最终对准的方向与预期的镜头最终对准的方向存在偏差时,能够及时调整基座的运动以便及时调整预期的镜头最终对准的方向,从而能够便于用户将镜头对准到需要的拍摄目标。In order to solve the technical problem that it is difficult for the user to predict the motion of the pan-tilt when the pan-tilt follows the base, and it is difficult for the user to aim the lens at the shooting target, in the embodiment of this application, the current state information of the pan-tilt and the target's The error between the state information, or display to the user the corresponding position of the state information used to indicate the target of the gimbal in the current display screen, so that the user can expect the gimbal according to the displayed content during the process of the gimbal following the base. Movement, so that the direction in which the lens is finally aligned can be expected according to the movement of the gimbal, so that the user can adjust the movement of the base in time to Adjust the expected direction of the final alignment of the lens in time, so that it is convenient for the user to align the lens to the desired shooting target.
本申请实施例提供的方法可以由云台跟随时的交互装置执行,对于云台跟随时的交互装置的具体产品形态可以根据需求灵活实现。一个实施例中,云台跟随时的交互装置可以包括在云台系统中,即本申请实施例提供的方法可以由云台系统执行,例如,云台跟随时的交互装置可以由控制器13实现,即可以由控制器13执行本申请实施例提供的方法。其中,云台系统可以包括显示装置,该显示装置可以是集成的,例如,集成于基座,也可以是可拆卸的,例如,与基座可拆卸连接。The method provided in the embodiment of the present application can be executed by the interactive device when the pan-tilt is followed, and the specific product form of the interactive device when the pan-tilt is followed can be flexibly implemented according to requirements. In one embodiment, the interaction device when the pan-tilt follows can be included in the pan-tilt system, that is, the method provided in the embodiment of the present application can be executed by the pan-tilt system, for example, the interaction device when the pan-tilt follows can be implemented by the controller 13 , that is, the controller 13 may execute the method provided in the embodiment of the present application. Wherein, the pan/tilt system may include a display device, and the display device may be integrated, for example, integrated in the base, or detachable, for example, detachably connected with the base.
另一个实施例中,云台跟随时的交互装置可以包括在云台系统之外,即本申请实施例提供的方法可以由云台系统之外的设备,例如云台跟随时的交互装置可以由与云台系统通信连接的控制设备实现,即可以由与云台系统通信连接的控制设备执行本申请实施例提供的方法。In another embodiment, the interaction device when the pan-tilt follows can be included outside the pan-tilt system, that is, the method provided in the embodiment of the present application can be performed by a device outside the pan-tilt system, for example, the interaction device when the pan-tilt follows can be provided by The control device communicatively connected with the pan-tilt system realizes, that is, the control device communicatively connected with the pan-tilt system can execute the method provided in the embodiment of the present application.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some implementations of the present application will be described in detail below in conjunction with the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
图2为本申请一实施例提供的云台跟随时的交互方法的流程示意图,本实施例的执行主体可以为云台跟随时的交互装置,具体可以为交互装置的处理器。如图2所示,本实施例的方法可以包括:FIG. 2 is a schematic flowchart of a pan-tilt-following interaction method provided by an embodiment of the present application. The execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device. As shown in Figure 2, the method of this embodiment may include:
步骤21,在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息。 Step 21, in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculate the error between the current state information of the pan-tilt and the state information of the target in real time; the state The information includes attitude information and/or position information in a preset translation direction.
本步骤中,云台目标的姿态信息是指云台在跟随其基座的模式下,根据基座当前的姿态信息确定的云台的姿态信息。根据云台目标的姿态信息可以控制云台的姿态跟随其基座的姿态。需要说明的是,关于确定云台目标的姿 态信息,以及控制云台的姿态跟随其基座的姿态的实现方式,可以参见相关技术中的具体描述,在此不再赘述。In this step, the attitude information of the gimbal target refers to the attitude information of the gimbal determined according to the current attitude information of the base in the mode of following the base of the gimbal. According to the attitude information of the gimbal target, the attitude of the gimbal can be controlled to follow the attitude of its base. It should be noted that, regarding the determination of the attitude information of the pan-tilt target and the implementation of controlling the attitude of the pan-tilt to follow the attitude of its base, you can refer to the specific description in related technologies, and will not repeat them here.
云台目标的位置信息是指云台在跟随其基座的模式下,根据基座在预设平动方向上当前的位置信息确定的云台在预设平动方向上的位置信息。根据云台目标的位置信息可以控制云台的位置跟随其基座的位置。在实际应用中,可以利用电机驱动,保持竖向增稳机构与基座之间的关节角,以实现云台的位置跟随其基座的位置。需要说明的是,关于确定云台目标的位置信息,以及控制云台的位置跟随其基座的位置的实现方式,可以参见相关技术中的具体描述,在此不再赘述。The position information of the gimbal target refers to the position information of the gimbal in the preset translation direction determined according to the current position information of the base in the preset translation direction in the mode of following its base. According to the position information of the gimbal target, the position of the gimbal can be controlled to follow the position of its base. In practical applications, the motor drive can be used to maintain the joint angle between the vertical stabilization mechanism and the base, so that the position of the gimbal follows the position of its base. It should be noted that for the implementation of determining the position information of the pan-tilt target and controlling the position of the pan-tilt to follow the position of its base, reference may be made to specific descriptions in related technologies, which will not be repeated here.
云台当前的状态信息是指云台在当前时刻的状态信息,可以通过传感器测量得到。传感器例如可以设置在云台的用于固定拍摄装置的固定机构上,或者可以设置在云台的与固定机构固定连接的部件(例如云台的轴臂)上,或者还可以设置在拍摄装置上。需要说明的是,由于云台与拍摄装置是固定连接的,因此云台当前的状态信息也可以认为是云台上搭载的拍摄装置在当前时刻的状态信息。The current status information of the gimbal refers to the status information of the gimbal at the current moment, which can be obtained through sensor measurement. Sensor for example can be arranged on the fixing mechanism that is used for fixing shooting device of cloud platform, or can be arranged on the parts (such as the shaft arm of platform) that is fixedly connected with fixing mechanism of cloud platform, or can also be arranged on the shooting device . It should be noted that since the gimbal is fixedly connected to the camera, the current state information of the gimbal can also be considered as the status information of the camera mounted on the gimbal at the current moment.
应理解,在状态信息包括姿态信息时,云台当前的状态信息与目标的状态信息之间的误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;在状态信息包括在预设平动方向上的位置信息时,云台当前的状态信息与目标的状态信息之间的误差包括云台当前的在预设平动方向上的位置信息,与云台目标的在预设平动方向上的位置信息之间的位置误差。It should be understood that when the state information includes attitude information, the error between the current state information of the gimbal and the state information of the target includes the attitude error between the current attitude information of the gimbal and the attitude information of the target; When the position information in the translation direction is set, the error between the current state information of the gimbal and the state information of the target includes the current position information of the gimbal in the preset translation direction, and the difference between the current position information of the gimbal in the preset The position error between the position information in the moving direction.
示例性的,云台当前的姿态信息和云台目标的姿态信息,可以采用欧拉角或四元素的表示方式。以云台当前的姿态信息和目标的姿态信息均采用四元素的表示方式为例,当前的姿态信息的四元素表示q_current,目标的姿态信息的四元素表示q_follow_target,以及两者之间的误差q_follow_err,三者之间的关系可以满足如下公式(1)。Exemplarily, the current attitude information of the gimbal and the attitude information of the target of the gimbal may be represented by Euler angles or four elements. Take the current attitude information of the gimbal and the attitude information of the target as an example, the four elements of the current attitude information represent q_current, the four elements of the target attitude information represent q_follow_target, and the error between the two q_follow_err , the relationship between the three can satisfy the following formula (1).
q_follow_err=inv(q_current)×q_follow_target 公式(1)q_follow_err=inv(q_current)×q_follow_target Formula (1)
其中,q_follow_err是一个四维向量,即q_follow_err=[q0,q1,q2,q3],inv(q_current)表示四元数q_current的共轭四元数。Among them, q_follow_err is a four-dimensional vector, that is, q_follow_err=[q0, q1, q2, q3], and inv(q_current) represents the conjugate quaternion of the quaternion q_current.
步骤22,显示所述误差。 Step 22, displaying the error.
本步骤中,可选的,可以直接显示计算得到的误差,例如,在基座为手柄且手柄上设置有显示装置时,可以直接通过手柄上设置的显示装置对误差 进行显示;或者,可以将计算得到的误差发送给其他装置/设备,以由其他装置/设备对误差进行显示,例如,在基座为无人机时,可以将误差发送给用于控制无人机的控制终端,以由控制终端对误差进行显示。In this step, optionally, the calculated error can be directly displayed. For example, when the base is a handle and a display device is provided on the handle, the error can be displayed directly through the display device provided on the handle; or, the The calculated error is sent to other devices/equipment to display the error by other devices/equipment. For example, when the base is a UAV, the error can be sent to the control terminal used to control the UAV to be displayed by the UAV. The control terminal displays the error.
示例性的,可以采用图像化的方式,显示计算得到的云台当前的状态信息与目标的状态信息之间的误差,即可以图像化显示所述误差,从而使得用户能够直观的获知云台的当前位置(和/或姿态)与目标位置(和/或姿态)之间的误差情况,有利于提高用户的使用体验。一个实施例中,可以在当前显示画面中叠加显示误差,使得用户在观看当前显示画面的同时,能够从当前显示画面中直观地获知云台的当前位置(和/或姿态)与目标位置(和/或姿态)之间的误差。Exemplarily, the error between the calculated current state information of the pan/tilt and the state information of the target can be displayed graphically, that is, the error can be displayed graphically, so that the user can intuitively know the state of the pan/tilt The error between the current position (and/or attitude) and the target position (and/or attitude) is beneficial to improve user experience. In one embodiment, the display error can be superimposed on the current display screen, so that the user can intuitively know the current position (and/or attitude) and target position (and and/or attitude).
其中,当前显示画面是指当前显示的拍摄画面。应理解,当前显示的拍摄画面与云台搭载的拍摄装置拍摄的画面相关,如果是对拍摄得到的拍摄画面进行裁切之后再显示,则经过裁切的拍摄画面可以作为当前显示画面;如果是对拍摄得到的拍摄画面不进行裁切并显示,则未经裁切的拍摄画面可以作为当前显示画面。Wherein, the currently displayed image refers to the currently displayed shooting image. It should be understood that the currently displayed shooting picture is related to the picture taken by the shooting device mounted on the gimbal. If the shooting picture obtained by shooting is cut and then displayed, the cut shooting picture can be used as the current display picture; if it is The shooting picture obtained by shooting is not cut and displayed, and the uncut shooting picture can be used as the current display picture.
应理解,由于云台能够带动拍摄装置转动,且在云台跟随基座的过程中,云台中的转轴机构会绕一个或多个轴转动,因此在云台跟随基座的过程中,拍摄装置的拍摄范围也随云台姿态的变化而变化,即拍摄装置的拍摄画面与云台姿态相关联。It should be understood that since the pan/tilt can drive the shooting device to rotate, and the rotating shaft mechanism in the pan/tilt will rotate around one or more axes during the process of the pan/tilt following the base, therefore, during the process of the pan/tilt following the base, the photographing device The shooting range of the camera also changes with the attitude of the gimbal, that is, the shooting picture of the shooting device is associated with the attitude of the gimbal.
可选的,在叠加显示误差时,可以不考虑拍摄画面与云台姿态之间的关联性,例如,可以使用当前显示画面中固定的两个像素块之间连线的粗细,表示某一转轴方向上的误差情况,即通过在当前显示画面中两个像素块之间显示与误差相应粗细的连线,可以实现将某一转轴方向上的误差叠加显示在当前显示画面中。Optionally, when superimposing and displaying errors, the correlation between the shooting picture and the attitude of the gimbal can be ignored. For example, the thickness of the line between two fixed pixel blocks in the current display picture can be used to represent a certain rotation axis The error in the direction, that is, by displaying a connection line corresponding to the thickness of the error between two pixel blocks in the current display screen, the error in the direction of a certain rotation axis can be superimposed and displayed in the current display screen.
或者可选的,在叠加显示误差时,可以考虑拍摄画面与云台姿态之间的关联性,具体的,可以通过在云台当前的状态信息在当前显示画面中的对应位置,显示当前位置标识,并在云台目标的状态信息在当前显示画面中的对应位置,显示目标位置标识的方式,实现将误差叠加显示在当前显示画面中。Or optionally, when superimposing and displaying errors, the correlation between the shooting picture and the attitude of the gimbal can be considered. Specifically, the current position indicator can be displayed through the corresponding position of the current state information of the gimbal in the current display picture , and at the corresponding position of the state information of the pan/tilt target in the current display screen, display the target position mark, so as to realize superimposing and displaying the error on the current display screen.
本实施例提供的方法,通过在根据云台目标的状态信息,控制云台跟随其基座的过程中,实时计算云台当前的状态信息与目标的状态信息之间的误差并显示误差,使得在云台跟随基座的过程中,用户可以根据显示的云台的 当前姿态与目标姿态之间的误差,和/或当前位置与目标位置之间的误差来预期云台的运动,从而能够根据云台的运动预期镜头最终对准的方向,进而使得用户在期望的镜头最终对准的方向与预期的镜头最终对准的方向存在偏差时,能够及时调整基座的运动以便及时调整预期的镜头最终对准的方向,从而能够便于用户将镜头对准到需要的拍摄目标。The method provided in this embodiment calculates and displays the error between the current state information of the pan-tilt and the state information of the target in real time during the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, so that During the process of the gimbal following the base, the user can predict the motion of the gimbal according to the displayed error between the gimbal's current attitude and the target attitude, and/or the error between the current position and the target position, so that the user can The movement of the gimbal anticipates the direction in which the lens is finally aligned, so that the user can adjust the movement of the base in time to adjust the expected lens in time when there is a deviation between the direction in which the expected lens is finally aligned and the direction in which the expected lens is finally aligned. The direction of the final alignment, so that it is convenient for the user to align the lens to the desired shooting target.
图3为本申请另一实施例提供的云台跟随时的交互方法的流程示意图,本实施例在图2所示实施例的基础上,主要描述了在当前显示画面中叠加显示误差的一种具体实现方式,如图3所示,本实施例的方法可以包括:Fig. 3 is a schematic flow chart of the interaction method of the pan/tilt following provided by another embodiment of the present application. On the basis of the embodiment shown in Fig. 2, this embodiment mainly describes a method of superimposing display errors in the current display screen Specific implementation, as shown in Figure 3, the method of this embodiment may include:
步骤31,在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差。 Step 31, during the process of controlling the pan/tilt to follow its base according to the state information of the pan/tilt target, calculate the error between the current state information of the pan/tilt and the state information of the target in real time.
需要说明的是,步骤31与步骤21类似,在此不再赘述。It should be noted that step 31 is similar to step 21 and will not be repeated here.
步骤32,根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置。 Step 32, according to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, the preset position refers to the current state information of the pan/tilt in the current The corresponding position on the display screen is displayed.
步骤33,在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,并在所述预设位置显示当前位置标识。Step 33, displaying the target location mark at the corresponding position of the state information of the target in the current display screen, and displaying the current position mark at the preset position.
应理解,当前显示画面可以是不断变化的,计算目标的状态信息的对应位置时的当前显示画面,与显示目标位置标识时的当前显示画面可能是同一画面,也可能是不同画面,但是其对应的位置是用于显示当前显示画面的屏幕上的同一位置。It should be understood that the current display screen may be constantly changing, and the current display screen when calculating the corresponding position of the state information of the target may be the same screen as the current display screen when displaying the target position identifier, or may be a different screen, but their corresponding The location is the same location on the screen used to display the current display.
预设位置可以根据需求灵活选择,示例性的,可以将画面中心位置作为预设位置。预设位置的选择可以与构图有关,可以将在画面中设定的对焦位置作为预设位置,从而能够便于用户构图。The preset position can be flexibly selected according to requirements, for example, the center position of the screen can be used as the preset position. The selection of the preset position may be related to the composition of the picture, and the focus position set in the screen may be used as the preset position, so that it is convenient for the user to compose the picture.
由于在云台跟随其基座的过程中,误差可以是变化的,因此云台目标的状态信息在当前显示画面中的对应位置也可以是变化的。从而,在云台跟随其基座的过程中,目标位置标识在当前显示画面中的显示位置能够随云台当前的状态信息的变化而变化,且当前位置标识与目标位置标识之间的位置差异相关于云台当前的状态信息与目标的状态信息之间的差异。Since the error may vary during the process of the pan/tilt following its base, the corresponding position of the state information of the pan/tilt target in the current display screen may also vary. Therefore, in the process of the pan/tilt following its base, the display position of the target position mark in the current display screen can change with the change of the current state information of the pan/tilt, and the position difference between the current position mark and the target position mark The difference between the current status information related to the gimbal and the status information of the target.
需要说明的是,云台目标的状态信息在当前显示画面中的对应位置(即目标位置标识在当前显示画面中的位置),与云台当前的状态信息在当前显示画面中的对应位置(即预设位置)之间的误差,可以表示云台当前的状态信 息与目标的状态信息之间的误差。在云台当前的状态信息与目标的状态信息之间的误差不断减少时,目标的状态信息在当前显示画面中的对应位置可以不断靠近预设位置,在云台当前的状态信息与目标的状态信息一致时,目标的位置信息在当前显示画面中的对应位置为预设位置。一个实施例中,在云台当前的位置信息与目标的位置信息一致时,当前位置标识与目标位置标识在当前显示画面上可以重合。It should be noted that the corresponding position of the status information of the gimbal target in the current display screen (that is, the position of the target position identifier in the current display screen) is the same as the corresponding position of the current status information of the gimbal in the current display screen (ie The error between the preset position) can represent the error between the current state information of the pan/tilt and the state information of the target. When the error between the current status information of the gimbal and the status information of the target is continuously reduced, the corresponding position of the status information of the target in the current display screen can be continuously approached to the preset position, and the current status information of the gimbal and the status of the target When the information is consistent, the corresponding position of the target's position information in the current display screen is the preset position. In one embodiment, when the current location information of the pan/tilt is consistent with the location information of the target, the current location identifier and the target location identifier can overlap on the current display screen.
其中,当前位置标识与目标位置标识可以相同也可以不同,由于在云台跟随其基座的过程中,当前位置标识的显示位置是固定的(即固定为预设位置),而当前位置标识的显示位置是可变的,因此虽然当前位置标识与目标位置标识相同,但是使用者还是可以区分出哪个是当前位置标识,哪个是目标位置标识。在当前位置标识与目标位置标识不同时,例如可以是当前位置标识的颜色与目标位置标识的颜色不同,和/或,当前位置标识的形状与目标位置标识的形状不同。Wherein, the current position mark and the target position mark can be the same or different, because the display position of the current position mark is fixed (that is, fixed as a preset position) during the process of the pan/tilt following its base, and the position of the current position mark The displayed position is variable, so although the current position mark is the same as the target position mark, the user can still distinguish which is the current position mark and which is the target position mark. When the current location identifier is different from the target location identifier, for example, the color of the current location identifier may be different from that of the target location identifier, and/or the shape of the current location identifier may be different from that of the target location identifier.
本申请实施例中,在状态信息包括姿态信息时,误差可以包括姿态误差,目标的状态信息在当前显示画面中的对应位置可以包括目标的姿态信息在当前显示画面中的第一对应位置,目标位置标识可以包括用于表征第一对应位置的第一目标位置标识,步骤32可以包括根据姿态误差以及当前显示画面中的预设位置确定第一对应位置,步骤33可以包括在第一对应位置显示第一目标位置标识。在状态信息包括位置信息时,误差可以包括位置误差,目标的状态信息在当前显示画面中的对应位置可以包括目标的位置信息在当前显示画面中的第二对应位置,目标位置标识可以包括用于表征第二对应位置的第二目标位置标识,步骤32可以包括在第二对应位置显示第二目标位置标识,步骤33可以包括在第二对应位置显示第二目标位置标识。从而可以实现在云台当前的状态信息与目标的状态信息之间的误差包括位置误差和姿态误差时,可以对位置误差和姿态误差分别进行显示。其中,为了减少所显示的当前位置标识的数量,基于确定第一对应位置和第二对应位置所基于的预设位置可以是同一位置。In the embodiment of the present application, when the state information includes posture information, the error may include posture error, and the corresponding position of the state information of the target in the current display screen may include the first corresponding position of the posture information of the target in the current display screen, and the target The position identification may include a first target position identification for characterizing the first corresponding position, step 32 may include determining the first corresponding position according to the attitude error and the preset position in the current display screen, and step 33 may include displaying at the first corresponding position The first target location identifier. When the state information includes position information, the error may include a position error, the corresponding position of the state information of the target in the current display screen may include the second corresponding position of the position information of the target in the current display screen, and the target position identification may include A second target location mark representing the second corresponding position, step 32 may include displaying the second target position mark at the second corresponding position, and step 33 may include displaying the second target position mark at the second corresponding position. Therefore, when the error between the current state information of the pan-tilt and the state information of the target includes the position error and the attitude error, the position error and the attitude error can be displayed separately. Wherein, in order to reduce the number of displayed current location identifiers, the preset location based on which the first corresponding location and the second corresponding location are determined may be the same location.
基于此,本申请实施例可以包括以下三种情况:1)、状态信息包括姿态信息而不包括位置信息,根据姿态误差计算第一对应位置,并在第一对应位置显示第一目标位置标识;2)、状态信息包括位置信息而不包括姿态信息,根据位置误差计算第二对应位置,并在第二对应位置显示第二目标位置标识; 3)、状态信息包括姿态信息和位置信息,根据姿态误差计算第一对应位置,并在第一对应位置显示第一目标位置标识;以及,根据位置误差计算第二对应位置,并在第二对应位置显示第二目标位置标识。Based on this, the embodiment of the present application may include the following three situations: 1), the state information includes attitude information but not position information, the first corresponding position is calculated according to the attitude error, and the first target position mark is displayed at the first corresponding position; 2), the state information includes position information but does not include attitude information, calculate the second corresponding position according to the position error, and display the second target position mark at the second corresponding position; 3), the state information includes attitude information and position information, according to the attitude calculating the first corresponding position by error, and displaying the first target position mark at the first corresponding position; and calculating the second corresponding position according to the position error, and displaying the second target position mark at the second corresponding position.
以下,针对根据姿态误差计算第一对应位置的方式(记为方式1),以及根据位置误差计算第二对应位置的方式(记为方式2),分别进行说明。应理解,针对前述情况1)可以使用方式1,针对前述情况2)可以使用方式2,针对前述情况3可以使用方式1+方式2。In the following, the method of calculating the first corresponding position according to the attitude error (referred to as method 1) and the method of calculating the second corresponding position according to the position error (referred to as method 2) will be described respectively. It should be understood that mode 1 can be used for the aforementioned case 1), mode 2 can be used for the aforementioned case 2), and mode 1+mode 2 can be used for the aforementioned case 3.
方式1way 1
可选的,在计算目标的状态信息在当前显示画面中的对应位置时,可以不区分云台坐标系下的不同轴,例如可以根据误差计算整体的误差大小,根据误差大小以及预设位置,确定目标的状态信息在当前显示画面中的对应位置。Optionally, when calculating the corresponding position of the state information of the target in the current display screen, different axes in the gimbal coordinate system may not be distinguished, for example, the overall error size may be calculated according to the error, according to the error size and the preset position , to determine the corresponding position of the state information of the target in the current display screen.
或者可选的,在计算目标的状态信息在当前显示画面中的对应位置时,可以区分云台坐标系下的不同轴。基于此,一个实施例中,前述步骤32具体可以包括如下步骤A和步骤B。Alternatively, different axes in the gimbal coordinate system may be distinguished when calculating the corresponding position of the state information of the target in the current display screen. Based on this, in one embodiment, the foregoing step 32 may specifically include the following steps A and B.
步骤A,根据所述姿态误差,计算所述云台的云台坐标系下至少一个轴上的误差角度;Step A, according to the attitude error, calculate the error angle on at least one axis under the gimbal coordinate system of the gimbal;
步骤B,根据所述至少一个轴上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置。Step B, determining the first corresponding position according to the error angle on the at least one axis and the preset position in the current display screen.
其中,云台坐标系下至少一个轴上可以是云台坐标系下的全部轴或部分轴,具体可以根据需求灵活实现。示例性的,至少一个轴可以包括对应当前显示画面中的垂直方向的第一轴,和/或,对应当前显示画面中的水平方向的第二轴。Wherein, at least one axis in the gimbal coordinate system can be all or part of the axes in the gimbal coordinate system, which can be flexibly implemented according to requirements. Exemplarily, at least one axis may include a first axis corresponding to the vertical direction in the current display picture, and/or, a second axis corresponding to the horizontal direction in the current display picture.
云台坐标系下的第一轴,是指在云台绕其转动时,可以使得当前显示画面在垂直方向上移动的转轴。以第一轴为云台坐标系下的y轴为例,对于前述公式(1)所示的误差,云台坐标系下y轴上的误差角度Err_y可以满足如何公式(2)。The first axis in the gimbal coordinate system refers to the rotation axis that can move the current display screen in the vertical direction when the gimbal rotates around it. Taking the first axis as the y-axis in the gimbal coordinate system as an example, for the error shown in the aforementioned formula (1), the error angle Err_y on the y-axis in the gimbal coordinate system can satisfy the formula (2).
Err_y=Vy×err_angle 公式(2)Err_y=Vy×err_angle Formula (2)
其中,Vy是采用四元素表示的误差q_follow_err的旋转轴[Vx,Vy,Vz]中的Vy,Vy满足如下公式(3);err_angle表示采用四元素表示的误差q_follow_err的旋转角,err_angle满足如下公式(4)。Among them, Vy is the Vy in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, and Vy satisfies the following formula (3); err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the following formula (4).
云台坐标系下的第二轴,是指在云台绕其转动时,可以使得当前显示画面在水平方向上移动的转轴。以第二轴为云台坐标系下的z轴为例,对于前述公式(1)所示的误差,云台坐标系下z轴上的误差角度Err_z可以满足如何公式(5)。The second axis in the gimbal coordinate system refers to the rotation axis that can move the current display screen in the horizontal direction when the gimbal rotates around it. Taking the second axis as the z-axis in the gimbal coordinate system as an example, for the error shown in the aforementioned formula (1), the error angle Err_z on the z-axis in the gimbal coordinate system can satisfy the formula (5).
Err_z=Vz×err_angle 公式(5)Err_z=Vz×err_angle Formula (5)
其中,Vz是采用四元素表示的误差q_follow_err的旋转轴[Vx,Vy,Vz]中的Vz,Vz满足如下公式(6),err_angle表示采用四元素表示的误差q_follow_err的旋转角,err_angle满足前述公式(4)。Among them, Vz is the Vz in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, Vz satisfies the following formula (6), err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the aforementioned formula (4).
示例性的,可以基于预先建立的二维坐标系计算第一对应位置。基于此,在至少一个轴包括第一轴时,一个实施例中,步骤B具体可以包括:将第一轴上的误差角度与第一角度的比值,作为目标的姿态信息在第一坐标系中对应的纵坐标,以得到目标的姿态信息在当前显示画面中对应的垂直位置。从而使得第一目标位置标识在当前显示画面中的垂直位置能够与第一轴的转动联动,另外由于云台绕第一轴转动时能够使得当前显示画面在垂直方向上移动,因此能够确保云台绕第一轴的转动与第一目标位置标识的垂直位置变化两者之间的一致性。Exemplarily, the first corresponding position may be calculated based on a pre-established two-dimensional coordinate system. Based on this, when at least one axis includes the first axis, in an embodiment, step B may specifically include: taking the ratio of the error angle on the first axis to the first angle as the attitude information of the target in the first coordinate system The corresponding vertical coordinates are used to obtain the corresponding vertical position of the attitude information of the target in the current display screen. Therefore, the vertical position of the first target position mark in the current display screen can be linked with the rotation of the first axis. In addition, when the pan/tilt rotates around the first axis, the current display screen can move in the vertical direction, so it can ensure that the pan/tilt The consistency between the rotation around the first axis and the vertical position change of the first target position marker.
基于此,在至少一个轴包括第二轴时,一个实施例中,步骤B具体可以包括:将所述第二轴上的误差角度与第二角度的比值,作为所述目标的姿态信息在第一坐标系中对应的横坐标,以确定所述目标的姿态信息在当前显示画面中对应的水平位置。从而使得第一目标位置标识在当前显示画面中的水平位置能够与第二轴的转动联动,另外由于云台绕第二轴转动时能够使得当前显示画面在水平方向上移动,因此能够确保云台绕第二轴的转动与第一目标位置标识的水平位置变化两者之间的一致性。Based on this, when at least one axis includes the second axis, in an embodiment, step B may specifically include: using the ratio of the error angle on the second axis to the second angle as the attitude information of the target at the second The corresponding abscissa in a coordinate system is used to determine the corresponding horizontal position of the attitude information of the target in the current display screen. Therefore, the horizontal position of the first target position mark in the current display screen can be linked with the rotation of the second axis. In addition, when the pan/tilt rotates around the second axis, the current display screen can move in the horizontal direction, so it can ensure that the pan/tilt The consistency between the rotation around the second axis and the horizontal position change of the first target position mark.
其中,第一角度和第二角度均与预设位置相关,第一坐标系为以预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系。Wherein, the first angle and the second angle are both related to the preset position, the first coordinate system takes the preset position as the coordinate origin, the horizontal direction of the current display screen is the horizontal axis direction, and the vertical direction of the current display screen is the vertical axis direction Cartesian coordinate system.
第一角度可以理解为第一坐标系中,纵轴方向上的单位长度对应的误差角度。由于纵轴方向上当前显示画面的边缘位置,到第一坐标系的坐标原点的距离,与第一坐标系的坐标原点(即预设位置)有关,因此通过第一角度与预设位置相关,能够使得纵轴方向上当前显示画面的边缘位置在第一坐标系中的纵坐标可以为第一特定值。The first angle can be understood as an error angle corresponding to a unit length in the direction of the vertical axis in the first coordinate system. Since the edge position of the currently displayed picture in the vertical axis direction is related to the coordinate origin of the first coordinate system (ie the preset position), the distance to the coordinate origin of the first coordinate system is related to the preset position through the first angle, The vertical coordinate of the edge position of the currently displayed picture in the vertical axis direction in the first coordinate system can be the first specific value.
一个实施例中,第一特定值可以为1,第一角度还可以与当前显示画面对应的垂直视场角相关,从而使得第一目标位置标识在当前显示画面中的垂直位置,可以用于指示云台在目标姿态时拍摄装置的拍摄对象。In one embodiment, the first specific value may be 1, and the first angle may also be related to the vertical viewing angle corresponding to the current display screen, so that the vertical position of the first target position in the current display screen can be used to indicate When the gimbal is in the target posture, the subject of the device is photographed.
应理解,在当前显示画面是未经裁切的拍摄画面时,当前显示画面对应的垂直视场角可以等于拍摄装置的垂直方向视场角;在当前显示画面是经过裁切的拍摄画面时,当前显示画面对应的垂直视场角可以小于拍摄装置的垂直方向视场角。It should be understood that, when the currently displayed picture is an uncropped shooting picture, the vertical field angle corresponding to the current displayed picture may be equal to the vertical field angle of the shooting device; when the currently displayed picture is a cropped shooting picture, The vertical viewing angle corresponding to the currently displayed image may be smaller than the vertical viewing angle of the photographing device.
其中,拍摄装置的垂直视场角fov_h与拍摄装置的图像传感器(sensor)高度大小sensor_size_h以及镜头焦距focus_len,三者之间的关系可以如图4所示,根据图4可以确定三者之间满足如下公式(7)。Wherein, the vertical field of view fov_h of the photographing device, the height sensor_size_h of the image sensor (sensor) of the photographing device and the focal length of the lens focus_len, the relationship between the three can be shown in Figure 4, according to Figure 4, it can be determined that the three satisfy Formula (7) is as follows.
fov_h=2×arctan(0.5×sensor_size_h/focus_len) 公式(7)fov_h=2×arctan(0.5×sensor_size_h/focus_len) Formula (7)
需要说明的是,云台坐标系下第一轴上的误差角度可以为正或者负,在第一轴上的误差角度为正时,可以对应第一坐标系的纵轴正方向,在第一轴上的误差角度为负时,可以对应第一坐标系的纵轴负方向。It should be noted that the error angle on the first axis of the gimbal coordinate system can be positive or negative. When the error angle on the first axis is positive, it can correspond to the positive direction of the vertical axis of the first coordinate system. When the error angle on the axis is negative, it may correspond to the negative direction of the vertical axis of the first coordinate system.
在实际应用中,在预设位置到当前显示画面在纵轴方向上的两个边缘位置之间的像素数量不同时,第一角度可以为当前显示画面中预设位置与第一边缘位置之间像素数量对应的视场角。其中,当前显示画面在纵轴方向上存在两个边缘位置,第一轴上的误差角度为正时,第一边缘位置可以为这两个边缘位置中在纵轴正方向上的一者,第一轴上的误差角度为负时,第一边缘位置可以为这两个边缘位置中在纵轴负方向上的一者。从而使得当前显示画面在纵轴方向上的边缘位置在第一坐标系中的纵坐标可以为1。In practical applications, when the number of pixels between the preset position and the two edge positions of the current display screen in the vertical axis direction is different, the first angle can be between the preset position and the first edge position in the current display screen. The field of view corresponding to the number of pixels. Wherein, there are two edge positions in the vertical axis direction of the current display picture, and when the error angle on the first axis is positive, the first edge position can be one of the two edge positions in the positive direction of the vertical axis, the first When the error angle on the axis is negative, the first edge position may be one of the two edge positions in the negative direction of the vertical axis. Therefore, the vertical coordinate of the edge position of the current display picture in the vertical axis direction in the first coordinate system may be 1.
以预设位置到当前显示画面在纵轴方向上一边缘位置之间的像素数量,是预设位置到当前显示画面在纵轴方向上另一边缘位置之间的像素数量的2倍为例,第一角度与预设位置之间的关系可以如图5A所示。图5A中边缘位置51在以预设位置为坐标原点的第一坐标系中的坐标为(0,1),其中的1可以对应1/3的当前显示画面对应的垂直视场角,即纵轴正方向上对应的第一角 度可以为1/3倍的当前显示画面对应的垂直视场角;边缘位置52在第一坐标系中的坐标也为(0,1),其中的1可以对应2/3的当前显示画面对应的垂直视场角,即纵轴负方向上对应的第一角度可以为2/3倍的当前显示画面对应的垂直视场角。其中,边缘位置51和边缘位置52即为预设位置到当前显示画面在纵轴方向上的两个边缘位置。For example, the number of pixels between the preset position and one edge position of the current display screen in the vertical axis direction is twice the number of pixels between the preset position and the other edge position of the current display screen in the vertical axis direction, The relationship between the first angle and the preset position may be as shown in FIG. 5A . In Fig. 5A, the coordinates of the edge position 51 in the first coordinate system with the preset position as the origin of the coordinates are (0, 1), where 1 can correspond to the vertical viewing angle corresponding to 1/3 of the current display screen, that is, the longitudinal The corresponding first angle in the positive direction of the axis can be 1/3 times the vertical viewing angle corresponding to the current display screen; the coordinates of the edge position 52 in the first coordinate system are also (0,1), and 1 can correspond to 2 The vertical viewing angle corresponding to the current display image of /3, that is, the first angle corresponding to the negative direction of the vertical axis may be 2/3 times the vertical viewing angle corresponding to the current display image. Wherein, the edge position 51 and the edge position 52 are two edge positions in the vertical axis direction from the preset position to the current display image.
在实际应用中,在预设位置到当前显示画面在纵轴方向上的两个边缘位置之间的像素数量相同时,第一角度可以等于1/2倍当前显示画面对应的垂直视场角。一个实施例中,预设位置为当前显示画面的中心位置,第一角度等于1/2倍的当前显示画面对应的垂直视场角。从而使得当前显示画面在纵轴方向上的边缘位置在第一坐标系中的纵坐标可以为1。In practical applications, when the number of pixels between the preset position and the two edge positions of the current display image in the vertical axis direction is the same, the first angle may be equal to 1/2 times the vertical viewing angle corresponding to the current display image. In one embodiment, the preset position is the center position of the current display image, and the first angle is equal to 1/2 times the vertical viewing angle corresponding to the current display image. Therefore, the vertical coordinate of the edge position of the current display picture in the vertical axis direction in the first coordinate system may be 1.
以预设位置为当前显示画面的中心位置,且当前显示画面为未裁剪画面为例,目标姿态在第一坐标系中对应的纵坐标y可以满足如下公式(8)Taking the preset position as the center position of the current display screen, and the current display screen is an uncropped screen as an example, the ordinate y corresponding to the target posture in the first coordinate system can satisfy the following formula (8)
y=2Err_y/fov_h 公式(8)y=2Err_y/fov_h formula (8)
其中,Err_y表示云台坐标系下y轴上的误差角度,fov_h表示拍摄装置的垂直视场角。Among them, Err_y represents the error angle on the y-axis in the gimbal coordinate system, and fov_h represents the vertical field of view angle of the camera.
其中,第二角度可以理解为第一坐标系中,横轴方向上的单位长度对应的误差角度。由于纵轴方向上当前显示画面的边缘位置,到第一坐标系的坐标原点的距离,与第一坐标系的坐标原点(即预设位置)有关,因此通过第二角度与预设位置相关,能够使得纵轴方向上当前显示画面的边缘位置在第一坐标系中的横坐标可以为第二特定值。Wherein, the second angle can be understood as an error angle corresponding to a unit length in the direction of the horizontal axis in the first coordinate system. Since the edge position of the currently displayed picture in the vertical axis direction is related to the coordinate origin of the first coordinate system (ie, the preset position), the distance to the coordinate origin of the first coordinate system is related to the preset position through the second angle, It can be made that the abscissa of the edge position of the currently displayed image in the vertical axis direction in the first coordinate system can be the second specific value.
一个实施例中,第二特定值可以为1,第二角度还可以与当前显示画面对应的水平视场角相关,从而使得目标位置标识在当前显示画面中的垂直位置,可以用于指示云台在目标姿态时拍摄装置的拍摄对象。In one embodiment, the second specific value can be 1, and the second angle can also be related to the horizontal field of view corresponding to the current display screen, so that the vertical position of the target position in the current display screen can be used to indicate the pan/tilt Photograph the subject of the device while in the target pose.
应理解,在当前显示画面是未经裁切的拍摄画面时,当前显示画面对应的水平视场角可以等于拍摄装置的水平方向视场角;在当前显示画面是经过裁切的拍摄画面时,当前显示画面对应的水平视场角可以小于拍摄装置的水平方向视场角。It should be understood that when the currently displayed picture is an uncropped shooting picture, the horizontal field of view corresponding to the current displayed picture may be equal to the horizontal field of view of the shooting device; when the currently displayed picture is a cropped shooting picture, The horizontal field of view corresponding to the currently displayed image may be smaller than the horizontal field of view of the photographing device.
其中,拍摄装置的水平视场角fov_l与拍摄装置的图像传感器(sensor)水平大小sensor_size_l以及镜头焦距focus_len可以满足如下公式(9)。Wherein, the horizontal field of view fov_l of the photographing device, the horizontal size sensor_size_l of the image sensor (sensor) of the photographing device, and the focal length of the lens focus_len may satisfy the following formula (9).
fov_l=2×arctan(0.5×sensor_size_l/focus_len) 公式(9)fov_l=2×arctan(0.5×sensor_size_l/focus_len) Formula (9)
需要说明的是,云台坐标系下第二轴上的误差角度可以为正或者负,在 第二轴上的误差角度为正时,可以对应第一坐标系的横轴正方向,在第二轴上的误差角度为负时,可以对应第一坐标系的横轴负方向。It should be noted that the error angle on the second axis of the gimbal coordinate system can be positive or negative. When the error angle on the second axis is positive, it can correspond to the positive direction of the horizontal axis of the first coordinate system. When the error angle on the axis is negative, it can correspond to the negative direction of the horizontal axis of the first coordinate system.
在实际应用中,在预设位置到当前显示画面在横轴方向上的两个边缘位置之间的像素数量不同时,第二角度可以为当前显示画面中预设位置与第二边缘位置之间像素数量对应的视场角。其中,当前显示画面在横轴方向上存在两个边缘位置,第二轴上的误差角度为正时,第二边缘位置可以为这两个边缘位置中在横轴正方向上的一者,第二轴上的误差角度为负时,第二边缘位置可以为这两个边缘位置中在横轴负方向上的一者。从而使得当前显示画面在横轴方向上的边缘位置在第一坐标系中的横坐标可以为1。In practical applications, when the number of pixels between the preset position and the two edge positions of the current display screen in the horizontal axis direction is different, the second angle can be between the preset position and the second edge position in the current display screen. The field of view corresponding to the number of pixels. Wherein, there are two edge positions in the direction of the horizontal axis in the current display picture, and when the error angle on the second axis is positive, the second edge position can be one of the two edge positions in the positive direction of the horizontal axis, and the second When the error angle on the axis is negative, the second edge position may be one of the two edge positions in the negative direction of the horizontal axis. Therefore, the abscissa of the edge position of the current display image in the abscissa direction in the first coordinate system may be 1.
以预设位置到当前显示画面在横轴方向上一边缘位置之间的像素数量,是预设位置到当前显示画面在横轴方向上另一边缘位置之间的像素数量的2倍为例,第二角度、预设位置以及第一坐标系三者之间的关系可以如图5B所示。图5B中边缘位置61在以预设位置为坐标原点的第一坐标系中的坐标为(1,0),其中的1可以对应1/3的当前显示画面对应的水平视场角,即横轴负方向上对应的第二角度可以为1/3倍的当前显示画面对应的水平视场角;边缘位置62在第一坐标系中的横坐标也为(1,0),其中的1可以对应2/3的当前显示画面对应的水平视场角,即横轴正方向上对应的第二角度可以为2/3倍的当前显示画面对应的水平视场角。其中,边缘位置61和边缘位置62即为预设位置到当前显示画面在横轴方向上的两个边缘位置。As an example, the number of pixels between the preset position and one edge position of the current display screen in the horizontal axis direction is twice the number of pixels between the preset position and the other edge position of the current display screen in the horizontal axis direction, The relationship among the second angle, the preset position and the first coordinate system may be as shown in FIG. 5B . In Fig. 5B, the coordinates of the edge position 61 in the first coordinate system with the preset position as the origin of the coordinates are (1,0), where 1 may correspond to the horizontal viewing angle corresponding to 1/3 of the current display screen, that is, the horizontal field of view. The second angle corresponding to the negative axis direction can be 1/3 times the horizontal viewing angle corresponding to the current display screen; the abscissa of the edge position 62 in the first coordinate system is also (1,0), and 1 in it can be The horizontal viewing angle corresponding to 2/3 of the current display image, that is, the second angle corresponding to the positive direction of the horizontal axis may be 2/3 times the horizontal viewing angle corresponding to the current display image. Wherein, the edge position 61 and the edge position 62 are two edge positions in the horizontal axis direction from the preset position to the current display image.
在实际应用中,在预设位置到当前显示画面在横轴方向上的两个边缘位置之间的像素数量相同时,第二角度可以等于1/2倍当前显示画面对应的水平视场角。一个实施例中,预设位置为当前显示画面的中心位置,第二角度等于1/2倍的当前显示画面对应的水平视场角。从而使得当前显示画面在横轴方向上的边缘位置在第一坐标系中的横坐标可以为1。In practical applications, when the number of pixels between the preset position and the two edge positions of the current display image in the horizontal axis direction is the same, the second angle may be equal to 1/2 times the horizontal viewing angle corresponding to the current display image. In one embodiment, the preset position is the center position of the current display image, and the second angle is equal to 1/2 times the horizontal viewing angle corresponding to the current display image. Therefore, the abscissa of the edge position of the current display image in the abscissa direction in the first coordinate system may be 1.
以预设位置为当前显示画面的中心位置,且当前显示画面为未裁剪画面为例,目标姿态在第一坐标系中对应的横坐标x可以满足如下公式(10)Taking the preset position as the center position of the current display screen, and the current display screen is an uncropped screen as an example, the abscissa x corresponding to the target posture in the first coordinate system can satisfy the following formula (10)
y=2Err_z/fov_l 公式(10)y=2Err_z/fov_l formula (10)
其中,Err_z表示云台坐标系下z轴上的误差角度,fov_l表示拍摄装置的水平视场角。Among them, Err_z represents the error angle on the z-axis in the gimbal coordinate system, and fov_l represents the horizontal field of view angle of the shooting device.
通过第一目标位置标识在当前显示画面中的水平位置和垂直位置,均可以用于指示云台在目标姿态时拍摄装置的拍摄对象,使得用户根据显示的当 前位置标识和目标位置标识不但能够预期云台的转动,还能够预期由于云台转动所带来的镜头对准对象的变化,进而使得用户能够根据云台的转动以及镜头对准对象的变化,预期镜头最终对准的方向,有利于提高用户预期得到的镜头最终对准方向的准确性。The horizontal position and vertical position of the first target position mark in the current display screen can be used to indicate the subject of the shooting device when the pan/tilt is in the target posture, so that the user can not only expect The rotation of the gimbal can also predict the change of the lens aimed at the object caused by the rotation of the gimbal, so that the user can predict the direction of the final alignment of the lens according to the rotation of the gimbal and the change of the lens aimed at the object, which is beneficial Improves the accuracy of the user's expected final alignment of the camera.
另外,在第一目标位置标识在当前显示画面中的水平位置和垂直位置,均可以用于指示云台在目标姿态时拍摄装置的拍摄对象时,当前显示画面中位于第一目标位置标识的对象可以为云台的姿态完成跟随基座时拍摄装置期望拍摄的对象,从而在当前显示画面中的第一对应位置显示的第一目标位置标识可以指示云台的姿态跟随其基座的姿态过程中的期望拍摄对象。示例性的,期望拍摄对象可以是可移动对象,从而使得用户能够将镜头对准到可移动的对象。In addition, when the horizontal position and the vertical position of the first target position mark in the current display screen can be used to indicate that the pan/tilt is in the target posture when shooting the object of the device, the object located in the first target position mark in the current display screen The object that the photographing device expects to capture when following the base can be completed for the posture of the pan/tilt, so that the first target position indicator displayed at the first corresponding position in the current display screen can indicate that the posture of the pan/tilt follows the posture of its base desired subjects. Exemplarily, the object to be photographed may be a movable object, so that the user can aim the lens at the movable object.
进一步的,由于第一目标位置标识在当前显示画面中的位置是与云台的当前的姿态信息和目标的姿态信息之间的误差以及预设位置有关,而预设位置以及目标的姿态信息是确定的,因此第一目标位置标识在当前显示画面中的位置可以随云台的姿态的变化而变化,而云台的姿态是随基座的姿态的变化而变化,由此第一目标位置标识在当前显示画面中的位置能够随基座的姿态的变化而变化,以使得第一目标位置标识能够叠加在当前显示画面中的期望拍摄对象上,即可以利用第一目标位置标识向使用者明确拍摄的对象,并能够利用云台跟随基座的功能实现对象的拍摄。Further, since the position of the first target position mark in the current display screen is related to the error between the current attitude information of the pan-tilt and the attitude information of the target and the preset position, and the preset position and the attitude information of the target are determined, so the position of the first target position mark in the current display screen can change with the change of the posture of the pan-tilt, and the posture of the pan-tilt changes with the change of the posture of the base, so the first target position mark The position in the current display screen can change with the posture of the base, so that the first target position mark can be superimposed on the desired object in the current display screen, that is, the first target position mark can be used to clearly indicate to the user The object to be photographed, and can use the function of the gimbal to follow the base to realize the shooting of the object.
可选的,在至少一个轴包括第一轴和/或第二轴的基础上,至少一个轴还可以包括与第一轴或第二轴两两垂直的第三轴。以云台坐标系下的y轴是第一轴,z轴是第二轴为例,第三轴例如可以是云台坐标系下的x轴,对于前述公式(1)所示的误差,云台坐标系下x轴上的误差角度Err_x可以满足如何公式(11)。Optionally, on the basis that at least one axis includes the first axis and/or the second axis, at least one axis may further include a third axis perpendicular to the first axis or the second axis. Taking the y-axis under the pan-tilt coordinate system as the first axis, and the z-axis as the second axis as an example, the third axis can be, for example, the x-axis under the pan-tilt coordinate system. For the error shown in the aforementioned formula (1), the cloud How can the error angle Err_x on the x-axis in the table coordinate system satisfy formula (11).
Err_x=Vx×err_angle 公式(11)Err_x=Vx×err_angle Formula (11)
其中,Vx是采用四元素表示的误差q_follow_err的旋转轴[Vx,Vy,Vz]中的Vx,Vx满足如下公式(12),err_angle表示采用四元素表示的误差q_follow_err的旋转角,err_angle满足前述公式(4)。Among them, Vx is Vx in the rotation axis [Vx, Vy, Vz] of the error q_follow_err represented by four elements, Vx satisfies the following formula (12), err_angle represents the rotation angle of the error q_follow_err represented by four elements, and err_angle satisfies the aforementioned formula (4).
可选的,可以将第一目标位置标识在当前显示画面中的显示姿态与第三 轴的转动联动。基于此,前述在第一对应位置显示第一目标位置标识具体可以包括:在第一对应位置显示第一目标位置标识,并将第一目标位置标识旋转目标角度,目标角度为在第三轴上的误差角度。Optionally, the display gesture of the first target position mark in the current display screen can be linked with the rotation of the third axis. Based on this, the aforementioned displaying the first target position mark at the first corresponding position may specifically include: displaying the first target position mark at the first corresponding position, and rotating the first target position mark by a target angle, the target angle being on the third axis the error angle.
应理解,在步骤32中通过第一坐标系来确定目标的姿态信息在当前显示画面中对应的位置时,所确定的目标的姿态信息在第一坐标系中对应的坐标可能位于当前显示画面之内,也可能位于当前显示画面之外。It should be understood that when the position corresponding to the posture information of the target in the current display screen is determined through the first coordinate system in step 32, the determined coordinates corresponding to the posture information of the target in the first coordinate system may be located outside the current display screen. inside, or outside the current display.
在目标的姿态信息在第一坐标系中对应的坐标位于当前显示画面之内,可以将目标的姿态信息在第一坐标系中对应的坐标所表示的位置,作为第一对应位置;一旦存在目标的姿态信息在第一坐标系中对应的坐标位于当前显示画面之外的情况,则无法将目标的姿态信息在第一坐标系中对应的坐标所表示的位置,作为第一对应位置。When the coordinates corresponding to the posture information of the target in the first coordinate system are located within the current display screen, the position represented by the coordinates corresponding to the posture information of the target in the first coordinate system can be used as the first corresponding position; once there is a target If the coordinates corresponding to the posture information of the target in the first coordinate system are located outside the current display screen, the position indicated by the coordinates corresponding to the posture information of the target in the first coordinate system cannot be used as the first corresponding position.
为了在目标的姿态信息在第一坐标系中对应的坐标位于当前显示画面之外的情况下,显示第一目标位置标识,需要确定相应的第一对应位置。一个实施例中,可以将当前显示画面中预设位置之外的其他一个位置作为第一对应位置。或者,另一个实施例中,前述根据姿态误差以及当前显示画面中的预设位置确定第一对应位置,还可以包括:根据目标的姿态信息在第一坐标系中对应的坐标确定第一对应位置。In order to display the first target position identifier when the corresponding coordinates of the target posture information in the first coordinate system are outside the current display screen, it is necessary to determine the corresponding first corresponding position. In an embodiment, a position other than the preset position in the current display screen may be used as the first corresponding position. Or, in another embodiment, the aforementioned determination of the first corresponding position according to the posture error and the preset position in the current display screen may also include: determining the first corresponding position according to the corresponding coordinates of the target's posture information in the first coordinate system .
示例性的,在目标的姿态信息在第一坐标系中对应的坐标包括前述纵坐标和前述横坐标时,根据目标的姿态信息在第一坐标系中对应的坐标确定第一对应位置具体可以包括:确定第一坐标系的坐标原点到横坐标和纵坐标的对应位置的连线,与当前显示画面边缘的交点位置;以及,将交点位置确定为第一对应位置。从而使得第一目标位置标识能够用于表征目标的姿态信息在第一坐标系中对应的坐标相对于坐标原点的方向。Exemplarily, when the coordinates corresponding to the attitude information of the target in the first coordinate system include the aforementioned ordinate and the aforementioned abscissa, determining the first corresponding position according to the coordinates corresponding to the attitude information of the target in the first coordinate system may specifically include : Determining the intersection position of the line connecting the coordinate origin of the first coordinate system to the corresponding positions of the abscissa and ordinate and the edge of the current display screen; and determining the intersection position as the first corresponding position. Therefore, the first target position identifier can be used to represent the direction of the coordinates corresponding to the posture information of the target in the first coordinate system relative to the origin of the coordinates.
例如,假设横坐标和纵坐标的对应位置为图6中的位置x1,位置x1位于当前显示画面之外,第一坐标系的坐标原点O到横坐标和纵坐标的对应位置的连线为连线L,连线L与当前显示画面便于的交点位置为位置x2,则可以将位置x2确定为目标姿态在当前显示画面中的对应位置。For example, assume that the corresponding position of the abscissa and the ordinate is the position x1 in FIG. Line L, the convenient intersection position between line L and the current display screen is position x2, then position x2 can be determined as the corresponding position of the target posture in the current display screen.
方式2 way 2
示例性的,可以基于预先建立的一维坐标系计算第二对应位置。基于此,一个实施例中,根据位置误差以及当前显示画面中的预设位置,确定第二对应位置可以包括:将位置误差与目标误差的比值,作为目标位置在第二坐标 系中对应的坐标,以得到第二对应位置。其中,目标误差与预设位置有关,第二坐标系为以预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。Exemplarily, the second corresponding position may be calculated based on a pre-established one-dimensional coordinate system. Based on this, in one embodiment, according to the position error and the preset position in the current display screen, determining the second corresponding position may include: taking the ratio of the position error to the target error as the corresponding coordinate of the target position in the second coordinate system , to get the second corresponding position. Wherein, the target error is related to the preset position, and the second coordinate system is a one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
其中,目标误差可以理解为第二坐标系中,坐标轴方向上的单位长度对应的误差距离。由于坐标轴方向上当前显示画面的边缘位置,到第二坐标系的坐标原点的距离,与第二坐标系的坐标原点(即预设位置)有关,因此通过目标误差与预设位置相关,能够使得坐标轴方向上当前显示画面的边缘位置在第二坐标系中的坐标可以为第三特定值。Wherein, the target error can be understood as an error distance corresponding to a unit length in the direction of the coordinate axis in the second coordinate system. Since the edge position of the currently displayed screen in the direction of the coordinate axis is related to the coordinate origin of the second coordinate system (ie, the preset position), the distance to the coordinate origin of the second coordinate system is related, so the target error can be related to the preset position. The coordinates of the edge position of the currently displayed picture in the direction of the coordinate axis in the second coordinate system may be a third specific value.
特定方向可以为基于预设平动方向以及云台搭载的拍摄装置当前的姿态确定。示例性的,在预设平动方向为竖直方向,且拍摄装置当前的拍摄姿态为横拍,即拍摄装置的拍摄取向为水平取向时,特定方向可以为垂直方向。示例性的,在预设平动方向为竖直方向,且拍摄装置当前的拍摄姿态为竖拍,即拍摄装置的拍摄取向垂直取向时,特定方向可以为水平方向。通过特定方向为基于预设平动方向以及拍摄装置当前的拍摄姿态确定,能够使得云台在预设平动方向上的移动与第二目标位置标识的位置变化两者之间具有一致性。The specific direction can be determined based on the preset translation direction and the current attitude of the shooting device mounted on the gimbal. Exemplarily, when the preset translation direction is the vertical direction, and the current shooting posture of the shooting device is horizontal shooting, that is, the shooting orientation of the shooting device is horizontal, the specific direction may be the vertical direction. Exemplarily, when the preset translation direction is the vertical direction, and the current shooting posture of the shooting device is vertical shooting, that is, the shooting orientation of the shooting device is vertically oriented, the specific direction may be the horizontal direction. By determining the specific direction based on the preset translation direction and the current shooting posture of the shooting device, the movement of the pan/tilt in the preset translation direction and the position change of the second target position mark can be consistent.
在特定方向为基于预设平动方向以及拍摄装置当前的拍摄姿态确定的基础上,一个实施例中,第三特定值可以为1,目标误差还可以与当前显示画面对应的视场角,以及拍摄装置的当前焦距相关,从而使得第二目标位置标识在当前显示画面中的位置,可以用于指示云台在目标位置时拍摄装置的拍摄对象。在特定方向是水平方向时,目标误差具体可以是与当前显示画面对应的水平视场角相关;在特定方向是垂直方向时,目标误差具体可以是与当前显示画面对应的垂直视场角相关。On the basis that the specific direction is determined based on the preset translation direction and the current shooting posture of the shooting device, in one embodiment, the third specific value may be 1, and the target error may also be the field of view angle corresponding to the current display screen, and The current focal length of the photographing device is related, so that the position of the second target position identifier in the current display screen can be used to indicate the subject of the photographing device when the pan/tilt is at the target position. When the specific direction is the horizontal direction, the target error may specifically be related to the horizontal viewing angle corresponding to the current display picture; when the specific direction is the vertical direction, the target error may be specifically related to the vertical viewing angle corresponding to the current display picture.
需要说明的是,位置误差可以为正或者负,在位置误差为正时,可以对应第二坐标系的坐标轴正方向,在位置误差为负时,可以对应第二坐标系的坐标轴负方向。It should be noted that the position error can be positive or negative. When the position error is positive, it can correspond to the positive direction of the coordinate axis of the second coordinate system. When the position error is negative, it can correspond to the negative direction of the coordinate axis of the second coordinate system. .
在实际应用中,在预设位置到当前显示画面在第二坐标系的坐标轴方向上的两个边缘位置之间的像素数量不同时,目标误差可以为当前显示画面中的预设位置与当前显示画面中的第三边缘位置之间对应的云台平动距离。其中,当前显示画面在特定方向上存在两个边缘位置,位置误差为正时,第三边缘位置为这两个边缘位置中在坐标轴正方向上的一者,位置误差为负时, 第三边缘位置为这两个边缘位置中在坐标轴负方向上的一者。从而使得当前显示画面在坐标轴方向上的边缘位置在第二坐标系中的坐标可以为1。In practical applications, when the number of pixels between the preset position and the two edge positions of the current display screen in the direction of the coordinate axis of the second coordinate system is different, the target error can be the preset position in the current display screen and the current The corresponding pan-tilt translation distance between the third edge positions in the display screen. Among them, there are two edge positions in a specific direction on the current display screen. When the position error is positive, the third edge position is one of the two edge positions in the positive direction of the coordinate axis. When the position error is negative, the third edge position The position is one of the two edge positions in the negative direction of the coordinate axis. Therefore, the coordinate of the edge position in the direction of the coordinate axis of the current display screen may be 1 in the second coordinate system.
其中,云台平动距离可以理解为在拍摄装置的当前焦距以及当前显示画面对应的视场角的条件下,通过在预设平动方向上移动云台,将当前显示画面中预设位置处的画面内容沿特定方向移动至第三边缘位置,或者,将当前显示画面中第三边缘位置处的画面内容沿特定方向移动至预设位置,需要云台平移的距离。以特定方向以及预设平动方向均为竖直方向,预设位置为图7中的位置71,第三边缘位置为图7中的位置72为例,当前显示画面中特定方向上位置71与位置72之间的位移为73,云台平动距离可以为图7中的距离74,根据位移73、FOV夹角以及物距可以换算出云台平动距离,其中,物距可以根据焦距计算得到。需要说明的是,图7中虚线矩形框和实线矩形框用于表示云台的基座在垂直方向上的移动,椭圆框表示透镜,两条直线之间的夹角用于表示FOV夹角。Among them, the pan-tilt translation distance can be understood as the current focal length of the shooting device and the field angle corresponding to the current display picture, by moving the pan-tilt in the preset translation direction, the preset position in the current display picture The screen content of the current display screen is moved to the third edge position along a specific direction, or the screen content at the third edge position in the current display screen is moved to a preset position along a specific direction, the distance that the pan/tilt needs to be translated. Taking both the specific direction and the preset translational direction as the vertical direction, the preset position is the position 71 in FIG. 7 , and the third edge position is the position 72 in FIG. 7 as an example, the position 71 in the specific direction and The displacement between positions 72 is 73, and the pan-tilt translation distance can be the distance 74 in Figure 7. According to the displacement 73, the FOV angle, and the object distance, the pan-tilt translation distance can be converted, and the object distance can be calculated according to the focal length get. It should be noted that in Figure 7, the dashed and solid line rectangles are used to represent the movement of the base of the gimbal in the vertical direction, the ellipse represents the lens, and the angle between the two lines represents the FOV angle .
通过第二目标位置标识在当前显示画面中的位置,可以用于指示云台在目标位置时拍摄装置的拍摄对象,使得用户根据显示的当前位置标识和第二目标位置标识不但能够预期云台的移动,还能够预期由于云台移动所带来的镜头对准对象的变化,进而使得用户能够根据云台的移动以及镜头对准对象的变化,预期镜头最终对准的方向,有利于提高用户预期得到的镜头最终对准方向的准确性。The position of the second target position mark in the current display screen can be used to indicate the subject of the shooting device when the pan/tilt is at the target position, so that the user can not only predict the position of the pan/tilt according to the displayed current position mark and the second target position mark Movement can also predict the change of the lens aiming object caused by the movement of the pan/tilt, so that the user can predict the direction of the final alignment of the lens according to the movement of the pan/tilt and the change of the lens aiming object, which is conducive to improving user expectations. The resulting accuracy of the final alignment direction of the lens.
另外,在第二目标位置标识在当前显示画面中的位置,可以用于指示云台在目标位置时拍摄装置的拍摄对象时,当前显示画面中位于第二目标位置标识的对象可以为云台的位置完成跟随基座时拍摄装置期望拍摄的对象,从而在当前显示画面中的第二对应位置显示的第二目标位置标识可以指示云台的位置跟随其基座的位置过程中的期望拍摄对象。In addition, when the position of the second target position mark in the current display screen can be used to indicate the object of the shooting device when the pan/tilt is at the target position, the object located in the second target position mark in the current display screen can be the object of the pan/tilt. The object that the photographing device expects to photograph when the position completes following the base, so that the second target position indicator displayed at the second corresponding position in the current display screen can indicate the desired photographing object during the position of the pan/tilt following the position of its base.
进一步的,由于第二目标位置标识在当前显示画面中的位置是与云台的当前的位置信息和目标的位置信息之间的误差以及预设位置有关,而预设位置以及目标的位置信息是确定的,因此第二目标位置标识在当前显示画面中的位置可以随云台的位置的变化而变化,而云台的位置是随基座的位置的变化而变化,由此第二目标位置标识在当前显示画面中的位置能够随基座的位置的变化而变化,以使得第二目标位置标识能够叠加在当前显示画面中的期望拍摄对象上,即可以利用第二目标位置标识向使用者明确拍摄的对象,并 能够利用云台跟随基座的功能实现对象的拍摄。Further, since the position of the second target position mark in the current display screen is related to the error between the current position information of the pan-tilt and the position information of the target and the preset position, and the preset position and the position information of the target are determined, so the position of the second target position mark in the current display screen can change with the change of the position of the pan-tilt, and the position of the pan-tilt changes with the change of the position of the base, thus the second target position mark The position in the current display screen can change with the position of the base, so that the second target position mark can be superimposed on the desired object in the current display screen, that is, the second target position mark can be used to clearly indicate to the user The object to be photographed, and can use the function of the gimbal to follow the base to realize the shooting of the object.
应理解,在步骤32中通过第二坐标系来确定目标的位置信息在当前显示画面中对应的位置时,所确定的目标的位置信息在第二坐标系中对应的坐标可能位于当前显示画面之内,也可能位于当前显示画面之外。It should be understood that when the position corresponding to the target's position information in the current display screen is determined through the second coordinate system in step 32, the corresponding coordinates of the determined target's position information in the second coordinate system may be located outside the current display screen. inside, or outside the current display.
在目标的位置信息在第二坐标系中对应的坐标位于当前显示画面之内,可以将目标的位置信息在第二坐标系中对应的坐标所表示的位置,作为第二对应位置;一旦存在目标的位置信息在第二坐标系中对应的坐标位于当前显示画面之外的情况,则无法将目标的位置信息在第一坐标系中对应的坐标所表示的位置,作为第二对应位置。When the coordinates corresponding to the position information of the target in the second coordinate system are within the current display screen, the position represented by the coordinates corresponding to the position information of the target in the second coordinate system can be used as the second corresponding position; once there is a target If the coordinates corresponding to the position information of the object in the second coordinate system are outside the current display screen, the position indicated by the coordinates corresponding to the position information of the target in the first coordinate system cannot be used as the second corresponding position.
一个实施例中,可以将当前显示画面中预设位置之外的其他一个位置作为第二对应位置。或者,另一个实施例中,前述根据位置误差以及当前显示画面中的预设位置确定第二对应位置,还可以包括:根据目标的位置信息在第二坐标系中对应的坐标确定第二对应位置。In an embodiment, a position other than the preset position in the current display image may be used as the second corresponding position. Or, in another embodiment, the aforementioned determination of the second corresponding position according to the position error and the preset position in the current display screen may also include: determining the second corresponding position according to the corresponding coordinates of the target's position information in the second coordinate system .
示例性的,根据目标的位置信息在第二坐标系中对应的坐标确定第二对应位置具体可以包括:在目标的位置信息在第二坐标系中对应的坐标为正坐标时,将第二坐标系的坐标轴正方向与当前显示画面边缘的交点位置,确定为第二对应位置;在目标的位置信息在第二坐标系中对应的坐标为负坐标时,将第二坐标系的坐标轴负方向与当前显示画面边缘的交点位置,确定为第二对应位置。Exemplarily, determining the second corresponding position according to the coordinates corresponding to the position information of the target in the second coordinate system may specifically include: when the coordinates corresponding to the position information of the target in the second coordinate system are positive coordinates, setting the second coordinates The position of the intersection point between the positive direction of the coordinate axis of the coordinate system and the edge of the current display screen is determined as the second corresponding position; when the coordinates corresponding to the position information of the target in the second coordinate system are negative coordinates, the coordinate axis of the second coordinate system is negative The intersection position of the direction and the edge of the current display screen is determined as the second corresponding position.
本申请实施例中,为了便于用户获知目标的状态信息在对应坐标系中的坐标是当前显示画面之内还是之外的情况,在显示目标位置标识时可以区别处理。应理解,对于目标的姿态信息,其对应坐标系可以为前述第一坐标系;对于目标的位置信息,其对应坐标系可以为前述第二坐标系。In the embodiment of the present application, in order to facilitate the user to know whether the coordinates of the target state information in the corresponding coordinate system are inside or outside the current display screen, different processing can be performed when displaying the target position identifier. It should be understood that for the attitude information of the target, its corresponding coordinate system may be the aforementioned first coordinate system; for the target's position information, its corresponding coordinate system may be the aforementioned second coordinate system.
基于此,前述步骤33中在目标的状态信息在当前显示画面中的对应位置显示目标位置标识具体可以包括:在目标的状态信息在当前显示画面中的第一目标对应位置显示第一类型的目标位置标识,第一目标对应位置是通过目标的第一状态信息在第一目标坐标系中对应的至少一个坐标得到,至少一个坐标与第一误差相关且均位于当前显示画面之内,第一类型的目标位置标识用于表征目标的第一状态信息在第一目标坐标系中对应的坐标位于当前显示画面之内,其中,目标的第一状态信息包括目标的姿态信息,第一目标坐标系包括第一坐标系,第一误差包括云台当前的姿态信息与目标的姿态信息之 间的姿态误差;和/或,目标的第一状态信息包括目标的位置信息,第一目标坐标系包括第二坐标系,第一误差包括云台当前的位置信息与目标的位置信息之间的位置误差。Based on this, in the aforementioned step 33, displaying the target position identification at the corresponding position of the target state information in the current display screen may specifically include: displaying the first type of target at the first target corresponding position of the target state information in the current display screen Position identification, the corresponding position of the first target is obtained by at least one coordinate corresponding to the first state information of the target in the first target coordinate system, at least one coordinate is related to the first error and is located within the current display screen, the first type The target position identifier of is used to indicate that the corresponding coordinates of the first state information of the target in the first target coordinate system are located within the current display screen, wherein the first state information of the target includes the posture information of the target, and the first target coordinate system includes The first coordinate system, the first error includes the attitude error between the current attitude information of the gimbal and the attitude information of the target; and/or, the first state information of the target includes the position information of the target, and the first target coordinate system includes the second In the coordinate system, the first error includes a position error between the current position information of the gimbal and the position information of the target.
需要说明的是,第一类型的目标位置标识的具体形式可以灵活实现,示例性的,第一类型的目标位置标识可以包括十字光标。It should be noted that the specific form of the first type of target location mark can be flexibly implemented. Exemplarily, the first type of target position mark can include a cross cursor.
假设目标的第二状态信息包括目标的姿态信息,预设位置为画面中心位置,至少一个轴包括第一轴、第二轴和第三轴,则在目标的姿态信息在第一坐标系中对应的纵坐标和横坐标均位于当前显示画面之内时,在当前显示画面中显示当前位置标识以及目标位置标识的显示效果例如可以如图8所示。需要说明的是,图8中当前位置标识和目标位置标识均为十字光标仅为举例。Assuming that the second state information of the target includes the posture information of the target, the preset position is the center position of the screen, and at least one axis includes the first axis, the second axis and the third axis, then the posture information of the target corresponds to When both the ordinate and the abscissa of are located within the current display screen, the display effect of displaying the current position mark and the target position mark in the current display screen may be, for example, as shown in FIG. 8 . It should be noted that, in FIG. 8 , both the current position mark and the target position mark are cross cursors for example only.
和/或,前述步骤33中在目标的状态信息在当前显示画面中的对应位置显示目标位置标识具体可以包括:在目标的状态信息在当前显示画面中的第二目标对应位置显示第二类型的目标位置标识,第二目标对应位置是通过目标的第二状态信息在第二目标坐标系中的至少一个坐标得到,至少一个坐标与第二误差有关且其中的至少部分坐标位于当前显示画面之外,第二类型的目标位置标识用于表征目标的第二状态信息在第二目标坐标系中对应的坐标位于当前显示画面之内。其中,目标的第二状态信息包括目标的姿态信息,第二目标坐标系包括第一坐标系,第二误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;和/或,目标的第二状态信息包括目标的位置信息,第二目标坐标系包括第二坐标系,第二误差包括云台当前的位置信息与目标的位置信息之间的位置误差。And/or, in the aforementioned step 33, displaying the target location identifier at the corresponding position of the target status information in the current display screen may specifically include: displaying the second type of icon at the second target corresponding position of the target status information in the current display screen. Target position identification, the corresponding position of the second target is obtained from at least one coordinate in the second target coordinate system of the second state information of the target, at least one coordinate is related to the second error and at least part of the coordinates are located outside the current display screen The target position identifier of the second type is used to indicate that the corresponding coordinates of the second state information of the target in the second target coordinate system are located within the current display screen. Wherein, the second state information of the target includes the attitude information of the target, the second target coordinate system includes the first coordinate system, and the second error includes the attitude error between the current attitude information of the gimbal and the attitude information of the target; and/or, The second state information of the target includes position information of the target, the second target coordinate system includes the second coordinate system, and the second error includes a position error between the current position information of the pan/tilt and the position information of the target.
需要说明的是,第二类型的目标位置标识的具体形式可以灵活实现,示例性的,第二类型的目标位置标识可以包括箭头,箭头可以指向前述连线由坐标原点延伸的方向。从而使得第二类型的目标位置标识表征目标姿态在对应坐标系中对应的坐标相对于坐标原点的方向的效果更加直观。例如,图6中,箭头可以指向连线L由坐标原点O延伸的方向。It should be noted that the specific form of the second type of target location identifier can be flexibly implemented. Exemplarily, the second type of target location identifier may include an arrow pointing to a direction in which the aforementioned connecting line extends from the coordinate origin. Therefore, the effect of the second type of target position identification representing the direction of the corresponding coordinates of the target posture in the corresponding coordinate system relative to the origin of the coordinates is more intuitive. For example, in FIG. 6 , the arrow may point to the direction in which the line L extends from the origin O of the coordinates.
假设目标的第二状态信息包括目标的姿态信息,预设位置为画面中心位置,至少一个轴包括第一轴和第二轴,则在目标的姿态信息在第一坐标系中对应的纵坐标和横坐标均位于当前显示画面之外时,在当前显示画面中显示当前位置标识以及目标位置标识的显示效果例如可以如图9所示。需要说明的是,图9中当前位置标识为十字光标仅为举例。Assuming that the second state information of the target includes the posture information of the target, the preset position is the center position of the screen, and at least one axis includes the first axis and the second axis, then the corresponding ordinate and When the abscissas are all outside the current display screen, the display effect of displaying the current position mark and the target position mark in the current display screen may be as shown in FIG. 9 , for example. It should be noted that the current position marked as a cross cursor in FIG. 9 is only an example.
本实施例提供的方法,通过根据误差以及当前显示画面中的预设位置,计算目标的状态信息在当前显示画面中的对应位置,预设位置是指云台的当前姿态在当前显示画面中的对应位置,在目标的姿态信息在当前显示画面中的对应位置显示目标位置标识,并在预设位置显示当前位置标识,能够实现通过当前位置标识与目标位置标识在当前显示画面中位置的距离远近关系,来表征云台当前的状态信息与目标的状态信息之间的误差关系,使得用户可以更加形象的了解误差情况,有利于提高用户的使用体验。The method provided in this embodiment calculates the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen. The preset position refers to the position of the current posture of the pan/tilt in the current display screen. Corresponding position, the target position mark is displayed at the corresponding position of the target's posture information in the current display screen, and the current position mark is displayed at the preset position, which can realize the distance between the current position mark and the target position mark in the current display screen relationship to represent the error relationship between the current state information of the gimbal and the state information of the target, so that the user can understand the error situation more vividly, which is conducive to improving the user experience.
图10为本申请又一实施例提供的云台跟随时的交互方法的流程示意图,本实施例的执行主体可以为云台跟随时的交互装置,具体可以为交互装置的处理器。如图10所示,本实施例的方法可以包括:FIG. 10 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application. The execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device. As shown in Figure 10, the method of this embodiment may include:
步骤101,在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息。 Step 101, in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculating the error between the current state information of the pan-tilt and the state information of the target in real time; the state The information includes attitude information and/or position information in a preset translation direction.
需要说明的是,步骤101与步骤21类似,在此不再赘述。It should be noted that step 101 is similar to step 21 and will not be repeated here.
步骤102,根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置。 Step 102, according to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state of the pan/tilt The corresponding position of the information in the current display screen.
需要说明的是,关于根据误差以及预设位置计算目标姿态在当前显示画面中对应位置的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。It should be noted that, as for the specific manner of calculating the corresponding position of the target pose in the current display screen according to the error and the preset position, reference may be made to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
步骤103,在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。 Step 103 , displaying a target location identifier at a corresponding position of the state information of the target in the current display screen.
需要说明的是,关于显示目标位置标识的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。It should be noted that, as for the specific manner of displaying the target location identifier, reference may be made to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
本实施例提供的方法,在根据云台目标的状态信息,控制云台跟随其基座的过程中,实时计算云台当前的状态信息与目标的状态信息之间的误差,根据误差以及预设位置计算目标的状态信息在当前显示画面中的对应位置,并在目标的状态信息在当前显示画面中的对应位置显示目标位置标识,使得在云台跟随基座的过程中,用户可以根据显示的目标的状态信息在当前显示画面中的对应位置来预期云台的运动。The method provided in this embodiment, in the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, calculates the error between the current state information of the pan-tilt and the state information of the target in real time, according to the error and preset The location calculates the corresponding position of the state information of the target in the current display screen, and displays the target position identification at the corresponding position of the target state information in the current display screen, so that the user can follow the base during the pan/tilt. The corresponding position of the target's status information in the current display screen is used to anticipate the motion of the pan/tilt.
图11为本申请又一实施例提供的云台跟随时的交互方法的流程示意图, 本实施例的执行主体可以为云台跟随时的交互装置,具体可以为该交互装置的处理器。如图11所示,本实施例的方法可以包括:FIG. 11 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application. The execution subject of this embodiment may be an interaction device for pan-tilt following, specifically, a processor of the interaction device. As shown in Figure 11, the method of this embodiment may include:
步骤111,确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息。 Step 111, determine the corresponding position of the status information of the pan/tilt target in the current display screen; the corresponding position of the status information of the target in the current display screen is in the process of the pan/tilt following its base, based on the The error between the current state information of the pan/tilt and the state information of the target, and the preset position in the current display screen are calculated, and the preset position refers to the current state information of the pan/tilt in the current display screen The state information includes attitude information and/or position information in a preset translation direction.
本步骤中,云台目标的状态信息在当前显示画面中的对应位置,可以由本实施例的执行主体以及云台之外的第三方计算得到。关于第三方计算云台目标的状态信息在当前显示画面中对应位置的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。In this step, the corresponding position of the state information of the PTZ object in the current display screen can be calculated by the execution subject of this embodiment and a third party other than the PTZ. Regarding the specific manner of the corresponding position of the status information of the third-party computing platform object in the current display screen, refer to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
对于确定云台目标的状态信息在当前显示画面中对应位置的具体方式,本申请不做限定,例如,可以通过接收第三方发送的指示信息,并根据指示信息,确定云台目标的状态信息在当前显示画面中的对应位置。The specific method for determining the corresponding position of the state information of the PTZ object in the current display screen is not limited in the present application. For example, the state information of the PTZ object can be determined by receiving the indication information sent by a third party and according to the indication information. The corresponding position in the currently displayed screen.
步骤112,在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。 Step 112 , displaying a target location identifier at a corresponding position of the target state information in the current display screen.
需要说明的是,关于显示目标位置标识的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。It should be noted that, as for the specific manner of displaying the target location identifier, reference may be made to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
本实施例提供的方法,通过确定云台目标的状态信息在当前显示画面中的对应位置,并在目标的状态信息在当前显示画面中的对应位置显示目标位置标识,使得在云台跟随基座的过程中,用户可以根据显示的目标的状态信息在当前显示画面中的对应位置来预期云台的运动。The method provided in this embodiment, by determining the corresponding position of the state information of the pan-tilt target in the current display screen, and displaying the target position identification at the corresponding position of the state information of the target in the current display screen, so that the pan-tilt follows the base During the process, the user can anticipate the movement of the pan/tilt according to the corresponding position of the displayed target status information in the current display screen.
图12为本申请又一实施例提供的云台跟随时的交互方法的流程示意图,本实施例的执行主体可以为云台跟随时的交互装置,具体可以为该交互装置的处理器。如图12所示,本实施例的方法可以包括:FIG. 12 is a schematic flowchart of a pan-tilt-following interaction method provided by another embodiment of the present application. The execution subject of this embodiment may be an interaction device for pan-tilt following, specifically a processor of the interaction device. As shown in Figure 12, the method of this embodiment may include:
步骤121,在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息。 Step 121, when the current state information of the platform is not the state information of the target, display the target position identification at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the target position The status information is the status information of the target of the pan-tilt in the mode of following the base of the pan-tilt, and the status information includes posture information and/or position information in a preset translation direction.
本步骤中,在云台当前的状态信息不为目标的状态信息时,目标的状态信息在当前显示画面中的对应位置(即目标位置)不为预设位置。应理解,在云台当前的状态信息向目标的状态信息靠近的过程中,目标位置可以靠近预设位置,目标的状态信息在当前显示画面中的对应位置,可以根据预设位置计算得到。In this step, when the current state information of the pan/tilt is not the state information of the target, the corresponding position of the state information of the target in the current display screen (that is, the target position) is not the preset position. It should be understood that when the current state information of the pan/tilt is approaching the state information of the target, the position of the target may be close to a preset position, and the corresponding position of the state information of the target in the current display screen may be calculated according to the preset position.
目标的状态信息在当前显示画面中的对应位置可以由本实施例的执行主体,或者,本实施例的执行主体以及云台之外的第三方计算得到。需要说明的是,关于计算云台目标的状态信息在当前显示画面中对应位置的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。The corresponding position of the status information of the object in the current display screen can be obtained by the execution subject of this embodiment, or the execution subject of this embodiment and a third party other than the pan/tilt. It should be noted that, as for the specific manner of calculating the corresponding position of the state information of the pan/tilt object in the current display screen, refer to the related description in the embodiment shown in FIG. 3 , which will not be repeated here.
需要说明的是,关于显示目标位置标识的具体方式,可以参见图3所示实施例中的相关描述,在此不再赘述。It should be noted that, as for the specific manner of displaying the target location identifier, reference may be made to the relevant description in the embodiment shown in FIG. 3 , which will not be repeated here.
步骤122,在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。 Step 122, when the current status information of the pan/tilt is the status information of the target, display the target location identifier at a preset position in the current display screen.
本实施例提供的方法,通过在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识,在云台当前的状态信息为目标的状态信息时,在当前显示画面中的预设位置显示目标位置标识,使得在云台跟随基座的过程中,用户可以根据显示的目标的状态信息在当前显示画面中的对应位置来预期云台的运动。In the method provided in this embodiment, when the current state information of the pan/tilt is not the state information of the target, the target position logo is displayed at the target position, and when the current state information of the pan/tilt is the state information of the target, the current display screen The target position mark is displayed at the preset position of the target, so that during the process of the pan-tilt following the base, the user can anticipate the movement of the pan-tilt according to the corresponding position of the displayed target status information in the current display screen.
图13为本申请一实施例提供的云台跟随时的交互装置的结构示意图,如图13所示,该装置130可以包括:处理器131和存储器132。FIG. 13 is a schematic structural diagram of a pan/tilt follow-up interaction device according to an embodiment of the present application. As shown in FIG. 13 , the device 130 may include: a processor 131 and a memory 132 .
所述存储器132,用于存储程序代码;The memory 132 is used to store program codes;
所述处理器131,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 131 invokes the program code, and when the program code is executed, is used to perform the following operations:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
显示所述误差。Display the error.
本实施例提供的云台跟随时的交互装置,可以用于执行图2和图3所示方法实施例的技术方案,其实现原理和技术效果与方法实施例类似,在此不再赘述。The interactive device for pan/tilt following provided in this embodiment can be used to execute the technical solutions of the method embodiments shown in FIG. 2 and FIG. 3 .
图14为本申请另一实施例提供的云台跟随时的交互装置的结构示意图, 如图14所示,该装置140可以包括:处理器141和存储器142。FIG. 14 is a schematic structural diagram of an interaction device when a pan/tilt follows according to another embodiment of the present application. As shown in FIG. 14 , the device 140 may include: a processor 141 and a memory 142 .
所述存储器142,用于存储程序代码;The memory 142 is used to store program codes;
所述处理器141,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 141 invokes the program code, and when the program code is executed, is used to perform the following operations:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
本实施例提供的云台跟随时的交互装置,可以用于执行图10所示方法实施例的技术方案,其实现原理和技术效果与方法实施例类似,在此不再赘述。The interactive device for pan/tilt follow-up provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 10 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
图15为本申请又一实施例提供的云台跟随时的交互装置的结构示意图,如图15所示,该装置150可以包括:处理器151和存储器152。FIG. 15 is a schematic structural diagram of a pan/tilt-following interaction device according to yet another embodiment of the present application. As shown in FIG. 15 , the device 150 may include: a processor 151 and a memory 152 .
所述存储器152,用于存储程序代码;The memory 152 is used to store program codes;
所述处理器151,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 151 invokes the program code, and when the program code is executed, is used to perform the following operations:
确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform The error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen , the state information includes attitude information and/or position information in a preset translation direction;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
本实施例提供的云台跟随时的交互装置,可以用于执行图11所示方法实施例的技术方案,其实现原理和技术效果与方法实施例类似,在此不再赘述。The interactive device for pan/tilt following provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 11 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
图16为本申请又一实施例提供的云台跟随时的交互装置的结构示意图,如图16所示,该装置160可以包括:处理器161和存储器162。FIG. 16 is a schematic structural diagram of an interaction device for pan/tilt follow provided in another embodiment of the present application. As shown in FIG. 16 , the device 160 may include: a processor 161 and a memory 162 .
所述存储器162,用于存储程序代码;The memory 162 is used to store program codes;
所述处理器161,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 161 invokes the program code, and when the program code is executed, is used to perform the following operations:
在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
本实施例提供的云台跟随时的交互装置,可以用于执行图12所示方法实施例的技术方案,其实现原理和技术效果与方法实施例类似,在此不再赘述。The interactive device for pan-tilt follow-up provided in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 12 , and its implementation principle and technical effect are similar to those of the method embodiment, and will not be repeated here.
示例性的,云台跟随时的交互装置具体可以包括在云台系统中,示例性的,云台跟随时的交互装置具体可以是云台的控制器;或者,云台跟随时的交互装置具体可以包括在云台系统之外,示例性的,云台跟随时的交互装置具体可以是与云台系统连接的控制设备。Exemplarily, the interactive device when the pan-tilt follows can specifically be included in the pan-tilt system. Exemplarily, the interactive device when the pan-tilt follows can specifically be the controller of the pan-tilt; or, the interactive device when the pan-tilt follows can specifically It may be included outside the pan-tilt system. Exemplarily, the interaction device when the pan-tilt follows may specifically be a control device connected to the pan-tilt system.
另外,本申请实施例还提供一种云台系统,该云台系统的结构可以如图1所示包括:基座12;设置于基座12上的云台11,云台11用于搭载拍摄装置;以及,用于控制云台12的控制器13,控制器13用于:In addition, the embodiment of the present application also provides a pan-tilt system. The structure of the pan-tilt system may include, as shown in FIG. device; and, for controlling the controller 13 of the cloud platform 12, the controller 13 is used for:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息,并显示所述误差。In the process of controlling the pan-tilt to follow its base according to the state information of the pan-tilt target, the error between the current state information of the pan-tilt and the state information of the target is calculated in real time, and the state information includes attitude information and/or position information in the preset translation direction, and display the error.
本申请实施例还提供一种云台系统,该云台系统的结构可以如图1所示包括:基座12;设置于基座12上的云台11,云台11用于搭载拍摄装置;以及,用于控制云台12的控制器13,控制器13用于:The embodiment of the present application also provides a pan-tilt system. The structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 12, the controller 13 is used for:
在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;
根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标 识。At the corresponding position of the status information of the target in the current display screen, the target position mark is displayed.
本申请实施例还提供一种云台系统,该云台系统的结构可以如图1所示包括:基座12;设置于基座12上的云台11,云台11用于搭载拍摄装置;以及,用于控制云台11的控制器13,控制器13用于:The embodiment of the present application also provides a pan-tilt system. The structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 11, the controller 13 is used for:
确定云台目标的状态信息在当前显示画面中的对应位置;所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the current state of the cloud platform The error between the state information of the target and the state information of the target and the preset position in the current display screen are calculated, and the preset position refers to the corresponding position of the current state information of the pan/tilt in the current display screen , the state information includes attitude information and/or position information in a preset translation direction;
在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
本申请实施例还提供一种云台系统,该云台系统的结构可以如图1所示包括:基座12;设置于基座12上的云台11,云台11用于搭载拍摄装置;以及,用于控制云台11的控制器13,控制器13用于:The embodiment of the present application also provides a pan-tilt system. The structure of the pan-tilt system may include: a base 12; a pan-tilt 11 arranged on the base 12, the pan-tilt 11 is used to carry a camera; And, for controlling the controller 13 of the cloud platform 11, the controller 13 is used for:
在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;
在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
上述云台系统还可以进一步包括控制端和/或拍摄装置,其中,控制端可以与控制器13通信连接,用于对云台11进行控制,拍摄装置可以搭载在云台11上。The above pan/tilt system may further include a control terminal and/or a shooting device, wherein the control terminal may communicate with the controller 13 for controlling the pan/tilt 11 , and the shooting device may be mounted on the pan/tilt 11 .
可以理解,上述云台系统中的控制器13还可以执行其它步骤,具体可以参考上述相关方法实施例中的内容,此处不再赘述。It can be understood that the controller 13 in the above-mentioned pan/tilt system can also perform other steps, and for details, reference can be made to the content in the above-mentioned related method embodiments, which will not be repeated here.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; 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 perform equivalent replacements for 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 various embodiments of the present application. scope.
Claims (79)
- 一种云台跟随时的交互方法,其特征在于,包括:A kind of interaction method when the cloud platform follows, it is characterized in that, comprises:在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;显示所述误差。Display the error.
- 根据权利要求1所述的方法,其特征在于,所述显示所述误差,包括:图像化显示所述误差。The method according to claim 1, wherein the displaying the error comprises: graphically displaying the error.
- 根据权利要求2所述的方法,其特征在于,所述图像化显示所述误差,包括:The method according to claim 2, wherein the graphically displaying the error comprises:在当前显示画面中,叠加显示所述误差。In the current display screen, the error is superimposed and displayed.
- 根据权利要求3所述的方法,其特征在于,所述在当前显示画面中,叠加显示所述误差,包括:The method according to claim 3, wherein the superimposing and displaying the error in the current display screen includes:根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, the preset position refers to the current state information of the pan/tilt in the current display screen corresponding position of在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,并在所述预设位置显示当前位置标识。The target position mark is displayed at the corresponding position of the state information of the target in the current display screen, and the current position mark is displayed at the preset position.
- 根据权利要求4所述的方法,其特征在于,所述目标位置标识能够指示所述云台跟随所述基座的过程中的期望拍摄对象。The method according to claim 4, characterized in that, the target position mark can indicate a desired shooting object in the process of the pan-tilt following the base.
- 根据权利要求5所述的方法,其特征在于,所述目标位置标识在当前显示画面中的位置能够随所述基座的状态信息的变化而变化,以使得所述目标位置标识能够叠加在当前显示画面中的所述期望拍摄对象上。The method according to claim 5, wherein the position of the target position mark in the current display screen can be changed with the change of the state information of the base, so that the target position mark can be superimposed on the current display screen. The desired subject is displayed on the screen.
- 根据权利要求6所述的方法,其特征在于,所述期望拍摄对象是可移动对象。The method of claim 6, wherein the desired subject is a movable subject.
- 根据权利要求4所述的方法,其特征在于,在所述云台跟随所述基座的过程中,所述目标位置标识在当前显示画面中的显示位置能够随所述云台的状态信息的变化而变化,且所述当前位置标识与所述目标位置标识之间的位置差异相关于所述云台当前的状态信息与所述目标的状态信息之间的差异。The method according to claim 4, characterized in that, during the process of the pan/tilt following the base, the display position of the target position mark in the current display screen can be changed according to the status information of the pan/tilt. The position difference between the current position identifier and the target position identifier is related to the difference between the current state information of the pan/tilt and the state information of the target.
- 根据权利要求8所述的方法,其特征在于,在所述云台当前的状态信 息与所述目标的状态信息一致时,所述当前位置标识与所述目标位置标识在当前显示画面上重合。The method according to claim 8, characterized in that, when the current state information of the pan/tilt is consistent with the state information of the target, the current position mark and the target position mark overlap on the current display screen.
- 根据权利要求4所述的方法,其特征在于,在所述目标的状态信息在当前显示画面中的对应位置为所述预设位置时,表示所述云台当前的状态信息为所述目标的状态信息。The method according to claim 4, characterized in that when the corresponding position of the state information of the target in the current display screen is the preset position, it means that the current state information of the pan/tilt is the position of the target. status information.
- 根据权利要求4所述的方法,其特征在于,在所述状态信息包括所述姿态信息时,所述误差包括所述云台当前的姿态信息与所述云台目标的姿态信息之间的姿态误差,所述目标的状态信息在当前显示画面中的对应位置包括目标的姿态信息在当前显示画面中的第一对应位置,所述目标位置标识包括用于表征所述第一对应位置的第一目标位置标识;The method according to claim 4, wherein when the state information includes the attitude information, the error includes the attitude between the current attitude information of the pan-tilt and the attitude information of the pan-tilt target Error, the corresponding position of the state information of the target in the current display screen includes the first corresponding position of the posture information of the target in the current display screen, and the target position identifier includes the first corresponding position used to characterize the first corresponding position. Target location identification;所述根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,包括:The calculating the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen includes:根据所述姿态误差以及当前显示画面中的预设位置,确定所述第一对应位置;determining the first corresponding position according to the posture error and a preset position in the current display screen;所述在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,包括:The displaying target position identification at the corresponding position of the state information of the target in the current display screen includes:在所述第一对应位置显示所述第一目标位置标识。Displaying the first target location identifier at the first corresponding location.
- 根据权利要求11所述的方法,其特征在于,所述根据所述姿态误差以及当前显示画面中的预设位置,确定所述第一对应位置,包括:The method according to claim 11, wherein the determining the first corresponding position according to the attitude error and the preset position in the current display screen comprises:根据所述姿态误差,计算所述云台的云台坐标系下至少一个轴上的误差角度;According to the attitude error, calculate the error angle on at least one axis under the gimbal coordinate system of the gimbal;根据所述至少一个轴上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置。The first corresponding position is determined according to the error angle on the at least one axis and the preset position in the current display screen.
- 根据权利要求12所述的方法,其特征在于,所述至少一个轴包括第一轴和/或第二轴,第一轴对应当前显示画面中的垂直方向,第二轴对应当前显示画面中的水平方向。The method according to claim 12, wherein the at least one axis includes a first axis and/or a second axis, the first axis corresponds to the vertical direction in the current display picture, and the second axis corresponds to the vertical direction in the current display picture horizontal direction.
- 根据权利要求13所述的方法,其特征在于,所述根据至少一个轴上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置,包括:The method according to claim 13, wherein the determining the first corresponding position according to the error angle on at least one axis and the preset position in the current display screen comprises:将所述第一轴上的误差角度与第一角度的比值,作为所述目标的姿态信息在第一坐标系中对应的纵坐标,以得到所述目标的姿态信息在当前显示画面中对应的垂直位置;和/或,Taking the ratio of the error angle on the first axis to the first angle as the ordinate corresponding to the attitude information of the target in the first coordinate system to obtain the corresponding ordinate of the attitude information of the target in the current display screen. vertical position; and/or,将所述第二轴上的误差角度与第二角度的比值,作为所述目标的姿态信息在第一坐标系中对应的横坐标,以得到所述目标的姿态信息在当前显示画面中对应的水平位置;Taking the ratio of the error angle on the second axis to the second angle as the abscissa corresponding to the posture information of the target in the first coordinate system, so as to obtain the corresponding abscissa of the posture information of the target in the current display screen horizontal position;其中,所述第一角度和所述第二角度均与所述预设位置相关,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系。Wherein, both the first angle and the second angle are related to the preset position, the first coordinate system takes the preset position as the coordinate origin, the horizontal direction of the current display screen is the direction of the horizontal axis, The vertical direction of the current display screen is a Cartesian coordinate system in the direction of the vertical axis.
- 根据权利要求14所述的方法,其特征在于,所述第一角度还与当前显示画面对应的垂直视场角相关。The method according to claim 14, wherein the first angle is also related to a vertical viewing angle corresponding to the currently displayed picture.
- 根据权利要求15所述的方法,其特征在于,所述第一角度为当前显示画面中所述预设位置与第一边缘位置之间像素数量对应的视场角;The method according to claim 15, wherein the first angle is an angle of view corresponding to the number of pixels between the preset position and the first edge position in the current display screen;当前显示画面在纵轴方向上存在两个边缘位置,所述第一轴上的误差角度为正时,所述第一边缘位置为所述两个边缘位置中在纵轴正方向上的一者,所述第一轴上的误差角度为负时,所述第一边缘位置为所述两个边缘位置中在纵轴负方向上的一者。There are two edge positions in the vertical axis direction of the current display picture, and when the error angle on the first axis is positive, the first edge position is one of the two edge positions in the positive direction of the vertical axis, When the error angle on the first axis is negative, the first edge position is one of the two edge positions in the negative direction of the vertical axis.
- 根据权利要求15所述的方法,其特征在于,所述预设位置为当前显示画面的中心位置,所述第一角度等于1/2倍的所述垂直视场角。The method according to claim 15, wherein the preset position is the center position of the currently displayed image, and the first angle is equal to 1/2 times the vertical viewing angle.
- 根据权利要求14所述的方法,其特征在于,所述第二角度还与当前显示画面对应的水平视场角相关。The method according to claim 14, wherein the second angle is also related to the horizontal viewing angle corresponding to the currently displayed picture.
- 根据权利要求18所述的方法,其特征在于,所述第二角度为当前显示画面中所述预设位置与第二边缘位置之间像素数量对应的视场角;The method according to claim 18, wherein the second angle is an angle of view corresponding to the number of pixels between the preset position and the second edge position in the current display screen;当前显示画面在横轴方向上存在两个边缘位置,所述第二轴上的误差角度为正时,所述第二边缘位置为所述两个边缘位置中在横轴正方向上的一者,所述第二轴上的误差角度为负时,所述第二边缘位置为所述两个边缘位置中在横轴负方向上的一者。There are two edge positions in the horizontal axis direction of the current display picture, and when the error angle on the second axis is positive, the second edge position is one of the two edge positions in the positive direction of the horizontal axis, When the error angle on the second axis is negative, the second edge position is one of the two edge positions in the negative direction of the horizontal axis.
- 根据权利要求18所述的方法,其特征在于,所述预设位置为画面中心位置,所述第二角度等于1/2倍的所述水平视场角。The method according to claim 18, wherein the preset position is the center position of the screen, and the second angle is equal to 1/2 times the horizontal viewing angle.
- 根据权利要求14所述的方法,其特征在于,在所述目标的姿态信息在所述第一坐标系中对应的至少一个坐标位于当前显示画面之外时,所述根据所述至少一个轴中上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置,还包括:The method according to claim 14, wherein when at least one coordinate corresponding to the attitude information of the target in the first coordinate system is outside the current display screen, the The error angle above and the preset position in the current display screen, determining the first corresponding position, also includes:根据所述目标的姿态信息在所述第一坐标系中对应的坐标,确定所述第 一对应位置。The first corresponding position is determined according to the corresponding coordinates of the posture information of the target in the first coordinate system.
- 根据权利要求21所述的方法,其特征在于,在所述目标的姿态信息在所述第一坐标系中的坐标包括所述纵坐标和所述横坐标时,所述根据所述目标的姿态信息在所述第一坐标系中的坐标,确定所述第一对应位置,包括:The method according to claim 21, wherein when the coordinates of the target's posture information in the first coordinate system include the ordinate and the abscissa, the The coordinates of the information in the first coordinate system to determine the first corresponding position include:确定所述第一坐标系的坐标原点到所述横坐标和所述纵坐标的对应位置的连线,与当前显示画面边缘的交点位置;Determining the intersection position of the line connecting the coordinate origin of the first coordinate system to the corresponding positions of the abscissa and the ordinate and the edge of the current display screen;将所述交点位置确定为所述第一对应位置。Determine the position of the intersection point as the first corresponding position.
- 根据权利要求13所述的方法,其特征在于,所述至少一个轴还包括第三轴,所述第三轴与所述第一轴或第二轴两两垂直;所述在所述第一对应位置显示所述第一目标位置标识,包括:The method according to claim 13, wherein the at least one axis further includes a third axis, and the third axis is perpendicular to the first axis or the second axis; The corresponding location displays the first target location identifier, including:在所述第一对应位置显示所述第一目标位置标识,并将所述第一目标位置标识旋转目标角度,所述目标角度为在所述第三轴上的误差角度。The first target position mark is displayed at the first corresponding position, and the first target position mark is rotated by a target angle, where the target angle is an error angle on the third axis.
- 根据权利要求4所述的方法,其特征在于,在所述状态信息包括所述位置信息时,所述误差包括所述云台在所述预设平动方向上当前的位置信息与所述云台在所述预设平动方向上目标的位置信息之间的位置误差,所述目标的状态信息在当前显示画面中的对应位置包括目标的位置信息在当前显示画面中的第二对应位置,所述目标位置标识包括用于表征所述第二对应位置的第二目标位置标识;The method according to claim 4, wherein when the state information includes the position information, the error includes the difference between the current position information of the pan-tilt in the preset translation direction and the position information of the cloud platform. The position error between the position information of the target in the preset translation direction, the corresponding position of the state information of the target in the current display screen includes the second corresponding position of the position information of the target in the current display screen, The target location identifier includes a second target location identifier for characterizing the second corresponding location;所述根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,包括:The calculating the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen includes:根据所述位置误差以及当前显示画面中的预设位置,确定所述第二对应位置;determining the second corresponding position according to the position error and a preset position in the current display screen;所述在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,包括:The displaying target position identification at the corresponding position of the state information of the target in the current display screen includes:在所述第二对应位置显示所述第二目标位置标识。displaying the second target location identifier at the second corresponding location.
- 根据权利要求24所述的方法,其特征在于,所述根据所述位置误差以及当前显示画面中的预设位置,确定所述第二对应位置,包括:The method according to claim 24, wherein the determining the second corresponding position according to the position error and the preset position in the current display screen comprises:将所述位置误差与目标误差的比值,作为所述目标位置在第二坐标系中对应的坐标,以得到所述第二对应位置,所述目标误差与所述预设位置有关,所述第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。The ratio of the position error to the target error is used as the corresponding coordinate of the target position in the second coordinate system to obtain the second corresponding position, the target error is related to the preset position, and the first The two-coordinate system is a one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求25所述的方法,其特征在于,所述特定方向为基于所述预设平动方向以及所述云台搭载的拍摄装置当前的拍摄姿态确定。The method according to claim 25, wherein the specific direction is determined based on the preset translational direction and the current shooting posture of the shooting device mounted on the pan/tilt.
- 根据权利要求26所述的方法,其特征在于,所述预设平动方向为竖直方向。The method according to claim 26, wherein the preset translation direction is a vertical direction.
- 根据权利要求26所述的方法,其特征在于,所述目标误差还与当前显示画面对应的视场角,以及所述拍摄装置的当前焦距相关。The method according to claim 26, wherein the target error is also related to the field angle corresponding to the currently displayed image and the current focal length of the photographing device.
- 根据权利要求28所述的方法,其特征在于,所述目标误差为当前显示画面中的所述预设位置与当前显示画面中的第三边缘位置之间对应的云台平动距离;The method according to claim 28, wherein the target error is the corresponding pan-tilt translation distance between the preset position in the current display screen and the third edge position in the current display screen;当前显示画面在所述特定方向上存在两个边缘位置,所述位置误差为正时,所述第三边缘位置为所述两个边缘位置中在坐标轴正方向上的一者,所述位置误差为负时,所述第三边缘位置为所述两个边缘位置中在坐标轴负方向上的一者。There are two edge positions in the specific direction of the currently displayed picture, and when the position error is positive, the third edge position is one of the two edge positions in the positive direction of the coordinate axis, and the position error When negative, the third edge position is one of the two edge positions in the negative direction of the coordinate axis.
- 根据权利要求25所述的方法,其特征在于,在所述目标的位置信息在所述第二坐标系中的坐标位于当前显示画面之外时,所述根据所述位置误差以及当前显示画面中的预设位置,确定所述第二对应位置,还包括:The method according to claim 25, characterized in that, when the coordinates of the position information of the target in the second coordinate system are outside the current display screen, according to the position error and the current display screen The preset position, determining the second corresponding position, also includes:根据所述目标的位置信息在所述第二坐标系中对应的坐标,确定所述第二对应位置。The second corresponding position is determined according to the coordinates corresponding to the position information of the target in the second coordinate system.
- 根据权利要求30所述的方法,其特征在于,所述根据所述目标的位置信息在所述第二坐标系中对应的坐标,确定所述第二对应位置,包括:The method according to claim 30, wherein the determining the second corresponding position according to the coordinates corresponding to the position information of the target in the second coordinate system comprises:在所述目标的位置信息在所述第二坐标系中对应的坐标为正坐标时,将所述第二坐标系的坐标轴正方向与当前显示画面边缘的交点位置,确定为第二对应位置;When the coordinates corresponding to the position information of the target in the second coordinate system are positive coordinates, the intersection position between the positive direction of the coordinate axis of the second coordinate system and the edge of the current display screen is determined as the second corresponding position ;在目标的位置信息在第二坐标系中对应的坐标为负坐标时,将第二坐标系的坐标轴负方向与当前显示画面边缘的交点位置,确定为第二对应位置。When the coordinates corresponding to the position information of the target in the second coordinate system are negative coordinates, the intersection position between the negative direction of the coordinate axis of the second coordinate system and the edge of the current display screen is determined as the second corresponding position.
- 根据权利要求4所述的方法,其特征在于,所述在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,包括:The method according to claim 4, wherein the displaying the target position identification at the corresponding position of the state information of the target in the current display screen comprises:在所述目标的状态信息在当前显示画面中的第一目标对应位置显示第一类型的目标位置标识,所述第一目标对应位置是通过目标的第一状态信息在第一目标坐标系中对应的至少一个坐标得到,所述至少一个坐标与第一误差相关且均位于当前显示画面之内,所述第一类型的目标位置标识用于表征所 述目标的第一状态信息在所述第一目标坐标系中对应的坐标位于当前显示画面之内;The first type of target position identification is displayed at the first target corresponding position of the target state information in the current display screen, and the first target corresponding position is corresponded in the first target coordinate system through the first state information of the target At least one coordinate is obtained, the at least one coordinate is related to the first error and is located within the current display screen, and the first type of target position identifier is used to represent the first state information of the target in the first The corresponding coordinates in the target coordinate system are located within the current display screen;其中,所述目标的第一状态信息包括目标的姿态信息,所述第一目标坐标系包括第一坐标系,所述第一误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;和/或,所述目标的第一状态信息包括目标的位置信息,所述第一目标坐标系包括第二坐标系,所述第一误差包括云台当前的位置信息与目标的位置信息之间的位置误差;Wherein, the first state information of the target includes the attitude information of the target, the first target coordinate system includes the first coordinate system, and the first error includes the attitude between the current attitude information of the gimbal and the attitude information of the target error; and/or, the first state information of the target includes the position information of the target, the first target coordinate system includes the second coordinate system, and the first error includes the current position information of the platform and the position information of the target The position error between;其中,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系;第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。Wherein, the first coordinate system is a Cartesian coordinate system with the preset position as the coordinate origin, the horizontal direction of the current display screen as the horizontal axis direction, and the vertical direction of the current display screen as the vertical axis direction; the second coordinate system is A one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求32所述的方法,其特征在于,所述第一类型的目标位置标识包括十字光标。The method of claim 32, wherein the first type of target location marker comprises a crosshair.
- 根据权利要求4所述的方法,其特征在于,所述在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,包括:The method according to claim 4, wherein the displaying the target position identification at the corresponding position of the state information of the target in the current display screen comprises:在所述目标的状态信息在当前显示画面中的第二目标对应位置显示第二类型的目标位置标识,所述第二目标对应位置是通过目标的第二状态信息在第二目标坐标系中的至少一个坐标得到,所述至少一个坐标与第二误差有关且其中的至少部分坐标位于当前显示画面之外,所述第二类型的目标位置标识用于表征所述目标的第二状态信息在所述第二目标坐标系中对应的坐标位于当前显示画面之内;A second type of target position identification is displayed at the second target corresponding position of the target state information in the current display screen, and the second target corresponding position is obtained through the second target state information in the second target coordinate system At least one coordinate is obtained, the at least one coordinate is related to the second error and at least part of the coordinates are located outside the current display screen, and the second type of target position identifier is used to characterize the second state information of the target in the The corresponding coordinates in the second target coordinate system are located within the current display screen;其中,所述目标的第二状态信息包括目标的姿态信息,所述第二目标坐标系包括第一坐标系,所述第二误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;和/或,所述目标的第二状态信息包括目标的位置信息,所述第二目标坐标系包括第二坐标系,所述第二误差包括云台当前的位置信息与目标的位置信息之间的位置误差;Wherein, the second state information of the target includes the attitude information of the target, the second target coordinate system includes the first coordinate system, and the second error includes the attitude between the current attitude information of the gimbal and the attitude information of the target Error; and/or, the second state information of the target includes the position information of the target, the second target coordinate system includes the second coordinate system, and the second error includes the current position information of the platform and the position information of the target The position error between;其中,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系;第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。Wherein, the first coordinate system is a Cartesian coordinate system with the preset position as the coordinate origin, the horizontal direction of the current display screen as the horizontal axis direction, and the vertical direction of the current display screen as the vertical axis direction; the second coordinate system is A one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求34所述的方法,其特征在于,所述第二类型的目标位 置标识包括箭头。The method of claim 34, wherein said second type of target location marker comprises an arrow.
- 一种云台跟随时的交互方法,其特征在于,包括:A kind of interaction method when the cloud platform follows, it is characterized in that, comprises:在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- 一种云台跟随时的交互方法,其特征在于,包括:A kind of interaction method when the cloud platform follows, it is characterized in that, comprises:确定云台目标的状态信息在当前显示画面中的对应位置;其中,所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; wherein, the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the cloud The error between the current state information of the platform and the state information of the target, and the preset position in the current display screen are calculated, and the preset position refers to the position of the current state information of the pan/tilt in the current display screen Corresponding to the position, the state information includes posture information and/or position information in a preset translation direction;在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- 一种云台跟随时的交互方法,其特征在于,包括:A kind of interaction method when the cloud platform follows, it is characterized in that, comprises:在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
- 一种云台跟随时的交互装置,其特征在于,所述装置包括:存储器和处理器;A kind of interaction device when the pan/tilt follows, it is characterized in that the device includes: a memory and a processor;所述存储器,用于存储程序代码;The memory is used to store program codes;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;显示所述误差。Display the error.
- 根据权利要求39所述的装置,其特征在于,所述处理器用于显示所述误差,具体包括:图像化显示所述误差。The device according to claim 39, wherein the processor is configured to display the error, specifically comprising: displaying the error graphically.
- 根据权利要求40所述的装置,其特征在于,所述处理器用于图像化显示所述误差,具体包括:The device according to claim 40, wherein the processor is configured to graphically display the error, specifically comprising:在当前显示画面中,叠加显示所述误差。In the current display screen, the error is superimposed and displayed.
- 根据权利要求41所述的装置,其特征在于,所述处理器用于在当前显示画面中,叠加显示所述误差,具体包括:The device according to claim 41, wherein the processor is configured to superimpose and display the error in the current display screen, specifically comprising:根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, the preset position refers to the current state information of the pan/tilt in the current display screen corresponding position of在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,并在所述预设位置显示当前位置标识。The target position mark is displayed at the corresponding position of the state information of the target in the current display screen, and the current position mark is displayed at the preset position.
- 根据权利要求42所述的装置,其特征在于,所述目标位置标识能够指示所述云台跟随所述基座的过程中的期望拍摄对象。The device according to claim 42, wherein the target position mark can indicate a desired subject during the process of the pan-tilt following the base.
- 根据权利要求43所述的装置,其特征在于,所述目标位置标识在当前显示画面中的位置能够随所述基座的状态信息的变化而变化,以使得所述目标位置标识能够叠加在当前显示画面中的所述期望拍摄对象上。The device according to claim 43, wherein the position of the target position mark in the current display screen can be changed with the state information of the base, so that the target position mark can be superimposed on the current display screen. The desired subject is displayed on the screen.
- 根据权利要求44所述的装置,其特征在于,所述期望拍摄对象是可移动对象。The apparatus of claim 44, wherein the desired subject is a movable subject.
- 根据权利要求42所述的装置,其特征在于,在所述云台跟随所述基座的过程中,所述目标位置标识在当前显示画面中的显示位置能够随所述云台的状态信息的变化而变化,且所述当前位置标识与所述目标位置标识之间的位置差异相关于所述云台的当前的状态信息与所述目标的状态信息之间的差异。The device according to claim 42, characterized in that, during the process of the pan/tilt following the base, the display position of the target position mark in the current display screen can be changed according to the status information of the pan/tilt. The position difference between the current position identifier and the target position identifier is related to the difference between the current state information of the pan/tilt and the state information of the target.
- 根据权利要求46所述的装置,其特征在于,在所述云台当前的状态信息与所述目标的状态信息一致时,所述当前位置标识与所述目标位置标识在当前显示画面上重合。The device according to claim 46, wherein when the current state information of the pan/tilt is consistent with the state information of the target, the current position mark and the target position mark overlap on the current display screen.
- 根据权利要求42所述的装置,其特征在于,在所述目标的状态信息在当前显示画面中的对应位置为所述预设位置时,表示所述云台当前的状态信息为所述目标的状态信息。The device according to claim 42, characterized in that when the corresponding position of the state information of the target in the current display screen is the preset position, it means that the current state information of the pan/tilt is the position of the target. status information.
- 根据权利要求42所述的装置,其特征在于,在所述状态信息包括所述姿态信息时,所述误差包括所述云台当前的姿态信息与所述云台目标的姿态信息之间的姿态误差,所述目标的状态信息在当前显示画面中的对应位置包括目标的姿态信息在当前显示画面中的第一对应位置,所述目标位置标识包括用于表征所述第一对应位置的第一目标位置标识;The device according to claim 42, wherein when the state information includes the attitude information, the error includes the attitude between the current attitude information of the pan-tilt and the attitude information of the pan-tilt target Error, the corresponding position of the state information of the target in the current display screen includes the first corresponding position of the posture information of the target in the current display screen, and the target position identifier includes the first corresponding position used to characterize the first corresponding position. Target location identification;所述处理器用于根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,具体包括:The processor is used to calculate the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen, specifically including:根据所述姿态误差以及当前显示画面中的预设位置,确定所述第一对应位置;determining the first corresponding position according to the posture error and a preset position in the current display screen;所述处理器用于在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,具体包括:The processor is configured to display the target position identifier at the corresponding position of the target state information in the current display screen, specifically including:在所述第一对应位置显示所述第一目标位置标识。Displaying the first target location identifier at the first corresponding location.
- 根据权利要求49所述的装置,其特征在于,所述处理器用于根据所述姿态误差以及当前显示画面中的预设位置,确定所述第一对应位置,具体包括:The device according to claim 49, wherein the processor is configured to determine the first corresponding position according to the attitude error and a preset position in the current display screen, specifically comprising:根据所述姿态误差,计算所述云台的云台坐标系下至少一个轴上的误差角度;According to the attitude error, calculate the error angle on at least one axis under the gimbal coordinate system of the gimbal;根据所述至少一个轴上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置。The first corresponding position is determined according to the error angle on the at least one axis and the preset position in the current display screen.
- 根据权利要求50所述的装置,其特征在于,所述至少一个轴包括第一轴和/或第二轴,第一轴对应当前显示画面中的垂直方向,第二轴对应当前显示画面中的水平方向。The device according to claim 50, wherein the at least one axis includes a first axis and/or a second axis, the first axis corresponds to the vertical direction in the current display screen, and the second axis corresponds to the vertical direction in the current display screen horizontal direction.
- 根据权利要求51所述的装置,其特征在于,所述处理器用于根据至少一个轴上的误差角度以及当前显示画面中的预设位置,确定所述第一对应位置,具体包括:The device according to claim 51, wherein the processor is configured to determine the first corresponding position according to an error angle on at least one axis and a preset position in the current display screen, specifically comprising:将所述第一轴上的误差角度与第一角度的比值,作为所述目标的姿态信息在第一坐标系中对应的纵坐标,以得到所述目标的姿态信息在当前显示画面中对应的垂直位置;和/或,Taking the ratio of the error angle on the first axis to the first angle as the ordinate corresponding to the attitude information of the target in the first coordinate system to obtain the corresponding ordinate of the attitude information of the target in the current display screen. vertical position; and/or,将所述第二轴上的误差角度与第二角度的比值,作为所述目标的姿态信息在第一坐标系中对应的横坐标,以得到所述目标的姿态信息在当前显示画面中对应的水平位置;Taking the ratio of the error angle on the second axis to the second angle as the abscissa corresponding to the posture information of the target in the first coordinate system, so as to obtain the corresponding abscissa of the posture information of the target in the current display screen. horizontal position;其中,所述第一角度和所述第二角度均与所述预设位置相关,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系。Wherein, both the first angle and the second angle are related to the preset position, the first coordinate system takes the preset position as the coordinate origin, the horizontal direction of the current display screen is the direction of the horizontal axis, The vertical direction of the current display screen is a Cartesian coordinate system in the direction of the vertical axis.
- 根据权利要求52所述的装置,其特征在于,所述第一角度还与当前显示画面对应的垂直视场角相关。The device according to claim 52, wherein the first angle is also related to the vertical viewing angle corresponding to the currently displayed picture.
- 根据权利要求53所述的装置,其特征在于,所述第一角度为当前显示画面中所述预设位置与第一边缘位置之间像素数量对应的视场角;The device according to claim 53, wherein the first angle is an angle of view corresponding to the number of pixels between the preset position and the first edge position in the current display screen;当前显示画面在纵轴方向上存在两个边缘位置,所述第一轴上的误差角度为正时,所述第一边缘位置为所述两个边缘位置中在纵轴正方向上的一者,所述第一轴上的误差角度为负时,所述第一边缘位置为所述两个边缘位置中在纵轴负方向上的一者。There are two edge positions in the vertical axis direction of the current display picture, and when the error angle on the first axis is positive, the first edge position is one of the two edge positions in the positive direction of the vertical axis, When the error angle on the first axis is negative, the first edge position is one of the two edge positions in the negative direction of the vertical axis.
- 根据权利要求53所述的装置,其特征在于,所述预设位置为当前显示画面的中心位置,所述第一角度等于1/2倍的所述垂直视场角。The device according to claim 53, wherein the preset position is the center position of the currently displayed image, and the first angle is equal to 1/2 times the vertical viewing angle.
- 根据权利要求52所述的装置,其特征在于,所述第二角度还与当前显示画面对应的水平视场角相关。The device according to claim 52, wherein the second angle is also related to the horizontal viewing angle corresponding to the currently displayed picture.
- 根据权利要求56所述的装置,其特征在于,所述第二角度为当前显示画面中所述预设位置与第二边缘位置之间像素数量对应的视场角;The device according to claim 56, wherein the second angle is an angle of view corresponding to the number of pixels between the preset position and the second edge position in the current display screen;当前显示画面在横轴方向上存在两个边缘位置,所述第二轴上的误差角度为正时,所述第二边缘位置为所述两个边缘位置中在横轴正方向上的一者,所述第二轴上的误差角度为负时,所述第二边缘位置为所述两个边缘位置中在横轴负方向上的一者。There are two edge positions in the horizontal axis direction of the current display picture, and when the error angle on the second axis is positive, the second edge position is one of the two edge positions in the positive direction of the horizontal axis, When the error angle on the second axis is negative, the second edge position is one of the two edge positions in the negative direction of the horizontal axis.
- 根据权利要求56所述的装置,其特征在于,所述预设位置为画面中心位置,所述第二角度等于1/2倍的所述水平视场角。The device according to claim 56, wherein the preset position is the center position of the screen, and the second angle is equal to 1/2 times the horizontal viewing angle.
- 根据权利要求52所述的装置,其特征在于,在所述目标的姿态信息在所述第一坐标系中对应的至少一个坐标位于当前显示画面之外时,所述处理器还用于:The device according to claim 52, wherein when at least one coordinate corresponding to the posture information of the target in the first coordinate system is outside the current display screen, the processor is further configured to:根据所述目标的姿态信息在所述第一坐标系中对应的坐标,确定所述第一对应位置。The first corresponding position is determined according to the coordinates corresponding to the posture information of the target in the first coordinate system.
- 根据权利要求59所述的装置,其特征在于,在所述目标的姿态信息在所述第一坐标系中的坐标包括所述纵坐标和所述横坐标时,所述处理器用于根据所述目标的姿态信息在所述第一坐标系中的坐标,确定所述第一对应位置,具体包括:The device according to claim 59, wherein when the coordinates of the posture information of the target in the first coordinate system include the ordinate and the abscissa, the processor is configured to The coordinates of the attitude information of the target in the first coordinate system, and determining the first corresponding position, specifically include:确定所述第一坐标系的坐标原点到所述横坐标和所述纵坐标的对应位置的连线,与当前显示画面边缘的交点位置;Determining the intersection position of the line connecting the coordinate origin of the first coordinate system to the corresponding positions of the abscissa and the ordinate and the edge of the current display screen;将所述交点位置确定为所述第一对应位置。Determine the position of the intersection point as the first corresponding position.
- 根据权利要求51所述的装置,其特征在于,所述至少一个轴还包括第三轴,所述第三轴与所述第一轴或第二轴两两垂直;所述处理器用于在所述第一对应位置显示所述第一目标位置标识,具体包括:The device according to claim 51, wherein the at least one axis further includes a third axis, and the third axis is perpendicular to the first axis or the second axis; The first corresponding location displays the first target location identifier, specifically including:在所述第一对应位置显示所述第一目标位置标识,并将所述第一目标位置标识旋转目标角度,所述目标角度为在所述第三轴上的误差角度。The first target position mark is displayed at the first corresponding position, and the first target position mark is rotated by a target angle, where the target angle is an error angle on the third axis.
- 根据权利要求42所述的装置,其特征在于,在所述状态信息包括所述位置信息时,所述误差包括所述云台在所述预设平动方向上当前的位置信息与所述云台在所述预设平动方向上目标的位置信息之间的位置误差,所述目标的状态信息在当前显示画面中的对应位置包括目标的位置信息在当前显示画面中的第二对应位置,所述目标位置标识包括用于表征所述第二对应位置的第二目标位置标识;The device according to claim 42, wherein when the state information includes the position information, the error includes the difference between the current position information of the pan-tilt in the preset translation direction and the position information of the cloud platform. The position error between the position information of the target in the preset translation direction, the corresponding position of the state information of the target in the current display screen includes the second corresponding position of the position information of the target in the current display screen, The target location identifier includes a second target location identifier for characterizing the second corresponding location;所述处理器用于根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,具体包括:The processor is used to calculate the corresponding position of the state information of the target in the current display screen according to the error and the preset position in the current display screen, specifically including:根据所述位置误差以及当前显示画面中的预设位置,确定所述第二对应位置;determining the second corresponding position according to the position error and a preset position in the current display screen;所述处理器用于在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,具体包括:The processor is configured to display the target position identifier at the corresponding position of the target state information in the current display screen, specifically including:在所述第二对应位置显示所述第二目标位置标识。displaying the second target location identifier at the second corresponding location.
- 根据权利要求62所述的装置,其特征在于,所述处理器用于根据所述位置误差以及当前显示画面中的预设位置,确定所述第二对应位置,具体包括:The device according to claim 62, wherein the processor is configured to determine the second corresponding position according to the position error and a preset position in the current display screen, specifically comprising:将所述位置误差与目标误差的比值,作为所述目标位置在第二坐标系中对应的坐标,以得到所述第二对应位置,所述目标误差与所述预设位置有关,所述第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为 坐标轴方向的一维坐标系。The ratio of the position error to the target error is used as the corresponding coordinate of the target position in the second coordinate system to obtain the second corresponding position, the target error is related to the preset position, and the first The two-coordinate system is a one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求63所述的装置,其特征在于,所述特定方向为基于所述预设平动方向以及所述云台搭载的拍摄装置当前的拍摄姿态确定。The device according to claim 63, wherein the specific direction is determined based on the preset translational direction and the current shooting posture of the shooting device mounted on the pan/tilt.
- 根据权利要求64所述的装置,其特征在于,所述预设平动方向为竖直方向。The device according to claim 64, wherein the preset translation direction is a vertical direction.
- 根据权利要求64所述的装置,其特征在于,所述目标误差还与当前显示画面对应的视场角,以及所述拍摄装置的当前焦距相关。The device according to claim 64, wherein the target error is also related to the field of view angle corresponding to the currently displayed picture and the current focal length of the shooting device.
- 根据权利要求66所述的装置,其特征在于,所述目标误差为当前显示画面中的所述预设位置与当前显示画面中的第三边缘位置之间对应的云台平动距离;The device according to claim 66, wherein the target error is the pan-tilt translation distance corresponding between the preset position in the current display screen and the third edge position in the current display screen;当前显示画面在所述特定方向上存在两个边缘位置,所述位置误差为正时,所述第三边缘位置为所述两个边缘位置中在坐标轴正方向上的一者,所述位置误差为负时,所述第三边缘位置为所述两个边缘位置中在坐标轴负方向上的一者。There are two edge positions in the specific direction of the currently displayed picture, and when the position error is positive, the third edge position is one of the two edge positions in the positive direction of the coordinate axis, and the position error When negative, the third edge position is one of the two edge positions in the negative direction of the coordinate axis.
- 根据权利要求63所述的装置,其特征在于,在所述目标的位置信息在所述第二坐标系中的坐标位于当前显示画面之外时,所述处理器还用于:根据所述目标的位置信息在所述第二坐标系中对应的坐标,确定所述第二对应位置。The device according to claim 63, wherein when the coordinates of the position information of the target in the second coordinate system are outside the current display screen, the processor is further configured to: The coordinates corresponding to the position information in the second coordinate system are determined to determine the second corresponding position.
- 根据权利要求68所述的装置,其特征在于,所述处理器用于根据所述目标的位置信息在所述第二坐标系中对应的坐标,确定所述第二对应位置,具体包括:The device according to claim 68, wherein the processor is configured to determine the second corresponding position according to the coordinates corresponding to the position information of the target in the second coordinate system, specifically comprising:在所述目标的位置信息在所述第二坐标系中对应的坐标为正坐标时,将所述第二坐标系的坐标轴正方向与当前显示画面边缘的交点位置,确定为第二对应位置;When the coordinates corresponding to the position information of the target in the second coordinate system are positive coordinates, the intersection position between the positive direction of the coordinate axis of the second coordinate system and the edge of the current display screen is determined as the second corresponding position ;在目标的位置信息在第二坐标系中对应的坐标为负坐标时,将第二坐标系的坐标轴负方向与当前显示画面边缘的交点位置,确定为第二对应位置。When the coordinates corresponding to the position information of the target in the second coordinate system are negative coordinates, the intersection position between the negative direction of the coordinate axis of the second coordinate system and the edge of the current display screen is determined as the second corresponding position.
- 根据权利要求42所述的装置,其特征在于,所述处理器用于在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,具体包括:The device according to claim 42, wherein the processor is configured to display a target position identifier at a corresponding position of the target state information in the current display screen, specifically comprising:在所述目标的状态信息在当前显示画面中的第一目标对应位置显示第一类型的目标位置标识,所述第一目标对应位置是通过目标的第一状态信息在第一目标坐标系中对应的至少一个坐标得到,所述至少一个坐标与第一误差 相关且均位于当前显示画面之内,所述第一类型的目标位置标识用于表征所述目标的第一状态信息在所述第一目标坐标系中对应的坐标位于当前显示画面之内;The first type of target position identification is displayed at the first target corresponding position of the target state information in the current display screen, and the first target corresponding position is corresponded in the first target coordinate system through the first state information of the target At least one coordinate is obtained, the at least one coordinate is related to the first error and is located within the current display screen, and the first type of target position identifier is used to represent the first state information of the target in the first The corresponding coordinates in the target coordinate system are located within the current display screen;所述目标的第一状态信息包括目标的姿态信息,所述第一目标坐标系包括第一坐标系,所述第一误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;和/或,所述目标的第一状态信息包括目标的位置信息,所述第一目标坐标系包括第二坐标系,所述第一误差包括云台当前的位置信息与目标的位置信息之间的位置误差;The first state information of the target includes attitude information of the target, the first target coordinate system includes a first coordinate system, and the first error includes an attitude error between the current attitude information of the gimbal and the attitude information of the target; And/or, the first state information of the target includes the position information of the target, the first target coordinate system includes the second coordinate system, and the first error includes the difference between the current position information of the pan/tilt and the position information of the target. position error;其中,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系;第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。Wherein, the first coordinate system is a Cartesian coordinate system with the preset position as the coordinate origin, the horizontal direction of the current display screen as the horizontal axis direction, and the vertical direction of the current display screen as the vertical axis direction; the second coordinate system is A one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求70所述的装置,其特征在于,所述第一类型的目标位置标识包括十字光标。The apparatus of claim 70, wherein the first type of target location marker comprises a crosshair.
- 根据权利要求42所述的装置,其特征在于,所述在所述目标的状态信息在当前显示画面中的对应位置显示目标位置标识,包括:The device according to claim 42, wherein the displaying the target position identification at the corresponding position of the state information of the target in the current display screen comprises:在所述目标的状态信息在当前显示画面中的第二目标对应位置显示第二类型的目标位置标识,所述第二目标对应位置是通过目标的第二状态信息在第二目标坐标系中的至少一个坐标得到,所述至少一个坐标与第二误差有关且其中的至少部分坐标位于当前显示画面之外,所述第二类型的目标位置标识用于表征所述目标的第二状态信息在所述第二目标坐标系中对应的坐标位于当前显示画面之内;A second type of target position identification is displayed at the second target corresponding position of the target state information in the current display screen, and the second target corresponding position is obtained through the second target state information in the second target coordinate system At least one coordinate is obtained, the at least one coordinate is related to the second error and at least part of the coordinates are located outside the current display screen, and the second type of target position identifier is used to characterize the second state information of the target in the The corresponding coordinates in the second target coordinate system are located within the current display screen;所述目标的第二状态信息包括目标的姿态信息,所述第二目标坐标系包括第一坐标系,所述第二误差包括云台当前的姿态信息与目标的姿态信息之间的姿态误差;和/或,所述目标的第二状态信息包括目标的位置信息,所述第二目标坐标系包括第二坐标系,所述第二误差包括云台当前的位置信息与目标的位置信息之间的位置误差;The second state information of the target includes attitude information of the target, the second target coordinate system includes the first coordinate system, and the second error includes an attitude error between the current attitude information of the gimbal and the attitude information of the target; And/or, the second state information of the target includes the position information of the target, the second target coordinate system includes the second coordinate system, and the second error includes the difference between the current position information of the pan/tilt and the position information of the target position error;其中,所述第一坐标系为以所述预设位置为坐标原点、当前显示画面的水平方向为横轴方向、当前显示画面的垂直方向为纵轴方向的直角坐标系;第二坐标系为以所述预设位置为坐标原点、当前显示画面的特定方向为坐标轴方向的一维坐标系。Wherein, the first coordinate system is a Cartesian coordinate system with the preset position as the coordinate origin, the horizontal direction of the current display screen as the horizontal axis direction, and the vertical direction of the current display screen as the vertical axis direction; the second coordinate system is A one-dimensional coordinate system with the preset position as the coordinate origin and the specific direction of the current display screen as the coordinate axis direction.
- 根据权利要求72所述的装置,其特征在于,所述第二类型的目标位置标识包括箭头。The apparatus of claim 72, wherein the second type of target location marker comprises an arrow.
- 一种云台跟随时的交互装置,其特征在于,所述装置包括:存储器和处理器;A kind of interaction device when the pan/tilt follows, it is characterized in that the device includes: a memory and a processor;所述存储器,用于存储程序代码;The memory is used to store program codes;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:在根据云台目标的状态信息,控制所述云台跟随其基座的过程中,实时计算所述云台当前的状态信息与所述目标的状态信息之间的误差;所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;According to the state information of the cloud platform target, in the process of controlling the cloud platform to follow its base, calculate the error between the current state information of the cloud platform and the state information of the target in real time; the state information includes attitude information and/or positional information in preset translational directions;根据所述误差以及当前显示画面中的预设位置,计算所述目标的状态信息在当前显示画面中的对应位置,其中,所述预设位置是指所述云台的当前的状态信息在当前显示画面中的对应位置;According to the error and the preset position in the current display screen, calculate the corresponding position of the state information of the target in the current display screen, wherein the preset position refers to the current state information of the pan/tilt in the current Display the corresponding position in the screen;在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- 一种云台跟随时的交互装置,其特征在于,所述装置包括:存储器和处理器;A kind of interaction device when the pan/tilt follows, it is characterized in that the device includes: a memory and a processor;所述存储器,用于存储程序代码;The memory is used to store program codes;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:确定云台目标的状态信息在当前显示画面中的对应位置;其中,所述目标的状态信息在当前显示画面中的对应位置为在所述云台跟随其基座的过程中,基于所述云台当前的状态信息与所述目标的状态信息之间的误差、以及当前显示画面中的预设位置计算得到,所述预设位置是指所述云台当前的状态信息在当前显示画面中的对应位置,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;Determine the corresponding position of the state information of the cloud platform target in the current display screen; wherein, the corresponding position of the state information of the target in the current display screen is in the process of the cloud platform following its base, based on the cloud The error between the current state information of the platform and the state information of the target, and the preset position in the current display screen are calculated, and the preset position refers to the position of the current state information of the pan/tilt in the current display screen Corresponding to the position, the state information includes posture information and/or position information in a preset translation direction;在所述目标的状态信息在当前显示画面中的对应位置,显示目标位置标识。A target position identifier is displayed at a corresponding position of the state information of the target in the current display screen.
- 一种云台跟随时的交互装置,其特征在于,所述装置包括:存储器和处理器;A kind of interaction device when the pan/tilt follows, it is characterized in that the device includes: a memory and a processor;所述存储器,用于存储程序代码;The memory is used to store program codes;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor invokes the program code, and when the program code is executed, performs the following operations:在云台当前的状态信息不为目标的状态信息时,在目标位置显示目标位置标识;所述目标位置为所述目标的状态信息在当前显示画面中的对应位置,所述目标的状态信息为所述云台在跟随其基座的模式下所述云台的目标的状态信息,所述状态信息包括姿态信息和/或在预设平动方向上的位置信息;When the current state information of the platform is not the state information of the target, the target position mark is displayed at the target position; the target position is the corresponding position of the state information of the target in the current display screen, and the state information of the target is State information of the target of the pan-tilt in the mode of following the base of the pan-tilt, the state information includes posture information and/or position information in a preset translation direction;在所述云台当前的状态信息为所述目标的状态信息时,在当前显示画面中的预设位置显示所述目标位置标识。When the current state information of the pan/tilt is the state information of the target, displaying the target position identifier at a preset position in the current display screen.
- 一种云台系统,其特征在于,所述云台系统包括:A kind of cloud platform system, it is characterized in that, described cloud platform system comprises:基座;base;设置于所述基座上的云台,所述云台用于搭载拍摄装置;A pan-tilt arranged on the base, the pan-tilt is used to carry a shooting device;以及,用于控制所述云台的控制器,所述控制器用于执行权利要求1至38中任一项所述的交互方法。And, a controller for controlling the pan/tilt, the controller is used for executing the interaction method according to any one of claims 1 to 38.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行权利要求1至38中任一项所述的交互方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer to perform the claims The interaction method described in any one of 1 to 38.
- 一种计算机程序,其特征在于,当所述计算机程序被计算机执行时,用于执行权利要求1至38中任一项所述的交互方法。A computer program, characterized in that, when the computer program is executed by a computer, it is used to execute the interaction method described in any one of claims 1 to 38.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/124681 WO2023065112A1 (en) | 2021-10-19 | 2021-10-19 | Interaction method and apparatus of following tripod head and tripod head system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/124681 WO2023065112A1 (en) | 2021-10-19 | 2021-10-19 | Interaction method and apparatus of following tripod head and tripod head system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023065112A1 true WO2023065112A1 (en) | 2023-04-27 |
Family
ID=86057830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/124681 WO2023065112A1 (en) | 2021-10-19 | 2021-10-19 | Interaction method and apparatus of following tripod head and tripod head system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023065112A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06347219A (en) * | 1993-06-10 | 1994-12-20 | Oyo Keisoku Kenkyusho:Kk | Measuring instrument of traveling object |
CN109196266A (en) * | 2017-09-25 | 2019-01-11 | 深圳市大疆灵眸科技有限公司 | Control method, cradle head controllor and the holder of holder |
CN109844394A (en) * | 2017-04-21 | 2019-06-04 | 深圳市大疆灵眸科技有限公司 | A kind of control method and holder of holder |
CN110770669A (en) * | 2018-08-28 | 2020-02-07 | 深圳市大疆创新科技有限公司 | Target position marking method of holder, holder and shooting device |
CN110785601A (en) * | 2018-11-15 | 2020-02-11 | 深圳市大疆创新科技有限公司 | Control method of handheld cloud deck and handheld cloud deck |
-
2021
- 2021-10-19 WO PCT/CN2021/124681 patent/WO2023065112A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06347219A (en) * | 1993-06-10 | 1994-12-20 | Oyo Keisoku Kenkyusho:Kk | Measuring instrument of traveling object |
CN109844394A (en) * | 2017-04-21 | 2019-06-04 | 深圳市大疆灵眸科技有限公司 | A kind of control method and holder of holder |
CN109196266A (en) * | 2017-09-25 | 2019-01-11 | 深圳市大疆灵眸科技有限公司 | Control method, cradle head controllor and the holder of holder |
CN110770669A (en) * | 2018-08-28 | 2020-02-07 | 深圳市大疆创新科技有限公司 | Target position marking method of holder, holder and shooting device |
CN110785601A (en) * | 2018-11-15 | 2020-02-11 | 深圳市大疆创新科技有限公司 | Control method of handheld cloud deck and handheld cloud deck |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200213518A1 (en) | Method for controlling gimbal, gimbal controller, and gimbal | |
JP5981591B1 (en) | Computer program and computer system for controlling object operations in an immersive virtual space | |
WO2019183845A1 (en) | Pan-tilt device control method, apparatus and system, computer storage medium and unmanned aerial vehicle | |
WO2020097890A1 (en) | Method for controlling handheld gimbal, and handheld gimbal | |
US20210018138A1 (en) | Gimbal mode switching method, device, mobile platform and storage medium | |
WO2020215215A1 (en) | Gimbal control method and device, gimbal, system and storage medium | |
EP2723061A1 (en) | Celestial body automatic tracking and imaging method, and celestial body automatic tracking and imaging device | |
US11245841B2 (en) | Method for marking target position of gimbal, gimbal, and photographing device | |
US20210004005A1 (en) | Image capture method and device, and machine-readable storage medium | |
JP5253300B2 (en) | Display control device, display device control method, program, and storage medium | |
CN111279113A (en) | Handheld holder control method and handheld holder | |
WO2018191969A1 (en) | Camera mount control method and device | |
CN108519067B (en) | Method for determining coordinates of shooting target in camera shift operation process | |
WO2023065112A1 (en) | Interaction method and apparatus of following tripod head and tripod head system | |
JP6549066B2 (en) | Computer program and computer system for controlling object operation in immersive virtual space | |
WO2021168821A1 (en) | Mobile platform control method and device | |
WO2022253018A1 (en) | Video display method and display system based on unmanned aerial vehicle viewing angle | |
WO2021026760A1 (en) | Cradle head system and control method therefor | |
CN112166280B (en) | Handheld holder and control method thereof | |
WO2021146908A1 (en) | Gimbal and control method therefor | |
CN113678163A (en) | Image correction method, image correction device, electronic equipment and storage medium | |
KR102127962B1 (en) | Pan-tilt-gimbal integrated system and control method thereof | |
WO2021134645A1 (en) | Gimbal control method and gimbal | |
WO2022006782A1 (en) | Gimbal control method and apparatus, gimbal assembly, movable platform, and storage medium | |
WO2021243527A1 (en) | Gimbal control method, handheld gimbal, and computer-readable storage medium |
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: 21960872 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: 21960872 Country of ref document: EP Kind code of ref document: A1 |