CN113422905A - Automatic control method and system for movement locus of focus follower - Google Patents

Automatic control method and system for movement locus of focus follower Download PDF

Info

Publication number
CN113422905A
CN113422905A CN202110693148.8A CN202110693148A CN113422905A CN 113422905 A CN113422905 A CN 113422905A CN 202110693148 A CN202110693148 A CN 202110693148A CN 113422905 A CN113422905 A CN 113422905A
Authority
CN
China
Prior art keywords
information
focus follower
robot control
instruction
control end
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110693148.8A
Other languages
Chinese (zh)
Other versions
CN113422905B (en
Inventor
董逸楠
李炼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Versatile Media Co ltd
Original Assignee
Zhejiang Versatile Media Co ltd
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 Zhejiang Versatile Media Co ltd filed Critical Zhejiang Versatile Media Co ltd
Priority to CN202110693148.8A priority Critical patent/CN113422905B/en
Publication of CN113422905A publication Critical patent/CN113422905A/en
Application granted granted Critical
Publication of CN113422905B publication Critical patent/CN113422905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/18Focusing aids
    • 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/67Focus control based on electronic image sensor signals
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides an automatic control method and system for a movement track of a focus follower, which relate to the technical field of focus followers and comprise the following steps: acquiring an IP address, a port number, starting control information and starting a server; detecting the connection information of the robot control end, and establishing connection according to the connection information; acquiring and sending a first setting instruction to a robot control end, and setting the current position of a focus follower as a motion zero point; acquiring and sending a speed adjusting instruction to a robot control end, so that the robot control end adjusts the rotating speed of a focus follower; acquiring a position storage instruction, and sequentially storing position information and used time information of the focus follower when the robot control end controls the focus follower to rotate to an ideal position; and acquiring and sending a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the position information and the used time information of the focus follower which are stored in sequence, and the focus follower can be controlled simply and quickly to finish various functions required by shooting.

Description

Automatic control method and system for movement locus of focus follower
Technical Field
The invention relates to the technical field of focus followers, in particular to an automatic control method and system for a motion track of a focus follower.
Background
With the update of science and technology, the film and television industry is also developing towards automation. The introduction of industrial robots into the film and television industry is a good attempt in view of their automation, stability, accuracy and programmability.
In order to realize automatic shooting of videos and films by means of an industrial robot, the industrial robot needs to be controlled correspondingly, but industrial robot manufacturers are in the video field and have little hunting, so that relevant supporting software is not available for controlling various devices required for shooting, such as a focus follower. The focus follower is one of the important accessories in the film and television shooting process, and most of the focus followers are small motors which can be controlled. A transmission gear is arranged on a controlled motor shaft, the gear is meshed with the lens focusing ring, and the motor rotates and drives the lens focusing ring to rotate so as to realize the function of controlling the focus of the lens in real time in the video shooting process.
Because the motors provided by the robot manufacturer do not meet the size requirement of the coke follower, and other motors cannot be identified by the robot control end, an upper computer system is required to be independently developed for controlling the coke follower.
Disclosure of Invention
The invention aims to solve the problems in the background art, provides an automatic control method and system for the motion track of a focus follower, and realizes various functions required by shooting by simply and quickly controlling the focus follower.
In order to achieve the above object, the present invention firstly provides an automatic control method for a motion trajectory of a focus follower, comprising: acquiring an IP address, a port number, starting control information and starting a server; detecting the connection information of the robot control end, and establishing connection between the server end and the robot control end according to the connection information; acquiring and sending a first setting instruction to a robot control end, and setting the current position of a focus follower as a motion zero point; acquiring and sending a speed adjusting instruction to a robot control end, so that the robot control end adjusts the rotating speed of a focus follower; acquiring a position storage instruction, and sequentially storing position information and used time information of the focus follower when the robot control end controls the focus follower to rotate to an ideal position; and acquiring and sending a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and the used time information of the focus follower.
Optionally, the method further includes: displaying the sequentially stored position information and the used time information of the focus follower in a track window of a server end in an editable point form; acquiring a first position editing instruction, and entering an editing mode; receiving an editing instruction of an editable point, and setting the editable point as a target point; after the focus follower is controlled to finely adjust the position of the target point, storing the position information and the used time information of the focus follower after fine adjustment; updating the fine-tuned target point in the track window; and acquiring a second instruction for position editing, and exiting the editing mode.
Optionally, the method further includes: displaying the instruction information of the server and the feedback information of the robot control end according to the instructions in a receiving window of the server; detecting the connection relation between the server side and the robot control side, and if the connection relation is disconnected, displaying prompt information in a receiving window of the server side; and acquiring a server restart instruction and reestablishing the connection.
Optionally, the acquiring the IP address, the port number, the opening control information, and opening the server specifically includes: respectively acquiring IP address and port number information input in a window text box; combining the IP address and the port number information; creating a socket; setting parameters to enable the socket to use an IPv4 address, a streaming mode and a TCP transmission data protocol; and binding point by using a Bind function for the socket.
Optionally, the step of enabling the robot control end to control the focus follower to perform different motions by sending an instruction specifically includes: setting the position information of the focus follower according to the instruction; carrying out positive and negative judgment on the set position information of the focus follower, then carrying out bit complement by using zero and converting the position information into a byte array coded by UTF 8; sending the byte array serving as the instruction to a robot control end through a Send function of the socket; and the robot control end controls the focus follower to move differently according to the received byte array.
The embodiment of the invention also provides an automatic control system of the movement track of the focus follower, which comprises the following components: the server starting module is configured to acquire an IP address, a port number, starting control information and start a server end; the server robot connection module is configured to detect connection information of the robot control end and establish connection between the server end and the robot control end according to the connection information; the first setting module is configured to acquire and send a first setting instruction to the robot control end, and the current position of the focus follower is set as a motion zero point; the speed adjusting module is configured to acquire and send a speed adjusting instruction to the robot control end, so that the robot control end adjusts the rotation speed of the focus follower; the position storage module is configured to obtain a position storage instruction, so that when the robot control end controls the focus follower to rotate to an ideal position, the position information and the used time information of the focus follower are stored in sequence; and the motion track playing module is configured to acquire and send a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and the used time information of the focus follower.
Optionally, the method further includes: the display editing module is configured to display the sequentially stored position information and the used time information of the focus follower in a track window of the server end in an editable point form; the first position editing module is configured to acquire a first position editing instruction and enter an editing mode; a target point setting module configured to receive an edit instruction for an editable point, and set the editable point as a target point; the fine-tuning storage module is configured to control the focus follower to perform fine tuning on the position of the target point, and then store the position information and the used time information of the focus follower after the fine tuning; an update module configured to update the trimmed target point within a trajectory window; a second location editing module configured to obtain a second location editing instruction and exit the editing mode.
Optionally, the method further includes: the receiving and displaying module is configured to display each instruction information of the server end and the feedback information of the robot control end according to each instruction in a receiving window of the server end; the disconnection prompting module is configured to detect the connection relation between the server side and the robot control side, and if the connection relation is disconnected, prompt information is displayed in a receiving window of the server side; a reconnect module configured to obtain a server restart instruction and reestablish a connection.
Optionally, the server starting module further includes: the acquisition module is configured to respectively acquire the IP address and the port number information input in the window text box; a combining module configured to combine the IP address, port number information; a socket creation module configured to create a socket; a parameter setting module configured to set parameters to cause the socket to use an IPv4 address, a streaming mode, a TCP transport data protocol; a binding module configured to Bind point to the socket using a Bind function.
Optionally, the method further includes: a setting module configured to set focus follower position information according to an instruction; the conversion module is configured to perform positive and negative judgment on the set position information of the focus follower, perform zero padding on the positive and negative judgment, and convert the positive and negative judgment into a byte array encoded by UTF 8; a sending module configured to Send a byte array as an instruction to a robot control end through a Send function of a socket; the receiving module is configured to control the focus follower to move differently by the robot control end according to the received byte array.
The invention has the beneficial effects that:
the automatic control method and the system for the movement track of the focus follower provided by the embodiment of the invention can control the rotation of the focus follower, and can also realize the functions of storing positions and time points, drawing a movement curve, modifying position points, playing the movement track and the like by sending corresponding instructions to the robot control end through the client, thereby realizing the automatic shooting of videos and films. Compared with the traditional complicated operation software, the software interface of the embodiment of the invention is simple and clear, and the operation is convenient and easy, so that operators without system training can quickly control the operation.
The automatic control method and system for the movement track of the focus follower provided by the embodiment of the invention have the advantages of simple connection, convenience in operation, concise interface and stable communication, and the client software of the embodiment of the invention is independent of the control system of the robot control end, so that the limitation of motor type selection is broken through, and the possibility is provided for the selection of more peripherals.
The features and advantages of the present invention will be described in detail by embodiments in conjunction with the accompanying drawings.
Drawings
Fig. 1 is a flow chart of a method for automatically controlling a movement locus of a focus follower according to an embodiment of the present invention;
fig. 2 is a software interface schematic diagram of an automatic control method for a movement locus of a focus follower according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a software interface state when the automatic control method for a movement track of a focus follower according to the embodiment of the present invention sends a play instruction to control the movement track of the focus follower;
fig. 4 is a second flowchart of the automatic control method for the movement locus of the focus follower according to the embodiment of the present invention;
fig. 5 is a schematic diagram of a state of a software interface after position points are finely adjusted by an automatic control method for a movement track of a focus follower according to an embodiment of the present invention;
fig. 6 is a third flowchart of the automatic control method for the movement locus of the focus tracker according to the embodiment of the present invention;
fig. 7 is a fourth flowchart of the automatic control method for the movement locus of the focus follower according to the embodiment of the present invention;
fig. 8 is a fifth flowchart of the automatic control method for the movement locus of the focus follower according to the embodiment of the present invention;
fig. 9 is a block diagram of an automatic control system for a movement locus of a focus follower according to an embodiment of the present invention;
fig. 10 is a second block diagram of the automatic control system for the movement locus of the focus follower according to the embodiment of the present invention;
fig. 11 is a third structural block diagram of an automatic control system for a movement locus of a focus follower according to the embodiment of the present invention;
fig. 12 is a fourth block diagram of the automatic control system for the movement locus of the focus follower according to the embodiment of the present invention;
fig. 13 is a fifth structural block diagram of an automatic control system of a movement locus of a focus follower according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to specific examples in order to facilitate understanding by those skilled in the art.
Referring to fig. 1, an automatic control method for a movement track of a focus follower provided in an embodiment of the present invention includes the following steps:
step S110: and acquiring the IP address, the port number, the opening control information and opening the server.
Referring to fig. 2, a software interface diagram according to an embodiment of the present invention is shown, in which firstly, an IP address input area of a server is used, and an IP address input last time is reserved by default after software is started each time; thirdly, a port number input area of the server port is reserved by default after software is started each time; and fourthly, starting the control information input area, inputting the IP address and the port number in the server end IP address input area and the server end port number input area, clicking the control information input area to start the server and waiting for the connection between the robot control ends.
Step S120: and detecting the connection information of the robot control end, and establishing connection between the server end and the robot control end according to the connection information.
And secondly, displaying an IP address and a port number of the robot control end in a display area, wherein the IP address and the port number can be displayed after the connection information of the robot control end is detected. The robot control end with the first connection success can be selected as a sending target by default, and if the sending target of the instruction needs to be changed, the small arrow on the right side of the area can be clicked to change.
Step S130: and acquiring and sending a first setting instruction to a robot control end, and setting the current position of the focus follower as a motion zero point.
And ninthly, setting buttons of Set 0, Set Min and Set Max are adopted, corresponding setting instructions can be sent through the setting buttons, and the current position of the focus follower is Set to be zero, the minimum value and the maximum value respectively. In the embodiment of the invention, the server end is connected with the robot control end and then sends the first setting instruction to the robot control end, and the current position of the focus follower, namely the current numerical value of the lens focusing ring is set as the motion zero point, so that the follow-up operation is convenient. In other embodiments, other set commands may be used on their own to set the minimum and maximum positions after the focal follower has rotated.
Step S140: and acquiring and sending a speed adjusting instruction to the robot control end, so that the robot control end can adjust the rotating speed of the focus follower.
Wherein the content of the first and second substances,
Figure BDA0003127449410000061
for the Speed adjusting control Speed, a Speed adjusting instruction can be sent by clicking plus or minus signs on two sides of the Speed adjusting control Speed or directly inputting numbers, so that the robot control end can adjust the rotating Speed of the focus follower, the rotating Speed range of the focus follower can be adjusted by the Speed adjusting instruction to be 1-20, the focus follower can be defaulted to be 1 when the rotating Speed is less than 1, and the focus follower can be defaulted to be 20 when the rotating Speed is more than 20.
Step S150: and acquiring a position storage instruction, and sequentially storing position information and used time information of the focus follower when the robot control end controls the focus follower to rotate to an ideal position.
Wherein the content of the first and second substances,
Figure BDA0003127449410000062
and the position saving control Save is used for controlling the focus follower to rotate to an ideal position, and the position saving control Save is clicked to store the position information and the used time information of the focus follower.
Figure BDA0003127449410000063
And the track window is used for displaying the stored position information and the used time information of the focus follower, the abscissa is time, and the ordinate is position. After the corresponding position saving instruction is generated through the position saving control Save, corresponding dots existWhen the mouse is placed on a small point, the horizontal and vertical coordinate information of the point can be displayed, corresponding to the position and time information of the mouse, when the mouse is placed in the track window. Sixthly, the method comprises the following steps: namely, a receiving window, in which feedback information of each instruction and information sent to the server side by the robot control side are displayed.
Referring to fig. 3, the receiving window and the track window display specific position information and used time information of the focus follower, and in this embodiment, the first step is: the rotation speed of the focus follower is adjusted to 2 through the first speed adjusting instruction, the CW is clicked to enable the focus follower to rotate forwards to the position 10, the position saving control Save is clicked to obtain the first position saving instruction to Save the current position point 1, the point 1 is the initial point, and therefore time is defaulted to zero.
The second step is that: the rotating speed of the focus follower is adjusted to 4 through a second speed adjusting instruction, the CW is clicked to enable the focus follower to rotate forwards to a position 50, the position saving control Save is clicked to obtain a second position saving instruction to Save a current position point 2, and the time is spent: 1000 ms.
The third step: the rotating speed of the focus follower is adjusted to 6 through a third speed adjusting instruction, the CCW is clicked to enable the focus follower to be reversed to a position-16, the position saving control Save is clicked to obtain a third position saving instruction to Save a current position point 3, and time is spent: 1100 ms.
The fourth step: the rotating speed of the focus follower is adjusted to 10 through a fourth speed adjusting instruction, the CW is clicked to enable the focus follower to rotate forwards to the position 174, the position saving control Save is clicked to obtain a fourth position saving instruction to Save the current position point 4, and the time is spent: 1900 ms.
The fifth step: adjusting the rotating speed of the focus follower to 4 through a fifth speed adjusting instruction, clicking the CCW to enable the focus follower to rotate reversely to a position-138, clicking a position saving control Save to obtain a fifth position saving instruction to Save a current position point 5, and spending time: 7800 ms.
Step S160: and acquiring and sending a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and the used time information of the focus follower.
In the present embodiment, in the controlThe focus follower rotates to a series of ideal positions and sequentially stores position information and used time information of the focus follower, and then the focus follower returns to a zero position; click on
Figure BDA0003127449410000071
The Play control is played to send a Play instruction. Referring to fig. 3, the receiving window and the track window display specific position information and time information of the focus follower, the focus follower will rotate forward to the position 10 of point 1, and the focus follower will spend the set time to move to point 2, point 3, point 4, and point 5 and stop moving according to the stored track.
Referring to fig. 4, in an embodiment, the method for automatically controlling the movement trace of the focus follower further includes:
step S210: and displaying the sequentially stored position information and the used time information of the focus follower in a track window of the server end in the form of editable points.
Step S220: and acquiring a first position editing instruction and entering an editing mode. Referring to fig. 3, in this embodiment, the positions of the point 4 and the point 5 are not satisfied, and the Edit control Edit is clicked to enter the Edit mode.
Step S230: receiving an editing instruction for an editable point, and setting the editable point as a target point. In this embodiment, a small point representing point 4 in the track window is clicked, the receiving window jumps out of the information of editing point 4, and a small point representing point 5 in the track window is clicked, so that the receiving window jumps out of the information of editing point 5.
Step S240: and controlling the focus follower to finely adjust the position of the target point, and storing the position information and the used time information of the focus follower after fine adjustment. In this embodiment, click the small point representing point 4 in the track window, click CCW to invert the focus follower to position 170 after the receiving window jumps out of the information of editing point 4, click Save and modify; clicking a small point representing the point 5 in the track window, and clicking CW to enable the focus follower to rotate forward to a position of-120 after the receiving window jumps out of the information of the point 5 being edited; click Save the modification.
Step S250: updating the fine-tuned target point in the track window; referring to fig. 3 and 5, after the position fine adjustment operation, point 4 at position 174 and point 5 at position-138 in the window of fig. 3 are updated to 170 and-120, respectively. The focal length information and the elapsed time information in the reception window are also updated to the fine-tuned state.
Step S260: and acquiring a second instruction for position editing, and exiting the editing mode. Click the Edit button again, exit the editing mode, click the playable track after the change.
Referring to fig. 6, in an embodiment, the method for automatically controlling the movement trace of the focus follower further includes:
step S310: displaying the instruction information of the server and the feedback information of the robot control end according to the instructions in a receiving window of the server;
step S320: and detecting the connection relation between the server side and the robot control side, and if the connection relation is disconnected, displaying prompt information in a receiving window of the server side.
Step S330: acquiring a server restart instruction and reestablishing connection, and reestablishing connection after restarting software by clicking a restart button; and if not, sending an instruction to the robot control end.
Referring to fig. 7, in an embodiment, the step S110 of acquiring an IP address, a port number, and opening control information and opening a server specifically includes:
step S410: and respectively acquiring the IP address and the port number information input in the window text box. The specific code is IPAddress.Parse (a.Text), and the code firstly acquires IP address and port number information input in a window text box, wherein a represents the text box of the input IP address.
Step S420: and combining the IP address and the port number information. The specific code is IPEndPoint (IP, int.part (b.text)), and the code combines an IP address and a port number through one IPEndPoint, where b represents a text box of the port number.
Step S430: a socket is created.
Step S440: and setting parameters to enable the socket to use an IPv4 address, a streaming mode and a TCP transmission data protocol. The specific code is a Socket ═ new Socket (address family, internetwork, Socket type, stream, protocol type, TCP), and the code is enabled to use an IPv4 address, a streaming Socket manner, and a TCP protocol to transmit data by setting parameters.
Step S450: and binding point by using a Bind function for the socket. The specific code is socket.bind (point), and after step S440 is completed, the IP address and the port number bound by the socket are notified, that is, the point is bound by using a Bind function.
Thus, the preparation work for starting the server end is basically completed through the steps S410 to S450, and then the connection of the robot control end can be monitored and waited in real time by matching with other receiving functions, and the communication function is realized after the connection of the robot control end is successful.
Referring to fig. 8, in an embodiment, the step of enabling the robot control end to control the focus follower to perform different motions by sending a command specifically includes:
step S510: setting the position information of the focus follower according to the instruction;
step S520: carrying out positive and negative judgment on the set position information of the focus follower, then carrying out bit complement by using zero and converting the position information into a byte array coded by UTF 8; the specific code is as follows:
byte [ ] buffer ═ encoding.utf8.getbytes ("MW" + (pos < 0? "- (((-pos). tosting (). PadLeft (3, '0')): pos.tosting (). PadLeft (4, '0')))); and pos is a numerical value of the position, and the pos is subjected to positive and negative judgment and then subjected to bit complementing by 0, so that the number sent to the robot control end, including a negative number, is ensured to be four bits in total, and the follow-up processing of the robot control end is facilitated.
Step S530: sending the byte array serving as the instruction to a robot control end through a Send function of the socket; the specific code is as follows: send (buffer). s is to obtain a socket for communication, and Send information to the robot control end using the Send function.
Step S540: and the robot control end controls the focus follower to move differently according to the received byte array.
Referring to fig. 9, in an embodiment, there is provided an automatic control system for a movement trace of a focus follower, including:
a server opening module 610 configured to acquire an IP address, a port number, opening control information, and open a server side;
a server robot connection module 620 configured to detect connection information of a robot control terminal and establish a connection between the server terminal and the robot control terminal according to the connection information;
a first setting module 630, configured to obtain and send a first setting instruction to the robot control end, and set the current position of the focus tracker as a motion zero point;
a speed adjustment module 640 configured to obtain and send a speed adjustment instruction to the robot control end, so that the robot control end adjusts the rotation speed of the focus follower;
a position saving module 650 configured to obtain a position saving instruction, so that when the robot control end controls the focus follower to rotate to an ideal position, the position information and the used time information of the focus follower are sequentially stored;
and a motion track playing module 660, configured to acquire and send a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and used time information of the focus follower.
Referring to fig. 10, in an embodiment, the system for automatically controlling the movement trace of the focus follower further includes:
a display editing module 710 configured to display the sequentially stored position information and used time information of the focus follower in a form of editable points in a track window of the server;
a first position editing module 720, configured to obtain a first instruction for position editing, and enter an editing mode;
a target point setting module 730 configured to receive an edit instruction for an editable point, and set the editable point as a target point;
a fine-tuning storage module 740 configured to store the position information and the used time information of the focus follower after controlling the focus follower to perform fine tuning on the position of the target point;
an update module 750 configured to update the trimmed target points within a trajectory window;
a second location editing module 760 configured to obtain a second instruction for location editing and exit the editing mode.
Referring to fig. 11, in an embodiment, the system for automatically controlling the movement trace of the focus follower further includes:
a receiving and displaying module 810 configured to display each instruction information of the server side and feedback information of the robot control side according to each instruction in a receiving window of the server side;
a disconnection prompting module 820 configured to detect a connection relationship between the server side and the robot control side, and if the connection relationship is disconnected, display a prompting message in the server side receiving window;
a reconnect module 830 configured to obtain a server reboot instruction and reestablish a connection.
Referring to fig. 12, in an embodiment, the server startup module 610 further includes:
an obtaining module 910, configured to obtain information of an IP address and a port number input in a window text box, respectively;
a combining module 920 configured to combine the IP address, port number information;
a socket creation module 930 configured to create a socket;
a parameter setting module 940 configured to set parameters to cause the socket to use an IPv4 address, a streaming mode, a TCP transport data protocol;
a binding module 950 configured to Bind point to the socket using a Bind function.
Referring to fig. 13, in an embodiment, the system for automatically controlling the movement trace of the focus follower further includes:
a setting module 1010 configured to set focus follower position information according to an instruction;
a conversion module 1020, configured to perform positive and negative judgment on the set focal tracker position information, perform zero padding on the positive and negative judgment information, and convert the positive and negative judgment information into a byte array encoded by UTF 8;
a sending module 1030 configured to Send a byte array as an instruction to the robot control end through a Send function of the socket;
a receiving module 1040, configured to control the robot control end to make different movements of the focus follower according to the received byte array.
The above embodiments are illustrative of the present invention, and are not intended to limit the present invention, and any simple modifications of the present invention are within the scope of the present invention. The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (10)

1. An automatic control method for a motion trail of a focus follower is characterized by comprising the following steps:
acquiring an IP address, a port number, starting control information and starting a server;
detecting the connection information of the robot control end, and establishing connection between the server end and the robot control end according to the connection information;
acquiring and sending a first setting instruction to a robot control end, and setting the current position of a focus follower as a motion zero point;
acquiring and sending a speed adjusting instruction to a robot control end, so that the robot control end adjusts the rotating speed of a focus follower;
acquiring a position storage instruction, and sequentially storing position information and used time information of the focus follower when the robot control end controls the focus follower to rotate to an ideal position;
and acquiring and sending a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and the used time information of the focus follower.
2. The automatic control method of the movement locus of the focus tracker according to claim 1, further comprising:
displaying the sequentially stored position information and the used time information of the focus follower in a track window of a server end in an editable point form;
acquiring a first position editing instruction, and entering an editing mode;
receiving an editing instruction of an editable point, and setting the editable point as a target point;
after the focus follower is controlled to finely adjust the position of the target point, storing the position information and the used time information of the focus follower after fine adjustment;
updating the fine-tuned target point in the track window;
and acquiring a second instruction for position editing, and exiting the editing mode.
3. The automatic control method of the movement locus of the focus tracker according to claim 1, further comprising:
displaying the instruction information of the server and the feedback information of the robot control end according to the instructions in a receiving window of the server;
detecting the connection relation between the server side and the robot control side, and if the connection relation is disconnected, displaying prompt information in a receiving window of the server side;
and acquiring a server restart instruction and reestablishing the connection.
4. The automatic control method for the movement locus of the focus tracker according to claim 1, wherein the acquiring the IP address, the port number, the starting control information, and the starting the server specifically comprises:
respectively acquiring IP address and port number information input in a window text box;
combining the IP address and the port number information;
creating a socket;
setting parameters to enable the socket to use an IPv4 address, a streaming mode and a TCP transmission data protocol;
and binding point by using a Bind function for the socket.
5. The automatic control method of the movement track of the focus follower according to claim 1, wherein the step of enabling the robot control end to control the focus follower to perform different movements by sending an instruction specifically comprises the steps of:
setting the position information of the focus follower according to the instruction;
carrying out positive and negative judgment on the set position information of the focus follower, then carrying out bit complement by using zero and converting the position information into a byte array coded by UTF 8;
sending the byte array serving as the instruction to a robot control end through a Send function of the socket;
and the robot control end controls the focus follower to move differently according to the received byte array.
6. An automatic control system of a motion trail of a focus follower is characterized by comprising:
the server starting module is configured to acquire an IP address, a port number, starting control information and start a server end;
the server robot connection module is configured to detect connection information of the robot control end and establish connection between the server end and the robot control end according to the connection information;
the first setting module is configured to acquire and send a first setting instruction to the robot control end, and the current position of the focus follower is set as a motion zero point;
the speed adjusting module is configured to acquire and send a speed adjusting instruction to the robot control end, so that the robot control end adjusts the rotation speed of the focus follower;
the position storage module is configured to obtain a position storage instruction, so that when the robot control end controls the focus follower to rotate to an ideal position, the position information and the used time information of the focus follower are stored in sequence;
and the motion track playing module is configured to acquire and send a playing instruction to the robot control end, so that the robot control end controls the motion track of the focus follower according to the sequentially stored position information and the used time information of the focus follower.
7. The automatic control system of the motion trajectory of the focus follower of claim 6, further comprising:
the display editing module is configured to display the sequentially stored position information and the used time information of the focus follower in a track window of the server end in an editable point form;
the first position editing module is configured to acquire a first position editing instruction and enter an editing mode;
a target point setting module configured to receive an edit instruction for an editable point, and set the editable point as a target point;
the fine-tuning storage module is configured to control the focus follower to perform fine tuning on the position of the target point, and then store the position information and the used time information of the focus follower after the fine tuning;
an update module configured to update the trimmed target point within a trajectory window;
a second location editing module configured to obtain a second location editing instruction and exit the editing mode.
8. The automatic control system of the motion trajectory of the focus follower of claim 6, further comprising:
the receiving and displaying module is configured to display each instruction information of the server end and the feedback information of the robot control end according to each instruction in a receiving window of the server end;
the disconnection prompting module is configured to detect the connection relation between the server side and the robot control side, and if the connection relation is disconnected, prompt information is displayed in a receiving window of the server side;
a reconnect module configured to obtain a server restart instruction and reestablish a connection.
9. The system of claim 6, wherein the server turn-on module further comprises:
the acquisition module is configured to respectively acquire the IP address and the port number information input in the window text box;
a combining module configured to combine the IP address, port number information;
a socket creation module configured to create a socket;
a parameter setting module configured to set parameters to cause the socket to use an IPv4 address, a streaming mode, a TCP transport data protocol;
a binding module configured to Bind point to the socket using a Bind function.
10. The automatic control system of the motion trajectory of the focus follower of claim 6, further comprising:
a setting module configured to set focus follower position information according to an instruction;
the conversion module is configured to perform positive and negative judgment on the set position information of the focus follower, perform zero padding on the positive and negative judgment, and convert the positive and negative judgment into a byte array encoded by UTF 8;
a sending module configured to Send a byte array as an instruction to a robot control end through a Send function of a socket;
the receiving module is configured to control the focus follower to move differently by the robot control end according to the received byte array.
CN202110693148.8A 2021-06-22 2021-06-22 Automatic control method and system for movement locus of focus follower Active CN113422905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110693148.8A CN113422905B (en) 2021-06-22 2021-06-22 Automatic control method and system for movement locus of focus follower

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110693148.8A CN113422905B (en) 2021-06-22 2021-06-22 Automatic control method and system for movement locus of focus follower

Publications (2)

Publication Number Publication Date
CN113422905A true CN113422905A (en) 2021-09-21
CN113422905B CN113422905B (en) 2022-09-16

Family

ID=77716126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110693148.8A Active CN113422905B (en) 2021-06-22 2021-06-22 Automatic control method and system for movement locus of focus follower

Country Status (1)

Country Link
CN (1) CN113422905B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115294508A (en) * 2022-10-10 2022-11-04 成都唐米科技有限公司 Focus following method and system based on static space three-dimensional reconstruction and camera system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264436A (en) * 2013-04-05 2016-01-20 安德拉运动技术股份有限公司 System and method for controlling equipment related to image capture
CN107431749A (en) * 2015-11-25 2017-12-01 深圳市大疆灵眸科技有限公司 A kind of focus tracking control method and apparatus and system
CN207518714U (en) * 2017-10-24 2018-06-19 广州新域爱摩电子科技有限公司 Wireless focus tracking
CN108541295A (en) * 2017-08-04 2018-09-14 深圳市大疆灵眸科技有限公司 Remote controler
CN108985225A (en) * 2018-07-13 2018-12-11 北京猎户星空科技有限公司 Focus follower method, device, electronic equipment and storage medium
CN110293584A (en) * 2019-07-29 2019-10-01 韩城韩韩文旅产业发展集团有限公司 A kind of holder of video display Te Pai robot without dead angle
WO2019232800A1 (en) * 2018-06-08 2019-12-12 Hangzhou Taruo Information Technology Co., Ltd. Automatic follow focus for camera device
CN112154657A (en) * 2019-07-16 2020-12-29 深圳市大疆创新科技有限公司 Control method and device of shooting device, handheld cloud deck and storage medium
JP2021085936A (en) * 2019-11-26 2021-06-03 キヤノン株式会社 Imaging apparatus, and control method and program of imaging apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105264436A (en) * 2013-04-05 2016-01-20 安德拉运动技术股份有限公司 System and method for controlling equipment related to image capture
CN107431749A (en) * 2015-11-25 2017-12-01 深圳市大疆灵眸科技有限公司 A kind of focus tracking control method and apparatus and system
CN108541295A (en) * 2017-08-04 2018-09-14 深圳市大疆灵眸科技有限公司 Remote controler
CN207518714U (en) * 2017-10-24 2018-06-19 广州新域爱摩电子科技有限公司 Wireless focus tracking
WO2019232800A1 (en) * 2018-06-08 2019-12-12 Hangzhou Taruo Information Technology Co., Ltd. Automatic follow focus for camera device
CN108985225A (en) * 2018-07-13 2018-12-11 北京猎户星空科技有限公司 Focus follower method, device, electronic equipment and storage medium
CN112154657A (en) * 2019-07-16 2020-12-29 深圳市大疆创新科技有限公司 Control method and device of shooting device, handheld cloud deck and storage medium
CN110293584A (en) * 2019-07-29 2019-10-01 韩城韩韩文旅产业发展集团有限公司 A kind of holder of video display Te Pai robot without dead angle
JP2021085936A (en) * 2019-11-26 2021-06-03 キヤノン株式会社 Imaging apparatus, and control method and program of imaging apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
富崇炎: "单反数码相机在影视创作领域的运用", 《科技传播》 *
金水,于术编著: "《影视广告基础与制作》", 27 February 2019, 北京:中国传媒大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115294508A (en) * 2022-10-10 2022-11-04 成都唐米科技有限公司 Focus following method and system based on static space three-dimensional reconstruction and camera system
CN115294508B (en) * 2022-10-10 2023-01-06 成都唐米科技有限公司 Focus following method and system based on static space three-dimensional reconstruction and camera system

Also Published As

Publication number Publication date
CN113422905B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US20200284392A1 (en) Gimbal, control method thereof, and uav
CN108419117B (en) Device and method for playing video small window
CN101785296A (en) Optical device stabilizer
CN113422905B (en) Automatic control method and system for movement locus of focus follower
WO2019105467A1 (en) Method and device for sharing information, storage medium, and electronic device
US20090083812A1 (en) Method and apparatus for controlling on-demand play of media files based on P2P protocols
WO2020087344A1 (en) Video capturing method and apparatus, and control device
CN104227716B (en) A kind of cameras people real-time control method based on remote operating
KR20050115129A (en) Remote control system and method of camera phone
WO2021026752A1 (en) Tripod head control method, tripod head, and computer-readable storage medium
CN112839238B (en) Screen projection playing method and device and storage medium
JP2016005083A (en) Information processing device, information processing method, and terminal device
CN101833340A (en) Method for controlling outdoor robot camera tripod
US20070061469A1 (en) Method of controlling data transmission and network apparatus for transmitting data using the same
CN112565555A (en) Virtual camera shooting method and device, electronic equipment and storage medium
CN108496349B (en) Shooting control method and device
CN113810761A (en) Multi-terminal interaction method, device and system
CN108317379A (en) Control holds the method, apparatus of holder and hand-held holder
CN101426043A (en) Portable device and imaging device
CN101179587B (en) Method, client, server and system of using robot in games
CN111562840B (en) Wearable display device and adjustment method of imaging surface thereof
CN105354746A (en) Information transmission method and apparatus
WO2023077738A1 (en) Resource packet uploading method and apparatus, electronic device and storage medium
CN107185237A (en) A kind of method and system of remote control game machine
CN114710706A (en) Monitoring playback control method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant