Method and device for determining relative positions
A technology of relative position and center position, applied in the input/output process of data processing, indoor games, instruments, etc., can solve the problems of reducing the attractiveness of games and limiting user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] An embodiment of the present invention provides a method for determining a relative position. The method is executed by a first electronic device, and the first electronic device is a terminal, such as a tablet computer, a smart phone, and the like. The data connection between the first electronic device and the second electronic device, such as figure 1 As shown, the method includes:
[0066] Step 101, measuring a first angle between the first electronic device and the earth's magnetic poles;
[0067] Optionally, an electronic compass is built into the first electronic device. An electronic compass, also called a digital compass, is a device that uses the geomagnetic field to determine the North Pole. In this embodiment, the angle between the first electronic device and the north pole, that is, the first angle, may be measured by using an electronic compass.
[0068] Electronic compass can be divided into planar electronic compass and three-dimensional electronic co...
Embodiment 2
[0124] An embodiment of the present invention provides an apparatus for determining a relative position. The apparatus may be a first electronic device, and the first electronic device is connected to a second electronic device for data, such as Image 6 As shown, the device includes: a measurement unit 601, an acquisition unit 602, and a determination unit 603;
[0125] a measuring unit 601, configured to measure a first angle between the first electronic device and the earth's magnetic pole;
[0126] An acquiring unit 602, configured to acquire a second angle, where the second angle is an angle between the second electronic device and the earth's magnetic poles;
[0127] According to the first angle and the second angle, the determining unit 603 determines the relative positions of the first electronic device and the second electronic device.
[0128] Further, an electronic compass may be built in the first electronic device. An electronic compass, also called a digital co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


