A method and device for simulating a laser pointer through a mobile terminal
A mobile terminal and laser pointer technology, applied in the field of data processing, can solve the problems of small use range, control mouse point error, and unstable performance, etc., and achieve the effect of convenient use, stable performance, and overcoming errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] A method for simulating a laser pointer through a mobile terminal, comprising steps:
[0073] S1. Receive the real-time data of the mobile terminal moving from the first position to the second position sensed by the gravity sensor on the mobile terminal, and obtain the rotation matrix of the mobile terminal according to the data;
[0074] Place the mobile terminal screen upwards and parallel to the horizontal plane, take the center of the mobile terminal as the origin of coordinates, move to the right along the direction of the width of the mobile terminal as the positive direction of the X' axis, and move outward along the direction of the length of the terminal The positive direction of the Y' axis is the positive direction of the Z' axis perpendicular to the terminal screen, and the three-dimensional Cartesian coordinate system X'Y'Z' is established;
[0075] receiving real-time data of the mobile terminal moving from the first position to the second position sensed ...
Embodiment 2
[0094] A device 1 for simulating a laser pointer through a mobile terminal, comprising a memory 2, a processor 3, and a computer program stored on the memory 2 and operable on the processor 3, and the processor 3 implements the following steps when executing the program :
[0095] S1. Receive the real-time data of the mobile terminal moving from the first position to the second position sensed by the gravity sensor on the mobile terminal, and obtain the rotation matrix of the mobile terminal according to the data;
[0096] Place the mobile terminal screen upwards and parallel to the horizontal plane, take the center of the mobile terminal as the origin of coordinates, move to the right along the direction of the width of the mobile terminal as the positive direction of the X' axis, and move outward along the direction of the length of the terminal The positive direction of the Y' axis is the positive direction of the Z' axis perpendicular to the terminal screen, and the three-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


