WO2020215302A1 - Gimbal control method and mobile platform - Google Patents

Gimbal control method and mobile platform Download PDF

Info

Publication number
WO2020215302A1
WO2020215302A1 PCT/CN2019/084482 CN2019084482W WO2020215302A1 WO 2020215302 A1 WO2020215302 A1 WO 2020215302A1 CN 2019084482 W CN2019084482 W CN 2019084482W WO 2020215302 A1 WO2020215302 A1 WO 2020215302A1
Authority
WO
WIPO (PCT)
Prior art keywords
pan
tilt
mobile platform
rotation
attack
Prior art date
Application number
PCT/CN2019/084482
Other languages
French (fr)
Chinese (zh)
Inventor
刘帅
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980008902.0A priority Critical patent/CN111656764B/en
Priority to PCT/CN2019/084482 priority patent/WO2020215302A1/en
Publication of WO2020215302A1 publication Critical patent/WO2020215302A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F9/00Games not otherwise provided for
    • A63F9/02Shooting or hurling games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63HTOYS, e.g. TOPS, DOLLS, HOOPS OR BUILDING BLOCKS
    • A63H11/00Self-movable toy figures
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the invention relates to the field of pan-tilt control, in particular to a method and a mobile platform for pan-tilt control.
  • the attacking robot on the playing field is equipped with a pan-tilt. After the attacking robot is attacked, the attacking robot usually controls the lighting effect of the indicator light on the attacking robot to indicate that the attacking robot is under attack. If the camera does not capture the indicator light, players and viewers cannot know whether the attacking robot is attacked or not; in addition, in robot education, the programming method for controlling the indicator light is relatively simple, which does not meet the teaching purpose; attacking robots need to add indicator lights Modules increase the cost.
  • the invention provides a pan-tilt control method and a mobile platform.
  • the present invention is implemented through the following technical solutions:
  • a pan/tilt control method applied to a first mobile platform including a fuselage and a pan/tilt mounted on the fuselage, the method including:
  • controlling the rotation of the pan-tilt to indicate that the first mobile platform is under the attack controlling the rotation of the pan-tilt to indicate that the first mobile platform is under the attack.
  • a mobile platform comprising:
  • One or more processors the one or more processors are electrically connected to the pan-tilt, and the one or more processors are individually or collectively configured to:
  • control the rotation of the pan-tilt to indicate that the mobile platform is under the attack.
  • the mobile platform of the present invention controls the rotation of the pan/tilt according to the parameter information of the attack. Since the rotation of the pan/tilt can be directly installed on the camera (the pan/tilt of the mobile platform) (Or site installation) is reflected in the captured images or is directly felt by the user’s vision, so the images captured by the camera can be visually displayed or through the user’s direct visual senses to determine whether the mobile platform has been attacked, so as to realize the special effects simulation of the mobile platform being hit ; Moreover, the process of controlling the rotation of the pan/tilt according to the parameter information of the attack is more interesting and the implementation of the program is relatively complicated, which can guide the user to learn programming and meet the needs of robot education; the pan/tilt control method of the present invention is suitable for competitive competitions , Robot education and other fields.
  • FIG. 1 is a method flowchart of a pan-tilt control method in an embodiment of the present invention
  • FIG. 2 is a method flowchart of a pan-tilt control method in another embodiment of the present invention.
  • FIG. 3A is a method flowchart of a pan/tilt control method in an embodiment of the present invention, which discloses an implementation manner of controlling the rotation of the pan/tilt according to at least one of a rotation amplitude and an initial rotation direction;
  • 3B is a method flowchart of a pan/tilt control method in an embodiment of the present invention, which discloses another implementation manner of controlling the rotation of the pan/tilt according to at least one of a rotation amplitude and an initial rotation direction;
  • FIG. 4 is a method flow chart of the pan/tilt control method in an embodiment of the present invention, which discloses another implementation manner of controlling the rotation of the pan/tilt according to at least one of the rotation amplitude and the initial rotation direction;
  • FIG. 5A is a schematic diagram of the positional relationship of the pan-tilt during a special effect simulation of an attack in an embodiment of the present invention
  • FIG. 5B is a schematic diagram of the positional relationship of the pan-tilt during a special effect simulation of an attack in another embodiment of the present invention.
  • FIG. 6 is a method flowchart of a pan-tilt control method in another embodiment of the present invention.
  • FIG. 7 is a method flowchart of a pan-tilt control method in still another embodiment of the present invention.
  • Figure 8 is a schematic structural diagram of a mobile platform in an embodiment of the present invention.
  • Fig. 9 is a structural block diagram of a mobile platform in an embodiment of the present invention.
  • the two sides will attack each other, and the result of the game will be determined according to the result of the attack.
  • the two sides of the competition can attack each other in contact mode or non-contact mode; among them, the contact mode can include projectile launch attack, and the non-contact mode can include light launch attack, such as infrared light launch attack.
  • the competition object usually chooses a mobile platform, and the mobile platform has a PTZ.
  • the mobile platform of the present invention controls the rotation of the pan/tilt according to the parameter information of the attack. Because the rotation of the pan/tilt can be directly reflected in the image taken by the camera (installed on other mobile platforms or on the venue) or by The user’s vision is directly felt, so the image taken by the camera can be visually displayed or through the user’s direct visual senses to determine whether the mobile platform is attacked, so as to realize the special effect simulation of the mobile platform being hit; and control the PTZ according to the attack parameter information
  • the process of turning is more interesting and the program implementation is more complicated, which can guide users to perform programming learning and meet the needs of robot education; the pan/tilt control method of the present invention is suitable for fields such as competitive competitions and robot education.
  • the pan/tilt control method of the embodiment of the present invention is applied to a first mobile platform.
  • the first mobile platform may include a fuselage and a pan/tilt mounted on the fuselage.
  • the pan/tilt may be a single-axis pan/tilt or a three-axis pan/tilt. Axis PTZ, etc.
  • a mobile platform with a fuselage and a pan/tilt mounted on the fuselage is called the first mobile platform.
  • Fig. 1 is a method flowchart of a pan-tilt control method in an embodiment of the present invention. As shown in Fig. 1, the PTZ control method may include the following steps:
  • the attack detection method is determined according to the specific attack method.
  • the attack method is a contact attack, such as a projectile attack.
  • the fuselage and/or the pan/tilt are equipped with armor, and the armor can sense external attacks.
  • Armor can be set at one or more positions of the first movable platform according to actual needs.
  • the armour can be set on the left, right, front, right and/or other positions of the fuselage.
  • the armor can be placed on the left, right and/or other positions of the gimbal.
  • the attack method is a non-contact attack, such as a light emission attack.
  • an infrared receiver is provided on the fuselage or the pan/tilt.
  • the infrared receiver can be installed on the outer frame of the fuselage to facilitate the detection of infrared light sent by another mobile platform, thereby sensing external attacks.
  • the infrared receiver can receive the infrared light sent by another mobile platform at 360 degrees and detect all-round attacks.
  • the attack in this step may include external attacks on different positions of the first mobile platform.
  • detecting that the first mobile platform is attacked by external may include: detecting that the fuselage is attacked by external .
  • the attack on the fuselage may include attacks on at least one of the left, right, front, and rear sides of the fuselage. It can be understood that the attack on the fuselage may also include attacks from other positions of the fuselage.
  • detecting that the first mobile platform is subject to an external attack may further include: detecting that the PTZ is subject to an external attack.
  • the attack on the pan/tilt may include attacks on at least one of the left and right sides of the pan/tilt. It can be understood that the attacks on the PTZ may also include attacks from other locations of the PTZ.
  • the parameter information may include at least one of the following: intensity, azimuth information, and acting position.
  • the intensity may include the intensity of the attack on the fuselage and/or the PTZ.
  • the location information may include the direction of the source of the attack, or the direction of the force that the attack acts on the first mobile platform, or is used to indicate the location of the attack.
  • the action position may include the specific position of the attack on the fuselage and/or the specific position of the attack on the pan/tilt.
  • the fuselage of the first mobile platform may also be provided with a launching device (500 in Figure 8).
  • the first mobile platform can attack other mobile platforms through the launching device.
  • the launching device can be a projectile launching device or
  • the light emitting device (such as an infrared light emitting device), of course, the emitting device can also be of other types.
  • the launching device is arranged on the pan-tilt, and the direction of the launching device is controlled by controlling the rotation of the pan-tilt, so as to achieve an attack on the target.
  • the pan-tilt has a camera function or the pan-tilt is equipped with a camera (400 in Figure 8).
  • the image taken by the pan-tilt or the camera-mounted camera can present the first mobile platform.
  • the rotation of the pan/tilt is performed by the simulation of the special effects of the attack; optionally, the process of controlling the rotation of the pan/tilt according to the attack of the first mobile platform can also be intuitively felt by the user through the rotation of the pan/tilt.
  • the first mobile platform Since the first mobile platform is in the working state (such as the operating state corresponding to target recognition), it will also control the rotation of the pan-tilt to obtain an image, which can be used to determine the real-time position of the first mobile platform, and can also be used to determine the first movement Whether the platform recognizes the specified target, of course, the image obtained by the PTZ can also have other functions.
  • the PTZ rotation when the first mobile platform is attacked can be set to be different from that when the first mobile platform is working.
  • the pan/tilt rotates in the state
  • set the pan/tilt rotation when the first mobile platform is attacked to the pan/tilt shaking mode, and the corresponding image obtained by the camera installed on the pan/tilt of the first mobile platform will also show a shaking effect, so that the pan/tilt mount is installed
  • the display effect of the image taken by the shooting device can realize the special effects simulation of the attack on the first mobile platform;
  • the shooting device installed in the competition field can shoot the image of the first mobile platform, and the image can directly reflect the shaking of the head Whether the pan/tilt shakes in the image is used to determine whether the first mobile platform is under attack; the effect of pan/tilt shaking can also be intuitively experienced by the user, that is, the user can judge whether the first mobile platform is
  • the implementation of S102 may include multiple ways. In the following, the control of the pan-tilt rotation according to the parameter information in S102 will be described in detail through the embodiment corresponding to FIG. 2.
  • the implementation process of S102 may include:
  • S201 Determine at least one of the rotation range of the pan/tilt and the initial rotation direction of the pan/tilt according to the parameter information
  • the rotation amplitude is determined according to the strength, that is, the rotation amplitude of the pan-tilt rotation is determined according to the strength of the external attack received by the first mobile platform, so as to simulate the first mobile platform's rotation amplitude.
  • the rotation amplitude is positively correlated with the strength, that is, the greater the strength of the external attack on the first mobile platform, the greater the rotation amplitude determined in S201.
  • the rotation amplitude is determined based on the position of action. For example, when the acting position is on the fuselage and/or on the pan/tilt, and when the acting position is on the pan/tilt, the corresponding rotation amplitude is different from that when the acting position is on the fuselage. Simulate the location of the attack on the first mobile platform.
  • the corresponding rotation amplitude is greater than when the acting position is on the fuselage. Furthermore, when the acting position is on the pan/tilt, the corresponding rotation amplitude is in multiples with the acting position on the fuselage, and the multiple is an integer and greater than 1. If the acting position is on the pan/tilt, the corresponding The rotation amplitude of is twice the corresponding rotation when the acting position is on the fuselage.
  • the fuselage includes a plurality of hit surfaces, wherein the action positions on at least two hit surfaces have different rotation amplitudes.
  • the attack surface includes the left, right, front and right sides of the fuselage. When the left side of the fuselage is attacked, the corresponding rotation amplitude is greater than when the right side of the fuselage is attacked, and/or When the front side of the fuselage is attacked, the corresponding rotation amplitude is greater than that when the rear side of the fuselage is attacked.
  • the rotation amplitude is determined according to the strength of the attack and the attack position.
  • the rotation amplitude is positively correlated with the strength, and when the position is on the pan/tilt, the corresponding rotation amplitude is different from
  • the corresponding rotation amplitude can be used to simulate the intensity and action position of the attack on the first mobile platform by controlling the rotation amplitude of the pan-tilt.
  • the initial rotation direction is determined according to at least one of the azimuth information and the acting position, and the direction of the attack on the first mobile platform is simulated by controlling the initial rotation direction of the pan/tilt. It should be noted that, in the embodiment of the present invention, the initial rotation direction is that after the first mobile platform is attacked by the outside, the direction of rotation of the pan/tilt head is controlled according to the parameter information of the attack.
  • the azimuth information is the source direction of the attack, and the initial rotation direction is opposite to the source direction of the attack.
  • the attack is an attack on the second mobile platform located on the left side of the first mobile platform, that is, the source direction of the attack is the left side of the first mobile platform, and the initial rotation direction is to the right, that is, the first mobile platform is affected by the first mobile platform.
  • the second mobile platform on the left side of the platform will control the gimbal to rotate to the right.
  • the azimuth information is the direction of the attacking force acting on the first mobile platform
  • the initial rotation direction is the same as the direction of the attacking force acting on the first mobile platform.
  • the direction of the attack force acting on the first mobile platform is left
  • the initial rotation direction is left, that is, after the first mobile platform is attacked by the force direction to the left, it will control the pan/tilt to rotate to the left.
  • the location information is used to indicate the location of the attack.
  • the initial rotation direction is right; or when the active position is the pan/tilt or the right side of the fuselage, the initial rotation direction is left; or when the active position is the fuselage
  • the left or right initial rotation direction can be realized by the yaw structure of the gimbal
  • the upward or downward rotation direction can be realized by the pitch structure of the gimbal.
  • the method for determining the initial rotation direction according to at least one of the azimuth information and the action position is not limited to the methods listed in the above embodiments.
  • Use other methods Use other methods.
  • S202 Control the pan/tilt to rotate according to at least one of the rotation amplitude and the initial rotation direction.
  • the pan/tilt rotation can be controlled according to the rotation range (that is, the initial rotation direction may not be limited), the rotation of the gimbal can be controlled according to the initial rotation direction (that is, the rotation range can be omitted), and it can also be controlled according to the rotation range and initial rotation direction PTZ rotation, you can choose one of the methods to control the PTZ rotation to realize the special effects simulation of the current attack.
  • the implementation of S202 may include multiple, for example, controlling the pan-tilt to shake a preset number of times, such as one or more times, according to at least one of the rotation amplitude and the initial rotation direction, so as to realize the special effect simulation of the current attack.
  • the amplitude of the pan/tilt's multiple jitters may be a fixed amplitude, such as the rotation amplitude; the amplitude of the pan/tilt's multiple jitters changes according to a preset rule, such as gradually decreasing.
  • the process of controlling the rotation of the pan/tilt may include:
  • S301 Determine the first position according to at least one of the rotation amplitude and the initial rotation direction
  • the method for determining the first position can be selected according to needs.
  • the first position is the position where the pan/tilt is located after the rotation amplitude is rotated around the initial rotation direction, that is, the pan/tilt is received by the first mobile platform.
  • the position of the pan/tilt head rotates around the initial rotation direction after the rotation amplitude.
  • the first position is the position where the pan/tilt head rotates around the preset rotation direction by the amount of rotation, that is, the pan/tilt head rotates around the preset rotation direction from the position when the first mobile platform is attacked by the outside.
  • the preset rotation direction can be set as required.
  • the first position is the position where the pan/tilt is rotated by a preset amplitude around the initial rotation direction, that is, the pan/tilt is rotated by a preset amplitude around the initial rotation direction from the position when the first mobile platform is attacked by the outside.
  • the preset amplitude can be set as required.
  • the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> the first position.
  • the first position is the position where the pan/tilt rotates around the initial rotation direction by the magnitude of the rotation amplitude
  • controlling the pan/tilt to shake once is to control the pan/tilt to rotate around the initial position when the first mobile platform is attacked by the outside.
  • the pan-tilt is rotated around the preset rotation direction from the position when the first mobile platform is attacked by the outside, so that the pan-tilt is in the first position; when the first position is the preset amplitude of the pan-tilt rotation around the initial rotation direction After the position, controlling the pan-tilt to perform a jitter is to control the position of the pan-tilt when the first mobile platform is attacked by the outside by a preset amplitude around the initial rotation direction, so that the pan-tilt is in the first position.
  • the shaking of the pan-tilt will affect the operation of the first mobile platform.
  • the operation of the pan/tilt is affected by the jitter of the pan/tilt, so that the final position of the pan/tilt is the superposition of the desired position and the first position, resulting in the failure of target recognition.
  • the process of controlling the rotation of the pan/tilt may further include:
  • S303 Control the pan/tilt to move from the first position to the reset position of the pan/tilt.
  • step S303 is executed after step S302.
  • the special effects simulation of the current attack is realized by controlling the pan-tilt to shake once.
  • the position change of the pan/tilt includes: the position of the pan/tilt when the first mobile platform is attacked by the outside -> the first position -> the reset position.
  • the special effects simulation of the current attack is realized by controlling the pan-tilt to shake multiple times. For example, if the pan-tilt is controlled to shake twice, the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> first position -> reset position -> first position -> reset position.
  • the gimbal will jitter many times. If the gimbal is always in a static state when the first mobile platform is attacked by an external attack and during the special effect simulation of the current attack, the gimbal will be in a static state for many times.
  • the reset position remains unchanged during the shaking process; if it is detected that the first mobile platform is under an external attack, or during the special effects simulation of the current attack, the pan/tilt is in motion, then the reset position of the pan/tilt during multiple shaking Among them, at least part of the reset position is changed.
  • the reset position can be determined according to the state of the pan-tilt when the first mobile platform is attacked by the outside, so as to meet the actual operating conditions of the pan-tilt. For example, if it is detected that the first mobile platform is under an external attack, and during the special effects simulation of the current attack, the pan/tilt is in a static state, the reset position can include a preset position, such as the position when the pan/tilt is returned to the center. Position; Of course, the reset position can also include the real-time position of the gimbal when the first mobile platform is detected to be attacked by the outside, and the real-time position of the gimbal when the first mobile platform is detected to be attacked by the external Location.
  • the reset position may include the cloud based on the detection of the first mobile platform under the external attack.
  • the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> the first position -> the reset position (may be the first mobile The position of the pan/tilt when the platform is attacked by the outside), that is, the pan/tilt in this implementation mode directly moves from the first position to the reset position.
  • the left side of the fuselage is attacked, first control the magnitude M of the movement of the gimbal to the right around the yaw axis, and then control the magnitude M of the movement of the gimbal to the left around the yaw; the right side of the fuselage is attacked, control first The magnitude of the movement amplitude M of the pan/tilt moving around yaw to the left, and then controlling the magnitude of the movement magnitude M of the pan/tilt moving to the right around yaw.
  • the left side of the gimbal is attacked. First control the gimbal to move to the right by 2M around the yaw axis, and then control the gimbal to move to the left by 2M around the yaw; the right side of the gimbal is attacked, first control the cloud
  • the platform moves around yaw to the left with a magnitude of 2M, and then controls the pan/tilt to move around yaw to the right with a magnitude of 2M.
  • firstly control the pan/tilt to move in the first direction, so that the pan/tilt moves from the first position to the second position; then, control the pan/tilt to move in the second direction so that the pan/tilt moves from the second position.
  • the position moves to the reset position.
  • first direction and the second direction are opposite directions, and the first position and the second position are located on both sides of the reset position.
  • the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> first position -> second position -> reset position
  • the position change of the gimbal includes: the movement of the gimbal when the first mobile platform receives an external attack Position -> first position -> reset position -> second position -> reset position
  • the pan-tilt shaking in this implementation is similar to the movement of a simple pendulum, and the pan-tilt shaking is more in line with the law of natural motion.
  • the first direction needs to be determined according to the direction of rotation of the pan/tilt when the pan/tilt is controlled to rotate to the first position in step S302. Specifically, the first direction is opposite to the direction of rotation of the pan/tilt when the pan/tilt is controlled to rotate to the first position in step S302.
  • the rotation direction of the pan/tilt head when the pan/tilt head is controlled to rotate to the first position in step S302 is the initial rotation direction, and the first direction and the initial rotation direction are opposite directions.
  • the first position and the second position are symmetrically arranged with respect to the reset position. Take, for example, when the first mobile platform is under external attack and during special effects simulation, the pan/tilt is always in a static state.
  • the first position is the position where the pan/tilt is located when the first mobile platform is attacked by the outside after rotating the initial rotation direction by the magnitude of the rotation
  • the second position is the position where the pan/tilt is moved by the first mobile platform.
  • the position at the time of receiving an external attack rotates in a direction opposite to the initial rotation direction after the rotation amplitude.
  • the first position and the second position can also be set asymmetrically, which are specifically set as required.
  • the process of controlling the rotation of the pan/tilt may include:
  • S401 Determine the third position and the fourth position according to at least one of the rotation amplitude and the initial rotation direction;
  • the third position and the first position are the same position, and the fourth position and the second position are the same position.
  • the determination process of the third position please refer to the determination process of the first position and the determination of the fourth position in the above embodiment.
  • the process refer to the process of determining the second position in the foregoing embodiment.
  • the third position and the fourth position may also be other positions.
  • the third position and the fourth position are set symmetrically with respect to the reset position of the pan/tilt. That is, the amplitude of the pan/tilt moving from the reset position to the third position is equal to the amplitude of the pan/tilt moving from the reset position to the fourth position. Moreover, after the last cycle of reciprocating motion, the pan/tilt is in the reset position to prevent the special effects simulation from affecting the operation of the first mobile platform.
  • the pan/tilt may be controlled to make a cycle of reciprocating movement according to the third position and the fourth position, or the pan/tilt may be controlled to make multiple cycles of reciprocating movement according to the third position and the fourth position.
  • the reset position of the pan/tilt in multiple cycles of reciprocating motion is unchanged; optionally, the reset position of the pan/tilt in multiple cycles of reciprocating motion is variable.
  • the process of determining the reset position in step S402 is similar to the process of determining the reset position in step S303, and will not be repeated here.
  • the amplitude of the reciprocating motion in each period is less than or equal to the rotation amplitude (that is, the rotation amplitude of the pan/tilt head determined in S201).
  • the multiple cycles of reciprocating motion are reciprocating motions of equal amplitude.
  • the amplitudes of multiple cycles of reciprocating motion are all the rotation amplitudes.
  • the third position is A
  • the fourth position is B
  • the reset position is O
  • the movement of the gimbal from O to B The magnitude of is the rotation magnitude.
  • the position change of the pan/tilt corresponding to a cycle of reciprocating motion includes: O->A->O->B->O.
  • the amplitude of multiple cycles of reciprocating motion is smaller than the rotation amplitude.
  • the third position is A
  • the fourth position is B
  • the reset position is O
  • A'and B'are about O is set symmetrically
  • the amplitude of the movement of the pan/tilt from O to A' is equal to the amplitude of movement of the pan/tilt from O to B', and both are smaller than the rotation amplitude.
  • the position change of the pan/tilt corresponding to one cycle of reciprocating motion includes: O->A'->O->B'->O.
  • the multiple cycles of reciprocating motion are reciprocating motions of unequal amplitude.
  • the amplitude of the reciprocating motion of multiple cycles gradually decreases with time, and the amplitude of the reciprocating motion of the first cycle is the rotation amplitude.
  • the gimbal includes two cycles of reciprocating motion: O->A->O->B->O->A'->O->B' ->O, for the reciprocating movement in the first cycle, the pan/tilt position changes include: O->A->O->B->O; for the reciprocating movement in the second cycle, the pan/tilt position changes include: O- >A'->O->B'->O.
  • the reciprocating motion of each cycle is a sinusoidal motion, so that the jitter of the pan-tilt is different from the rotation of the pan-tilt when the first mobile platform is in the working state, which is convenient for players and audiences to follow the rotation of the pan-tilt. Determine whether the pan/tilt is attacked from outside.
  • the rotation angle change curve of the pan/tilt head corresponding to each cycle of reciprocating motion is a sinusoidal curve, for example, the angle change curve is sin(x)+c1, where x is the rotation time of the pan/tilt head and c1 is an empirical value.
  • the speed change curve of the pan/tilt corresponding to each cycle of reciprocating motion is a cosine curve, for example, the speed change curve is -cos(x)+c2, where x is the rotation time of the pan/tilt, and c2 is an empirical value.
  • the first mobile platform may be subject to multiple external attacks at the same time.
  • the attack is multiple external attacks that the first mobile platform received at the same time.
  • the parameter information is obtained after merging the parameter information corresponding to the multiple attacks. The special effects simulation of the PTZ after being attacked More fit the actual attack effect.
  • the method of merging the parameter information corresponding to multiple attacks may be to directly superimpose the parameter information corresponding to multiple attacks.
  • the source direction of the two attacks is the same, or the direction of the force acting on the first mobile platform is the same, or the acting position is the same force surface of the first mobile platform, then the parameter information corresponding to the two attacks is merged
  • the intensity is the intensity obtained by directly adding the corresponding intensity of the two attacks
  • the azimuth information is the azimuth information of any one of the two attacks.
  • the two attacks correspond to After the parameter information is merged, the strength is:
  • a feasible implementation method is to use the parameter information corresponding to the most powerful attack among multiple attacks as the parameter information determined after merging the parameters of the multiple attacks.
  • a feasible way to achieve this is: if there are multiple attacks, the attack position is located in the gimbal and the attack position is located in the fuselage, the attack position is located in the gimbal and the parameter information corresponding to the most powerful attack is used as The parameter information determined after the parameters of multiple attacks are combined.
  • multiple attacks include an attack with an action position on the PTZ and an attack with an action position on the fuselage, the parameter information of the attack with the action position on the PTZ is used as the parameter information determined after the parameters of the multiple attacks are combined.
  • the method of merging the parameter information corresponding to the attack is not limited to the three processing methods listed above, and can also be other processing methods.
  • the method of merging the parameter information corresponding to multiple attacks can be designed according to the needs of special effects simulation. .
  • the pan-tilt control method may further include:
  • S603 Determine new rotation information according to the current rotation information of the pan/tilt and the parameter information of the new attack
  • the current rotation information of the pan/tilt includes real-time rotation information for controlling the rotation of the pan/tilt according to the parameter information, and may include the real-time amplitude and real-time rotation direction of the current rotation of the pan/tilt.
  • the new rotation information includes the new amplitude and the new rotation direction.
  • the new amplitude is: real-time rotation amplitude + according to the new The new rotation range of the PTZ determined by the parameter information of the attack, and the new rotation direction is the real-time rotation direction;
  • the real-time rotation direction is opposite to the rotation direction of the PTZ determined according to the new attack parameter information, the new The amplitude is:
  • S604 Control the rotation of the pan/tilt according to the new rotation information.
  • the rotation of the pan/tilt is controlled according to the parameter information of the attack, because the rotation of the pan/tilt is different from the rotation of the pan/tilt when the first mobile platform is in operation.
  • the pan-tilt rotation can be directly reflected in the image taken by the camera (the pan-tilt installation on the mobile platform or the venue installation) or directly felt by the user's vision, so the image captured by the camera can be displayed intuitively or through the user's direct vision
  • the sense organs determine whether the first mobile platform is attacked, and realize the special effect simulation of the first mobile platform being attacked; and the process of controlling the rotation of the PTZ according to the parameter information of the attack is more interesting and the program implementation is more complicated, which can guide the user Perform programming learning to meet the needs of robot education; the pan-tilt control method of the present invention is suitable for fields such as competitive competitions and robot education.
  • the first mobile platform performs preset operations after acquiring the competition object (such as the second mobile platform). For example, after releasing a specific skill, it can simulate the special effects by controlling the rotation of the pan-tilt, so that players and spectators can be timely Learn that the competitor has performed a preset operation.
  • the PTZ control method may further include:
  • the preset operation may include that a competitor of the first mobile platform releases a specific skill, where the specific skill may include a first specific skill for instructing the pan/tilt of the mobile platform to be hit to a preset position or others.
  • the preset action information of the first specific skill is used to instruct the pan/tilt of the mobile platform that is hit to rotate to the preset position.
  • the preset position can be set according to needs. For example, when the PTZ is in the preset position, the PTZ cannot recognize the target in a specific area, that is, if the second mobile platform releases the first specific skill, Target recognition on a mobile platform is limited by the first specific skill.
  • the second mobile platform sends a trigger signal to the first mobile platform to trigger the first platform to obtain preset action information based on the preset operation, where the trigger signal carries useful information Information indicating that the second mobile platform has performed a preset operation.
  • the first mobile platform may pre-store the corresponding relationship between the preset action information and the preset operation.
  • the first mobile platform may use the preset operation in the trigger signal from the pre-stored corresponding relationship Determine the corresponding preset action information; optionally, the preset action information is carried in the trigger signal sent by the second mobile platform.
  • the first mobile platform directly analyzes the trigger signal to obtain the information carried in the trigger The preset action information in the signal.
  • the competitor of the first mobile platform performs a preset operation. For example, after releasing a specific skill, the first mobile platform will control its pan-tilt rotation, thereby simulating the special effect of the competitor of the first mobile platform performing the preset operation, so that the player and The audience learns the information that the competitor of the first mobile platform performs a preset operation.
  • the implementation manner of controlling the rotation of the pan/tilt according to the preset action information in S702 may be similar to the implementation manner of controlling the rotation of the pan/tilt according to the attack parameter information in the above embodiment;
  • the motion information and the realization method of controlling the rotation of the pan/tilt can also choose other realization methods, such as controlling the rotation of the pan/tilt to a preset position, so that the pan/tilt cannot recognize the target in a specific area.
  • the embodiment of the present invention also provides a mobile platform.
  • the mobile platform may include: a body 100, a cloud provided on the body 100 A table 200 and one or more processors 300.
  • the one or more processors 300 are electrically connected to the pan/tilt, and the one or more processors 300 are individually or collectively configured to: detect that the mobile platform is attacked by the outside , Acquire parameter information of the attack; according to the parameter information, control the rotation of the pan-tilt to indicate that the mobile platform is under the attack.
  • the processor 300 can implement the pan/tilt control method of the embodiment shown in FIGS. 1 to 4 and FIG. 6 to FIG. 7.
  • the mobile platform of this embodiment can be described with reference to the pan/tilt control method in the foregoing embodiment.
  • the pan-tilt in this embodiment may have a camera function, or the pan-tilt is equipped with a photographing device (400 in FIG. 8), and images captured by the pan-tilt or the photographing device on the pan-tilt intuitively reflect the effect of pan-tilt shaking.
  • the pan/tilt may not have a camera function, nor is it equipped with a camera. You can judge whether the pan/tilt is shaking by using the images taken by the camera on the field or the user’s intuitive experience to determine whether it is moving. Whether the platform is under attack.
  • armor is installed on the fuselage and/or the gimbal, and the armor can sense external attacks.
  • Armor can be set at one or more positions of the first movable platform according to actual needs.
  • the armour can be set on the left, right, front, right and/or other positions of the fuselage.
  • the armor can be placed on the left, right and/or other positions of the gimbal.
  • Each armor is electrically connected with at least one processor in the mobile platform, and the sensed external attack is transmitted to the processor in real time.
  • an infrared receiver (or other light receiver) is provided on the fuselage or the pan/tilt.
  • the infrared receiver can be installed on the outer frame of the fuselage to facilitate the detection of infrared light sent by another mobile platform, thereby Detect external attacks.
  • the infrared receiver can receive the infrared light sent by another mobile platform at 360 degrees and detect all-round attacks.
  • the fuselage of the mobile platform is provided with a launching device (500 in FIG. 8) for attacking other mobile platforms.
  • the launching device may be a projectile launching device and/or a light launching device, or other.
  • the transmitting device of this embodiment is electrically connected to at least one processor in the mobile platform, and the processor controls the operation of the transmitting device.
  • the launching device is arranged on the pan-tilt, and the direction of the launching device is controlled by controlling the rotation of the pan-tilt to aim at the attack target.
  • the aforementioned processor 300 may be a central processing unit (CPU).
  • the processor 300 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • CPLD complex programmable logic device
  • FPGA field-programmable gate array
  • GAL generic array logic
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the pan-tilt control method of the above-mentioned embodiment are realized.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Studio Devices (AREA)
  • Toys (AREA)

Abstract

A gimbal control method and a mobile platform. The gimbal control method is applied to a first mobile platform which comprises a machine body (100) and a gimbal (200) provided on the machine body. The method comprises: detecting that the first mobile platform is subjected to an external attack, and obtaining parameter information of the attack; and according to the parameter information, controlling the gimbal to rotate to indicate that the first mobile platform is attacked. After being attacked, the mobile platform controls, according to the parameter information of the attack, the gimbal to rotate. Because rotation of the gimbal can be directly reflected in a video photographed by a photographing device (400) mounted on the gimbal of the mobile platform or mounted at a venue or can be directly viewed by a user, whether the mobile platform is attacked can be visually displayed in the video photographed by the photographing device or can be directly determined by a visual sense of the user, thereby realizing special effect simulation of the mobile platform being attacked.

Description

云台控制方法和移动平台PTZ control method and mobile platform 技术领域Technical field
本发明涉及云台控制领域,尤其涉及一种云台控制方法和移动平台。The invention relates to the field of pan-tilt control, in particular to a method and a mobile platform for pan-tilt control.
背景技术Background technique
在机器人比赛领域,比赛场地上的攻击机器人搭载有云台,攻击机器人在受到攻击后,大都通过控制该攻击机器人上的显示灯的照明效果,从而指示该攻击机器人受到攻击,若拍摄比赛进程的拍摄装置未拍摄到显示灯,玩家和观众就不能获知攻击机器人是否被攻击;并且,在机器人教育中,控制显示灯照明的程序设计方式较为简单,达不到教学目的;攻击机器人需要增加显示灯模块,增加了成本。In the field of robot competitions, the attacking robot on the playing field is equipped with a pan-tilt. After the attacking robot is attacked, the attacking robot usually controls the lighting effect of the indicator light on the attacking robot to indicate that the attacking robot is under attack. If the camera does not capture the indicator light, players and viewers cannot know whether the attacking robot is attacked or not; in addition, in robot education, the programming method for controlling the indicator light is relatively simple, which does not meet the teaching purpose; attacking robots need to add indicator lights Modules increase the cost.
发明内容Summary of the invention
本发明提供一种云台控制方法和移动平台。The invention provides a pan-tilt control method and a mobile platform.
具体地,本发明是通过如下技术方案实现的:Specifically, the present invention is implemented through the following technical solutions:
根据本发明的第一方面,提供一种云台控制方法,应用于第一移动平台,所述第一移动平台包括机身以及设于所述机身上的云台,所述方法包括:According to a first aspect of the present invention, there is provided a pan/tilt control method applied to a first mobile platform, the first mobile platform including a fuselage and a pan/tilt mounted on the fuselage, the method including:
检测到所述第一移动平台受到外部的攻击,获取所述攻击的参数信息;It is detected that the first mobile platform is under an external attack, and the parameter information of the attack is obtained;
根据所述参数信息,控制所述云台转动以指示所述第一移动平台受到所述攻击。According to the parameter information, controlling the rotation of the pan-tilt to indicate that the first mobile platform is under the attack.
根据本发明的第二方面,提供一种移动平台,所述移动平台包括:According to a second aspect of the present invention, a mobile platform is provided, the mobile platform comprising:
机身;body;
设于所述机身上的云台;以及A pan/tilt mounted on the fuselage; and
一个或多个处理器,所述一个或多个处理器与所述云台电连接,并且,所述一个或多个处理器单独地或共同地被配置成用于:One or more processors, the one or more processors are electrically connected to the pan-tilt, and the one or more processors are individually or collectively configured to:
检测到所述移动平台受到外部的攻击,获取所述攻击的参数信息;It is detected that the mobile platform is subject to an external attack, and the parameter information of the attack is obtained;
根据所述参数信息,控制所述云台转动以指示所述移动平台受到所述攻击。According to the parameter information, control the rotation of the pan-tilt to indicate that the mobile platform is under the attack.
由以上本发明实施例提供的技术方案可见,本发明的移动平台在受到攻击后,根据攻击的参数信息来控制云台转动,由于云台转动可以直接在拍摄装置(移动平台的云台上装设或场地装设)拍摄的影像中反映或由用户的视觉直接感受,故可通过拍摄装置拍摄的影像直观显示或经由用户直接的视觉感官确定移动平台是否被攻击,实现移动平台被打击的特效模拟;并且,根据攻击的参数信息来控制云台转动这一过程 的趣味性较强、程序实现较为复杂,能够引导用户进行编程学习,满足机器人教育需求;本发明的云台控制方法适用于竞技比赛、机器人教育等领域。It can be seen from the technical solutions provided by the above embodiments of the present invention that after the mobile platform of the present invention is attacked, it controls the rotation of the pan/tilt according to the parameter information of the attack. Since the rotation of the pan/tilt can be directly installed on the camera (the pan/tilt of the mobile platform) (Or site installation) is reflected in the captured images or is directly felt by the user’s vision, so the images captured by the camera can be visually displayed or through the user’s direct visual senses to determine whether the mobile platform has been attacked, so as to realize the special effects simulation of the mobile platform being hit ; Moreover, the process of controlling the rotation of the pan/tilt according to the parameter information of the attack is more interesting and the implementation of the program is relatively complicated, which can guide the user to learn programming and meet the needs of robot education; the pan/tilt control method of the present invention is suitable for competitive competitions , Robot education and other fields.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本发明一实施例中的云台控制方法的方法流程图;FIG. 1 is a method flowchart of a pan-tilt control method in an embodiment of the present invention;
图2是本发明另一实施例中的云台控制方法的方法流程图;2 is a method flowchart of a pan-tilt control method in another embodiment of the present invention;
图3A是本发明一实施例中的云台控制方法的方法流程图,揭示了根据转动幅度和初始转动方向中的至少一个,控制云台转动的实现方式;FIG. 3A is a method flowchart of a pan/tilt control method in an embodiment of the present invention, which discloses an implementation manner of controlling the rotation of the pan/tilt according to at least one of a rotation amplitude and an initial rotation direction;
图3B是本发明一实施例中的云台控制方法的方法流程图,揭示了根据转动幅度和初始转动方向中的至少一个,控制云台转动的另一实现方式;3B is a method flowchart of a pan/tilt control method in an embodiment of the present invention, which discloses another implementation manner of controlling the rotation of the pan/tilt according to at least one of a rotation amplitude and an initial rotation direction;
图4是本发明一实施例中的云台控制方法的方法流程图,揭示了根据转动幅度和初始转动方向中的至少一个,控制云台转动的又一实现方式;4 is a method flow chart of the pan/tilt control method in an embodiment of the present invention, which discloses another implementation manner of controlling the rotation of the pan/tilt according to at least one of the rotation amplitude and the initial rotation direction;
图5A是本发明一实施例中进行攻击的特效模拟时,云台的位置关系示意图;FIG. 5A is a schematic diagram of the positional relationship of the pan-tilt during a special effect simulation of an attack in an embodiment of the present invention;
图5B是本发明另一实施例中进行攻击的特效模拟时,云台的位置关系示意图;FIG. 5B is a schematic diagram of the positional relationship of the pan-tilt during a special effect simulation of an attack in another embodiment of the present invention;
图6是本发明又一实施例中的云台控制方法的方法流程图;6 is a method flowchart of a pan-tilt control method in another embodiment of the present invention;
图7是本发明还一实施例中的云台控制方法的方法流程图;FIG. 7 is a method flowchart of a pan-tilt control method in still another embodiment of the present invention;
图8是本发明一实施例中的移动平台的结构示意图;Figure 8 is a schematic structural diagram of a mobile platform in an embodiment of the present invention;
图9是本发明一实施例中的移动平台的结构框图。Fig. 9 is a structural block diagram of a mobile platform in an embodiment of the present invention.
具体实施方式Detailed ways
在竞技比赛中,竞技双方会进行互相攻击,根据攻击结果确定比赛结果。竞技双方可采用接触方式互相攻击,或非接触方式互相攻击;其中,接触方式可包括弹丸发射攻击,非接触方式可包括光发射攻击,如红外光发射攻击。为增加比赛乐趣和难度,竞技对象通常选用移动平台,且该移动平台具有云台。In a competitive game, the two sides will attack each other, and the result of the game will be determined according to the result of the attack. The two sides of the competition can attack each other in contact mode or non-contact mode; among them, the contact mode can include projectile launch attack, and the non-contact mode can include light launch attack, such as infrared light launch attack. In order to increase the fun and difficulty of the competition, the competition object usually chooses a mobile platform, and the mobile platform has a PTZ.
移动平台受到攻击后,需要玩家及时获知具体的攻击情况,方便玩家确定后续比赛策略,而现有利用显示灯照明指示移动平台受到攻击的方式通常不能满足该需求。After the mobile platform is attacked, the player needs to know the specific attack situation in time to facilitate the player to determine the subsequent game strategy. However, the existing method of using display lights to indicate that the mobile platform is attacked usually cannot meet this demand.
另外,在机器人教育领域,为了让用户掌握编程等方面的技能,用户需针对攻击后的特效模拟进行程序设计。然而,显示灯照明的程序设计较为简单,无法达到编程教学目的。In addition, in the field of robot education, in order to allow users to master programming skills, users need to design programs for special effects simulation after attacks. However, the programming of the display lamp lighting is relatively simple and cannot achieve the purpose of programming teaching.
故而,本发明的移动平台在受到攻击后,根据攻击的参数信息来控制云台转动,由于云台转动可以直接在拍摄装置(其它移动平台上装设或场地装设)拍摄的影像中反映或由用户的视觉直接感受,故可通过拍摄装置拍摄的影像直观显示或经由用户直接的视觉感官确定移动平台是否被攻击,实现移动平台被打击的特效模拟;并且,根据攻击的参数信息来控制云台转动这一过程的趣味性较强、程序实现较为复杂,能够引导用户进行编程学习,满足机器人教育需求;本发明的云台控制方法适用于竞技比赛、机器人教育等领域。Therefore, after the mobile platform of the present invention is attacked, it controls the rotation of the pan/tilt according to the parameter information of the attack. Because the rotation of the pan/tilt can be directly reflected in the image taken by the camera (installed on other mobile platforms or on the venue) or by The user’s vision is directly felt, so the image taken by the camera can be visually displayed or through the user’s direct visual senses to determine whether the mobile platform is attacked, so as to realize the special effect simulation of the mobile platform being hit; and control the PTZ according to the attack parameter information The process of turning is more interesting and the program implementation is more complicated, which can guide users to perform programming learning and meet the needs of robot education; the pan/tilt control method of the present invention is suitable for fields such as competitive competitions and robot education.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。In the case of no conflict, the following embodiments and features in the implementation can be combined with each other.
本发明实施例的云台控制方法应用于第一移动平台,第一移动平台可包括机身以及设于机身上的云台,该云台可为单轴云台、两轴云台或三轴云台等。The pan/tilt control method of the embodiment of the present invention is applied to a first mobile platform. The first mobile platform may include a fuselage and a pan/tilt mounted on the fuselage. The pan/tilt may be a single-axis pan/tilt or a three-axis pan/tilt. Axis PTZ, etc.
需要说明的是,本发明实施例中,具有机身和设于机身上的云台的移动平台均称为第一移动平台。It should be noted that, in the embodiment of the present invention, a mobile platform with a fuselage and a pan/tilt mounted on the fuselage is called the first mobile platform.
图1是本发明一实施例中的云台控制方法的方法流程图。如图1所示,该云台控制方法可包括如下步骤:Fig. 1 is a method flowchart of a pan-tilt control method in an embodiment of the present invention. As shown in Fig. 1, the PTZ control method may include the following steps:
S101:检测到第一移动平台受到外部的攻击,获取攻击的参数信息;S101: Detect that the first mobile platform is under an external attack, and obtain parameter information of the attack;
攻击的检测方式根据具体的攻击方式确定,比如,在某些实施例中,攻击方式为接触式攻击,如弹丸攻击,机身和/或云台上装设有装甲,装甲可以感测外部的攻击。可根据实际需求在第一可移动平台的一个或多个位置设置装甲,例如,可将装甲设置在机身的左侧、右侧、前侧、右侧和/或机身的其他位置,也可将装甲设置在云台的左侧、右侧和/或云台的其他位置。The attack detection method is determined according to the specific attack method. For example, in some embodiments, the attack method is a contact attack, such as a projectile attack. The fuselage and/or the pan/tilt are equipped with armor, and the armor can sense external attacks. . Armor can be set at one or more positions of the first movable platform according to actual needs. For example, the armour can be set on the left, right, front, right and/or other positions of the fuselage. The armor can be placed on the left, right and/or other positions of the gimbal.
在某些实施例中,攻击方式为非接触式攻击,如光发射攻击。可选的,在机身或云台上设置红外接收器,该红外接收器可安装在机身的外框架上,方便探测另一移动平台发送的红外光,从而感测外部的攻击。该红外接收器能够360度接收另一移动平台发送的红外光,检测全方位攻击。In some embodiments, the attack method is a non-contact attack, such as a light emission attack. Optionally, an infrared receiver is provided on the fuselage or the pan/tilt. The infrared receiver can be installed on the outer frame of the fuselage to facilitate the detection of infrared light sent by another mobile platform, thereby sensing external attacks. The infrared receiver can receive the infrared light sent by another mobile platform at 360 degrees and detect all-round attacks.
该步骤的攻击可包括第一移动平台的不同位置受到的外部攻击,可选的,在某些实施例中,检测到第一移动平台受到外部的攻击可包括:检测到机身受到外部的攻击。其中,机身受到的攻击可包括在机身的左侧、右侧、前侧和后侧中的至少一个的攻击。可以理解,机身受到的攻击也可包括机身的其他位置的攻击。The attack in this step may include external attacks on different positions of the first mobile platform. Optionally, in some embodiments, detecting that the first mobile platform is attacked by external may include: detecting that the fuselage is attacked by external . The attack on the fuselage may include attacks on at least one of the left, right, front, and rear sides of the fuselage. It can be understood that the attack on the fuselage may also include attacks from other positions of the fuselage.
在某些实施例中,检测到第一移动平台受到外部的攻击还可包括:检测到云台 受到外部的攻击。其中,云台受到的攻击可包括在云台的左侧和右侧中的至少一个的攻击。可以理解,云台受到的攻击也可包括云台的其他位置的攻击。In some embodiments, detecting that the first mobile platform is subject to an external attack may further include: detecting that the PTZ is subject to an external attack. Wherein, the attack on the pan/tilt may include attacks on at least one of the left and right sides of the pan/tilt. It can be understood that the attacks on the PTZ may also include attacks from other locations of the PTZ.
该步骤中,参数信息可包括以下至少一种:力度大小、方位信息、作用位置。其中,力度大小可包括机身和/或云台受到的攻击的力度大小。方位信息可包括攻击的来源方向,或攻击作用于第一移动平台的力的方向,或用于指示攻击的作用位置。作用位置可包括机身受到的攻击在机身上的具体位置和/或云台受到的攻击在云台上的具体位置。In this step, the parameter information may include at least one of the following: intensity, azimuth information, and acting position. Wherein, the intensity may include the intensity of the attack on the fuselage and/or the PTZ. The location information may include the direction of the source of the attack, or the direction of the force that the attack acts on the first mobile platform, or is used to indicate the location of the attack. The action position may include the specific position of the attack on the fuselage and/or the specific position of the attack on the pan/tilt.
此外,第一移动平台的机身上还可以设有发射装置(图8中的500),第一移动平台可通过该发射装置攻击其他移动平台,该发射装置可以为弹丸发射装置,也可以为光发射装置(如红外光发射装置),当然,发射装置还可以为其他类型。可选的,发射装置设于云台上,通过控制云台转动,以控制发射装置的朝向,从而实现对目标的攻击。In addition, the fuselage of the first mobile platform may also be provided with a launching device (500 in Figure 8). The first mobile platform can attack other mobile platforms through the launching device. The launching device can be a projectile launching device or The light emitting device (such as an infrared light emitting device), of course, the emitting device can also be of other types. Optionally, the launching device is arranged on the pan-tilt, and the direction of the launching device is controlled by controlling the rotation of the pan-tilt, so as to achieve an attack on the target.
S102:根据参数信息,控制云台转动以指示第一移动平台受到攻击。S102: According to the parameter information, control the rotation of the pan-tilt to indicate that the first mobile platform is under attack.
可选的,云台具有摄像功能或者云台上搭载有拍摄装置(图8中的400),竞技比赛过程中,云台或搭载在云台上的拍摄装置拍摄的影像能呈现第一移动平台被打击的特效模拟;可选的,比赛场地可装设有拍摄装置,对比赛场面进行拍摄,其拍摄的影像能直观反映云台转动情况,故而能够呈现第一移动平台被攻击时,为实现攻击的特效模拟而进行的云台转动;可选的,根据第一移动平台的攻击控制云台转动的过程,也能由用户通过云台转动直观感受到。Optionally, the pan-tilt has a camera function or the pan-tilt is equipped with a camera (400 in Figure 8). During the competition, the image taken by the pan-tilt or the camera-mounted camera can present the first mobile platform. The simulation of the special effects of being hit; optionally, the competition venue can be equipped with a shooting device to shoot the scene of the game, and the shot images can directly reflect the rotation of the PTZ, so it can show when the first mobile platform is attacked. The rotation of the pan/tilt is performed by the simulation of the special effects of the attack; optionally, the process of controlling the rotation of the pan/tilt according to the attack of the first mobile platform can also be intuitively felt by the user through the rotation of the pan/tilt.
由于第一移动平台处于工作状态(如目标识别对应的运行状态)时,也会控制云台转动,以获取影像,该影像可用于确定第一移动平台的实时位置,也可用于判断第一移动平台是否识别指定目标,当然,云台获得的影像还可具有其他功能。Since the first mobile platform is in the working state (such as the operating state corresponding to target recognition), it will also control the rotation of the pan-tilt to obtain an image, which can be used to determine the real-time position of the first mobile platform, and can also be used to determine the first movement Whether the platform recognizes the specified target, of course, the image obtained by the PTZ can also have other functions.
为使云台转动更加直观地指示第一移动平台受到攻击,实现第一移动平台受到攻击的特效模拟,可将第一移动平台受到攻击时的云台转动设置成区别于第一移动平台处于工作状态时的云台转动。可选的,将第一移动平台受到攻击时的云台转动设置为云台抖动方式,第一移动平台的云台上装设的拍摄装置对应获得的影像也为呈抖动效果,从而通过云台上装设的拍摄装置拍摄的影像的显示效果实现第一移动平台受到攻击的特效模拟;比赛场地装设的拍摄装置能够拍摄第一移动平台的影像,该影像能够直观反映云台的抖动,从而能够根据影像中云台是否抖动来判断第一移动平台是否受到攻击;云台抖动效果也能够由用户直观体验,也即用户通过直观体验云台是否存在抖动就能够判断第一移动平台是否受到攻击。当然,也可将第一移动平台受到攻击时的云台转动设置为其他转动方式,只需区别于第一移动平台处于工作状态时的云台转动即可。In order to make the PTZ rotation more intuitively indicate that the first mobile platform is under attack, and realize the special effects simulation of the first mobile platform being attacked, the PTZ rotation when the first mobile platform is attacked can be set to be different from that when the first mobile platform is working. The pan/tilt rotates in the state Optionally, set the pan/tilt rotation when the first mobile platform is attacked to the pan/tilt shaking mode, and the corresponding image obtained by the camera installed on the pan/tilt of the first mobile platform will also show a shaking effect, so that the pan/tilt mount is installed The display effect of the image taken by the shooting device can realize the special effects simulation of the attack on the first mobile platform; the shooting device installed in the competition field can shoot the image of the first mobile platform, and the image can directly reflect the shaking of the head Whether the pan/tilt shakes in the image is used to determine whether the first mobile platform is under attack; the effect of pan/tilt shaking can also be intuitively experienced by the user, that is, the user can judge whether the first mobile platform is attacked by intuitively experiencing whether the pan/tilt shakes. Of course, the rotation of the pan/tilt when the first mobile platform is attacked can also be set to another rotation mode, which only needs to be different from the rotation of the pan/tilt when the first mobile platform is in a working state.
S102的实现方式可包括多种,下面,将通过图2对应的实施例对上述S102中, 根据参数信息控制云台转动进行详细的说明。示例的,在图2所示的实施例中,S102的实现过程可包括:The implementation of S102 may include multiple ways. In the following, the control of the pan-tilt rotation according to the parameter information in S102 will be described in detail through the embodiment corresponding to FIG. 2. For example, in the embodiment shown in FIG. 2, the implementation process of S102 may include:
S201:根据参数信息,确定云台的转动幅度和云台的初始转动方向中的至少一个;S201: Determine at least one of the rotation range of the pan/tilt and the initial rotation direction of the pan/tilt according to the parameter information;
在某些实施例中,转动幅度根据力度大小确定,也即,根据第一移动平台受到的外部的攻击的力度大小确定云台转动的转动幅度,从而通过控制云台的转动幅度来模拟第一移动平台受到的攻击的力度大小。在某些实施例中,转动幅度与力度大小正相关,也即,第一移动平台受到的外部的攻击的力度越大,S201确定的转动幅度也越大。In some embodiments, the rotation amplitude is determined according to the strength, that is, the rotation amplitude of the pan-tilt rotation is determined according to the strength of the external attack received by the first mobile platform, so as to simulate the first mobile platform's rotation amplitude. The magnitude of the attack on the mobile platform. In some embodiments, the rotation amplitude is positively correlated with the strength, that is, the greater the strength of the external attack on the first mobile platform, the greater the rotation amplitude determined in S201.
在某些实施例中,转动幅度根据作用位置确定。例如,作用位置位于机身上和/或云台上,作用位置位于云台上时,对应的转动幅度不同于作用位置位于机身上时,对应的转动幅度,通过控制云台的转动幅度来模拟第一移动平台受到的攻击的作用位置。In some embodiments, the rotation amplitude is determined based on the position of action. For example, when the acting position is on the fuselage and/or on the pan/tilt, and when the acting position is on the pan/tilt, the corresponding rotation amplitude is different from that when the acting position is on the fuselage. Simulate the location of the attack on the first mobile platform.
可选的,作用位置位于云台上时,对应的转动幅度大于作用位置位于机身上时,对应的转动幅度。进一步的,作用位置位于云台上时,对应的转动幅度与作用位置位于机身上时,对应的转动幅度呈倍数关系,该倍数为整数且大于1,如作用位置位于云台上时,对应的转动幅度为作用位置位于机身上时,对应的转动幅度的两倍。Optionally, when the acting position is on the pan-tilt, the corresponding rotation amplitude is greater than when the acting position is on the fuselage. Furthermore, when the acting position is on the pan/tilt, the corresponding rotation amplitude is in multiples with the acting position on the fuselage, and the multiple is an integer and greater than 1. If the acting position is on the pan/tilt, the corresponding The rotation amplitude of is twice the corresponding rotation when the acting position is on the fuselage.
可选的,机身包括多个受击面,其中,至少两个受击面上的作用位置对应的转动幅度不同。比如,受击面包括机身的左侧、右侧、前侧和右侧,机身左侧受到攻击时,对应的转动幅度大于机身右侧受到攻击时,对应的转动幅度,和/或机身前侧受到攻击时,对应的转动幅度大于机身后侧受到攻击时,对应的转动幅度。Optionally, the fuselage includes a plurality of hit surfaces, wherein the action positions on at least two hit surfaces have different rotation amplitudes. For example, the attack surface includes the left, right, front and right sides of the fuselage. When the left side of the fuselage is attacked, the corresponding rotation amplitude is greater than when the right side of the fuselage is attacked, and/or When the front side of the fuselage is attacked, the corresponding rotation amplitude is greater than that when the rear side of the fuselage is attacked.
在某些实施例中,转动幅度根据攻击的力度大小和攻击的作用位置共同确定,本实现方式中,转动幅度与力度大小正相关,且作用位置位于云台上时,对应的转动幅度不同于作用位置位于机身上时,对应的转动幅度,从而通过控制云台的转动幅度来模拟第一移动平台受到的攻击的力度大小和作用位置。In some embodiments, the rotation amplitude is determined according to the strength of the attack and the attack position. In this implementation, the rotation amplitude is positively correlated with the strength, and when the position is on the pan/tilt, the corresponding rotation amplitude is different from When the action position is located on the fuselage, the corresponding rotation amplitude can be used to simulate the intensity and action position of the attack on the first mobile platform by controlling the rotation amplitude of the pan-tilt.
进一步的,初始转动方向为根据方位信息和作用位置中的至少一个确定,通过控制云台的初始转动方向来模拟第一移动平台受到的攻击的方向。需要说明的是,本发明实施例中,初始转动方向为第一移动平台受到外部的攻击后,根据攻击的参数信息,控制云台转动的方向。Further, the initial rotation direction is determined according to at least one of the azimuth information and the acting position, and the direction of the attack on the first mobile platform is simulated by controlling the initial rotation direction of the pan/tilt. It should be noted that, in the embodiment of the present invention, the initial rotation direction is that after the first mobile platform is attacked by the outside, the direction of rotation of the pan/tilt head is controlled according to the parameter information of the attack.
可选的,方位信息为攻击的来源方向,初始转动方向与攻击的来源方向相反。例如,攻击为位于第一移动平台左侧的第二移动平台的攻击,即攻击的来源方向为第一移动平台的左侧,初始转动方向则向右,即第一移动平台受到位于第一移动平台左侧的第二移动平台攻击后,会控制云台向右转动。Optionally, the azimuth information is the source direction of the attack, and the initial rotation direction is opposite to the source direction of the attack. For example, the attack is an attack on the second mobile platform located on the left side of the first mobile platform, that is, the source direction of the attack is the left side of the first mobile platform, and the initial rotation direction is to the right, that is, the first mobile platform is affected by the first mobile platform. After attacking, the second mobile platform on the left side of the platform will control the gimbal to rotate to the right.
可选的,方位信息为攻击作用于第一移动平台的力的方向,初始转动方向与攻击作用于第一移动平台的力的方向相同。例如,攻击作用于第一移动平台的力的方向向左,初始转动方向则向左,即第一移动平台受到力的方向向左的攻击后,会控制云台向左转动。Optionally, the azimuth information is the direction of the attacking force acting on the first mobile platform, and the initial rotation direction is the same as the direction of the attacking force acting on the first mobile platform. For example, the direction of the attack force acting on the first mobile platform is left, and the initial rotation direction is left, that is, after the first mobile platform is attacked by the force direction to the left, it will control the pan/tilt to rotate to the left.
可选的,方位信息用于指示攻击的作用位置。例如,当作用位置为云台或机身的左侧时,初始转动方向向右;或者当作用位置为云台或机身的右侧时,初始转动方向向左;或者当作用位置为机身的前侧时,初始转动方向向下;或者当作用位置为机身的后侧时,初始转动方向向上。其中,左或右的初始转动方向可以通过云台的偏航结构实现,上或下的转动方向可以通过云台的俯仰结构实现。Optionally, the location information is used to indicate the location of the attack. For example, when the active position is the pan/tilt or the left side of the fuselage, the initial rotation direction is right; or when the active position is the pan/tilt or the right side of the fuselage, the initial rotation direction is left; or when the active position is the fuselage When the front side of the machine is on the front side, the initial rotation direction is downward; or when the acting position is the rear side of the fuselage, the initial rotation direction is upward. Among them, the left or right initial rotation direction can be realized by the yaw structure of the gimbal, and the upward or downward rotation direction can be realized by the pitch structure of the gimbal.
可以理解,根据方位信息和作用位置中的至少一个确定初始转动方向的确定方式并不限于上述实施例所列举的方式,在根据方位信息和作用位置中的至少一个确定初始转动方向时,还可采用其他方式。It can be understood that the method for determining the initial rotation direction according to at least one of the azimuth information and the action position is not limited to the methods listed in the above embodiments. When the initial rotation direction is determined according to at least one of the azimuth information and the action position, Use other methods.
S202:根据转动幅度和初始转动方向中的至少一个,控制云台转动。S202: Control the pan/tilt to rotate according to at least one of the rotation amplitude and the initial rotation direction.
可以根据转动幅度控制云台转动(也即初始转动方向可以不做限定),也可以根据初始转动方向控制云台转动(也即转动幅度可以不做),还可以根据转动幅度和初始转动方向控制云台转动,可根据需要选择其中一种方式来控制云台转动以实现当前攻击的特效模拟。The pan/tilt rotation can be controlled according to the rotation range (that is, the initial rotation direction may not be limited), the rotation of the gimbal can be controlled according to the initial rotation direction (that is, the rotation range can be omitted), and it can also be controlled according to the rotation range and initial rotation direction PTZ rotation, you can choose one of the methods to control the PTZ rotation to realize the special effects simulation of the current attack.
S202的实现方式可包括可多种,例如,根据转动幅度和初始转动方向中的至少一个,控制云台抖动预设次数,如一次或多次,以实现当前攻击的特效模拟。其中,在控制云台抖动多次时,云台多次抖动的幅度可为固定幅度大小,如所述转动幅度;云台多次抖动的幅度呈预设规律变化,如逐渐减小。The implementation of S202 may include multiple, for example, controlling the pan-tilt to shake a preset number of times, such as one or more times, according to at least one of the rotation amplitude and the initial rotation direction, so as to realize the special effect simulation of the current attack. Wherein, when controlling the pan/tilt to jitter multiple times, the amplitude of the pan/tilt's multiple jitters may be a fixed amplitude, such as the rotation amplitude; the amplitude of the pan/tilt's multiple jitters changes according to a preset rule, such as gradually decreasing.
下面,对S202的具体实现方式进行详细说明。The specific implementation of S202 will be described in detail below.
在其中一种实现S202的实施例中,参见图3A,根据转动幅度和初始转动方向中的至少一个,控制云台转动的过程可包括:In one of the embodiments for implementing S202, referring to FIG. 3A, according to at least one of the rotation amplitude and the initial rotation direction, the process of controlling the rotation of the pan/tilt may include:
S301:根据转动幅度和初始转动方向中的至少一个,确定第一位置;S301: Determine the first position according to at least one of the rotation amplitude and the initial rotation direction;
其中,第一位置的确定方式可根据需要选择,可选的,第一位置为云台绕初始转动方向转动所述转动幅度大小后所处的位置,也即,云台由第一移动平台受到外部的攻击时云台的位置绕初始转动方向转动所述转动幅度大小后所处的位置。Wherein, the method for determining the first position can be selected according to needs. Optionally, the first position is the position where the pan/tilt is located after the rotation amplitude is rotated around the initial rotation direction, that is, the pan/tilt is received by the first mobile platform. When an external attack occurs, the position of the pan/tilt head rotates around the initial rotation direction after the rotation amplitude.
可选的,第一位置为云台绕预设转动方向转动所述转动幅度大小后所处的位置,也即,云台由第一移动平台受到外部的攻击时的位置绕预设转动方向转动所述转动幅度大小后所处的位置。其中,预设转动方向可根据需要设定。Optionally, the first position is the position where the pan/tilt head rotates around the preset rotation direction by the amount of rotation, that is, the pan/tilt head rotates around the preset rotation direction from the position when the first mobile platform is attacked by the outside. The position after the magnitude of the rotation amplitude. Among them, the preset rotation direction can be set as required.
可选的,第一位置为云台绕初始转动方向转动预设幅度大小后所处的位置,也即,云台由第一移动平台受到外部的攻击时的位置绕初始转动方向转动预设幅度大小 后所处的位置。其中,预设幅度可根据需要设定。Optionally, the first position is the position where the pan/tilt is rotated by a preset amplitude around the initial rotation direction, that is, the pan/tilt is rotated by a preset amplitude around the initial rotation direction from the position when the first mobile platform is attacked by the outside. The position after the size. Among them, the preset amplitude can be set as required.
S302:控制云台转动至第一位置。S302: Control the pan/tilt to rotate to the first position.
在云台实现一次抖动时,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置。当第一位置为云台绕初始转动方向转动所述转动幅度大小后所处的位置时,控制云台进行一次抖动即为控制云台由第一移动平台受到外部的攻击时的位置绕初始转动方向转动所述转动幅度大小,使得云台处于第一位置;当第一位置为云台绕预设转动方向转动所述转动幅度大小后所处的位置时,控制云台进行一次抖动即为控制云台由第一移动平台受到外部的攻击时的位置绕预设转动方向转动所述转动幅度大小,使得云台处于第一位置;当第一位置为云台绕初始转动方向转动预设幅度大小后所处的位置,控制云台进行一次抖动即为控制云台由第一移动平台受到外部的攻击时云台的位置绕初始转动方向转动预设幅度大小,使得云台处于第一位置。When the pan-tilt realizes a jitter, the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> the first position. When the first position is the position where the pan/tilt rotates around the initial rotation direction by the magnitude of the rotation amplitude, controlling the pan/tilt to shake once is to control the pan/tilt to rotate around the initial position when the first mobile platform is attacked by the outside. Rotate the rotation amplitude in the direction so that the pan/tilt is in the first position; when the first position is the position where the pan/tilt rotates around the preset rotation direction by the amplitude of rotation, control the pan/tilt to perform a jitter. The pan-tilt is rotated around the preset rotation direction from the position when the first mobile platform is attacked by the outside, so that the pan-tilt is in the first position; when the first position is the preset amplitude of the pan-tilt rotation around the initial rotation direction After the position, controlling the pan-tilt to perform a jitter is to control the position of the pan-tilt when the first mobile platform is attacked by the outside by a preset amplitude around the initial rotation direction, so that the pan-tilt is in the first position.
然而,若云台抖动的最终位置为第一位置,则云台抖动会影响第一移动平台的运行,如在第一移动平台通过云台进行目标识别的过程中,若第一移动平台受到外部的攻击,则云台运行由于受到云台抖动的影响,使得云台最终达到的位置为期望位置与第一位置的叠加,导致目标识别失败。However, if the final position of the pan-tilt shaking is the first position, the shaking of the pan-tilt will affect the operation of the first mobile platform. For example, if the first mobile platform is subjected to external As a result, the operation of the pan/tilt is affected by the jitter of the pan/tilt, so that the final position of the pan/tilt is the superposition of the desired position and the first position, resulting in the failure of target recognition.
因此,为防止云台抖动对第一移动平台的运行造成影响,可将云台抖动的最终位置设置为复位位置。进一步的,请参见图3B,根据转动幅度和初始转动方向中的至少一个,控制云台转动的过程还可包括:Therefore, in order to prevent the pan-tilt shaking from affecting the operation of the first mobile platform, the final position of the pan-tilt shaking can be set to the reset position. Further, referring to FIG. 3B, according to at least one of the rotation amplitude and the initial rotation direction, the process of controlling the rotation of the pan/tilt may further include:
S303:控制云台从第一位置运动至云台的复位位置。S303: Control the pan/tilt to move from the first position to the reset position of the pan/tilt.
其中,步骤S303是在步骤S302之后执行的。Among them, step S303 is executed after step S302.
在某些实施例中,通过控制云台抖动一次,实现当前攻击的特效模拟。其中,控制云台抖动一次时,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置->复位位置。In some embodiments, the special effects simulation of the current attack is realized by controlling the pan-tilt to shake once. Wherein, when the pan/tilt is controlled to shake once, the position change of the pan/tilt includes: the position of the pan/tilt when the first mobile platform is attacked by the outside -> the first position -> the reset position.
在某些实施例中,通过控制云台抖动多次,实现当前攻击的特效模拟。例如,控制云台抖动两次,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置->复位位置->第一位置->复位位置。In some embodiments, the special effects simulation of the current attack is realized by controlling the pan-tilt to shake multiple times. For example, if the pan-tilt is controlled to shake twice, the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> first position -> reset position -> first position -> reset position.
在进行当前攻击的特效模拟时,云台进行多次抖动,若在第一移动平台受到外部的攻击时,以及当前攻击的特效模拟过程中,云台始终处于静止状态,则云台在多次抖动过程中的复位位置不变;若检测到第一移动平台受到外部的攻击时,或在当前攻击的特效模拟过程中,云台处于运动状态,则云台在多次抖动过程中的复位位置中,至少部分复位位置为变化的。During the special effect simulation of the current attack, the gimbal will jitter many times. If the gimbal is always in a static state when the first mobile platform is attacked by an external attack and during the special effect simulation of the current attack, the gimbal will be in a static state for many times. The reset position remains unchanged during the shaking process; if it is detected that the first mobile platform is under an external attack, or during the special effects simulation of the current attack, the pan/tilt is in motion, then the reset position of the pan/tilt during multiple shaking Among them, at least part of the reset position is changed.
复位位置可根据第一移动平台受到外部的攻击时云台的状态确定,以满足云台的实际运行工况。例如,若检测到第一移动平台受到外部的攻击时,以及当前攻击的 特效模拟过程中,云台处于静止状态,则复位位置可包括预先设定的位置,如云台回中时所处的位置;当然,复位位置也可包括检测到第一移动平台受到外部的攻击时云台的实时位置,检测到第一移动平台受到外部的攻击时云台的实时位置可为云台回中时所处的位置。The reset position can be determined according to the state of the pan-tilt when the first mobile platform is attacked by the outside, so as to meet the actual operating conditions of the pan-tilt. For example, if it is detected that the first mobile platform is under an external attack, and during the special effects simulation of the current attack, the pan/tilt is in a static state, the reset position can include a preset position, such as the position when the pan/tilt is returned to the center. Position; Of course, the reset position can also include the real-time position of the gimbal when the first mobile platform is detected to be attacked by the outside, and the real-time position of the gimbal when the first mobile platform is detected to be attacked by the external Location.
又如,若检测到第一移动平台受到外部的攻击时,或当前攻击的特效模拟过程中,云台处于运行状态,则复位位置可包括根据检测到第一移动平台受到外部的攻击时由云台的期望姿态确定的期望位置,或根据当前攻击的特效模拟过程中,由云台的期望姿态确定的期望位置。For another example, if it is detected that the first mobile platform is under an external attack, or during the special effects simulation of the current attack, the gimbal is in operation, the reset position may include the cloud based on the detection of the first mobile platform under the external attack. The expected position determined by the expected posture of the platform, or the expected position determined by the expected posture of the pan/tilt during the simulation of the current attack's special effects.
可采用不同的实现方式来控制云台从第一位置运动至复位位置,作为一种可行的实现方式,控制云台绕第一方向运动,使得云台从第一位置运动至复位位置,实现云台的复位。本实现方式中,在云台实现一次抖动的过程中,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置->复位位置(可为第一移动平台受到外部的攻击时云台的位置),即本实现方式的云台由第一位置直接运动至复位位置。Different implementation methods can be used to control the movement of the pan/tilt from the first position to the reset position. As a feasible implementation method, control the movement of the pan/tilt in the first direction so that the pan/tilt moves from the first position to the reset position to realize the cloud The reset of the station. In this implementation manner, during the process of the pan-tilt shaking once, the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> the first position -> the reset position (may be the first mobile The position of the pan/tilt when the platform is attacked by the outside), that is, the pan/tilt in this implementation mode directly moves from the first position to the reset position.
如机身的左侧受到攻击,先控制云台绕偏航轴yaw向右运动幅度M的大小,再控制云台绕yaw向左运动幅度M的大小;机身的右侧受到攻击,先控制云台绕yaw向左运动幅度M的大小,再控制云台绕yaw向右运动幅度M的大小。If the left side of the fuselage is attacked, first control the magnitude M of the movement of the gimbal to the right around the yaw axis, and then control the magnitude M of the movement of the gimbal to the left around the yaw; the right side of the fuselage is attacked, control first The magnitude of the movement amplitude M of the pan/tilt moving around yaw to the left, and then controlling the magnitude of the movement magnitude M of the pan/tilt moving to the right around yaw.
机身的前侧受到攻击,先控制云台绕俯仰轴pitch向下运动幅度M的大小,再控制云台绕pitch向上运动幅度M的大小;机身的后侧受到攻击,先控制云台绕pitch向上运动幅度M的大小,再控制云台绕pitch向下运动幅度M的大小。When the front side of the fuselage is attacked, first control the downward movement amplitude M of the gimbal around the pitch axis, and then control the upward movement amplitude M of the gimbal around the pitch; The magnitude of the upward movement range M of pitch, and then the magnitude of the downward movement range M of the pan/tilt around the pitch.
云台的左侧受到攻击,先控制云台绕偏航轴yaw向右运动幅度2M的大小,再控制云台绕yaw向左运动幅度2M的大小;云台的右侧受到攻击,先控制云台绕yaw向左运动幅度2M的大小,再控制云台绕yaw向右运动幅度2M的大小。The left side of the gimbal is attacked. First control the gimbal to move to the right by 2M around the yaw axis, and then control the gimbal to move to the left by 2M around the yaw; the right side of the gimbal is attacked, first control the cloud The platform moves around yaw to the left with a magnitude of 2M, and then controls the pan/tilt to move around yaw to the right with a magnitude of 2M.
作为另一种可行的实现方式,首先,控制云台绕第一方向运动,使得云台从第一位置运动至第二位置;接着,控制云台绕第二方向运动,使得云台从第二位置运动至复位位置。其中,第一方向与第二方向为相反方向,第一位置与第二位置位于复位位置的两侧。本实现方式中,在云台实现一次抖动的过程中,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置->第二位置->复位位置,云台由第一位置运动至第二位置的过程中会经过复位位置,也即在云台实现一次抖动的过程中,云台的位置变化包括:第一移动平台受到外部的攻击时云台的位置->第一位置->复位位置->第二位置->复位位置,本实现方式的云台抖动类似于单摆运动,云台抖动更加贴合自然运动规律。As another feasible implementation method, firstly, control the pan/tilt to move in the first direction, so that the pan/tilt moves from the first position to the second position; then, control the pan/tilt to move in the second direction so that the pan/tilt moves from the second position. The position moves to the reset position. Wherein, the first direction and the second direction are opposite directions, and the first position and the second position are located on both sides of the reset position. In this implementation manner, during the process of the pan-tilt shaking once, the position change of the pan-tilt includes: the position of the pan-tilt when the first mobile platform is attacked by the outside -> first position -> second position -> reset position, When the gimbal moves from the first position to the second position, it passes through the reset position, that is, when the gimbal realizes a jitter, the position change of the gimbal includes: the movement of the gimbal when the first mobile platform receives an external attack Position -> first position -> reset position -> second position -> reset position, the pan-tilt shaking in this implementation is similar to the movement of a simple pendulum, and the pan-tilt shaking is more in line with the law of natural motion.
第一方向需要根据步骤S302中控制云台转动至第一位置时云台的转动方向确定,具体的,第一方向与步骤S302中控制云台转动至第一位置时云台的转动方向相反。 可选的,步骤S302中控制云台转动至第一位置时云台的转动方向为初始转动方向,则第一方向与初始转动方向为相反方向。The first direction needs to be determined according to the direction of rotation of the pan/tilt when the pan/tilt is controlled to rotate to the first position in step S302. Specifically, the first direction is opposite to the direction of rotation of the pan/tilt when the pan/tilt is controlled to rotate to the first position in step S302. Optionally, the rotation direction of the pan/tilt head when the pan/tilt head is controlled to rotate to the first position in step S302 is the initial rotation direction, and the first direction and the initial rotation direction are opposite directions.
可选的,第一位置与第二位置关于复位位置对称设置。以第一移动平台受到外部的攻击时以及特效模拟过程中,云台始终处于静止状态为例。可选的,第一位置为云台由第一移动平台受到外部的攻击时的位置绕初始转动方向转动所述转动幅度大小后所处的位置,第二位置则为云台由第一移动平台受到外部的攻击时的位置绕初始转动方向相反的方向转动所述转动幅度大小后所处的位置。当然,第一位置与第二位置也可非对称设置,具体根据需要设定。Optionally, the first position and the second position are symmetrically arranged with respect to the reset position. Take, for example, when the first mobile platform is under external attack and during special effects simulation, the pan/tilt is always in a static state. Optionally, the first position is the position where the pan/tilt is located when the first mobile platform is attacked by the outside after rotating the initial rotation direction by the magnitude of the rotation, and the second position is the position where the pan/tilt is moved by the first mobile platform. The position at the time of receiving an external attack rotates in a direction opposite to the initial rotation direction after the rotation amplitude. Of course, the first position and the second position can also be set asymmetrically, which are specifically set as required.
在另一种实现S202的实施例中,参见图4,根据转动幅度和初始转动方向中的至少一个,控制云台转动的过程可包括:In another embodiment for implementing S202, referring to FIG. 4, according to at least one of the rotation amplitude and the initial rotation direction, the process of controlling the rotation of the pan/tilt may include:
S401:根据转动幅度和初始转动方向中的至少一个,确定第三位置和第四位置;S401: Determine the third position and the fourth position according to at least one of the rotation amplitude and the initial rotation direction;
可选的,第三位置与第一位置为同一位置,第四位置与第二位置为同一位置,第三位置的确定过程可参见上述实施例中第一位置的确定过程,第四位置的确定过程可参见上述实施例中第二位置的确定过程。当然,第三位置和第四位置也可为其他位置。Optionally, the third position and the first position are the same position, and the fourth position and the second position are the same position. For the determination process of the third position, please refer to the determination process of the first position and the determination of the fourth position in the above embodiment. For the process, refer to the process of determining the second position in the foregoing embodiment. Of course, the third position and the fourth position may also be other positions.
S402:根据第三位置和第四位置,控制云台做周期性的往复运动;S402: According to the third position and the fourth position, control the pan/tilt to perform periodic reciprocating movement;
其中,第三位置与第四位置关于云台的复位位置对称设置,也即云台由复位位置运动至第三位置的幅度,与云台由复位位置运动至第四位置的幅度大小相等。并且,在最后一个周期的往复运动后,云台处于复位位置,防止特效模拟影响第一移动平台的运行。The third position and the fourth position are set symmetrically with respect to the reset position of the pan/tilt. That is, the amplitude of the pan/tilt moving from the reset position to the third position is equal to the amplitude of the pan/tilt moving from the reset position to the fourth position. Moreover, after the last cycle of reciprocating motion, the pan/tilt is in the reset position to prevent the special effects simulation from affecting the operation of the first mobile platform.
步骤S402中,可根据第三位置和第四位置,控制云台做一个周期的往复运动,也可根据第三位置和第四位置,控制云台做多个周期的往复运动。In step S402, the pan/tilt may be controlled to make a cycle of reciprocating movement according to the third position and the fourth position, or the pan/tilt may be controlled to make multiple cycles of reciprocating movement according to the third position and the fourth position.
下面,对根据第三位置和第四位置,控制云台做多个周期的往复运动进行详细说明。In the following, the control of the pan/tilt head to perform multiple cycles of reciprocating motion according to the third position and the fourth position will be described in detail.
可选的,云台在多个周期的往复运动中的复位位置不变;可选的,云台在多个周期的往复运动中的复位位置为变化的。步骤S402中确定复位位置的过程与步骤S303中确定复位位置的过程相类似,此处不再赘述。Optionally, the reset position of the pan/tilt in multiple cycles of reciprocating motion is unchanged; optionally, the reset position of the pan/tilt in multiple cycles of reciprocating motion is variable. The process of determining the reset position in step S402 is similar to the process of determining the reset position in step S303, and will not be repeated here.
可选的,各周期的往复运动的幅度小于或等于所述转动幅度(也即S201确定的云台的转动幅度)。Optionally, the amplitude of the reciprocating motion in each period is less than or equal to the rotation amplitude (that is, the rotation amplitude of the pan/tilt head determined in S201).
进一步的,在某些实施例中,多个周期的往复运动为等幅度的往复运动。可选的,多个周期的往复运动的幅度均为所述转动幅度。以云台始终处于静止状态为例,参见图5A,第三位置为A,第四位置为B,复位位置为O,云台由O运动至A的幅度大小,以及云台由O运动至B的幅度大小均为所述转动幅度。需要说明的是,本实 施例中,在进行前攻击的特效模拟时,一个周期的往复运动对应的云台位置变化包括:O->A->O->B->O。Further, in some embodiments, the multiple cycles of reciprocating motion are reciprocating motions of equal amplitude. Optionally, the amplitudes of multiple cycles of reciprocating motion are all the rotation amplitudes. Take the gimbal at rest as an example, see Figure 5A, the third position is A, the fourth position is B, the reset position is O, the magnitude of the movement of the gimbal from O to A, and the movement of the gimbal from O to B The magnitude of is the rotation magnitude. It should be noted that, in this embodiment, when performing the special effect simulation of the front attack, the position change of the pan/tilt corresponding to a cycle of reciprocating motion includes: O->A->O->B->O.
可选的,多个周期的往复运动的幅度均小于所述转动幅度。以云台始终处于静止状态为例,参见图5B,第三位置为A,第四位置为B,复位位置为O,A’为第六位置,B’第七位置,A’和B’关于O对称设置,云台由O运动至A’的幅度与云台由O运动至B’的幅度大小相等,且均小于所述转动幅度。需要说明的是,本实施例中,在进行前攻击的特效模拟时,一个周期的往复运动对应的云台位置变化包括:O->A’->O->B’->O。Optionally, the amplitude of multiple cycles of reciprocating motion is smaller than the rotation amplitude. Take the gimbal always in a static state as an example, see Figure 5B, the third position is A, the fourth position is B, the reset position is O, A'is the sixth position, B'is the seventh position, A'and B'are about O is set symmetrically, the amplitude of the movement of the pan/tilt from O to A'is equal to the amplitude of movement of the pan/tilt from O to B', and both are smaller than the rotation amplitude. It should be noted that, in this embodiment, when performing the special effect simulation of the front attack, the position change of the pan/tilt corresponding to one cycle of reciprocating motion includes: O->A'->O->B'->O.
在某些实施例中,多个周期的往复运动为非等幅度的往复运动。可选的,多个周期的往复运动的幅度随时间逐渐减小,且首个周期的往复运动的幅度为转动幅度。以云台始终处于静止状态为例,请再次参见图5B,云台包括两个周期的往复运动:O->A->O->B->O->A’->O->B’->O,对于第一个周期的往复运动,云台位置变化包括:O->A->O->B->O;对于第二个周期的往复运动,云台位置变化包括:O->A’->O->B’->O。In some embodiments, the multiple cycles of reciprocating motion are reciprocating motions of unequal amplitude. Optionally, the amplitude of the reciprocating motion of multiple cycles gradually decreases with time, and the amplitude of the reciprocating motion of the first cycle is the rotation amplitude. Taking the gimbal always in a static state as an example, please refer to Figure 5B again. The gimbal includes two cycles of reciprocating motion: O->A->O->B->O->A'->O->B' ->O, for the reciprocating movement in the first cycle, the pan/tilt position changes include: O->A->O->B->O; for the reciprocating movement in the second cycle, the pan/tilt position changes include: O- >A'->O->B'->O.
更进一步的,在某些实施例中,各周期的往复运动为正弦运动,使得云台抖动区别于第一移动平台处于工作状态时的云台转动,方便玩家和观众等根据云台的转动来判断云台是否受到外部的攻击。可选的,各周期的往复运动对应的云台的转动角度变化曲线为正弦曲线,如角度变化曲线为sin(x)+c1,其中,x为云台的转动时间,c1为经验值。可选的,各周期的往复运动对应的云台的速度变化曲线为余弦曲线,如速度变化曲线为-cos(x)+c2,其中,x为云台的转动时间,c2为经验值。Furthermore, in some embodiments, the reciprocating motion of each cycle is a sinusoidal motion, so that the jitter of the pan-tilt is different from the rotation of the pan-tilt when the first mobile platform is in the working state, which is convenient for players and audiences to follow the rotation of the pan-tilt. Determine whether the pan/tilt is attacked from outside. Optionally, the rotation angle change curve of the pan/tilt head corresponding to each cycle of reciprocating motion is a sinusoidal curve, for example, the angle change curve is sin(x)+c1, where x is the rotation time of the pan/tilt head and c1 is an empirical value. Optionally, the speed change curve of the pan/tilt corresponding to each cycle of reciprocating motion is a cosine curve, for example, the speed change curve is -cos(x)+c2, where x is the rotation time of the pan/tilt, and c2 is an empirical value.
此外,第一移动平台可能会在同一时刻受到多个来自外部的攻击,此时,在攻击为第一移动平台在同一时刻受到的多个来自外部的攻击。本实施例中,在攻击为第一移动平台在同一时刻受到的多个来自外部的攻击时,参数信息为对多个攻击对应的参数信息进行合并处理后得到,云台被攻击后的特效模拟更加贴合实际攻击效果。In addition, the first mobile platform may be subject to multiple external attacks at the same time. At this time, the attack is multiple external attacks that the first mobile platform received at the same time. In this embodiment, when the attack is multiple external attacks received by the first mobile platform at the same time, the parameter information is obtained after merging the parameter information corresponding to the multiple attacks. The special effects simulation of the PTZ after being attacked More fit the actual attack effect.
下面,对攻击对应的参数信息进行合并处理的方式进行说明。In the following, the method of merging the parameter information corresponding to the attack will be described.
一种可行的实现方式是:对多个攻击对应的参数信息进行合并处理的方式可为将多个攻击对应的参数信息直接叠加。其中,若两个攻击的来源方向相同,或作用于第一移动平台的力的方向相同,或作用位置为第一移动平台的同一受力面,则对这两个攻击对应的参数信息进行合并处理后,力度大小为这两个攻击对应的力度大小直接相加获得的力度大小,方位信息为这两个攻击中任一攻击的方位信息。若两个攻击的来源方向相反,或作用于第一移动平台的力的方向相反,或作用位置分别为第一移动平台上的朝向相反的两个受力面,则对这两个攻击对应的参数信息进行合并处理后,力度大小为:|这两个攻击其中一个攻击的力度大小-这两个攻击中另一个攻击的力度大小|,方位信息为这两个攻击中力度大小绝对值较大的攻击的方位信息。可以理解,本 实现方式中,对多个攻击对应的参数信息进行合并处理的处理方式与力的合并方式相类似。A feasible implementation manner is: the method of merging the parameter information corresponding to multiple attacks may be to directly superimpose the parameter information corresponding to multiple attacks. Among them, if the source direction of the two attacks is the same, or the direction of the force acting on the first mobile platform is the same, or the acting position is the same force surface of the first mobile platform, then the parameter information corresponding to the two attacks is merged After processing, the intensity is the intensity obtained by directly adding the corresponding intensity of the two attacks, and the azimuth information is the azimuth information of any one of the two attacks. If the source of the two attacks is in the opposite direction, or the direction of the force acting on the first mobile platform is opposite, or the acting positions are the two oppositely facing force surfaces on the first mobile platform, then the two attacks correspond to After the parameter information is merged, the strength is: |The strength of one of the two attacks-the strength of the other of the two attacks|, the position information is that the absolute value of the strength of the two attacks is larger The location information of the attack. It can be understood that, in this implementation manner, the processing method for merging the parameter information corresponding to multiple attacks is similar to the force merging method.
一种可行的实现方式是:将多个攻击中,力度大小最大的攻击对应的参数信息作为多个攻击的参数进行合并处理后确定的参数信息。A feasible implementation method is to use the parameter information corresponding to the most powerful attack among multiple attacks as the parameter information determined after merging the parameters of the multiple attacks.
一种可行的实现方式是:若多个攻击中,存在作用位置位于云台的攻击和作用位置位于机身的攻击,将作用位置位于云台的攻击中,力度最大的攻击对应的参数信息作为多个攻击的参数进行合并处理后确定的参数信息。当多个攻击包括一个作用位置位于云台的攻击和一个作用位置位于机身的攻击,则将作用位置位于云台的攻击的参数信息作为多个攻击的参数进行合并处理后确定的参数信息。A feasible way to achieve this is: if there are multiple attacks, the attack position is located in the gimbal and the attack position is located in the fuselage, the attack position is located in the gimbal and the parameter information corresponding to the most powerful attack is used as The parameter information determined after the parameters of multiple attacks are combined. When multiple attacks include an attack with an action position on the PTZ and an attack with an action position on the fuselage, the parameter information of the attack with the action position on the PTZ is used as the parameter information determined after the parameters of the multiple attacks are combined.
当然,对攻击对应的参数信息进行合并处理的方式并不限于以上列举的三种处理方式,还可以为其他处理方式,可根据特效模拟需要设计对多个攻击对应的参数信息进行合并处理的方式。Of course, the method of merging the parameter information corresponding to the attack is not limited to the three processing methods listed above, and can also be other processing methods. The method of merging the parameter information corresponding to multiple attacks can be designed according to the needs of special effects simulation. .
在某些实施例中,参见图6,所述云台控制方法还可包括:In some embodiments, referring to FIG. 6, the pan-tilt control method may further include:
S601:在根据参数信息,控制云台转动的同时,检测到第一移动平台受到外部的新的攻击;S601: While controlling the rotation of the pan/tilt according to the parameter information, it is detected that the first mobile platform is attacked by a new external attack;
S602:获取新的攻击的参数信息;S602: Obtain parameter information of a new attack;
S603:根据云台当前的转动信息和新的攻击的参数信息,确定新的转动信息;S603: Determine new rotation information according to the current rotation information of the pan/tilt and the parameter information of the new attack;
其中,云台当前的转动信息包括根据参数信息,控制云台转动的实时转动信息,可包括云台当前转动的实时幅度和实时转动方向。Among them, the current rotation information of the pan/tilt includes real-time rotation information for controlling the rotation of the pan/tilt according to the parameter information, and may include the real-time amplitude and real-time rotation direction of the current rotation of the pan/tilt.
新的转动信息包括新的幅度和新的转动方向,当实时转动方向与根据新的攻击的参数信息,确定的云台的转动方向为相同方向时,新的幅度为:实时转动幅度+根据新的攻击的参数信息确定的云台的新的转动幅度,新的转动方向为实时转动方向;当实时转动方向与根据新的攻击的参数信息,确定的云台的转动方向为相反方向时,新的幅度为:|实时转动幅度-根据新的攻击的参数信息确定的云台的新的转动幅度|,新的转动方向为:实时转动幅度和根据新的攻击的参数信息确定的云台的新的转动幅度中绝对值较大的一者的转动方向。The new rotation information includes the new amplitude and the new rotation direction. When the real-time rotation direction is the same as the rotation direction of the PTZ determined according to the new attack parameter information, the new amplitude is: real-time rotation amplitude + according to the new The new rotation range of the PTZ determined by the parameter information of the attack, and the new rotation direction is the real-time rotation direction; when the real-time rotation direction is opposite to the rotation direction of the PTZ determined according to the new attack parameter information, the new The amplitude is: | real-time rotation amplitude-the new rotation amplitude of the gimbal determined according to the parameter information of the new attack|, the new rotation direction is: the real-time rotation amplitude and the new rotation amplitude of the gimbal determined according to the parameter information of the new attack The rotation direction of the larger absolute value of the rotation amplitude.
S604:根据新的转动信息,控制云台转动。S604: Control the rotation of the pan/tilt according to the new rotation information.
由于综合考虑了云台当前的转动和新的攻击,故而第一移动平台受攻击后的特效模拟更加贴合实际攻击效果。Due to the comprehensive consideration of the current rotation and new attacks of the gimbal, the special effects simulation after the first mobile platform is attacked is more suitable for the actual attack effect.
本发明实施例中,第一移动平台在受到攻击后,根据攻击的参数信息来控制云台转动,由于云台转动(这种转动区别于第一移动平台处于工作状态时的云台转动)由于云台转动可以直接在拍摄装置(移动平台的云台上装设或场地装设)拍摄的影像 中反映或由用户的视觉直接感受,故可通过拍摄装置拍摄的影像直观显示或经由用户直接的视觉感官确定第一移动平台是否被攻击,实现第一移动平台被打击的特效模拟;并且,根据攻击的参数信息来控制云台转动这一过程的趣味性较强、程序实现较为复杂,能够引导用户进行编程学习,满足机器人教育需求;本发明的云台控制方法适用于竞技比赛、机器人教育等领域。In the embodiment of the present invention, after the first mobile platform is attacked, the rotation of the pan/tilt is controlled according to the parameter information of the attack, because the rotation of the pan/tilt is different from the rotation of the pan/tilt when the first mobile platform is in operation. The pan-tilt rotation can be directly reflected in the image taken by the camera (the pan-tilt installation on the mobile platform or the venue installation) or directly felt by the user's vision, so the image captured by the camera can be displayed intuitively or through the user's direct vision The sense organs determine whether the first mobile platform is attacked, and realize the special effect simulation of the first mobile platform being attacked; and the process of controlling the rotation of the PTZ according to the parameter information of the attack is more interesting and the program implementation is more complicated, which can guide the user Perform programming learning to meet the needs of robot education; the pan-tilt control method of the present invention is suitable for fields such as competitive competitions and robot education.
另外,在竞技比赛中,第一移动平台在获取到竞争对象(如第二移动平台)执行预设操作,如释放特定技能后,可通过控制云台转动进行特效模拟,使得玩家和观众等及时获知竞争对象执行了预设操作的信息。具体的,参见图7,所述云台控制方法还可包括:In addition, in competitive competitions, the first mobile platform performs preset operations after acquiring the competition object (such as the second mobile platform). For example, after releasing a specific skill, it can simulate the special effects by controlling the rotation of the pan-tilt, so that players and spectators can be timely Learn that the competitor has performed a preset operation. Specifically, referring to FIG. 7, the PTZ control method may further include:
S701:若第二移动平台执行预设操作,则获取基于预设操作的预设动作信息,第二移动平台为第一移动平台的竞争对象;S701: If the second mobile platform performs a preset operation, obtain preset action information based on the preset operation, and the second mobile platform is a competitor of the first mobile platform;
预设操作可包括第一移动平台的竞争对象释放了特定技能,其中,特定技能可包括用于指示被击中的移动平台的云台转动至预设位置的第一特定技能或其他。第一特定技能的预设动作信息用于指示被击中的移动平台的云台转动至预设位置。该预设位置可根据需要设定,如,当云台处于该预设位置时,云台无法对特定区域的目标进行识别,也即,若第二移动平台在释放了第一特定技能,第一移动平台进行目标识别会受到第一特定技能的限制。The preset operation may include that a competitor of the first mobile platform releases a specific skill, where the specific skill may include a first specific skill for instructing the pan/tilt of the mobile platform to be hit to a preset position or others. The preset action information of the first specific skill is used to instruct the pan/tilt of the mobile platform that is hit to rotate to the preset position. The preset position can be set according to needs. For example, when the PTZ is in the preset position, the PTZ cannot recognize the target in a specific area, that is, if the second mobile platform releases the first specific skill, Target recognition on a mobile platform is limited by the first specific skill.
可选的,在第二移动平台执行预设操作后,第二移动平台会发送触发信号至第一移动平台,触发第一平台获取基于预设操作的预设动作信息,其中,触发信号携带有用于指示第二移动平台已执行预设操作的信息。可选的,第一移动平台会预先存储预设动作信息和预设操作的对应关系,第一移动平台在接收到触发信号后,可根据触发信号中的预设操作,从预存的对应关系中确定对应的预设动作信息;可选的,预设动作信息携带在第二移动平台发送的触发信号中,第一移动平台在接收到触发信号后,直接解析触发信号,即可获得携带在触发信号中的预设动作信息。Optionally, after the second mobile platform performs the preset operation, the second mobile platform sends a trigger signal to the first mobile platform to trigger the first platform to obtain preset action information based on the preset operation, where the trigger signal carries useful information Information indicating that the second mobile platform has performed a preset operation. Optionally, the first mobile platform may pre-store the corresponding relationship between the preset action information and the preset operation. After receiving the trigger signal, the first mobile platform may use the preset operation in the trigger signal from the pre-stored corresponding relationship Determine the corresponding preset action information; optionally, the preset action information is carried in the trigger signal sent by the second mobile platform. After receiving the trigger signal, the first mobile platform directly analyzes the trigger signal to obtain the information carried in the trigger The preset action information in the signal.
S702:根据预设动作信息,控制云台转动以指示第二移动平台执行了预设操作且云台的运动受限于预设操作。S702: According to the preset action information, control the rotation of the pan-tilt to instruct the second mobile platform to perform a preset operation and the movement of the pan-tilt is limited by the preset operation.
在第一移动平台的竞争对象执行预设操作,如释放了特定技能后,第一移动平台会控制其云台转动,从而模拟第一移动平台的竞争对象执行预设操作的特效,让玩家和观众获知第一移动平台的竞争对象执行预设操作的信息。The competitor of the first mobile platform performs a preset operation. For example, after releasing a specific skill, the first mobile platform will control its pan-tilt rotation, thereby simulating the special effect of the competitor of the first mobile platform performing the preset operation, so that the player and The audience learns the information that the competitor of the first mobile platform performs a preset operation.
可选的,S702中根据预设动作信息,控制云台转动的实现方式可与上述实施例中根据攻击的参数信息,控制云台转动的实现方式相类似;可选的,S702中根据预设动作信息,控制云台转动的实现方式也可选择其他实现方式,如控制云台转动至预设位置,使得云台无法对特定区域的目标进行识别等。Optionally, the implementation manner of controlling the rotation of the pan/tilt according to the preset action information in S702 may be similar to the implementation manner of controlling the rotation of the pan/tilt according to the attack parameter information in the above embodiment; The motion information and the realization method of controlling the rotation of the pan/tilt can also choose other realization methods, such as controlling the rotation of the pan/tilt to a preset position, so that the pan/tilt cannot recognize the target in a specific area.
对应于上述实施例的云台控制方法,本发明实施例还提供一种移动平台,结合 图8和图9,所述移动平台可以包括:机身100、设于所述机身100上的云台200以及一个或多个处理器300。Corresponding to the pan-tilt control method of the above embodiment, the embodiment of the present invention also provides a mobile platform. With reference to FIG. 8 and FIG. 9, the mobile platform may include: a body 100, a cloud provided on the body 100 A table 200 and one or more processors 300.
其中,所述一个或多个处理器300与所述云台电连接,并且,所述一个或多个处理器300单独地或共同地被配置成用于:检测到所述移动平台受到外部的攻击,获取所述攻击的参数信息;根据所述参数信息,控制所述云台转动以指示所述移动平台受到所述攻击。Wherein, the one or more processors 300 are electrically connected to the pan/tilt, and the one or more processors 300 are individually or collectively configured to: detect that the mobile platform is attacked by the outside , Acquire parameter information of the attack; according to the parameter information, control the rotation of the pan-tilt to indicate that the mobile platform is under the attack.
处理器300可以实现如本发明图1-图4以及图6-图7所示实施例的云台控制方法,可参见上述实施例的云台控制方法对本实施例的移动平台进行说明。The processor 300 can implement the pan/tilt control method of the embodiment shown in FIGS. 1 to 4 and FIG. 6 to FIG. 7. The mobile platform of this embodiment can be described with reference to the pan/tilt control method in the foregoing embodiment.
本实施例的云台可具有摄像功能,或者云台上搭载有拍摄装置(图8中的400),通过云台或云台上的拍摄装置拍摄的影像直观反映云台抖动效果。当然,在某些实施例中,云台也可不具有摄像功能,其上也并未搭载拍摄装置,可通过场地上的拍摄装置拍摄的影像或用户直观感受,判断云台是否抖动,从而判断移动平台是否受到攻击。The pan-tilt in this embodiment may have a camera function, or the pan-tilt is equipped with a photographing device (400 in FIG. 8), and images captured by the pan-tilt or the photographing device on the pan-tilt intuitively reflect the effect of pan-tilt shaking. Of course, in some embodiments, the pan/tilt may not have a camera function, nor is it equipped with a camera. You can judge whether the pan/tilt is shaking by using the images taken by the camera on the field or the user’s intuitive experience to determine whether it is moving. Whether the platform is under attack.
可选的,机身和/或云台上装设有装甲,装甲可以感测外部的攻击。可根据实际需求在第一可移动平台的一个或多个位置设置装甲,例如,可将装甲设置在机身的左侧、右侧、前侧、右侧和/或机身的其他位置,也可将装甲设置在云台的左侧、右侧和/或云台的其他位置。各装甲与移动平台中至少一个处理器电连接,将感测到的外部的攻击实时传输至所述处理器。Optionally, armor is installed on the fuselage and/or the gimbal, and the armor can sense external attacks. Armor can be set at one or more positions of the first movable platform according to actual needs. For example, the armour can be set on the left, right, front, right and/or other positions of the fuselage. The armor can be placed on the left, right and/or other positions of the gimbal. Each armor is electrically connected with at least one processor in the mobile platform, and the sensed external attack is transmitted to the processor in real time.
可选的,在机身或云台上设置红外接收器(或其他光接收器),该红外接收器可安装在机身的外框架上,方便探测另一移动平台发送的红外光,从而感测外部的攻击。该红外接收器能够360度接收另一移动平台发送的红外光,检测全方位攻击。Optionally, an infrared receiver (or other light receiver) is provided on the fuselage or the pan/tilt. The infrared receiver can be installed on the outer frame of the fuselage to facilitate the detection of infrared light sent by another mobile platform, thereby Detect external attacks. The infrared receiver can receive the infrared light sent by another mobile platform at 360 degrees and detect all-round attacks.
可选的,移动平台的机身设有发射装置(图8中的500),用于攻击其他移动平台,该发射装置可以为弹丸发射装置和/或光发射装置,也可以为其他。本实施例的发射装置与移动平台中至少一个处理器电连接,由所述处理器控制发射装置工作。进一步可选的,发射装置设于云台上,通过控制云台转动,控制发射装置的朝向,以瞄准攻击目标。Optionally, the fuselage of the mobile platform is provided with a launching device (500 in FIG. 8) for attacking other mobile platforms. The launching device may be a projectile launching device and/or a light launching device, or other. The transmitting device of this embodiment is electrically connected to at least one processor in the mobile platform, and the processor controls the operation of the transmitting device. Further optionally, the launching device is arranged on the pan-tilt, and the direction of the launching device is controlled by controlling the rotation of the pan-tilt to aim at the attack target.
上述处理器300可以是中央处理器(central processing unit,CPU)。所述处理器300还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The aforementioned processor 300 may be a central processing unit (CPU). The processor 300 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
此外,本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例的云台控制方法的步骤。In addition, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the pan-tilt control method of the above-mentioned embodiment are realized.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some embodiments of the present invention, which of course cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (64)

  1. 一种云台控制方法,应用于第一移动平台,所述第一移动平台包括机身以及设于所述机身上的云台,其特征在于,所述方法包括:A pan/tilt control method applied to a first mobile platform, the first mobile platform including a fuselage and a pan/tilt mounted on the fuselage, characterized in that the method includes:
    检测到所述第一移动平台受到外部的攻击,获取所述攻击的参数信息;It is detected that the first mobile platform is under an external attack, and the parameter information of the attack is obtained;
    根据所述参数信息,控制所述云台转动以指示所述第一移动平台受到所述攻击。According to the parameter information, controlling the rotation of the pan-tilt to indicate that the first mobile platform is under the attack.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述参数信息,控制所述云台转动,包括:The method according to claim 1, wherein the controlling the rotation of the pan/tilt head according to the parameter information comprises:
    根据所述参数信息,确定所述云台的转动幅度和所述云台的初始转动方向中的至少一个;Determining at least one of the rotation amplitude of the pan/tilt and the initial rotation direction of the pan/tilt according to the parameter information;
    根据所述转动幅度和所述初始转动方向中的至少一个,控制所述云台转动。Controlling the rotation of the pan/tilt according to at least one of the rotation amplitude and the initial rotation direction.
  3. 根据权利要求2所述的方法,其特征在于,所述参数信息包括以下至少一种:力度大小、方位信息、作用位置。The method according to claim 2, wherein the parameter information includes at least one of the following: intensity, orientation information, and acting position.
  4. 根据权利要求3所述的方法,其特征在于,所述转动幅度根据所述力度大小确定。The method according to claim 3, wherein the rotation amplitude is determined according to the strength.
  5. 根据权利要求4所述的方法,其特征在于,所述转动幅度与所述力度大小正相关。The method according to claim 4, wherein the rotation amplitude is positively correlated with the intensity.
  6. 根据权利要求4所述的方法,其特征在于,所述转动幅度根据所述作用位置确定。The method according to claim 4, wherein the rotation amplitude is determined according to the acting position.
  7. 根据权利要求6所述的方法,其特征在于,所述作用位置位于所述机身上和/或所述云台上;The method according to claim 6, wherein the action position is located on the fuselage and/or on the pan/tilt;
    所述作用位置位于所述云台上时,对应的所述转动幅度不同于所述作用位置位于所述机身上时,对应的所述转动幅度。When the acting position is on the pan/tilt, the corresponding rotation amplitude is different from the corresponding rotation amplitude when the acting position is on the body.
  8. 根据权利要求7所述的方法,其特征在于,所述机身包括多个受击面,至少两个所述受击面上的所述作用位置对应的所述转动幅度不同。The method according to claim 7, wherein the fuselage includes a plurality of hit surfaces, and the rotation amplitudes corresponding to the action positions on at least two of the hit surfaces are different.
  9. 根据权利要求3所述的方法,其特征在于,所述初始转动方向为根据所述方位信息和所述作用位置中的至少一个确定。The method according to claim 3, wherein the initial rotation direction is determined according to at least one of the orientation information and the action position.
  10. 根据权利要求9所述的方法,其特征在于,所述方位信息包括所述攻击的来源方向,或所述攻击作用于所述第一移动平台的力的方向,或用于指示所述攻击的作用位置。The method according to claim 9, wherein the position information includes the source direction of the attack, or the direction of the force that the attack acts on the first mobile platform, or the direction used to indicate the attack Position of action.
  11. 根据权利要求9所述的方法,其特征在于,当所述作用位置为所述云台或所述机身的左侧时,所述初始转动方向向右;或The method according to claim 9, wherein when the action position is the left side of the pan/tilt or the fuselage, the initial rotation direction is to the right; or
    当所述作用位置为所述云台或所述机身的右侧时,所述初始转动方向向左;或When the action position is the right side of the pan/tilt or the fuselage, the initial rotation direction is to the left; or
    当所述作用位置为所述机身的前侧时,所述初始转动方向向下;或When the acting position is the front side of the fuselage, the initial rotation direction is downward; or
    当所述作用位置为所述机身的后侧时,所述初始转动方向向上。When the acting position is the rear side of the fuselage, the initial rotation direction is upward.
  12. 根据权利要求2所述的方法,其特征在于,所述根据所述转动幅度和所述初始转动方向中的至少一个,控制所述云台转动,包括:The method according to claim 2, wherein the controlling the rotation of the pan/tilt head according to at least one of the rotation amplitude and the initial rotation direction comprises:
    根据所述转动幅度和所述初始转动方向中的至少一个,确定第一位置;Determining the first position according to at least one of the rotation amplitude and the initial rotation direction;
    控制所述云台转动至所述第一位置。Controlling the pan/tilt to rotate to the first position.
  13. 根据权利要求12所述的方法,其特征在于,所述第一位置为所述云台绕所述初始转动方向转动所述转动幅度大小后所处的位置。The method according to claim 12, wherein the first position is a position where the pan/tilt head is rotated by the magnitude of the rotation around the initial rotation direction.
  14. 根据权利要求12所述的方法,其特征在于,所述根据所述转动幅度和所述初始转动方向中的至少一个,控制所述云台转动,还包括:The method according to claim 12, wherein the controlling the rotation of the pan/tilt head according to at least one of the rotation amplitude and the initial rotation direction further comprises:
    在控制所述云台转动至所述第一位置之后,控制所述云台从所述第一位置运动至所述云台的复位位置。After controlling the pan/tilt to rotate to the first position, control the pan/tilt to move from the first position to the reset position of the pan/tilt.
  15. 根据权利要求14所述的方法,其特征在于,所述控制所述云台从所述第一位置运动至复位位置,包括:The method according to claim 14, wherein the controlling the movement of the pan/tilt from the first position to the reset position comprises:
    控制所述云台绕第一方向运动,使得所述云台从所述第一位置运动至所述复位位置。The pan/tilt is controlled to move around a first direction, so that the pan/tilt moves from the first position to the reset position.
  16. 根据权利要求14所述的方法,其特征在于,所述控制所述云台从所述第一位置运动至复位位置,包括:The method according to claim 14, wherein the controlling the movement of the pan/tilt from the first position to the reset position comprises:
    控制所述云台绕第一方向运动,使得所述云台从所述第一位置运动至第二位置;Controlling the pan/tilt to move around a first direction so that the pan/tilt moves from the first position to the second position;
    控制所述云台绕第二方向运动,使得所述云台从所述第二位置运动至所述复位位置;Controlling the pan/tilt to move in a second direction so that the pan/tilt moves from the second position to the reset position;
    其中,所述第一方向与所述第二方向为相反方向,所述第一位置与所述第二位置位于所述复位位置的两侧。Wherein, the first direction and the second direction are opposite directions, and the first position and the second position are located on both sides of the reset position.
  17. 根据权利要求15或16所述的方法,其特征在于,所述第一方向与所述初始转动方向为相反方向。The method according to claim 15 or 16, wherein the first direction and the initial rotation direction are opposite directions.
  18. 根据权利要求16所述的方法,其特征在于,所述第一位置与所述第二位置关于所述复位位置对称设置。The method according to claim 16, wherein the first position and the second position are symmetrically arranged with respect to the reset position.
  19. 根据权利要求2所述的方法,其特征在于,所述根据所述转动幅度和所述初始转动方向中的至少一个,控制所述云台转动,包括:The method according to claim 2, wherein the controlling the rotation of the pan/tilt head according to at least one of the rotation amplitude and the initial rotation direction comprises:
    根据所述转动幅度和所述初始转动方向中的至少一个,确定第三位置和第四位置;Determining a third position and a fourth position according to at least one of the rotation amplitude and the initial rotation direction;
    根据所述第三位置和所述第四位置,控制所述云台做周期性的往复运动;According to the third position and the fourth position, controlling the pan/tilt to perform periodic reciprocating movement;
    其中,所述第三位置与所述第四位置关于所述云台的复位位置对称设置,并且,在最后一个周期的往复运动后,所述云台处于所述复位位置。Wherein, the third position and the fourth position are set symmetrically with respect to the reset position of the pan/tilt head, and after the last cycle of reciprocating movement, the pan/tilt head is in the reset position.
  20. 根据权利要求19所述的方法,其特征在于,各周期的往复运动的幅度小于或等于所述转动幅度。The method according to claim 19, wherein the amplitude of the reciprocating motion of each period is less than or equal to the rotation amplitude.
  21. 根据权利要求20所述的方法,其特征在于,多个周期的往复运动的幅度随时间逐渐减小,且首个周期的往复运动的幅度为所述转动幅度。22. The method according to claim 20, wherein the amplitude of the reciprocating motion of multiple cycles gradually decreases with time, and the amplitude of the reciprocating motion of the first cycle is the rotation amplitude.
  22. 根据权利要求19所述的方法,其特征在于,所述云台在多个周期的往复运动中的复位位置不变;或者The method according to claim 19, wherein the reset position of the pan/tilt head remains unchanged during multiple cycles of reciprocating motion; or
    所述云台在多个周期的往复运动中的复位位置为变化的。The reset position of the pan/tilt head in multiple cycles of reciprocating motion changes.
  23. 根据权利要求19所述的方法,其特征在于,各周期的往复运动对应的所述云台的角度变化曲线为正弦曲线。The method according to claim 19, wherein the angle change curve of the pan/tilt head corresponding to the reciprocating motion of each cycle is a sine curve.
  24. 根据权利要求19所述的方法,其特征在于,各周期的往复运动对应的所述云台的速度变化曲线为余弦曲线。The method according to claim 19, wherein the speed change curve of the pan/tilt head corresponding to each cycle of reciprocating motion is a cosine curve.
  25. 根据权利要求14或19所述的方法,其特征在于,所述复位位置包括:所述云台回中时所处的位置、所述检测到所述第一移动平台受到外部的攻击时所述云台的实时位置、或根据所述检测到所述第一移动平台受到外部的攻击时由所述云台的期望姿态确定的期望位置。The method according to claim 14 or 19, wherein the reset position comprises: the position of the pan/tilt when returning to the center, the position when the first mobile platform is detected to be attacked by the outside The real-time position of the pan-tilt or the desired position determined by the desired posture of the pan-tilt when the first mobile platform is detected to be attacked by the outside.
  26. 根据权利要求1所述的方法,其特征在于,在所述攻击为所述第一移动平台在同一时刻受到的多个来自外部的攻击时,所述参数信息为对多个所述攻击对应的参数信息进行合并处理后得到。The method according to claim 1, wherein when the attack is a plurality of external attacks that the first mobile platform receives at the same time, the parameter information is corresponding to the plurality of attacks The parameter information is obtained after merging processing.
  27. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    在根据所述参数信息,控制所述云台转动的同时,检测到所述第一移动平台受到外部的新的攻击;While controlling the rotation of the pan/tilt according to the parameter information, it is detected that the first mobile platform is attacked by a new external attack;
    获取所述新的攻击的参数信息;Acquiring parameter information of the new attack;
    根据所述云台当前的转动信息和所述新的攻击的参数信息,确定新的转动信息;Determine new rotation information according to the current rotation information of the pan/tilt and the parameter information of the new attack;
    根据所述新的转动信息,控制所述云台转动。Controlling the rotation of the pan/tilt according to the new rotation information.
  28. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    若第二移动平台执行预设操作,则获取基于所述预设操作的预设动作信息,所述第二移动平台为所述第一移动平台的竞争对象;If the second mobile platform performs a preset operation, acquiring preset action information based on the preset operation, and the second mobile platform is a competitor of the first mobile platform;
    根据所述预设动作信息,控制所述云台转动以指示所述第二移动平台执行了所述预设操作且所述云台的运动受限于所述预设操作。According to the preset action information, controlling the rotation of the pan/tilt to instruct the second mobile platform to perform the preset operation and the movement of the pan/tilt is limited by the preset operation.
  29. 根据权利要求1所述的方法,其特征在于,所述检测到所述第一移动平台受到外部的攻击,包括:The method according to claim 1, wherein the detecting that the first mobile platform is attacked by the outside comprises:
    检测到所述机身受到外部的攻击。It is detected that the fuselage is attacked from outside.
  30. 根据权利要求29所述的方法,其特征在于,所述攻击包括在所述机身的左侧、右侧、前侧和后侧中的至少一个的攻击。The method according to claim 29, wherein the attack includes an attack on at least one of the left side, the right side, the front side, and the rear side of the fuselage.
  31. 根据权利要求1所述的方法,其特征在于,所述检测所述第一移动平台受到外部的攻击力,包括:The method according to claim 1, wherein the detecting that the first mobile platform is subjected to an external attack force comprises:
    检测到所述云台受到外部的攻击。It is detected that the pan-tilt is attacked from outside.
  32. 根据权利要求31所述的方法,其特征在于,所述攻击包括在所述云台的左侧和右侧中的至少一个的攻击。The method according to claim 31, wherein the attack comprises an attack on at least one of the left side and the right side of the pan-tilt.
  33. 一种移动平台,其特征在于,所述移动平台包括:A mobile platform, characterized in that the mobile platform includes:
    机身;body;
    设于所述机身上的云台;以及A pan/tilt mounted on the fuselage; and
    一个或多个处理器,所述一个或多个处理器与所述云台电连接,并且,所述一个 或多个处理器单独地或共同地被配置成用于:One or more processors, the one or more processors are electrically connected to the pan-tilt, and the one or more processors are individually or collectively configured to:
    检测到所述移动平台受到外部的攻击,获取所述攻击的参数信息;It is detected that the mobile platform is subject to an external attack, and the parameter information of the attack is obtained;
    根据所述参数信息,控制所述云台转动以指示所述移动平台受到所述攻击。According to the parameter information, control the rotation of the pan-tilt to indicate that the mobile platform is under the attack.
  34. 根据权利要求33所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 33, wherein the one or more processors, individually or collectively, are further configured to:
    根据所述参数信息,确定所述云台的转动幅度和所述云台的初始转动方向中的至少一个;Determining at least one of the rotation amplitude of the pan/tilt and the initial rotation direction of the pan/tilt according to the parameter information;
    根据所述转动幅度和所述初始转动方向中的至少一个,控制所述云台转动。Controlling the rotation of the pan/tilt according to at least one of the rotation amplitude and the initial rotation direction.
  35. 根据权利要求34所述的移动平台,其特征在于,所述参数信息包括以下至少一种:力度大小、方位信息、作用位置。The mobile platform according to claim 34, wherein the parameter information includes at least one of the following: strength, orientation information, and acting position.
  36. 根据权利要求35所述的移动平台,其特征在于,所述转动幅度根据所述力度大小确定。The mobile platform of claim 35, wherein the rotation amplitude is determined according to the strength.
  37. 根据权利要求36所述的移动平台,其特征在于,所述转动幅度与所述力度大小正相关。The mobile platform of claim 36, wherein the rotation amplitude is positively correlated with the strength.
  38. 根据权利要求36所述的移动平台,其特征在于,所述转动幅度根据所述作用位置确定。The mobile platform of claim 36, wherein the rotation amplitude is determined according to the action position.
  39. 根据权利要求38所述的移动平台,其特征在于,所述作用位置位于所述机身上和/或所述云台上;The mobile platform according to claim 38, wherein the action position is located on the fuselage and/or on the pan/tilt;
    所述作用位置位于所述云台上时,对应的所述转动幅度不同于所述作用位置位于所述机身上时,对应的所述转动幅度。When the acting position is on the pan/tilt, the corresponding rotation amplitude is different from the corresponding rotation amplitude when the acting position is on the body.
  40. 根据权利要求39所述的移动平台,其特征在于,所述机身包括多个受击面,至少两个所述受击面上的所述作用位置对应的所述转动幅度不同。The mobile platform according to claim 39, wherein the fuselage includes a plurality of hit surfaces, and the rotation amplitudes corresponding to the action positions on at least two of the hit surfaces are different.
  41. 根据权利要求35所述的移动平台,其特征在于,所述初始转动方向为根据所述方位信息和所述作用位置中的至少一个确定。The mobile platform according to claim 35, wherein the initial rotation direction is determined according to at least one of the orientation information and the action position.
  42. 根据权利要求41所述的移动平台,其特征在于,所述方位信息包括所述攻击的来源方向,或所述攻击作用于所述移动平台的力的方向,或用于指示所述攻击的作用位置。The mobile platform according to claim 41, wherein the position information includes the source direction of the attack, or the direction of the force that the attack acts on the mobile platform, or is used to indicate the effect of the attack position.
  43. 根据权利要求41所述的移动平台,其特征在于,当所述作用位置为所述云台或所述机身的左侧时,所述初始转动方向向右;或The mobile platform according to claim 41, wherein when the action position is the left side of the pan/tilt or the fuselage, the initial rotation direction is to the right; or
    当所述作用位置为所述云台或所述机身的右侧时,所述初始转动方向向左;或When the action position is the right side of the pan/tilt or the fuselage, the initial rotation direction is to the left; or
    当所述作用位置为所述机身的前侧时,所述初始转动方向向下;或When the acting position is the front side of the fuselage, the initial rotation direction is downward; or
    当所述作用位置为所述机身的后侧时,所述初始转动方向向上。When the acting position is the rear side of the fuselage, the initial rotation direction is upward.
  44. 根据权利要求34所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 34, wherein the one or more processors, individually or collectively, are further configured to:
    根据所述转动幅度和所述初始转动方向中的至少一个,确定第一位置;Determining the first position according to at least one of the rotation amplitude and the initial rotation direction;
    控制所述云台转动至所述第一位置。Controlling the pan/tilt to rotate to the first position.
  45. 根据权利要求44所述的移动平台,其特征在于,所述第一位置为所述云台绕所述初始转动方向转动所述转动幅度大小后所处的位置。44. The mobile platform according to claim 44, wherein the first position is a position where the pan/tilt head rotates around the initial rotation direction by the magnitude of the rotation amplitude.
  46. 根据权利要求44所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 44, wherein the one or more processors are separately or collectively further configured to:
    在控制所述云台转动至所述第一位置之后,控制所述云台从所述第一位置运动至所述云台的复位位置。After controlling the pan/tilt to rotate to the first position, control the pan/tilt to move from the first position to the reset position of the pan/tilt.
  47. 根据权利要求46所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 46, wherein the one or more processors are separately or collectively further configured to:
    控制所述云台绕第一方向运动,使得所述云台从所述第一位置运动至所述复位位置。The pan/tilt is controlled to move around a first direction, so that the pan/tilt moves from the first position to the reset position.
  48. 根据权利要求46所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 46, wherein the one or more processors are separately or collectively further configured to:
    控制所述云台绕第一方向运动,使得所述云台从所述第一位置运动至第二位置;Controlling the pan/tilt to move around a first direction so that the pan/tilt moves from the first position to the second position;
    控制所述云台绕第二方向运动,使得所述云台从所述第二位置运动至所述复位位置;Controlling the pan/tilt to move in a second direction so that the pan/tilt moves from the second position to the reset position;
    其中,所述第一方向与所述第二方向为相反方向,所述第一位置与所述第二位置位于所述复位位置的两侧。Wherein, the first direction and the second direction are opposite directions, and the first position and the second position are located on both sides of the reset position.
  49. 根据权利要求47或48所述的移动平台,其特征在于,所述第一方向与所述初始转动方向为相反方向。The mobile platform according to claim 47 or 48, wherein the first direction and the initial rotation direction are opposite directions.
  50. 根据权利要求48所述的移动平台,其特征在于,所述第一位置与所述第二位置关于所述复位位置对称设置。The mobile platform of claim 48, wherein the first position and the second position are symmetrically arranged with respect to the reset position.
  51. 根据权利要求34所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 34, wherein the one or more processors, individually or collectively, are further configured to:
    根据所述转动幅度和所述初始转动方向中的至少一个,确定第三位置和第四位置;Determining a third position and a fourth position according to at least one of the rotation amplitude and the initial rotation direction;
    根据所述第三位置和所述第四位置,控制所述云台做周期性的往复运动;According to the third position and the fourth position, controlling the pan/tilt to perform periodic reciprocating movement;
    其中,所述第三位置与所述第四位置关于所述云台的复位位置对称设置,并且,在最后一个周期的往复运动后,所述云台处于所述复位位置。Wherein, the third position and the fourth position are set symmetrically with respect to the reset position of the pan/tilt head, and after the last cycle of reciprocating movement, the pan/tilt head is in the reset position.
  52. 根据权利要求51所述的移动平台,其特征在于,各周期的往复运动的幅度小于或等于所述转动幅度。The mobile platform of claim 51, wherein the amplitude of the reciprocating motion in each period is less than or equal to the rotation amplitude.
  53. 根据权利要求52所述的移动平台,其特征在于,多个周期的往复运动的幅度随时间逐渐减小,且首个周期的往复运动的幅度为所述转动幅度。The mobile platform of claim 52, wherein the amplitude of the reciprocating motion of multiple cycles gradually decreases with time, and the amplitude of the reciprocating motion of the first cycle is the rotation amplitude.
  54. 根据权利要求51所述的移动平台,其特征在于,所述云台在多个周期的往复运动中的复位位置不变;或者The mobile platform according to claim 51, wherein the reset position of the pan/tilt head remains unchanged during multiple cycles of reciprocating motion; or
    所述云台在多个周期的往复运动中的复位位置为变化的。The reset position of the pan/tilt head in multiple cycles of reciprocating motion changes.
  55. 根据权利要求51所述的移动平台,其特征在于,各周期的往复运动对应的所述云台的角度变化曲线为正弦曲线。The mobile platform according to claim 51, wherein the angle change curve of the pan/tilt head corresponding to each cycle of reciprocating motion is a sinusoidal curve.
  56. 根据权利要求51所述的移动平台,其特征在于,各周期的往复运动对应的所述云台的速度变化曲线为余弦曲线。The mobile platform of claim 51, wherein the speed change curve of the pan/tilt head corresponding to each cycle of reciprocating motion is a cosine curve.
  57. 根据权利要求46或51所述的移动平台,其特征在于,所述复位位置包括:所述云台回中时所处的位置、所述检测到所述移动平台受到外部的攻击时所述云台的实时位置、或根据所述检测到所述移动平台受到外部的攻击时由所述云台的期望姿态确定的期望位置。The mobile platform according to claim 46 or 51, wherein the reset position includes: the position of the pan/tilt at the time of returning to the center, and the cloud position when the mobile platform is detected to be attacked by the outside. The real-time position of the platform or the desired position determined by the expected posture of the pan/tilt head when the mobile platform is detected to be attacked by the outside.
  58. 根据权利要求33所述的移动平台,其特征在于,在所述攻击为所述移动平台在同一时刻受到的多个来自外部的攻击时,所述参数信息为对多个所述攻击对应的参数信息进行合并处理后得到。The mobile platform according to claim 33, wherein when the attack is a plurality of external attacks that the mobile platform is subjected to at the same time, the parameter information is a parameter corresponding to the plurality of attacks The information is obtained after merging.
  59. 根据权利要求33所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 33, wherein the one or more processors, individually or collectively, are further configured to:
    在根据所述参数信息,控制所述云台转动的同时,检测到所述移动平台受到外部的新的攻击;While controlling the rotation of the pan/tilt according to the parameter information, it is detected that the mobile platform is subject to a new attack from the outside;
    获取所述新的攻击的参数信息;Acquiring parameter information of the new attack;
    根据所述云台当前的转动信息和所述新的攻击的参数信息,确定新的转动信息;Determine new rotation information according to the current rotation information of the pan/tilt and the parameter information of the new attack;
    根据所述新的转动信息,控制所述云台转动。Controlling the rotation of the pan/tilt according to the new rotation information.
  60. 根据权利要求33所述的移动平台,其特征在于,所述移动平台为第一移动平台,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform according to claim 33, wherein the mobile platform is a first mobile platform, and the one or more processors are separately or collectively further configured to:
    若第二移动平台执行预设操作,则获取基于所述预设操作的预设动作信息,所述第二移动平台为所述第一移动平台的竞争对象;If the second mobile platform performs a preset operation, acquiring preset action information based on the preset operation, and the second mobile platform is a competitor of the first mobile platform;
    根据所述预设动作信息,控制所述云台转动以指示所述第二移动平台执行了所述预设操作且所述云台的运动受限于所述预设操作。According to the preset action information, controlling the rotation of the pan/tilt to instruct the second mobile platform to perform the preset operation and the movement of the pan/tilt is limited by the preset operation.
  61. 根据权利要求33所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 33, wherein the one or more processors, individually or collectively, are further configured to:
    检测到所述机身受到外部的攻击,确定所述移动平台受到外部的攻击。It is detected that the fuselage is attacked by the outside, and it is determined that the mobile platform is attacked by the outside.
  62. 根据权利要求61所述的移动平台,其特征在于,所述攻击包括在所述机身的左侧、右侧、前侧和后侧中的至少一个的攻击。The mobile platform according to claim 61, wherein the attack includes an attack on at least one of the left side, the right side, the front side, and the rear side of the fuselage.
  63. 根据权利要求33所述的移动平台,其特征在于,所述一个或多个处理器单独地或共同地被进一步配置成用于:The mobile platform of claim 33, wherein the one or more processors, individually or collectively, are further configured to:
    检测到所述云台受到外部的攻击,确定所述移动平台受到外部的攻击。It is detected that the PTZ is subject to an external attack, and it is determined that the mobile platform is subject to an external attack.
  64. 根据权利要求63所述的移动平台,其特征在于,所述攻击包括在所述云台的左侧和右侧中的至少一个的攻击。The mobile platform of claim 63, wherein the attack includes an attack on at least one of the left side and the right side of the pan-tilt.
PCT/CN2019/084482 2019-04-26 2019-04-26 Gimbal control method and mobile platform WO2020215302A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980008902.0A CN111656764B (en) 2019-04-26 2019-04-26 Holder control method and mobile platform
PCT/CN2019/084482 WO2020215302A1 (en) 2019-04-26 2019-04-26 Gimbal control method and mobile platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/084482 WO2020215302A1 (en) 2019-04-26 2019-04-26 Gimbal control method and mobile platform

Publications (1)

Publication Number Publication Date
WO2020215302A1 true WO2020215302A1 (en) 2020-10-29

Family

ID=72352599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084482 WO2020215302A1 (en) 2019-04-26 2019-04-26 Gimbal control method and mobile platform

Country Status (2)

Country Link
CN (1) CN111656764B (en)
WO (1) WO2020215302A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023040457A1 (en) * 2021-09-15 2023-03-23 浙江宇视科技有限公司 Cruise method and apparatus for heavy gimbal, storage medium, and electronic device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066413A1 (en) * 2005-09-19 2007-03-22 Betch Irvin Jr Variable slope, golf course simulator
CN105045293A (en) * 2015-05-27 2015-11-11 深圳一电科技有限公司 Cradle head control method, external carrier control method and cradle head
CN105137850A (en) * 2015-10-19 2015-12-09 黑龙江大学 Laser shoot vehicle, and countermeasure system and countermeasure method based on vehicle
CN105227936A (en) * 2015-10-30 2016-01-06 浙江宇视科技有限公司 The control method of a kind of tripod head equipment and tripod head equipment
CN106029185A (en) * 2014-05-06 2016-10-12 深圳市大疆创新科技有限公司 Apparatus, systems, and methods for detecting projectile hits on a surface
CN106871730A (en) * 2017-03-17 2017-06-20 北京军石科技有限公司 A kind of full landform intelligent mobile target system of shoot training of light weapons
CN207163328U (en) * 2017-08-25 2018-03-30 吉林省羽麦科技有限公司 A kind of laser induced gunnery system of unmanned plane
CN208389335U (en) * 2018-04-24 2019-01-18 苏州儒博特科技有限公司 A kind of system suitable for unmanned plane laser countermeasure (s) shooting game
CN208611752U (en) * 2018-06-22 2019-03-19 苏州儒博特科技有限公司 A kind of system suitable for unmanned plane confrontation fire game
CN208710982U (en) * 2018-06-22 2019-04-09 苏州儒博特科技有限公司 A kind of multifunction electronic target

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205699435U (en) * 2016-04-07 2016-11-23 骅星科技发展有限公司 A kind of sports robot toy
CN206095057U (en) * 2016-08-30 2017-04-12 广州蓝海机器人系统有限公司 Target practice gunnery training robot that can speech control
CN109591716A (en) * 2018-12-24 2019-04-09 广州亚美信息科技有限公司 A kind of Vehicular video monitoring processing method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066413A1 (en) * 2005-09-19 2007-03-22 Betch Irvin Jr Variable slope, golf course simulator
CN106029185A (en) * 2014-05-06 2016-10-12 深圳市大疆创新科技有限公司 Apparatus, systems, and methods for detecting projectile hits on a surface
CN105045293A (en) * 2015-05-27 2015-11-11 深圳一电科技有限公司 Cradle head control method, external carrier control method and cradle head
CN105137850A (en) * 2015-10-19 2015-12-09 黑龙江大学 Laser shoot vehicle, and countermeasure system and countermeasure method based on vehicle
CN105227936A (en) * 2015-10-30 2016-01-06 浙江宇视科技有限公司 The control method of a kind of tripod head equipment and tripod head equipment
CN106871730A (en) * 2017-03-17 2017-06-20 北京军石科技有限公司 A kind of full landform intelligent mobile target system of shoot training of light weapons
CN207163328U (en) * 2017-08-25 2018-03-30 吉林省羽麦科技有限公司 A kind of laser induced gunnery system of unmanned plane
CN208389335U (en) * 2018-04-24 2019-01-18 苏州儒博特科技有限公司 A kind of system suitable for unmanned plane laser countermeasure (s) shooting game
CN208611752U (en) * 2018-06-22 2019-03-19 苏州儒博特科技有限公司 A kind of system suitable for unmanned plane confrontation fire game
CN208710982U (en) * 2018-06-22 2019-04-09 苏州儒博特科技有限公司 A kind of multifunction electronic target

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023040457A1 (en) * 2021-09-15 2023-03-23 浙江宇视科技有限公司 Cruise method and apparatus for heavy gimbal, storage medium, and electronic device

Also Published As

Publication number Publication date
CN111656764B (en) 2022-03-25
CN111656764A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
US8556716B2 (en) Image generation system, image generation method, and information storage medium
US10589176B2 (en) Method of providing a virtual space, medium for causing a computer to execute the method, and system for providing a virtual space
US10661174B2 (en) Image generation system, image generation method, and information storage medium
JP5800473B2 (en) Information processing program, information processing apparatus, information processing system, and information processing method
US10030937B2 (en) System and method for marksmanship training
Sueishi et al. Robust high-speed tracking against illumination changes for dynamic projection mapping
CN111179679B (en) Shooting training method and device, terminal equipment and storage medium
US9993733B2 (en) Infrared reflective device interactive projection effect system
US10564250B2 (en) Device and method for measuring flight data of flying objects using high speed video camera and computer readable recording medium having program for performing the same
JP2011255119A (en) Information processing program, information processing apparatus, information processing system, and information processing method
US10546431B2 (en) Systems and methods to augment an appearance of physical object for an augmented reality experience
CN102203695A (en) Control device for communicating visual information
US10942619B2 (en) Interactive reality activity augmentation
JP2006018476A (en) Method for controlling display of image
KR102464170B1 (en) Tennis self-training system
WO2020215302A1 (en) Gimbal control method and mobile platform
WO2021174391A1 (en) Acquisition method and device for game screen, and method and device for controlling photographing device
US20180253902A1 (en) Method executed on computer for providing object in virtual space, program for executing the method on the computer, and computer apparatus
US20190236843A1 (en) Real physical objects interacting with augmented reality features
US20190126139A1 (en) Calibration of a magnetometer for augmented reality experience
CN202133957U (en) Face recognition-based projection system moving along with view line of first person
US20130109451A1 (en) Game system, control method therefor, and a storage medium storing a computer program
JP2017185318A (en) Information processing program, information processing device, information processing system and information processing method
KR20170025234A (en) golf ball cognition device using camera
CN116531765B (en) Shooting result generation method and device for shooting training of shooting range and 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: 19925918

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: 19925918

Country of ref document: EP

Kind code of ref document: A1