Golf ball motion trail simulation method and device, equipment, storage medium and product
By obtaining the initial state of the golf ball and simulated scene model, and calculating and displaying the ball's movement trajectory, the problem of insufficient precision of the golf ball movement trajectory in the existing technology is solved, and a more realistic and accurate golf simulation experience is achieved.
Patent Information
- Application Number
- CN202510347462.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-04-25
AI Technical Summary
Due to the simple data acquisition and calculation methods of the existing golf trajectory simulation devices, the golf trajectory situation is not accurate enough, the error is large, and the movement trajectory changes are not obvious enough in different simulation scenarios, resulting in the user experience not being realistic enough.
By obtaining the initial state of the club and the ball, when the ball is hit, the simulated scene entered by the ball is determined according to the initial state, and the ball's movement trajectory is calculated according to the scene model. The device includes a serving device, a multi-scene pad, a vision sensor, a projector and a controller, through which precise simulation and display of the ball's movement is achieved.
A more accurate and realistic simulation of golf trajectory is achieved, providing a more realistic, accurate and cost-effective golf scene simulation experience.
Smart Images

Figure CN119868910A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sports training and entertainment technology, and in particular to a golf motion trajectory simulation method, device, equipment, storage medium and product. Background Art
[0002] The existing golf motion trajectory simulation device has a relatively simple data collection and data calculation method, so it is not accurate enough in calculating the movement of the golf ball and has a large error. In addition, in a real golf course, there are grass, sand, fairways and greens, and the movement trajectory of the golf ball is different in different venues. However, when the golf ball enters different simulation scenes, the change of the movement trajectory of the existing golf motion trajectory simulation device is not much different. Therefore, the golf ball movement trajectory is not accurate enough, so that the golf simulation training experience for users is not realistic enough. Summary of the invention
[0003] The main purpose of the present invention is to provide a method, device, equipment, storage medium and product for simulating the motion trajectory of a golf ball, aiming to solve the technical problem that the motion trajectory of a golf ball is not accurate enough.
[0004] To achieve the above object, the present invention provides a golf ball motion trajectory simulation method, which is applied to a golf ball motion trajectory simulation device connected to a display device, and the golf ball motion trajectory simulation method includes: Get the initial state of the club and the ball; When it is detected that the ball is hit, determining the simulation scene that the ball enters according to the initial state of the club and the ball; According to the simulation scene, the motion trajectory of the ball in the simulation scene is obtained.
[0005] In one embodiment, when the ball is detected to be hit, the step of determining the simulated scene that the ball enters according to the initial state of the club and the ball comprises: When it is detected that the ball is hit, acquiring the initial state of the club when hitting the ball and the initial state of the ball when being hit; Taking the initial state of the club when hitting the ball and the initial state of the ball when being hit as input data, calculating the input data through a target model to obtain output data of the ball; The simulated scene that the ball enters is determined based on the output data.
[0006] In one embodiment, the simulation scene includes a grass scene, a sand scene, and a low-friction scene, and the step of obtaining the motion trajectory of the ball in the simulation scene according to the simulation scene includes: According to different simulation scenarios, corresponding scenario models are obtained; The movement pattern of the ball in the simulation scene is calculated according to the corresponding scene model to obtain the movement trajectory.
[0007] In one embodiment, the target hitting pad includes a long grass hitting pad, a sand hitting pad, and a low friction hitting pad, and the step of obtaining the corresponding scene model according to different simulation scenes includes: Switching corresponding target striking pads according to different simulation scenarios; When it is detected that the user hits the ball on the target hitting pad, the corresponding scene model is obtained.
[0008] In one embodiment, after the step of obtaining the motion trajectory of the ball in the simulation scene according to the simulation scene, the step includes: The motion trajectory of the ball in the simulation scene is displayed through the display device.
[0009] In one embodiment, after the step of displaying the motion trajectory of the ball in the simulation scene through the display device, the step includes: Upon detecting that the movement of the ball in the simulation scene ends, the initial states of the club and the ball are retrieved.
[0010] In addition, to achieve the above-mentioned purpose, the present invention also provides a golf ball motion trajectory simulation device, the device comprising: Ball serving equipment, multi-scene hitting pads, visual sensors, projectors, and controllers; The controller is respectively connected with the serving device, the multi-scene striking pad, the visual sensor and the projector.
[0011] In addition, to achieve the above-mentioned purpose, the present invention also proposes a golf simulation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the golf motion trajectory simulation method as described above.
[0012] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the golf ball motion trajectory simulation method described above are implemented.
[0013] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the golf ball motion trajectory simulation method as described above are implemented.
[0014] One or more technical solutions proposed in the present invention have at least the following technical effects: The present invention obtains the initial states of the club and the ball; when it is detected that the ball is hit, the simulation scene that the ball enters is determined according to the initial states of the club and the ball; and the motion trajectory of the ball in the simulation scene is obtained according to the simulation scene. The present invention first determines the target simulation scene that the golf ball enters among multiple different simulation scenes, and determines the motion trajectory of the golf ball in the target simulation scene through the scene model corresponding to the target simulation scene. Compared with the prior art, the present invention can provide golf users with a more realistic, accurate and cost-effective golf scene simulation experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0017] Figure 1 A schematic diagram of a process flow provided for a first embodiment of a method for simulating a golf ball motion trajectory according to the present invention; Figure 2 This is a first structural schematic diagram of a golf simulation device according to an embodiment of the present invention; Figure 3 A second structural schematic diagram of a golf simulation device according to an embodiment of the present invention; Figure 4 A third structural schematic diagram of the golf simulation device according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the module structure of a golf ball motion trajectory simulation device according to an embodiment of the present invention; Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the golf ball motion trajectory simulation method in an embodiment of the present invention.
[0018] Description of Figure Numbers:
[0019] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0020] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present invention and are not used to limit the present invention.
[0021] In order to better understand the technical solution of the present invention, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0022] The main solution of the embodiment of the present invention is: obtaining the initial state of the club and the ball; when detecting that the ball is hit, determining the simulation scene that the ball enters according to the initial state of the club and the ball; and obtaining the movement trajectory of the ball in the simulation scene according to the simulation scene.
[0023] In this embodiment, for the convenience of description, the following description is made with the identification controller as the execution subject.
[0024] Since the existing golf motion trajectory simulation device has a relatively simple data collection and data calculation method, it is not accurate enough in calculating the movement of the golf ball and has a large error. In addition, in a real golf course, there are grass, sand, fairways and greens, and the movement trajectory of the golf ball is different in different venues. However, when the golf ball enters different simulation scenes, the change of the movement trajectory of the existing golf motion trajectory simulation device is not very different. Therefore, the golf ball movement trajectory is not accurate enough, so that the golf simulation training experience for users is not realistic enough.
[0025] In response to the problems of insufficient scene realism and lack of real physical feedback in the prior art, the purpose of the present invention is to allow users to feel the tactile, visual and motion effects of the interaction with the ball and the field (such as grass, sand, etc.) in a real golf scene during the simulated hitting process, including the rolling resistance of the ball on surfaces of different textures, the depth of sinking and the movement changes in complex environments, so as to highly restore the scene experience of real golf.
[0026] In view of the problems of motion capture errors and limited simulation of environmental changes in the prior art, the present invention is committed to accurately capturing the initial state of the user's club and ball through more precise monitoring technology and algorithms, and at the same time simulating the impact of environmental factors on the ball's motion trajectory in real time and accurately, so that the ball's motion trajectory simulation is more in line with real physical laws and the user's actual hitting situation.
[0027] The present invention provides a solution, by obtaining the initial states of a club and a ball; when it is detected that the ball is hit, the simulation scene that the ball enters is determined according to the initial states of the club and the ball; and the motion trajectory of the ball in the simulation scene is obtained according to the simulation scene. The present invention first determines the target simulation scene that the golf ball enters among multiple different simulation scenes, and determines the motion trajectory of the golf ball in the target simulation scene through the scene model corresponding to the target simulation scene. Compared with the prior art, the present invention can provide golf users with a more realistic, accurate and cost-effective golf scene simulation experience.
[0028] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a golf simulation device, etc. The following takes the controller as an example to illustrate this embodiment and the following embodiments.
[0029] Based on this, the embodiment of the present invention provides a method for simulating the trajectory of a golf ball. Figure 1 , Figure 1 FIG. 4 is a flow chart of a first embodiment of a method for simulating a golf ball motion trajectory according to the present invention.
[0030] In this embodiment, the golf ball motion trajectory simulation method includes steps S10 to S30: Step S10, obtaining the initial state of the club and the ball; It should be noted that the above-mentioned club may be a golf club, which is held by the user for use; It should be noted that the ball may be a golf ball.
[0031] It is understandable that the above-mentioned initial state includes the initial state of the above-mentioned club and the initial state of the above-mentioned ball, wherein the initial state of the above-mentioned club is the state from the start to the end of the club when the user holds the above-mentioned club when hitting the ball, and the initial state of the above-mentioned ball is the instantaneous state of the above-mentioned ball when it is hit by the above-mentioned club.
[0032] In a specific implementation, the above-mentioned club and the above-mentioned ball are photographed from different angles by the above-mentioned visual sensor 4. Through stereoscopic vision technology and image recognition algorithm (which may be a deep learning algorithm and a target detection and segmentation algorithm, etc.), the hitting action and the initial state of the above-mentioned ball can be obtained more comprehensively and accurately, effectively solving the problem of inaccurate capture in the prior art.
[0033] Step S20, when it is detected that the ball is hit, determining the simulation scene that the ball enters according to the initial state of the club and the ball.
[0034] It should be noted that the above simulation scenes include grass scenes, sand scenes and low-friction scenes, among which the low-friction scenes are further divided into fairway scenes and green scenes.
[0035] It is understandable that the parameters of the above-mentioned different simulation scenarios are different. For example, the ground elasticity and friction of the above-mentioned different simulation scenarios are different, and the wind speed and resistance in the air are also different.
[0036] In a specific implementation, when it is detected that the ball is hit by the club, the three-dimensional coordinates, speed, acceleration and other information of the ball moving in the air are calculated by the controller 1 according to the initial state of the club and the ball, and the specific simulation scene that the ball enters is determined by analyzing and processing the various information.
[0037] Step S30: obtaining the motion trajectory of the ball in the simulation scene according to the simulation scene.
[0038] It should be noted that the above-mentioned motion trajectory is the trajectory of the motion behavior of the above-mentioned ball calculated by the above-mentioned controller 1 in the above-mentioned simulation scene and displayed by the above-mentioned display device 6.
[0039] In a specific implementation, according to the determined simulation scene, a scene model corresponding to the simulation scene is obtained, and the initial motion state of the ball when entering the scene is first obtained according to calculation, and then the initial motion state is substituted as an input value into the corresponding scene model to obtain the motion trajectory corresponding to the simulation scene.
[0040] This embodiment provides a method for simulating a golf ball motion trajectory.
[0041] In a feasible implementation, step S20 may include steps S201 to S203: Step S201, when it is detected that the ball is hit, the initial state of the club when hitting the ball and the initial state of the ball when being hit are acquired.
[0042] It should be noted that the initial state of the golf club when hitting the ball refers to the state of the golf club from the start to the end of the shot when hitting the ball. It should be noted that the initial state of the ball when being hit refers to the position and angle at which the ball contacts the club.
[0043] In a specific implementation, when it is detected that the ball is hit by the club, the state of the club from the start to the end when hitting the ball and the position and angle at which the ball contacts the club are obtained.
[0044] Step S202: taking the initial state of the club when hitting the ball and the initial state of the ball when being hit as input data, calculating the input data through a target model to obtain output data of the ball.
[0045] It should be noted that the input data includes the distance and time of the club from the start to the drop, and also includes the position where the ball is hit and the angle of contact with the club; It should be noted that the above-mentioned target model can be a compression rod stability model, a neural network model, and a deep learning model, or it can be a motion trajectory prediction model, a collision vibration system model, etc.
[0046] It should be noted that the reference Figure 2 , Figure 3 as well as Figure 4 , Figure 2 This is a first structural schematic diagram of a golf simulation device according to an embodiment of the present invention; Figure 3 A second structural schematic diagram of a golf simulation device according to an embodiment of the present invention; Figure 4 This is a third structural schematic diagram of the golf simulation device of an embodiment of the present invention; taking the initial position of the ball as the origin, the space within the entire golf simulation device is a three-dimensional space, and the output data is the three-dimensional coordinates, speed, acceleration, angle and rotation of the ball before it enters the scene model.
[0047] In a specific implementation, the distance and time from the starting stroke to the dropping stroke of the club, as well as the position where the ball is hit and the angle of contact with the club are used as the input data and substituted into the target model for calculation to obtain the three-dimensional coordinates, speed, acceleration, angle and rotation of the ball before it enters the scene model.
[0048] Step S203: determining the simulation scene that the ball enters according to the output data.
[0049] In a specific implementation, the simulated scene that the ball enters is determined based on the three-dimensional coordinates, speed, acceleration, angle and rotation of the ball before it enters the scene model.
[0050] In a feasible implementation, step S30 may include steps S301-S302: Step S301, obtaining corresponding scene models according to different simulation scenes.
[0051] It should be noted that the above simulation scenarios include grass scenes, sand scenes and low-friction scenes; It should be noted that the above-mentioned scene models include a grass scene model, a sand scene model and a low-friction scene model corresponding to the above-mentioned simulation scene; It is understandable that the ground hardness, ground roughness, ground humidity, air humidity, air wind speed and air resistance corresponding to different above-mentioned scene models are all different.
[0052] In a specific implementation, the corresponding scene model is obtained according to different simulation scenes, wherein in the grass scene, when the ball hits the grass, it will bounce according to the output data of the ball and the hardness of the long grass. The rebound height and direction of the ball are calculated according to the input data of the ball and the elasticity of the long grass. When the ball rolls, the friction of the long grass is related to the speed of the ball. The grass scene will produce a large friction force on the ball, the ball rolls slowly and the distance is short, and it will stop quickly; in the sand scene, the ball in the bunker will be affected by the sand, may sink into the sand and deviate in direction, and the rolling speed will be greatly slowed down. If the ball falls into the bunker, the friction of the sand scene is much greater than that of the grass scene, and the ball will "sink" into the sand and stop or roll at a very slow speed. At this time, it is necessary to calculate the motion state of the ball according to the depth of contact between the ball and the sand and the friction coefficient of the sand. When the golf ball is not completely sunk but rolls on the surface of the bunker, it is necessary to adjust the friction calculation according to the looseness of the sand, the particle size and shape of the sand. The movement trajectory of the sand is usually irregular, and the ball may "sway" or change direction, and the rolling distance is very small; the above-mentioned low-friction scenes also include fairway scenes and green scenes. The grass in the above-mentioned fairway scenes and the above-mentioned green scenes is relatively flat, with a flat surface and high hardness, and the rolling friction is small, so the above-mentioned ball may continue to roll a long distance. Among them, the green in the above-mentioned green scene is flatter, harder and has less friction than the above-mentioned fairway scene. In the above-mentioned low-friction scene, the rolling distance of the above-mentioned ball is calculated based on the initial velocity, incident angle and friction of the above-mentioned ball. Since the friction of this scene is small, it usually rolls a long distance. The degree of finishing of the above-mentioned green scene may cause slightly different friction coefficients in local areas. Therefore, the above-mentioned low-friction scene model needs to take into account possible slight changes in the surface of the green.
[0053] Step S302: Calculate the movement of the ball in the simulation scene according to the corresponding scene model to obtain the movement trajectory.
[0054] It should be noted that the above-mentioned grass scene uses a multi-layer composite artificial turf design, and the length, density and elasticity of the upper layer of shorter fibers are specially designed to accurately simulate rolling, bouncing and other motion states on long grass. This multi-layer composite artificial turf design overcomes the defects of traditional grass simulation that is only a simple plane and cannot truly simulate the complex interaction between the ball and the grass (here refers to the cooperation with the software), and is one of the key innovations to improve the simulation realism; It should be noted that the sand scene above uses specially made simulated sand material (the particle size, shape and stacking density are similar to those of real sand), which can accurately simulate the depth of the ball in the sand, the rolling direction and the speed affected by the characteristics of the sand and environmental factors (here refers to the cooperation with the software). This design solves the problem that traditional sand simulation is not realistic and accurate enough, especially in the innovation of simulating the impact of the sand environment on the ball movement, which improves the realism of the entire golf scene simulation.
[0055] In a specific implementation, the movement of the ball in the simulation scene is calculated according to the corresponding scene model to obtain the movement trajectory. The grass scene, the sand scene and the low-friction scene are spliced together.
[0056] In a feasible implementation, step S302 may include steps S3021-S3022: Step S3021, switching the corresponding target pad according to different simulation scenes.
[0057] It should be noted that the above-mentioned target hitting pads include long grass hitting pads, sand hitting pads and low friction hitting pads.
[0058] It is understandable that the above-mentioned long grass hitting pad is made of longer synthetic material fiber filaments, which simulates the resistance that the long grass area of a real golf course brings to the club and the ball when hitting the ball; the above-mentioned sand hitting pad is made of longer and thicker synthetic material fiber filaments, and the fiber filaments have larger gaps, so that when the ball is placed on the above-mentioned sand hitting pad, it will naturally sink a part of it to simulate the state of the ball sinking in the real sand, and the thicker and harder material will bring greater resistance to the club and the ball during the club hitting the ball; the above-mentioned low-friction hitting pad is made of shorter synthetic material fiber filaments, and the club and the ball have better passability. The shorter fiber filaments will not cause obstacles to the club and the ball, simulating the effect of the short grass ground of a real golf course.
[0059] In a specific implementation, the long-grass hitting pad corresponding to the grass scene is switched, the sand scene corresponding to the sand scene is switched, and the low-friction hitting pad is switched according to the low-friction scene; wherein the long-grass hitting pad provides greater resistance, simulating the drag of the long grass on the club. When the user hits the ball, the club will feel obvious resistance, affecting the flight distance and direction of the ball; the sand hitting pad provides medium resistance, simulating the obstruction of the sand to the club. When the user hits the ball, the club will feel the resistance of the sand, affecting the flight trajectory and distance of the ball; the low-friction hitting pad provides less resistance, simulating the smaller impact of the short grass on the club. When the user hits the ball, the club feels less resistance, the ball is easier to fly out, and the flight distance and direction are closer to an ideal state.
[0060] Step S3022: when it is detected that the user hits the ball on the target hitting pad, the corresponding scene model is obtained.
[0061] In a specific implementation, when it is detected that the user hits the ball on the target hitting pad, the corresponding scene model can be obtained according to the corresponding target hitting pad, and then the subsequent motion trajectory of the ball is calculated and analyzed according to the corresponding scene model.
[0062] In a feasible implementation manner, step S30 may further include step S31': Step S31 ′: displaying the motion trajectory of the ball in the simulation scene through the display device 6 .
[0063] In a specific implementation, after the user finishes hitting the ball, the display device 6 displays a picture of the movement trajectory of the ball in the simulation scene.
[0064] In a feasible implementation manner, step S31' may further include step S32': Step S32': upon detecting that the movement of the ball in the simulation scene ends, reacquiring the initial states of the club and the ball.
[0065] In a specific implementation, when it is detected that the movement of the ball in the simulation scene ends, the initial states of the club and the ball are retrieved, that is, after one golf simulation practice ends, preparations are made for the next golf simulation practice.
[0066] It should be noted that the above examples are only used to understand the present invention and do not constitute a limitation on the golf ball motion trajectory simulation method of the present invention. More simple transformations based on this technical concept are all within the protection scope of the present invention.
[0067] The present invention also provides a golf ball motion trajectory simulation device, please refer to Figure 5 , the device comprises: A serving device 2, a multi-scene striking pad 3, a visual sensor 4, a projector 5 and a controller 1; The controller 1 is connected to the serving device 2, the multi-scene striking pad 3, the visual sensor 4 and the projector 5 respectively.
[0068] It should be noted that the above-mentioned visual sensor 4 contains three cameras, which play a key monitoring role in the system. The three cameras shoot the golf ball and the action of the hitter from different angles. Through stereo vision technology, they can accurately capture the position and movement trajectory of the golf ball in space. The high frame rate and high resolution of the three cameras ensure the accuracy of the data, and can clearly capture the details of the ball, such as the markings and rotation state on the surface of the ball, even in high-speed motion; It should be noted that the serving device 2 raises the golf ball to the top of the serving platform with different parameters according to the user's settings or preset programs, simulating various situations when hitting the ball in real life; It should be noted that the multi-scene hitting pad 3 includes a hitting pad for simulating a long grass scene, a hitting pad for a sandy scene, and a hitting pad for a low friction area, with the purpose of providing the user with a more realistic golf training experience.
[0069] The golf ball motion trajectory simulation device provided by the present invention adopts the golf ball motion trajectory simulation method in the above embodiment, which can solve the technical problem of golf ball motion trajectory simulation. Compared with the prior art, the beneficial effects of the golf ball motion trajectory simulation device provided by the present invention are the same as the beneficial effects of the golf ball motion trajectory simulation method provided by the above embodiment, and other technical features in the golf ball motion trajectory simulation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0070] The present invention provides a golf simulation device, which includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the golf motion trajectory simulation method in the above-mentioned embodiment one.
[0071] Reference below Figure 6 , which shows a schematic diagram of the structure of a golf simulation device suitable for implementing an embodiment of the present invention. The golf simulation device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The golf simulation 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 invention.
[0072] like Figure 6 As shown, the golf simulation device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the golf simulation device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the golf simulation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a golf simulation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0073] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a 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 the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present invention are executed.
[0074] The golf simulation device provided by the present invention adopts the golf motion trajectory simulation method in the above embodiment, which can solve the technical problem of golf motion trajectory simulation. Compared with the prior art, the beneficial effects of the golf simulation device provided by the present invention are the same as the beneficial effects of the golf motion trajectory simulation method provided by the above embodiment, and other technical features in the golf simulation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0075] It should be understood that the various parts disclosed in the present invention can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0076] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0077] The present invention provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the golf ball motion trajectory simulation method in the above-mentioned embodiment.
[0078] The computer-readable storage medium provided by the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. 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: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination thereof.
[0079] The computer-readable storage medium may be included in the golf simulation device; or may exist independently without being assembled into the golf simulation device.
[0080] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the golf simulation device, the golf simulation device: obtains the initial state of the club and the ball; when it is detected that the ball is hit, determines the simulation scene that the ball enters according to the initial state of the club and the ball; and obtains the movement trajectory of the ball in the simulation scene according to the simulation scene.
[0081] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including 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 the case of 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).
[0082] 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 invention. 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 alternative implementations, 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 the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0083] The modules involved in the embodiments of the present invention may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0084] The readable storage medium provided by the present invention is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned golf ball motion trajectory simulation method, and can solve the technical problem of golf ball motion trajectory simulation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present invention are the same as the beneficial effects of the golf ball motion trajectory simulation method provided by the above-mentioned embodiment, and will not be described in detail here.
[0085] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the golf ball motion trajectory simulation method as described above are implemented.
[0086] The computer program product provided by the present invention can solve the technical problem of golf ball motion trajectory simulation. Compared with the prior art, the beneficial effects of the computer program product provided by the present invention are the same as the beneficial effects of the golf ball motion trajectory simulation method provided by the above embodiment, which will not be repeated here.
[0087] The above descriptions are only some embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A method for simulating a golf ball motion trajectory, characterized in that: The golf ball motion trajectory simulation method is applied to a golf ball motion trajectory simulation device connected to a display device, and the golf ball motion trajectory simulation method includes: Get the initial state of the club and the ball; When it is detected that the ball is hit, determining the simulation scene that the ball enters according to the initial state of the club and the ball; According to the simulation scene, the motion trajectory of the ball in the simulation scene is obtained.
2. The golf ball motion trajectory simulation method according to claim 1, characterized in that: The step of determining the simulation scene that the ball enters according to the initial state of the club and the ball when the ball is detected to be hit comprises: When it is detected that the ball is hit, acquiring the initial state of the club when hitting the ball and the initial state of the ball when being hit; Taking the initial state of the club when hitting the ball and the initial state of the ball when being hit as input data, calculating the input data through a target model to obtain output data of the ball; The simulated scene that the ball enters is determined based on the output data.
3. The golf ball motion trajectory simulation method according to claim 2, characterized in that: The simulation scene includes a grass scene, a sand scene, and a low-friction scene. The step of obtaining the motion trajectory of the ball in the simulation scene according to the simulation scene includes: According to different simulation scenarios, corresponding scenario models are obtained; The movement pattern of the ball in the simulation scene is calculated according to the corresponding scene model to obtain the movement trajectory.
4. The golf ball motion trajectory simulation method according to claim 3, characterized in that: The target hitting pads include a long grass hitting pad, a sand hitting pad and a low friction hitting pad. The step of obtaining corresponding scene models according to different simulation scenes includes: Switching corresponding target pads according to different simulation scenarios; When it is detected that the user hits the ball on the target hitting pad, the corresponding scene model is obtained.
5. The golf ball motion trajectory simulation method according to claim 3, characterized in that: After the step of obtaining the motion trajectory of the ball in the simulation scene according to the simulation scene, the following steps are included: The motion trajectory of the ball in the simulation scene is displayed through the display device.
6. The golf ball motion trajectory simulation method according to claim 5, characterized in that: After the step of displaying the motion trajectory of the ball in the simulation scene through the display device, the following steps are included: Upon detecting that the movement of the ball in the simulation scene ends, the initial states of the club and the ball are retrieved.
7. A golf ball motion trajectory simulation device, characterized in that: The device comprises: Ball serving equipment, multi-scene hitting pads, visual sensors, projectors, and controllers; The controller is respectively connected with the serving device, the multi-scene striking pad, the visual sensor and the projector.
8. A golf simulation device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the golf ball motion trajectory simulation method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the golf ball motion trajectory simulation method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the golf ball motion trajectory simulation method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Simulation golf system and method
CN103239846A
Indoor golf stimulation device
CN108888928A
Virtual reality system, golf sport method and computer readable storage medium
CN111282241A
Auxiliary training head-mounted device for player sports and golf ball simulation training method
CN111530052A
Intelligent indoor golf simulation movement device
CN112402932A