Posture adjustment method and device, equipment and storage medium
By acquiring and adjusting the attitude information of the inertial navigation plane, the problem of low horizontal installation efficiency of inertial navigation in aircraft assembly is solved, accurate horizontal installation of inertial navigation is achieved, and assembly efficiency is improved.
Patent Information
- Application Number
- CN202310328356.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing aircraft assembly process, the inertial navigation horizontal installation efficiency is low and relies on manual adjustment, which cannot ensure the attitude level, is time-consuming and labor-intensive, and affects the assembly progress.
By obtaining the position information of the preset mark and the target ball, the attitude information of the inertial navigation plane is determined, and its pitch and roll angles are adjusted to make it the same as the attitude information of the floor plane, thereby achieving accurate horizontal installation of the inertial navigation.
It improves the accuracy and efficiency of inertial navigation horizontal installation, reduces manual adjustment time and labor, and improves assembly progress.
Smart Images

Figure CN118730161A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of aviation assembly technology, and in particular to a posture adjustment method, device, equipment and storage medium. Background Art
[0002] At present, the horizontal installation of inertial navigation in the domestic aircraft assembly process is mainly based on the level instrument, which provides the deflection information of heading and span through two angle sensors, and relies on manual experience to adjust the height of the shim. It cannot ensure the final adjusted attitude level, and there are many shortcomings such as time-consuming, labor-intensive, and inefficient, which affect the progress of aircraft assembly. Summary of the invention
[0003] The embodiments of the present disclosure provide an attitude adjustment method, device, equipment and storage medium, which can realize accurate horizontal installation of inertial navigation.
[0004] In a first aspect, an embodiment of the present disclosure provides a posture adjustment method, comprising: respectively acquiring first position information of a preset mark and second position information of a preset target sphere; wherein the preset target sphere is arranged on a floor plane of an aircraft; the preset mark is arranged on a tooling connected to an inertial navigation plane; determining first posture information of the inertial navigation plane according to the first position information and the second position information; acquiring second posture information of the floor plane; wherein the first posture information and the second posture information both include a pitch angle and a roll angle; and adjusting the first posture information of the inertial navigation plane so that the first posture information is the same as the second posture information.
[0005] In the second aspect, the embodiment of the present disclosure also provides an attitude adjustment device, including: a position information acquisition module, used to respectively acquire the first position information of a preset mark and the second position information of a preset target ball; wherein the preset target ball is set on the floor plane of the aircraft; the preset mark is set on the tooling connected to the inertial navigation plane; a first attitude information determination module, used to determine the first attitude information of the inertial navigation plane according to the first position information and the second position information; a second attitude information acquisition module, used to acquire the second attitude information of the floor plane; wherein the first attitude information and the second attitude information both include a pitch angle and a roll angle; a first attitude information adjustment module, used to adjust the first attitude information of the inertial navigation plane so that the first attitude information is the same as the second attitude information.
[0006] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0007] one or more processors;
[0008] a storage device for storing one or more programs,
[0009] When the one or more programs are executed by the one or more processors, the one or more processors implement the posture adjustment method as described in the embodiment of the present disclosure.
[0010] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the posture adjustment method as described in the embodiment of the present disclosure.
[0011] The technical solution disclosed in this embodiment obtains the first position information of the preset mark and the second position information of the preset target ball respectively; wherein the preset target ball is set on the floor plane of the aircraft; the preset mark is set on the tooling connected to the inertial navigation plane; the first posture information of the inertial navigation plane is determined according to the first position information and the second position information; the second posture information of the floor plane is obtained; wherein the first posture information and the second posture information both include a pitch angle and a roll angle; the first posture information of the inertial navigation plane is adjusted so that the first posture information is the same as the second posture information. In this embodiment, by determining the first posture information of the inertial navigation plane according to the first position information of the preset mark and the second position information of the preset target ball, and adjusting the first posture information, accurate horizontal installation of the inertial navigation can be achieved, and installation efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0013] Figure 1 A schematic diagram of a flow chart of a posture adjustment method provided in an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a posture adjustment structure provided by an embodiment of the present invention;
[0015] Figure 3 A schematic diagram of a tooling structure provided in an embodiment of the present invention;
[0016] Figure 4 A schematic diagram of the structure of a posture adjustment device provided in an embodiment of the present disclosure;
[0017] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0020] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0021] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0022] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0023] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0024] Figure 1 The following is a flow chart of the attitude adjustment method provided by the embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of adjusting the horizontal attitude of an aircraft inertial navigation. The method can be executed by an attitude adjustment device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server. Figure 1 As shown, the method includes:
[0025] S110, respectively obtaining first position information of a preset mark and second position information of a preset target ball.
[0026] Among them, the preset target ball is set on the floor plane of the aircraft; the preset mark is set on the tooling connected to the inertial navigation plane.
[0027] Optionally, the number of preset marks is at least three; the number of preset target balls is at least three, and each preset target ball is non-collinear.
[0028] For example, Figure 2 Schematic diagram of the posture adjustment structure provided by the embodiment of the present invention. Figure 2 As shown, the preset target ball ( Figure 2 Only three are shown) are set on the plane of the aircraft floor, and the three preset target balls are not collinear. The preset markers are set on the tooling, which is set on the plane of the aircraft floor. The tooling passes through the plane of the aircraft floor and connects to the inertial navigation plane. The inertial navigation plane is below the plane of the aircraft floor ( Figure 2 Only the inertial navigation plane is shown, and the inertial navigation plane is located below the aircraft floor plane (not shown). A plurality of cameras are arranged on the aircraft floor plane. Figure 2 Only two are shown, and the cameras are used to photograph preset target balls, preset marks, etc.
[0029] For example, Figure 3 A schematic diagram of a tooling structure provided in an embodiment of the present invention.
[0030] like Figure 3 As shown, optionally, the tooling includes a composite plate, a preset mark, and a connecting rod, the composite plate is provided with a preset mark, the composite plate is connected to the connecting rod, and the tooling passes through the aircraft floor plane and is connected to the inertial navigation plane.
[0031] It should be noted that a plurality of preset square marks (such as Figure 3 Medium black square, Figure 3 Only 3 are shown) each preset square mark is provided with a plurality of preset marks (such as Figure 3 The small white dot in the black square, Figure 3 Only 4 are shown), and multiple preset marks are distributed at different positions in the preset square mark. In this embodiment, the preset mark located at the center of each preset square mark (that is, the white dot located at the center of the black square) can be used as the target preset mark, that is, the preset mark involved in this embodiment can be a target preset mark. Each preset mark located at a non-center of the preset square mark can be used to identify the preset square mark to which the preset mark belongs. The connecting rod on the tooling passes through the aircraft floor plane and is connected to the inertial navigation plane ( Figure 3 not shown).
[0032] In this embodiment, the first position information of the preset mark in the aircraft coordinate system and the second position information of the preset target sphere in the aircraft coordinate system can be obtained. The first position information and the second position information can both be represented by three-dimensional coordinates. The number of preset marks obtained in this embodiment is at least three, and the number of preset target spheres obtained in this embodiment is at least three.
[0033] Optionally, first position information of a preset mark and second position information of a preset target sphere are obtained respectively, including: obtaining first position information of a preset mark and second position information of a preset target sphere in a camera coordinate system respectively; converting the first position information of the preset mark in the camera coordinate system into first position information in an aircraft coordinate system; converting the second position information of the preset target sphere in the camera coordinate system into second position information in the aircraft coordinate system.
[0034] In this embodiment, the preset mark and the preset target ball can be photographed by the camera, so that the first position information of the preset mark and the second position information of the preset target ball in the camera coordinate system can be obtained. The aircraft coordinate system can be established with any one of the multiple preset target balls as the origin, that is, the aircraft coordinate system can be established with multiple preset target balls as the reference. The second position information of the preset target ball in the camera coordinate system is converted into the second position information in the aircraft coordinate system. The rigid body transformation matrix is determined according to the second position information of the preset target ball in the camera coordinate system and the second position information of the preset target ball in the aircraft coordinate system. Specifically, a set of equations is listed according to the second position information of the preset target ball in the camera coordinate system and the second position information of the preset target ball in the aircraft coordinate system, and the rigid body transformation matrix can be obtained by solving them. The first position information in the aircraft coordinate system is determined according to the rigid body transformation matrix and the first position information of the preset mark in the camera coordinate system.
[0035] S120. Determine first attitude information of the inertial navigation plane according to the first position information and the second position information.
[0036] In this embodiment, the normal vector of the inertial navigation plane can be determined according to the conversion matrix and the first position information of the preset mark in the aircraft coordinate system, and the normal vector of the plane where the preset target sphere is located can be determined according to the second position information of the preset target sphere in the aircraft coordinate system. The first attitude information of the inertial navigation plane is determined according to the normal vector of the inertial navigation plane and the normal vector of the plane where the preset target sphere is located.
[0037] Optionally, determining the first posture information of the inertial navigation plane according to the first position information and the second position information includes: acquiring a transformation matrix between the plane where the preset mark is located and the inertial navigation plane; determining the third position information corresponding to the preset mark in the inertial navigation plane according to the transformation matrix and the first position information; determining the normal vector of the inertial navigation plane according to the third position information; determining the normal vector of the plane where the preset target sphere is located according to the second position information; determining the rotation axis and the rotation angle according to the normal vector of the plane where the preset target sphere is located and the normal vector of the inertial navigation plane; determining the rotation matrix according to the rotation axis and the rotation angle; and determining the first posture information according to the rotation matrix.
[0038] In this embodiment, the conversion matrix can be obtained in the following way:
[0039] Determine multiple preset markers in the plane where the preset markers are located; use one of the multiple preset markers as the origin to establish a new coordinate system, and the two vectors formed from the origin to the other two preset markers can be used as two axes. Similarly, obtain multiple inertial navigation points corresponding to the multiple preset markers in the inertial navigation plane, use one of the multiple inertial navigation points as the origin to establish a new coordinate system, and the two vectors formed from the origin to the other two inertial navigation points can be used as two axes. Determine the position information of each inertial navigation point in the new coordinate system and the position information of each preset marker in the new coordinate system. Determine the transformation matrix based on the position information of each inertial navigation point in the new coordinate system and the position information of each preset marker in the new coordinate system, and each element in the transformation matrix can be expressed as the relationship between each inertial navigation point and each preset marker.
[0040] In this embodiment, the third position information corresponding to the preset mark in the inertial navigation plane, that is, the third position information of the inertial navigation point in the aircraft coordinate system, can be determined based on the conversion matrix and the first position information of the preset mark in the aircraft coordinate system. The normal vector of the inertial navigation plane can be determined based on the third position information of multiple inertial navigation points. The normal vector of the plane where the preset target ball is located can be determined based on the second position information of multiple preset target balls in the aircraft coordinate system. The rotation axis and rotation angle can be determined based on the normal vector of the plane where the preset target ball is located and the normal vector of the inertial navigation plane; wherein, the normal vector of the plane where the preset target ball is located can be denoted as v0, the normal vector of the inertial navigation plane can be denoted as v1, the rotation axis is denoted as RotaAxil, and the rotation angle is denoted as RotaAngle, then RotaAxil=(v1×v0) / norm(v1×v0), RotaAngle=acos(v1·v0). Wherein norm(v1×v0) represents the modulus of the (v1×v0) vector. The rotation matrix, such as a 3*3 rotation matrix, can be calculated based on the rotation axis and the rotation angle; the first attitude information of the inertial navigation plane in the aircraft coordinate system can be determined based on the rotation matrix and the corresponding conversion formula. The first attitude information includes the pitch angle and the roll angle.
[0041] S130: Acquire second posture information of the floor plane.
[0042] The second posture information includes a pitch angle and a roll angle. The floor plane can be represented by a plane where a preset target ball is located. The second posture information can be used as reference posture information for adjusting the first posture information.
[0043] S140. Adjust the first attitude information of the inertial navigation plane so that the first attitude information is the same as the second attitude information.
[0044] In this embodiment, the first attitude information of the inertial navigation plane can be adjusted by increasing or decreasing the number of gaskets. The gaskets can be arranged on the mounting holes, and the mounting holes are arranged at the bottom of the inertial navigation. The inertial navigation plane can be understood as the surface of the top of the inertial navigation.
[0045] Optionally, adjusting the first posture information of the inertial navigation plane includes: obtaining a mounting hole position in a world coordinate system; wherein the mounting hole is a connection between the inertial navigation system and the inertial navigation mounting bracket; determining a target vector based on the mounting hole position and a rotation matrix; determining a deviation distance of the mounting hole in a set coordinate component based on the target vector; and adjusting the first posture information of the inertial navigation plane based on the deviation distance.
[0046] The number of mounting holes may be multiple, for example, 4, and the multiple mounting holes may be respectively arranged at different positions on the bottom of the inertial navigation. The mounting holes may be used to connect the inertial navigation mounting bracket. The set coordinate component may be the z-axis.
[0047] In this embodiment, multiple mounting hole positions in the world coordinate system can be obtained, and the mounting hole positions can be represented by three-dimensional coordinates (vectors). Exemplarily, the mounting hole position can be a 1*3 vector, the rotation matrix can be a 3*3 matrix, and the target vector can be a 1*3 vector. The third element in the target vector can be used as the deviation distance of the mounting hole in the set coordinate component, that is, the deviation distance of the mounting hole in the z-axis direction, so that the deviation distance of multiple mounting holes in the z-axis direction can be obtained. The first attitude information of the inertial navigation plane is adjusted according to the deviation distance.
[0048] Optionally, adjusting the first posture information of the inertial navigation plane according to the deviation distance includes: adjusting the height of the mounting hole according to the deviation distance to drive the adjustment of the first posture information of the inertial navigation plane; determining whether the first posture information and the second posture information are the same; if different, returning to execute the operation of adjusting the first posture information of the inertial navigation plane until the first posture information and the second posture information are the same.
[0049] In this embodiment, the height of the gasket can be adjusted by adding or reducing the number of gaskets in the mounting hole according to the deviation distance, thereby adjusting the height of the mounting hole, and then the first posture information of the inertial navigation plane can be adjusted. After each adjustment, the adjusted first posture information can be obtained, and it is determined whether the adjusted first posture information and the second posture information are the same. If they are the same, the adjustment is stopped; if they are not the same, the operation of adjusting the first posture information of the inertial navigation plane is returned until the first posture information and the second posture information are the same.
[0050] The technical solution disclosed in this embodiment obtains the first position information of the preset mark and the second position information of the preset target ball respectively; wherein the preset target ball is set on the floor plane of the aircraft; the preset mark is set on the tooling connected to the inertial navigation plane; the first posture information of the inertial navigation plane is determined according to the first position information and the second position information; the second posture information of the floor plane is obtained; wherein the first posture information and the second posture information both include a pitch angle and a roll angle; the first posture information of the inertial navigation plane is adjusted so that the first posture information is the same as the second posture information. In this embodiment, by determining the first posture information of the inertial navigation plane according to the first position information of the preset mark and the second position information of the preset target ball, and adjusting the first posture information, accurate horizontal installation of the inertial navigation can be achieved, and installation efficiency can be improved.
[0051] In this embodiment, the first position information of the preset mark in the camera coordinate system and the second position information of the preset target sphere are respectively obtained through the camera; the first position information of the preset mark in the camera coordinate system is converted into the first position information in the aircraft coordinate system; the second position information of the preset target sphere in the camera coordinate system is converted into the second position information in the aircraft coordinate system. The first posture information of the inertial navigation plane is determined according to the first position information and the second position information, and the first posture information of the inertial navigation plane is adjusted so that the first posture information is the same as the second posture information. That is, through the photogrammetry method and the indirect measurement through the tooling, the problem of aircraft floor obstruction during the measurement process can be effectively solved, and the first posture information is determined by the coordinate system transformation, so that the accurate horizontal installation of the inertial navigation can be achieved, and the installation efficiency can be improved.
[0052] Figure 4 A schematic diagram of the structure of a posture adjustment device provided in an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the device includes: a position information acquisition module 410, a first posture information determination module 420, a second posture information acquisition module 430 and a first posture information adjustment module 440;
[0053] The position information acquisition module 410 is used to respectively acquire the first position information of the preset mark and the second position information of the preset target ball; wherein the preset target ball is set on the plane of the aircraft floor; and the preset mark is set on the tooling connected to the inertial navigation plane;
[0054] A first attitude information determining module 420, configured to determine first attitude information of the inertial navigation plane according to the first position information and the second position information;
[0055] A second posture information acquisition module 430 is used to acquire second posture information of the floor plane; wherein the first posture information and the second posture information both include a pitch angle and a roll angle;
[0056] The first attitude information adjustment module 440 is used to adjust the first attitude information of the inertial navigation plane so that the first attitude information is the same as the second attitude information.
[0057] The technical solution disclosed in this embodiment obtains the first position information of the preset mark and the second position information of the preset target ball respectively through the position information acquisition module; wherein the preset target ball is set on the floor plane of the aircraft; the preset mark is set on the tooling connected to the inertial navigation plane; the first attitude information determination module determines the first attitude information of the inertial navigation plane according to the first position information and the second position information; the second attitude information of the floor plane is obtained through the second attitude information acquisition module; wherein the first attitude information and the second attitude information both include pitch angle and roll angle; the first attitude information of the inertial navigation plane is adjusted through the first attitude information adjustment module so that the first attitude information is the same as the second attitude information. In this embodiment, by determining the first attitude information of the inertial navigation plane according to the first position information of the preset mark and the second position information of the preset target ball, and adjusting the first attitude information, accurate horizontal installation of the inertial navigation can be achieved, and installation efficiency can be improved.
[0058] Optionally, the number of the preset marks is at least three; the number of the preset target spheres is at least three, and each preset target sphere is non-collinear.
[0059] Optionally, the position information acquisition module is specifically used to: respectively acquire the first position information of the preset mark in the camera coordinate system and the second position information of the preset target sphere; convert the first position information of the preset mark in the camera coordinate system into the first position information in the aircraft coordinate system; and convert the second position information of the preset target sphere in the camera coordinate system into the second position information in the aircraft coordinate system.
[0060] Optionally, the first posture information determination module is specifically used to: obtain the transformation matrix between the plane where the preset mark is located and the inertial navigation plane; determine the third position information corresponding to the preset mark in the inertial navigation plane according to the transformation matrix and the first position information; determine the normal vector of the inertial navigation plane according to the third position information; determine the normal vector of the plane where the preset target sphere is located according to the second position information; determine the rotation axis and rotation angle according to the normal vector of the plane where the preset target sphere is located and the normal vector of the inertial navigation plane; determine the rotation matrix according to the rotation axis and the rotation angle; and determine the first posture information according to the rotation matrix.
[0061] Optionally, the first attitude information adjustment module is specifically used to: obtain the mounting hole position in the world coordinate system; wherein the mounting hole is the connection between the inertial navigation and the inertial navigation mounting bracket; determine the target vector by the mounting hole position and the rotation matrix; determine the deviation distance of the mounting hole in the set coordinate component according to the target vector; and adjust the first attitude information of the inertial navigation plane according to the deviation distance.
[0062] Optionally, the first posture information adjustment module is also used to: adjust the height of the mounting hole according to the deviation distance to drive the adjustment of the first posture information of the inertial navigation plane; determine whether the first posture information and the second posture information are the same; if different, return to execute the operation of adjusting the first posture information of the inertial navigation plane until the first posture information and the second posture information are the same.
[0063] Optionally, the tooling includes a composite plate, a preset mark, and a connecting rod, the composite plate is provided with a preset mark, the composite plate is connected to the connecting rod, and the tooling passes through the aircraft floor plane and is connected to the inertial navigation plane.
[0064] The posture adjustment device provided in the embodiments of the present disclosure can execute the posture adjustment method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0065] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0066] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0067] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0068] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0069] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0070] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0071] The electronic device provided in the embodiment of the present disclosure and the posture adjustment method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0072] The embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the posture adjustment method provided by the above embodiment is implemented.
[0073] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0074] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0075] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0076] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: respectively obtains first position information of a preset mark and second position information of a preset target ball; wherein the preset target ball is set on a floor plane of an aircraft; the preset mark is set on a tooling connected to an inertial navigation plane; determines first attitude information of the inertial navigation plane according to the first position information and the second position information; obtains second attitude information of the floor plane; wherein the first attitude information and the second attitude information both include a pitch angle and a roll angle; and adjusts the first attitude information of the inertial navigation plane so that the first attitude information is the same as the second attitude information.
[0077] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0078] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0080] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0081] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0082] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0083] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0084] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A posture adjustment method, It is characterized in that include: The first position information of the preset mark and the second position information of the preset target ball are respectively obtained; wherein the preset target ball is set on the plane of the aircraft floor; and the preset mark is set on the tooling connected to the inertial navigation plane; Determine first attitude information of the inertial navigation plane according to the first position information and the second position information; Acquire second posture information of the floor plane; wherein the first posture information and the second posture information both include a pitch angle and a roll angle; The first attitude information of the inertial navigation plane is adjusted so that the first attitude information is the same as the second attitude information.
2. The method according to claim 1, It is characterized in that in, The number of the preset marks is at least three; the number of the preset target balls is at least three, and each preset target ball is non-collinear.
3. The method according to claim 2, It is characterized in that Respectively obtaining first position information of a preset mark and second position information of a preset target ball includes: Respectively obtaining first position information of a preset mark and second position information of a preset target ball in a camera coordinate system; Converting the first position information of the preset marker in the camera coordinate system into the first position information in the aircraft coordinate system; The second position information of the preset target sphere in the camera coordinate system is converted into the second position information in the aircraft coordinate system.
4. The method according to claim 3, It is characterized in that Determining first attitude information of the inertial navigation plane according to the first position information and the second position information includes: Obtaining a transformation matrix between the plane where the preset marker is located and the inertial navigation plane; Determine third position information corresponding to the preset mark in the inertial navigation plane according to the conversion matrix and the first position information; Determine a normal vector of the inertial navigation plane according to the third position information; Determine the normal vector of the plane where the preset target sphere is located according to the second position information; Determine the rotation axis and the rotation angle according to the normal vector of the plane where the preset target sphere is located and the normal vector of the inertial navigation plane; Determine a rotation matrix according to the rotation axis and the rotation angle; The first posture information is determined according to the rotation matrix.
5. The method according to claim 4, It is characterized in that Adjusting the first attitude information of the inertial navigation plane includes: Obtaining the position of the mounting hole in the world coordinate system; wherein the mounting hole is the connection between the inertial navigation system and the inertial navigation system mounting bracket; The mounting hole position and the rotation matrix determine a target vector; Determining the deviation distance of the mounting hole in the set coordinate component according to the target vector; The first attitude information of the inertial navigation plane is adjusted according to the deviation distance.
6. The method according to claim 5, It is characterized in that Adjusting the first attitude information of the inertial navigation plane according to the deviation distance includes: Adjusting the height of the mounting hole according to the deviation distance to drive adjusting the first attitude information of the inertial navigation plane; Determining whether the first posture information and the second posture information are the same; If they are different, the process returns to executing the operation of adjusting the first attitude information of the inertial navigation plane until the first attitude information is the same as the second attitude information.
7. The method according to claim 1, It is characterized in that The tooling includes a composite plate, a preset mark, and a connecting rod. The composite plate is provided with a preset mark, the composite plate is connected to the connecting rod, and the tooling passes through the aircraft floor plane and is connected to the inertial navigation plane.
8. A posture adjustment device, It is characterized in that include: A position information acquisition module, used to respectively acquire first position information of a preset mark and second position information of a preset target sphere; wherein the preset target sphere is arranged on a plane of the aircraft floor; and the preset mark is arranged on a tooling connected to an inertial navigation plane; A first attitude information determination module, used to determine first attitude information of the inertial navigation plane according to the first position information and the second position information; A second posture information acquisition module, used to acquire second posture information of the floor plane; wherein the first posture information and the second posture information both include a pitch angle and a roll angle; The first attitude information adjustment module is used to adjust the first attitude information of the inertial navigation plane so that the first attitude information is the same as the second attitude information.
9. An electronic device, It is characterized in that The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the posture adjustment method as described in any one of claims 1-7.
10. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform the posture adjustment method according to any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Cited By
Master-slave control method of surgical system, electronic equipment and storage medium
CN119632692A
