Coordinate alignment of coordinate systems for computer generated reality devices and haptic devices

By using an automatic alignment method of motion sensors and processors between tactile devices and computer-generated reality devices, the problem of inaccurate coordinate system alignment in the existing technology is solved, achieving a higher-precision and stable interactive experience, allowing Equipment is used in a wider range of environments.

CN111801642BActive Publication Date: 2024-10-18TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201880090166.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-02-23
Publication Date
2024-10-18
Estimated Expiration
2038-02-23

AI Technical Summary

Technical Problem

Existing haptic devices and mixed reality or virtual reality systems have challenges in coordinate system alignment, especially when external tracking systems cannot move outside a single room, resulting in inaccurate position measurement between devices and affecting the interactive experience.

Method used

A method to implement automatic alignment by using motion sensors, network interface circuits, and processors between a haptic device and a computer-generated reality device, utilizing a transformation matrix to align the two coordinate systems and position when the device is stationary or at a constant rate Measure for greater accuracy.

Benefits of technology

Improves the accuracy and consistency of coordinate system alignment between tactile devices and computer-generated reality devices, enhances the stability and accuracy of user interaction experiences, and allows devices to be used in a wider range of environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111801642B_ABST
    Figure CN111801642B_ABST
Patent Text Reader

Abstract

A first electronic device controls a second electronic device to measure the position of the first electronic device. The first electronic device includes a motion sensor, a network interface circuit, a processor, and a memory. The motion sensor senses the motion of the first electronic device. The network interface circuit communicates with the second electronic device. The memory stores program code executed by the processor to perform operations, the operations including: in response to determining that the first electronic device has a motion level that satisfies a defined rule, sending a request to the second electronic device to measure the position of the first electronic device. The position of the first electronic device is sensed and then stored in the memory. A confirmation is received from the second electronic device, the confirmation indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the interaction of haptic devices with computer-generated reality devices, such as mixed reality devices and virtual reality devices. Background Art

[0002] Haptic devices and mixed reality or virtual reality (MR or VR) devices will become an increasing part of society's future device ecosystem for interpersonal communication, gaming and other applications. Mixed reality computer systems use computer-generated virtual objects to enhance what users see in the real world, and the postures of these virtual objects make the virtual objects appear to the user as if they exist in the real world. In contrast, virtual reality computer systems generate a completely virtual world of objects, rather than overlaying objects on the real world. Both types of systems can enable users to interact in a seemingly real or physical way using special electronic devices, such as head-mounted displays (which display computer-generated objects to users) and haptic devices (which track the user's movements and can provide tactile feedback to the user). The term "computer-generated reality (CGR)" is used herein to refer to MR-type systems and VR-type systems collectively. Therefore, unless otherwise defined in the specific examples below, the CGR system described herein can therefore be a MR system or a VR system.

[0003] In a CGR system, a haptic device can provide tactile feedback to a user, which enables the user to feel a virtual object while viewing the virtual object through a display of the CGR device. A challenging problem with CGR systems is how to provide alignment between the coordinate system of the haptic device (e.g., the workspace of the device) and the coordinate system of the CGR device (which can be used to display a 3D computer-generated object generated based on a camera image).

[0004] Some known mixed reality systems that integrate haptic devices in the CGR world use external tracking systems. For example, the GO TOUCH VR brand system and the Ultrahaptics brand system use Leap Motion brand hand tracking devices. The HTC Vive brand products use external tracking systems to track their peripherals and headset devices, which does not require coordinate system alignment because the same tracking system is used to track all devices. The disadvantage of the HTC Vive is that it must be used within a single room and therefore cannot be moved outside of these ranges.

[0005] Therefore, there is a need to provide a CGR system that provides improved automatic alignment of a coordinate system of a haptic device and a coordinate system of a CGR device. Summary of the invention

[0006] Some embodiments disclosed herein relate to a first electronic device that controls a second electronic device to measure the position of the first electronic device. The first electronic device includes a motion sensor, a network interface circuit, a processor, and a memory. The motion sensor is configured to sense the motion of the first electronic device. The network interface circuit is configured to communicate with the second electronic device. The processor is connected to the motion sensor and the network interface circuit. The memory stores program code executed by the processor to perform operations, the operations including: in response to determining that the first electronic device has a motion level that satisfies a defined rule sensed by the motion sensor, sending a request to the second electronic device to measure the position of the first electronic device. The operations also include: sensing the position of the first electronic device and storing it in the memory, and receiving a confirmation from the second electronic device, the confirmation indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device.

[0007] In some other embodiments, the first electronic device includes a haptic device configured to perform at least one of: measuring a user's movement of the haptic device; and providing tactile feedback to the user. The request is sent to the second electronic device including a CGR device, the CGR device configured to display a graphic as an overlay on a real-world object. A measurement of the position of the haptic device is received from the CGR device. Then, based on the position of the haptic device retrieved from the memory and based on the measurement of the position of the haptic device received from the CGR device, a transformation matrix is ​​determined for transforming a posture referenced in a first coordinate system to a posture referenced in a second coordinate system. One of the first and second coordinate systems is used to reference a posture of one of the haptic device and the CGR device, and the other of the first and second coordinate systems is used to reference a posture of the other of the haptic device and the CGR device.

[0008] A potential advantage of these operations is that a transformation matrix between coordinate systems can be generated with an operational accuracy that is more consistently repeated relative to prior art methods. When the first electronic device is determined to have a motion level that satisfies the defined rules, for example, when the first electronic device is stationary, the second electronic device measures the position of the first electronic device. Therefore, the first electronic device and the second electronic device are more likely to measure the same position of the first electronic device, which increases the accuracy of the resulting transformation matrix between the corresponding coordinate systems. When the first electronic device has a constant rate, the defined rules can also be satisfied because the difference between the positions measured by the first electronic device and the second electronic device can be mathematically compensated using the known constant rate of the first electronic device, which in turn improves the accuracy of the resulting transformation matrix.

[0009] Some other related embodiments relate to a second electronic device for measuring the position of a first electronic device relative to the second electronic device. The second electronic device includes a sensor, a network interface circuit, a processor, and a memory. The sensor is configured to output sensor data that can indicate the position of the first electronic device. The network interface circuit is configured to communicate with the first electronic device. The processor is connected to the sensor and the network interface circuit. The memory stores program code executed by the processor to perform operations, the operations including: receiving a request for sending a measurement of the position of the first electronic device by the second electronic device. The operations also include: in response to the request, initiating an operation for generating a measurement of the position of the first electronic device, and storing the sensor data output by the sensor that can indicate the position of the first electronic device in the memory. Sending a confirmation indicating that the sensor data has been stored. Generating a measurement of the position of the first electronic device based on the sensor data stored in the memory, and sending the measurement from the second electronic device.

[0010] In some other embodiments, the operations further include: determining whether an abort message has been received, the abort message indicating that the motion level of the first electronic device sensed within the time interval between when the request was received and when the confirmation was sent by the second electronic device no longer satisfies the defined rule. In response to the determination that an abort message has not been received, performing the operation for sending the measurement of the position of the first electronic device.

[0011] Some other related embodiments relate to a server, comprising a network interface circuit, a processor, and a memory. The network interface circuit is configured to communicate with a first electronic device and a second electronic device. The processor is connected to the network interface circuit. The memory stores program code executed by the processor to perform operations, the operations comprising: receiving a measurement of the position of the first electronic device by the first electronic device from the first electronic device. The operations also include: receiving a measurement of the position of the first electronic device by the second electronic device from the second electronic device, and generating a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system in response to the position of the first electronic device received from the first electronic device and the position received from the second electronic device. One of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

[0012] Some related embodiments relate to a method for a first electronic device to control a second electronic device to measure a position of the first electronic device. The method includes: responding to a determination that the first electronic device has a motion level that satisfies a defined rule by sending a request to the second electronic device to measure the position of the first electronic device, and sensing the position of the first electronic device and storing it in a memory. Receiving a confirmation from the second electronic device, the confirmation indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device.

[0013] Some other related embodiments relate to a method for a second electronic device to measure the position of a first electronic device relative to the second electronic device. The method includes: receiving a request for sending a measurement of the position of the first electronic device by the second electronic device. In response to the request, the method initiates an operation for generating a measurement of the position of the first electronic device, and storing sensor data output by a sensor that can indicate the position of the first electronic device in a memory. Sending a confirmation indicating that the sensor data has been stored. Generating a measurement of the position of the first electronic device based on the sensor data stored in the memory. Sending the measurement of the position of the first electronic device from the second electronic device.

[0014] Some other related embodiments relate to a method of a server. The method includes: receiving a measurement of the position of the first electronic device by the first electronic device from a first electronic device. Receiving a measurement of the position of the first electronic device by the second electronic device from a second electronic device. In response to the position of the first electronic device received from the first electronic device and the position received from the second electronic device, generating a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system. One of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

[0015] When reading the following drawings and detailed description, other electronic devices, servers and corresponding methods according to the embodiments will be or become apparent to those skilled in the art. It is intended that all such additional electronic devices, servers and corresponding methods are included in this specification and protected by the attached claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Various aspects of the present disclosure are illustrated by way of example and not limitation in the accompanying drawings. In the drawings:

[0017] Figure 1 A CGR system including a haptic device and a CGR device operating according to some embodiments of the present disclosure is shown;

[0018] Figure 2 Data flow diagrams and flow charts illustrating the operation of a haptic device and a CGR device operating in accordance with some embodiments of the present disclosure;

[0019] Figure 3a and 3b Data flow diagrams and flow charts illustrating the operation of a haptic device, a server, and a CGR device operating in accordance with some embodiments of the present disclosure;

[0020] Figure 4a and 4b Another data flow diagram and flowchart illustrating the operation of a haptic device, a server, and a CGR device operating in accordance with some other embodiments of the present disclosure;

[0021] Figure 5 Another type of CGR device having a camera facing the user and operating in accordance with some embodiments of the present disclosure is shown;

[0022] Figure 6A flowchart illustrating the operation of initiating generation of an updated transformation matrix of a CGR device according to some embodiments of the present disclosure;

[0023] Figure 7 is a block diagram of haptic device components configured in accordance with some other embodiments of the present disclosure;

[0024] Figure 8 is a block diagram of CGR device components configured according to some other embodiments of the present disclosure; and

[0025] Fig. 9 is a block diagram of server components configured according to some other embodiments of the present disclosure. DETAILED DESCRIPTION

[0026] The concept of the present invention will now be described more fully below with reference to the accompanying drawings, in which examples of embodiments of the concept of the present invention are shown. However, the concept of the present invention can be embodied in a variety of different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to make this disclosure detailed and complete, and to fully convey the scope of the various inventive concepts to those skilled in the art. It should also be noted that these embodiments are not mutually exclusive. Components from one embodiment may be assumed by default to exist / be used in another embodiment.

[0027] The coordinate system of the haptic device and the coordinate system of the CGR device can be aligned by using a transformation matrix, which enables the position and / or rotation angle of an object or device referenced in one coordinate system (e.g., the position and rotation of a 6-degree-of-freedom (DOF) coordinate system) to be transformed to another coordinate system. The transformation matrix can be generated using sensors of the CGR device (e.g., a front-facing camera of the MR device) to detect the position of the haptic device in the coordinate system of the MR device, and onboard sensors of the haptic device (these onboard sensors are used to track the movement of the haptic device (e.g., based on Geomagic Touch or GO TOUCH VR devices) and detect the position of the haptic device in the coordinate system of the haptic device). Based on the position of the haptic device in the haptic device coordinate system and the position of the haptic device in the CGR device coordinate system, a transformation matrix that relates the two coordinate systems can be generated. The accuracy of the transformation matrix can be improved by performing several position measurements by sensors in the haptic device and / or performing several position measurements by sensors in the CGR device. A transformation matrix that better approximates the relationship between the two coordinate systems is calculated using, for example, a least squares or other regression method.

[0028] As used herein, the term "pose" refers to the position and / or rotation angle of a device relative to a defined coordinate system. Thus, a pose can be defined based solely on the multi-dimensional position of the device, the multi-dimensional rotation angle of the device, or a combination thereof. The term "position or pose" refers to position, rotation angle, or a combination thereof.

[0029] As described above, aligning the coordinate systems of two electronic devices (e.g., a haptic device and a CGR device) can be challenging. The challenge is even more severe when the two devices are not synchronized in their sensor measurements, such as when the haptic device measures its position at 1kHz (e.g., as done by Geomagic Touch) and when the CGR device captures images at 60Hz (e.g., as done by Microsoft Hololens). For example, a Hololens device may take 10ms to 50ms to process the image it captures of the haptic device to measure the position of the haptic device, depending on the other tasks running in the Hololens device. In order to accurately calculate the transformation between coordinate systems, the system should ensure that the measurement timing from the two devices used to calculate the transformation is the same, that is, the position pairs correspond to measurements taken at the same time, or the time offset between the measurement timings is known.

[0030] One method for ensuring near-simultaneous sensing of device positions is to configure the CGR system to operationally synchronize the sensing operations of the devices, and calculate measurement delays at the Hololens, and then find a position measurement from the haptic device that corresponds to a position measurement captured by the Hololens at the same time. This synchronized sensing method, which requires complex synchronization operations and algorithms, is prone to synchronization errors (e.g., drift of the synchronization clocks of the devices), has a deleterious effect on synchronization accuracy due to delay variability of the communication network between the devices, and requires frequent messaging between the devices related to maintaining and measuring synchronization.

[0031] Embodiments of the present disclosure are directed to providing improved alignment of coordinate systems between two electronic devices (e.g., a haptic device and an MR device or other CGR device). The haptic device can sense the position of the haptic device in its own coordinate system, while the CGR device can sense the position of the haptic device in the coordinate system of the CGR device (which can be the same as the coordinate system of a camera for the CGR device).

[0032] Some embodiments of the present disclosure may perform alignment of coordinate systems of two devices by using a reduced complexity computational algorithm and reducing the need for communication between the devices. In some embodiments, the haptic device uses its relatively fast position measurement to identify when the haptic device is stationary (i.e., the speed of the device is below a noise level threshold), and in response thereto, sends a request to the CGR device for sensing the position of the haptic device (in the CGR device coordinate system), and the haptic device itself also captures its own position (in the haptic device coordinate system). Because the haptic device is stationary, the position sensed by both the CGR device and the haptic device is the same, thereby eliminating the need for the alignment operation to use any timing information about when each device completes its respective position sensing. Several sensing measurements of different stationary positions may be made at each device, and these measurements are used to calculate a transformation between the two coordinate systems to improve the alignment of the coordinate systems. As will be explained in further detail below, the haptic device can also trigger its own sensing of the position of the haptic device and the sensing of the position of the haptic device by the CGR device even while the haptic device is moving, such as when the haptic device determines that it has a substantially constant rate (i.e., when the translation and / or rotation rate of the haptic device does not change by more than a defined threshold amount within a time interval).

[0033] Although various embodiments are disclosed herein in the context of MR devices and other CGR devices used in conjunction with haptic devices, the embodiments are not limited thereto. Embodiments of the present disclosure may operate to provide alignment of coordinate systems used as references for any two types of electronic devices, for example, between any display device (e.g., MR device, VR device, smartphone screen) configured to sense the position of another device configured to sense its own position (e.g., a haptic device or gaming object that can be moved by a user, such as a game controller or gaming sword, a gun-type steering wheel, etc.).

[0034] Figure 1 A CGR system is shown that includes a haptic device 130 and a CGR device 100 operating according to some embodiments of the present disclosure.

[0035] refer to Figure 1 , an example CGR device 100 may be an MR device having a front-facing camera 110 configured to optically sense the position of a haptic device 130. The CGR device 100 may be configured to display graphical objects as overlays on real-world objects that may be viewed through the camera 110 and / or may be viewed through a see-through display (e.g., Google Glass). The graphical objects may be generated by the MR device and / or a server 140. The CGR device 100 may include one or more speakers 120.

[0036] The haptic device 130 includes an onboard sensor that senses the current position of the haptic device 130. The haptic device 130 may include a haptic feedback generating device 750 ( Figure 7 ), which is configured to provide tactile feedback to the user, such as force feedback and / or vibration feedback. The onboard sensors may include motion sensors 740 ( Figure 7 ), rotational and / or translational position encoders, infrared (IR) positioning systems, and / or other sensors configured to sense the current position or posture of the haptic device 130. The haptic device 130 may include components of a Geomagic Touch product. In one embodiment, the position or posture is measured at 1 kHz using an encoder in the motor of the haptic device 130. The haptic device 130 and the CGR device 100 include network interface circuitry that can be configured to communicate directly with each other via wired and / or wireless communication links and / or via a server 140 or another device (e.g., a network router or repeater).

[0037] The CGR device 100 can sense its current position or posture using the camera 110 and / or using a motion sensor (e.g., an inertial measurement unit) configured to sense the current position or posture of the haptic device 130. Alternatively, the CGR device 100 can sense the current position or posture of the haptic device 130 using the camera 110, a spaced-apart RF transmitter and receiver (e.g., an ultra-wideband or Wi-Fi radio) configured to perform triangulation of RF signals sent to and / or received from the haptic device 130, and / or using another sensor configured to sense the current position or posture of the haptic device 130. The CGR device 100 may include components of a Microsoft Hololens product, such as a camera and communication circuitry of a Microsoft Hololens product.

[0038] In the description of the following example embodiments, the position of the haptic device 130 in homogeneous coordinates is referred to as P, where P = [p 1] T ([…] T represents the transpose of the matrix […]. The term p is a vector and p=[X, Y, Z] represents the three-dimensional (3D) position of the haptic device 130 in Cartesian coordinates. In addition, the term S(P) is defined as the set of all recorded positions of the haptic device 130 in the coordinate system of the haptic device 130. The position of the haptic device 130 relative to the coordinate system of the CGR device 100 is referred to as P in homogeneous coordinates. CGR , where P CGR =[p CGR 1] T and p CGR =[X CGR ,Y CGR ,ZCGR ] is in the Cartesian coordinate system. The position set of the CGR device 100 is S CGR (P CGR Each pair of haptic device positions sensed by both the haptic device 130 and the CGR device 100 is stored in a set Q(P, P CGR )middle.

[0039] In addition, item V P refers to the translation rate, and the term V alpha Refers to the rotation rate. refers to an estimate of the velocity V for t seconds into the future, which may be estimated based on an analysis of the motion acceleration and / or previous motion patterns that have been performed by the user.

[0040] The term epsilon refers to a constant value that may be defined by the user and / or by the executable application.

[0041] exist Figure 1 In the example of , the haptic device 130 is configured to sense its pose in a first 6DOF coordinate system, which is shown as translation directions X', Y', Z' and rotation directions θx', θy', θz' (which may correspond to roll, pitch, and yaw). Similarly, the CGR device 100 is configured to sense the position of the haptic device 130 in a second 6DOF coordinate system, which is shown as translation directions X, Y, Z and rotation directions θx, θy, θz (which may correspond to roll, pitch, and yaw). However, embodiments may be used with any multi-dimensional coordinate system.

[0042] According to various embodiments of the present invention, the haptic device 130, the CGR device 100, and / or the server 140 are configured to generate a transformation matrix for transforming a gesture (e.g., position, rotation angle, and / or a combination thereof) referenced in one of the first coordinate system and the second coordinate system to the other of the first coordinate system and the second coordinate system, and may also generate another transformation matrix for transforming a gesture in another direction in the other of the first coordinate system and the second coordinate system to one of the first coordinate system and the second coordinate system. The haptic device 130 may generate the transformation matrix and transmit it to the CGR device 100 so that the CGR device 100 can adjust the CGR device 100 on the display device 850 ( Figure 8 ) on the object.

[0043] For example, a virtual object may have tactile properties defined in a first coordinate system referenced by the tactile device 130. The CGR device 100 may receive metadata about the virtual object, for example, from the tactile device 130 itself and / or from the server 140, wherein the metadata may include the shape, color difference, and posture of the virtual object relative to the first coordinate system. The tactile device 130 may send a transformation matrix to the CGR device 100 so that the CGR device 100 transforms the metadata (e.g., posture) of the virtual object from the first coordinate system of the tactile device 130 to the second coordinate system of the CGR device 100. The CGR device 100 may then use the transformed metadata to display the virtual object on a display device for the user to view. These operations enable the virtual object to be more accurately shown and its tactile properties to be operationally tracked relative to a real object (e.g., relative to a user's finger, hand, arm, or other physical object).

[0044] The tactile properties of the virtual object may cause the CGR device 100 to control the tactile device 130 to provide tactile feedback to the user when the tactile properties are satisfied (e.g., when the user's finger is determined to have touched the surface of the virtual object at a location). Alternatively or additionally, the tactile properties of the virtual object may cause the CGR device 100 to move and / or rotate the displayed virtual object, or otherwise change the displayed appearance of the virtual object in response to determining that the tactile properties are satisfied (e.g., when the user's finger is determined to have touched the surface of the virtual object at a location).

[0045] Conversely, a new virtual object created in the second coordinate system of the CGR device 100 can have its metadata sent to the haptic device 130, for example, to control feedback provided to the user by the haptic device 130 and / or to control the position determination of the haptic device 130 relative to the new virtual object. The haptic device 130 uses the metadata to calculate a transformation matrix for transforming the pose of the virtual object from the second coordinate system of the CGR device 100 to the first coordinate system of the haptic device 130.

[0046] Figure 2 Data flow diagrams and flow charts are shown of other example operations that may be performed by the haptic device 130 and the CGR device 110 operating in accordance with some embodiments of the present disclosure. Figure 7 is a block diagram of haptic device components configured according to some other embodiments of the present disclosure, and Figure 8 is a block diagram of CGR device components that may be used in the above-described CGR device 100 and / or CGR device 500 according to some other embodiments of the present disclosure.

[0047] refer to Figure 2 , and also refer to Figure 7 and 8(As will be described in further detail below), the haptic device 130 controls the CGR device 100 to measure the position of the haptic device 130 . Figure 2 The haptic device 130 is configured to determine Figure 1 The transformation matrix between the first coordinate system and the second coordinate system.

[0048] The haptic device includes a motion sensor 740, a network interface 730, a processor 710, and a memory 720. The motion sensor 740 is configured to sense the motion of the haptic device 130. The network interface circuit 730 is configured to communicate with the haptic device 130, for example, through direct wireless and / or wired communication, and / or communicate with the server 140. The processor 710 is connected to the motion sensor 740 and the network interface circuit 730. The memory 720 stores program code executed by the processor 710 to perform operations, as described below with respect to Figure 2 Explain these operations.

[0049] The CGR device 100 measures the position of the haptic device 130 relative to the CGR device 100, which includes a sensor 110, a network interface circuit 830, a processor 810, and a memory 820. The sensor 110 is configured to output sensor data that can indicate the position of the haptic device 130. The network interface circuit 830 is configured to communicate with the haptic device 130. The processor 810 is connected to the sensor 110 and the network interface circuit 830. The memory 820 stores program code that is executed by the processor 810 to perform operations, also described below with respect to Figure 2 Explain these operations.

[0050] The haptic device may transmit 200 a pairing request to the CGR device 100, which the CGR device 100 may responsively receive 210. The user may initiate operation 200 by pressing a button or by launching an application executed by the haptic device 130. Operation 200 may additionally or alternatively be triggered when it is determined that a coordinate system alignment or updated alignment is required, for example when triggered by a user and / or automatically by the CGR device 100, as will be described below with respect to Figure 6 The CGR device 100 may capture a corneal image from the user using an eye-facing camera, and the CGR device 100 analyzes the image to determine when there is an excessive misalignment between the graphics of the virtual computer-generated object displayed on the display device 850 of the CGR device 100 and the graphics of the real-world object viewed by the user. The CGR device 100 may then trigger an update of the transformation matrix when there is an excessive misalignment.

[0051] As will be discussed below Figure 6As explained in further detail, the corneal image may be analyzed to identify occurrences of excessive misalignment between the first coordinate system and the second coordinate system, such as when a virtual object that should be aligned with a particular real object has excessive misalignment between the first coordinate system and the second coordinate system.

[0052] The sensors, such as the front-facing camera 110, may be turned off when not in use to save power. The CGR device 100 may respond to the request by turning on 212 the sensors that it will use to measure the position of the haptic device 130. The haptic device 130 operates the motion sensor 740 to sense 202 its motion. In response to determining 204 that the haptic device 130 has a level of motion sensed by the motion sensor 740 that satisfies the defined rules, the haptic device 130 sends 206 a request to the CGR device 100 to measure the position of the haptic device 130.

[0053] The haptic device 130 may determine that its motion level satisfies the defined rules when, for example, one or more of the following conditions exist:

[0054] a)V P <=ε

[0055] b)

[0056] In one embodiment, the value of ε is about 0 or another defined threshold. An ε value of 0 is difficult to observe because the haptic device 130 may experience very small motion and / or the output of the motion sensor 740 may be affected by noise and / or drift. Therefore, the value of ε can be selected based on the required level of accuracy for the resulting transformation matrix used for coordinate system alignment. The haptic device position P is then stored in S and Q. The defined rules can also include determining whether the currently measured position P is already in the set of recorded positions S and / or whether the currently measured position has expired because a threshold time has passed since its determination.

[0057] Condition (b) above may generally be more favorable because the request for measurement may be performed in the future, which reduces the delay in receiving the position measurement from the CGR device 100. The request for measurement from the haptic device 130 to the CGR device 100 and causes a non-zero delay in the operation for capturing the image. The delay may be sufficient for movement of the haptic device 130 to occur. However, the use of predicted requests enables computational compensation for such delays and a more consistent alignment of the coordinate system regardless of the motion of the haptic device 130.

[0058] By limiting the measurements to occur when the haptic device 130 has a rotational velocity below a defined threshold, the position measurement of the haptic device 130 by the CGR device 100 may be improved.

[0059] In additional embodiments, upon recognizing that a position measurement is needed, the user may be requested, for example, via a display of the CGR device 100, to stop moving the haptic device 130. Similarly, the user may be requested to accordingly move the haptic device 130 to a certain position or a different pair of positions that are not yet part of the sets S and Q. Such guidance may be provided to the user via tactile feedback provided through the haptic device 130, via audio feedback via the speaker 120 of the CGR device 100, and / or via information displayed on the display device 850 of the CGR device 100.

[0060] Further references Figure 2 , when the defined rules are met, the haptic device 130 senses the position of the haptic device 130 and stores 208 it in the memory 720. The CGR device 100 receives 214 the request and responsively initiates 216 an operation for generating a measurement of the position of the haptic device 130. The CGR device 100 stores 218 in the memory 820 sensor data output by the sensor, such as a digital picture from the camera 110, that can indicate the position of the haptic device 130. The CGR device 100 then sends 220 an acknowledgement indicating that the sensor data has been stored.

[0061] The haptic device 130 receives 222 an acknowledgement from the CGR device 100 indicating that the CGR device 100 has stored sensor data that can be used to measure the position of the haptic device 130. The haptic device 130 may determine 224 whether an abort condition has occurred in which a level of motion of the haptic device 130 sensed within a time interval between when the request was sent 206 to the CGR device 100 and when the acknowledgement was received 222 from the CGR device 100 has no longer satisfied the defined rule. In response to the abort condition occurring, the haptic device 130 sends 226 an abort message to the CGR device 100 to abort operations for measuring the position of the haptic device 130.

[0062] In one illustrative embodiment, when the haptic device 130 has not moved or otherwise has motion that satisfies the defined rules, other operations for determining a transformation matrix between the first coordinate system and the second coordinate system are performed. In contrast, when it is determined that the haptic device 130 has moved or otherwise has motion that does not satisfy the defined rules, a message is sent to the CGR device 100 to cancel its current measurement of the position of the haptic device 130.

[0063] Assuming T1 is the time when the request for measurement is sent 206 to the CGR device 100, and assuming T2 is the time when the ACK is received 222, when the haptic device 130 is determined to have a motion that violates the defined rules in the time interval between T1 and T2, a message to abort the measurement is sent 226 to the CGR device 100 because the stored sensor data indication of the haptic device position is no longer valid. In contrast, when the haptic device 130 is determined to have no motion that violates the defined rules in the time interval between T1 and T2, the haptic device 130 continues to operate to determine the transformation matrix.

[0064] The time T2-T1 may be based on or equal to Delta_N*2+Delta_C, where Delta_N is the network latency, and Delta_C is the time between when the request for a new image is sent 206 and when the image is acquired and stored in the memory of the CGR device 100 for subsequent processing to determine the position of the haptic device 130. Delta_C may be defined based on the camera frame rate (e.g., 60 Hz), and the network latency may be about 1 ms to about 5 ms, depending on the network communication protocol and path used for communication, whether the communication is delayed due to sharing communication resources with other devices and / or other applications on the same device. Thus, T2-T1 may be about 20 ms, which is an acceptable length of time that the haptic device should not move or otherwise have motion outside of the defined rules.

[0065] In the case where the server 140 is used to collect measured positions from both the haptic device 130 and the CGR device 100 and perform operations for determining a transformation matrix for a coordinate system alignment transformation, if a message is received from the haptic device 130 with information that the haptic device 130 has moved Delta_B seconds after receiving an ACK from the CGR device 100 (where Delta_B is higher than the maximum tolerable Delta_N), the server 140 sends a message to the CGR device 100 to suspend its collection of measured positions and to suspend the performance of operations for determining the transformation matrix.

[0066] Further references Figure 2 , the CGR device 100 determines 228 whether an abort message has been received, the abort message indicating that the level of motion of the haptic device 130 sensed within the time interval between when the request was received 214 and when the confirmation was sent 220 no longer satisfies the defined rule. In response to not receiving the abort message, the CGR device 100 completes generating 230 a measurement of the position of the haptic device 130 based on the sensor data stored in the memory, and sends 232 the measurement of the position of the haptic device 130. Therefore, in response to determining 228 that the abort message has not been received, the sending of the measurement of the position of the haptic device 130 is performed.

[0067] In one embodiment, the CGR device 100 uses a position estimation algorithm (e.g., a vision-based position recognition operation that processes a digital photo of the haptic device 130 stored 218 in memory by the camera 110) to estimate the position of the haptic device 130 in the second coordinate system of the CGR device 100. An acknowledgment (ACK) indicating that the digital photo has been captured is sent 220 to the haptic device 130. The position estimation algorithm continues to be executed to estimate the position of the haptic device 130 using the stored digital photo, although the acknowledgment message is sent 220 once it is determined that the digital photo is stored in memory.

[0068] The vision-based position estimation algorithm can determine the position based on identifying one or more markers connected to or visible on the haptic device 130, a portion of the housing of the haptic device 130, and / or another visually identifiable feature of the haptic device 130. The algorithm can be based on the algorithm used by the Hololens product, which uses the Hololens AR Tool Kit, which takes 20 to 50 ms from capturing a digital picture to outputting a position estimate of the markers attached to the haptic device 130. Alternatively or additionally, the vision-based position estimation algorithm can be based on one or more algorithms provided by an open source computer vision library (OpenCV).

[0069] In some other embodiments, the position of the haptic device is estimated using a spaced-apart RF transmitter and receiver (eg, an ultra-wideband or Wi-Fi radio) configured to perform triangulation of RF signals sent to and / or received from the haptic device 130 .

[0070] The haptic device 130 receives 234 a position P of the haptic device 130 referenced in the second coordinate system of the CGR device 100. AR The tactile device position P measured in the second coordinate system CGR Can be stored in S CGR and Q.

[0071] The haptic device 130 responsively determines 236 a transformation matrix for transforming a posture (i.e., a position, a rotation angle, and / or a combination thereof) referenced in one of the first coordinate system and the second coordinate system to a posture referenced in the other of the first coordinate system and the second coordinate system based on the position of the haptic device 130 retrieved from a memory of the haptic device 130 and based on the position of the haptic device 130 received from the CGR device 100.

[0072] In one embodiment, when the number of linearly independent position vectors in the set Q is greater than N (i.e., rank(Q)>=N), calculation of the transformation matrix between the first coordinate system of the haptic device 130 and the second coordinate system of the CGR device 100 may be performed. To perform calculation of the transformation matrix for both position and orientation, the number of linearly independent vectors in the set Q is greater than N>=12 (which is the minimum number of parameters to be identified in the transformation matrix). The calculation of the transformation matrix may be performed via least squares operations, where these operations find the number of linearly independent vectors that relate the two coordinate systems to P. CGR =T*P transformation T, where P CGR =[p CGR 1] T , P = [p 1] T and in And t = [t1, t2, t3] T , Assume that M = [P(1) T ; P(2) T ; ... ; P(n) T ] and M CGR =[P CGR (1) T ;P CGR (2) T ;…;P CGR (n) T ] are the posture measurements P and P respectively for all measurements i in the set Q. CGR The transformation T is obtained by minimizing ||M*T T –M CGR || transformation. Other methods such as direct linear transform (DLT) can also be used to calculate the transformation matrix.

[0073] The transformation matrix may be used 238 to control the haptic device 130 and / or may be sent to the CGR device 100 and / or the server 140. For example, the transformation matrix may be used to transform a posture of the haptic device 130 from one of the first coordinate system and the second coordinate system to the other of the first coordinate system and the second coordinate system to generate a transformed posture. The generation of tactile feedback by the haptic device 130 may be controlled based on the transformed posture. Alternatively or additionally, the CGR device 100 may be controlled 240 based on the transformation matrix (e.g., by displaying a graphical object having a posture determined based on the transformation matrix on a display device).

[0074] In some embodiments, it is determined 204 that the level of motion sensed by the motion sensor 740 satisfies the defined rule, for example when the haptic device 130 remains stationary during a time interval between when the request is sent 206 to the CGR device 100 (time T1) and when an acknowledgement is received 222 from the CGR device 100 (time T2).

[0075] In contrast, in some other embodiments, the defined rule is satisfied when the haptic device 130 remains stationary or the velocity does not change by more than a defined threshold amount during the time interval between T1 and T2. Then, based on the position of the haptic device 130 retrieved from the memory 720 being determined to have changed by an amount during at least a portion of the time interval between T1 and T2 due to the velocity of the haptic device 130, an operation for estimating an updated position of the haptic device 130 is performed. The haptic device 130 receives 234 a measurement of the position of the haptic device 130 from the CGR device 100. Then, the haptic device 130 may determine 236 a transformation matrix for transforming a gesture referenced in one of the first coordinate system and the second coordinate system to a gesture referenced in the other of the first coordinate system and the second coordinate system based on the updated position of the haptic device 130 and based on the measurement of the position of the haptic device 130 received from the CGR device 100.

[0076] Figure 3a and 3b A data flow diagram and a flowchart illustrating the operation of the haptic device 130, the server 140, and the CGR device 100 operating in accordance with some embodiments of the present disclosure. In the illustrated operation, the server 140 generates a transformation matrix between a first coordinate system of the haptic device 130 and a second coordinate system of the CGR device 100.

[0077] refer to Figure 3a and 3b , the haptic device 130 generates 300 a pairing request, which is transmitted to the CGR device 100 for receipt 304, and the request may be relayed 302 by the server 140. The haptic device 130 senses 306 its motion, and waits to determine 308 that the level of motion meets the defined rules, such as by being substantially motionless or having an acceptable constant rate. In response to the determination, the haptic device 130 sends 310 a request to the CGR device 100 to send a measurement of the haptic device position to the server 140. The CGR device 100 receives 330 the request for the measurement, which may be forwarded by the server 140 or otherwise observed 312.

[0078] The haptic device 130 senses 316 its current position, e.g., via the motion sensor 740, and sends 318 the sensed position to the server 140. The server, in response to observing 312 the request or in response to receiving 320 the measurement from the haptic device 130, initiates 314 an operation for generating a transformation matrix. The CGR device 100 responds to the received 330 request by initiating 332 an operation for generating a measurement of the haptic device position, and stores 334 sensor data output by the sensor (e.g., a digital picture from the camera 110), which the CGR device 100 or the server 140 can use to determine the haptic device position. In response to storing the sensor data, the CGR device 100 sends 336 an acknowledgement for receipt 340 by the haptic device 130. The server 140 can forward or otherwise observe 338 the acknowledgement.

[0079] The CGR device 100 sends 350 a measurement of the haptic device position to the server 140, which receives 370 the measurement. The haptic device 130, before or after receiving 370 the haptic device position measurement, determines 360 whether it has moved during the time interval between when the request was sent 310 (time T1) and when the confirmation was received 340 (time T2), or otherwise had motion that does not satisfy the defined rules (e.g., had a substantially constant rate of translation and / or rotation that satisfies the defined rules) during the time interval.

[0080] When the haptic device 130 has a motion that does not satisfy the defined rules, an abort message may be sent 362 to the server 140, and when received 372 by the server 140, the abort message triggers the server 140 to abort generation of the transformation matrix based on the position measurements of the haptic device 130 and the position measurements of the CGR device 100. In contrast, when the haptic device 130 remains stationary or otherwise has a motion that satisfies the defined rules, the server 140 completes generation 374 of the transformation matrix between the first coordinate system and the second coordinate system.

[0081] The transformation matrix may then be used to control 380 the haptic device to generate haptic feedback. Alternatively or additionally, the transformation matrix may be used to control 380 displaying a graphical object having a posture determined based on the transformation matrix on a display device of the CGR device 100. For example, the CGR device 100 may use the transformation matrix to manipulate the displayed graphical object, such as by positioning, rotating the object, adjusting the color difference of the object, and / or adjusting the shape of the object through the transformation matrix based on a processing metric of the object.

[0082] Figure 4a and 4bAnother data flow diagram and flowchart of the operation of the haptic device 130, the server 140, and the CGR device 100 operating in accordance with some other embodiments of the present disclosure are shown. In the illustrated operation, the CGR device 100 and / or the server 140 generates a transformation matrix between a first coordinate system of the haptic device 130 and a second coordinate system of the CGR device 100.

[0083] refer to Figure 4a and 4b , the haptic device 130 generates 400 a pairing request, which is transmitted to the CGR device 100 for receipt 404 and may be relayed 402 by the server 140. The haptic device 130 senses 406 its motion and waits for a determination 408 that the level of motion satisfies defined criteria, such as by being substantially motionless (stationary) or having an acceptable constant rate. In response to the determination, the haptic device 130 sends 410 a request to generate a measurement of the haptic device position to the CGR device 100. The CGR device 100 receives 430 the request for measurement, which may be forwarded by the server 140 or otherwise observed 412.

[0084] The haptic device 130 senses 416 its current position, e.g., via the motion sensor 740, and sends 418 the sensed position to the server 140 and / or the CGR device 100. The CGR device 100 responds to the received 430 request by initiating 432 an operation for generating a measurement of the haptic device position, and stores 434 sensor data output by the sensor (e.g., a digital picture from the camera 110), which the CGR device 100 or the server 140 can use to determine the haptic device position. In response to storing the sensor data, the CGR device 100 sends 436 an acknowledgement for receipt 440 by the haptic device 130. The server 140 can forward or otherwise observe 438 the acknowledgement.

[0085] The haptic device 130 determines 460 whether it has moved during the time interval from when the request was sent 410 (time T1) to when the confirmation was received 440 (time T2), or otherwise had motion during the time interval that does not satisfy the defined rules (e.g., had a substantially constant translation and / or rotation rate that satisfies the defined rules).

[0086] When the haptic device 130 has a motion that does not satisfy the defined rules, an abort message may be sent 462 to the CGR device 100 and / or the server 140, which may forward 464 the report message. If the abort message is received, the abort message triggers the CGR device 100 to abort 452 the generation of measurements of the haptic device position. In contrast, when the haptic device 130 remains stationary or otherwise has a motion that satisfies the defined rules, the CGR device 100 does not receive the abort message and thus completes the generation 454 of the measurements of the haptic device position and may be operable to send 456 the measurements to the server for receipt 466.

[0087] The CGR device 100 may receive 457 the position of the haptic device 130 measured by the haptic device 130 and determine a transformation matrix between the first coordinate system and the second coordinate system. The CGR device 100 may use the transformation matrix to control the display 458 of the graphical object having a posture determined based on the transformation matrix. For example, the CGR device 100 may manipulate the displayed graphical object, such as by positioning, rotating the object, adjusting the color difference of the object, and / or adjusting the shape of the object through the transformation matrix based on the processing metric of the object.

[0088] Alternatively or additionally, the server 140 may receive 466 the measurement of the position of the haptic device and determine 468 a transformation matrix between the first coordinate system and the second coordinate system. The transformation matrix may then be used to control 470 the generation of haptic feedback by the haptic device. Alternatively or additionally, the transformation matrix generated by the server 140 may be used to control 380 display of a graphical object having a gesture determined based on the transformation matrix on a display device of the CGR device 100.

[0089] Figure 5 Another type of CGR device 500 (e.g., Google Glass) is shown with a user-facing camera 502 that displays computer-generated objects on a display device 850 and allows a user to view real-world objects through the display device 850 and / or view real-world objects outside the area of ​​the display device 850 in accordance with some embodiments of the present disclosure. Digital images from the user-facing camera 502 may be processed to automatically determine when an updated transformation matrix needs to be generated, and responsively initiate its generation. Figure 6 A flowchart of related operations of the CGR device 100 for initiating generation of an updated transformation matrix according to some embodiments of the present disclosure is shown.

[0090] refer to Figure 5 and 6, the CGR device 500 operates a camera 502 facing the user to capture 600 a digital picture of reflections from the user's eye 510. The reflections from the user's eye 510 include a first component and a second component, the first component being a reflection of a virtual computer-generated object displayed on the display device 850, and the second component being a reflection of light from a real-world object. The CGR device 500 processes 602 the image to extract a misalignment measure between the virtual computer-generated object and the real-world object. The CGR device 500 generates an updated transformation matrix by initiating 604 an operation (e.g., Figure 2 , 3a -3b and / or operations shown in 4a-4b) in response to the misalignment metric not satisfying the defined alignment rules.

[0091] Cloud Implementation

[0092] Some or all of the operations described above as being performed by the haptic device 130, the server 140, and / or the CGR device 100 may alternatively be performed by another node that is part of a network operator's cloud computing resources. For example, such as in a telecom network operator's cloud server or cloud resources (e.g., in CloudRAN or a core network), these operations may be performed as network functions close to the edge.

[0093] Example Haptic Device, CGR Device, and Server Configuration

[0094] Figure 77 is a block diagram of components of a tactile device 130 configured according to some other embodiments of the present disclosure. The tactile device 130 may include a motion sensor 740, a network interface circuit 730, at least one processor circuit 710 (processor), and at least one memory 720 (memory). The motion sensor 740 may include an inertial measurement unit. The network interface circuit 730 is configured to communicate with another electronic device via a wired (e.g., Ethernet, USB, etc.) and / or wireless (e.g., Wi-Fi, Bluetooth, cellular, etc.) network interface. The tactile device 130 may also include a tactile feedback generation device 750, which is configured to provide tactile feedback, such as force feedback and / or vibration, to a user. The processor 710 is connected to the motion sensor 740, the network interface circuit 730, the tactile feedback generation device 750, and the memory 720. The memory 720 stores program code executed by the processor 710 to perform operations. The processor 710 may include one or more data processing circuits, such as general and / or special purpose processors (e.g., microprocessors and / or digital signal processors), which may be co-located or distributed across one or more data networks. The processor 710 is configured to execute computer program instructions in program code 722 in memory 720 (described below as a computer readable medium) to perform some or all operations and methods of the haptic device 130 for one or more embodiments disclosed herein.

[0095] Figure 88 is a block diagram of a CGR device assembly 800 that can be used in the above-mentioned CGR device 100 and / or 500 and operates according to at least some embodiments of the present disclosure. The CGR device assembly 800 may include a motion sensor 840, a network interface circuit 830, a speaker 120, at least one processor circuit 810 (processor), a display device 850, a front camera 110, a user-facing camera 502, and at least one memory 820 (memory). The motion sensor 840 may include an inertial measurement unit. The network interface circuit 830 is configured to communicate with another electronic device via a wired (e.g., Ethernet, USB, etc.) and / or wireless (e.g., Wi-Fi, Bluetooth, cellular, etc.) network interface. The processor 810 is connected to the motion sensor 840, the display device 850, the front camera 110, the user-facing camera 502, the speaker 120, the network interface 830, and the memory 820. The memory 820 stores program code executed by the processor 810 to perform operations. The processor 810 may include one or more data processing circuits, such as general and / or special purpose processors (e.g., microprocessors and / or digital signal processors), which may be co-located or distributed across one or more data networks. The processor 810 is configured to execute computer program instructions in program code 822 in memory 820 (described below as a computer-readable medium) to perform some or all operations and methods of the CGR device 100 for one or more embodiments disclosed herein.

[0096] Fig. 9 9 is a block diagram of components of a server 140 configured according to some other embodiments of the present disclosure. The server 140 may include a network interface circuit 930, at least one processor circuit 910 (processor), and at least one memory 920 (memory). The network interface circuit 930 is configured to communicate with another electronic device via a wired (e.g., Ethernet, USB, etc.) and / or wireless (e.g., Wi-Fi, Bluetooth, cellular, etc.) network interface. The processor 910 is connected to the network interface 930 and the memory 920. The memory 920 stores program code 922 executed by the processor 910 to perform operations. The processor 910 may include one or more data processing circuits, such as general and / or special processors (e.g., microprocessors and / or digital signal processors), which may coexist or be distributed across one or more data networks. The processor 910 is configured to execute computer program instructions (described below as computer-readable media) in the program code 922 in the memory 920 to perform some or all operations and methods of the server 140 for one or more embodiments disclosed herein.

[0097] Other definitions and embodiments

[0098] In the above description of various embodiments of the inventive concept, it will be understood that the terms used herein are only for describing specific embodiments and are not intended to be limitations of the inventive concept. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those commonly understood by those of ordinary skill in the art to which the inventive concept belongs. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of this specification and related fields, and will not be interpreted in an idealized or overly formal sense unless explicitly defined as such herein.

[0099] When an element is referred to as being "connected to", "coupled to", "responsive to" (or variations thereof) another element, it may be directly connected to, coupled to or responsive to another element, or there may be intermediate elements. In contrast, when an element is referred to as being "directly connected to", "directly coupled to", "directly responsive to" (or variations thereof) another element, there are no intermediate elements. The same numbering refers to the same element herein. In addition, as used herein, "coupling", "connection", "response" or variations thereof may include wireless coupling, connection or response. As used herein, the singular forms "one", "an" and "the" are intended to include plural forms as well, unless the context clearly indicates otherwise. For the sake of brevity and / or clarity, well-known functions or structures may not be described in detail. The term "and / or" includes any and all combinations of one or more listed associated items.

[0100] It will be understood that although the terms first, second, third, etc. can be used in this article to describe various elements / operations, these elements / operations should not be limited by these terms. These terms are only used to distinguish one element / operation from another element / operation. Therefore, the first element / operation in some embodiments can be referred to as the second element / operation in other embodiments without departing from the teaching of the present invention concept. The same reference numerals or the same reference designators in this specification represent the same or similar elements.

[0101] As used herein, the terms "comprises," "including," "having," or variations thereof are open ended and include one or more stated features, integers, elements, steps, components, or functions, but do not exclude the presence or addition of one or more other features, integers, elements, steps, components, functions, or combinations thereof. In addition, as used herein, the general abbreviation "such as," derived from the Latin phrase "exempli gratia," may be used to introduce or specify one or more general examples of previously mentioned items, and is not intended as a limitation of such items. The general abbreviation "that is," derived from the Latin phrase "id est," may be used to specify a specific item from a more general description.

[0102] Example embodiments are described herein with reference to block diagrams and / or flow charts of computer-implemented methods, apparatus (systems and / or devices), and / or computer program products. It will be understood that the blocks of the block diagrams and / or flow charts, and combinations of the blocks in the block diagrams and / or flow charts, can be implemented by computer program instructions executed by one or more computer circuits. These computer program instructions can be provided to a processor circuit of a general-purpose computer circuit, a special-purpose computer circuit, and / or other programmable data processing circuit to produce a machine so that these instructions, when executed via a processor of a computer and / or other programmable data processing device, transform and control transistors, values ​​stored in storage cells, and other hardware components within such circuits to implement the functions / operations specified in one or more blocks in the block diagrams and / or flow charts, and thereby produce a device (function) and / or structure that implements the functions / operations specified in the blocks in the block diagrams and / or flow charts.

[0103] These computer program instructions may also be stored in a tangible computer-readable medium, which may cause a computer or other programmable data processing device to operate in a specific manner so that the instructions stored in the computer-readable medium produce an article of manufacture including instructions for implementing the functions / operations specified in one or more blocks in the block diagram and / or flow chart. Therefore, embodiments of the inventive concept may be embodied in hardware and / or software (including firmware, resident software, microcode, etc.) running on a processor such as a digital signal processor, which may be collectively referred to as "circuit", "module" or variations thereof.

[0104] It should also be noted that in some alternative implementations, the function / operation marked in the square frame can occur in a sequence different from that marked in the flow chart. For example, two continuous square frames can actually be performed substantially in parallel, and they can also be performed in reverse order sometimes, depending on the function / operation involved. In addition, the function of the given square frame of flow chart and / or block diagram can be divided into a plurality of square frames, and / or the function of two or more square frames of flow chart and / or block diagram can be integrated at least in part. Finally, other square frames can be added / inserted between the square frames shown, and / or square frame / operation can be omitted without departing from the scope of the inventive concept. In addition, although some figures include arrows on the communication path to illustrate the main direction of communication, it will be understood that communication can occur in the direction opposite to the arrows shown.

[0105] Many changes and modifications can be made to the embodiments without substantially departing from the principles of the inventive concept. In this article, all these changes and modifications are intended to be included in the scope of the inventive concept. Therefore, the subject matter disclosed above is considered to be illustrative rather than restrictive, and the attached examples of the embodiments are intended to cover all these modifications, enhancements and other embodiments that fall within the spirit and scope of the inventive concept. Therefore, to the maximum extent permitted by law, the scope of the inventive concept will be determined by the most widely permitted interpretation of the disclosure (including the examples of the following embodiments and their equivalents), and should not be limited or restricted by the above detailed description.

Claims

1. A first electronic device, configured to control a second electronic device to measure a position of the first electronic device, the first electronic device comprising: a motion sensor configured to sense motion of the first electronic device; a network interface circuit configured to communicate with the second electronic device; a processor connected to the motion sensor and the network interface circuit; as well as a memory storing program code executed by the processor to perform operations including: In response to determining that the first electronic device is stationary or has a constant velocity as sensed by the motion sensor, sending a request to the second electronic device to measure the location of the first electronic device; sensing the position of the first electronic device and storing it in the memory; and An acknowledgement is received from the second electronic device, the acknowledgement indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device.

2. The first electronic device according to claim 1, wherein: The first electronic device includes a haptic device configured to perform at least one of: measuring movement of the haptic device by a user; and providing haptic feedback to the user; and The request is sent to the second electronic device comprising a computer generated reality device configured to display the graphic as an overlay on the real world object.

3. The first electronic device according to claim 1, wherein: The operations also include: receiving a measurement of the position of the first electronic device from the second electronic device; Based on the location of the first electronic device obtained from the memory and based on A transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system is determined from the measurement of the position of the first electronic device received from the second electronic device, wherein one of the first and second coordinate systems is used to reference the posture of one of the first and second electronic devices, and the other of the first and second coordinate systems is used to reference the posture of the other of the first and second electronic devices.

4. The first electronic device according to claim 3, further comprising: a tactile feedback generating device connected to said processor, The operation further includes: transforming the posture of the first electronic device from one of the first coordinate system and the second coordinate system to the other of the first coordinate system and the second coordinate system using the transformation matrix to generate a transformed posture; and Generation of tactile feedback by the tactile feedback generating device is controlled based on the transformed gesture.

5. The first electronic device according to claim 1, wherein: The operations also include: determining whether a suspension condition has occurred, in which the first electronic device is sensed to be no longer stationary or no longer having a constant velocity within a time interval from when the request is sent to the second electronic device to when the confirmation is received from the second electronic device; and In response to the occurrence of the suspension condition, a suspension message for suspending the operation for measuring the position of the first electronic device is sent to the second electronic device.

6. The first electronic device according to claim 1, further comprising: In response to the first electronic device remaining stationary during a time interval from when the request is sent to the second electronic device to when the confirmation is received from the second electronic device, it is determined that the first electronic device is stationary.

7. The first electronic device according to claim 1, further comprising: determining that the first electronic device has a constant rate in response to the first electronic device being determined to have a rate that does not vary by more than a defined threshold amount during a time interval between when the request is sent to the second electronic device and when the confirmation is received from the second electronic device; estimating an updated position of the first electronic device based on an amount by which the position of the first electronic device retrieved from the memory is determined to have changed during at least a portion of the time interval due to the velocity of the first electronic device; receiving a measurement of the position of the first electronic device from the second electronic device; Based on the updated position of the first electronic device and based on the position of the first electronic device received from the second electronic device, determine a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the first and second electronic devices, and the other of the first and second coordinate systems is used to reference the posture of the other of the first and second electronic devices.

8. The first electronic device according to claim 1, further comprising: determining whether a suspension condition has occurred, in which the first electronic device is sensed to be no longer stationary or no longer having a constant velocity within a time interval from when the request is sent to the second electronic device to when the confirmation is received from the second electronic device; as well as In response to the occurrence of the termination condition, a termination message is sent to the server to terminate the operation for determining a transformation matrix, wherein the transformation matrix is ​​used to transform a posture referenced in a first coordinate system into a posture referenced in a second coordinate system, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

9. A second electronic device, used to measure a position of a first electronic device relative to the second electronic device, the second electronic device comprising: a sensor configured to output sensor data indicative of a position of the first electronic device; a network interface circuit configured to communicate with the first electronic device; a processor connected to the sensor and the network interface circuit; as well as a memory storing program code executed by the processor to perform operations including: receiving a request for sending a measurement of a location of the first electronic device by the second electronic device, the request indicating that the first electronic device is stationary or has a constant velocity; In response to the request, initiating operations for generating a measurement of the location of the first electronic device; storing sensor data output by the sensor and capable of indicating the position of the first electronic device in the memory; sending an acknowledgement indicating that the sensor data has been stored; generating a measurement of the position of the first electronic device based on the sensor data stored in the memory; and The measurement of the position of the first electronic device is transmitted.

10. The second electronic device according to claim 9, wherein: The operations also include: determining whether a suspend message has been received, the suspend message indicating that the first electronic device is sensed to be no longer stationary or no longer having a constant velocity within a time interval between the request being received and the confirmation being sent by the second electronic device, Wherein, in response to the determination that a suspension message has not been received, sending the measurement of the location of the first electronic device is performed.

11. The second electronic device according to claim 9, wherein: The sensor includes a camera; The operation for generating the measurement of the position of the first electronic device based on the sensor data stored in the memory includes: identifying the location of at least one of the following in a digital photograph from the camera: a tag connected to the first electronic device, and a portion of a housing of the first electronic device.

12. The second electronic device according to claim 9, wherein: The second electronic device comprises a computer generated reality (CGR) device; and The first electronic device includes a haptic device configured to perform at least one of: measuring movement of the haptic device by a user, and providing haptic feedback to the user.

13. The second electronic device according to claim 12, wherein: Sending the measurement of the location of the first electronic device includes: A measurement of the position of the haptic device is sent to the haptic device for use in determining a transformation matrix for transforming a posture referenced in a first coordinate system to a posture referenced in a second coordinate system, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the haptic device and the CGR device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the haptic device and the CGR device.

14. The second electronic device according to claim 9, further comprising: Determining, based on the position of the first electronic device sensed by and received from the first electronic device and based on the measurement of the position of the first electronic device by the second electronic device, a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system, wherein one of the first and second coordinate systems is used to reference the posture of one of the first and second electronic devices and the other of the first and second coordinate systems is used to reference the posture of the other of the first and second electronic devices; and The graphical object having the posture determined based on the transformation matrix is ​​displayed on a display device.

15. The second electronic device according to claim 9, wherein: Sending the measurement of the location of the first electronic device includes: The measurement of the position is sent to a server, and the server uses the measurement of the position to determine a transformation matrix for transforming a posture referenced in a first coordinate system to a posture referenced in a second coordinate system, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

16. The second electronic device according to claim 9, further comprising: capturing, using a user-facing camera of the second electronic device, a digital picture of reflections from an eye of the user, wherein the reflections from the eye of the user include a first component and a second component, the first component being a reflection of a virtual computer-generated object displayed on a display device of the second electronic device, and the second component being a reflection of light from a real-world object; processing the digital picture to extract a misalignment measure between the virtual computer-generated object and the real-world object; and In response to the misalignment metric not satisfying the defined alignment rule, an operation for generating an updated transformation matrix is ​​initiated.

17. A server, comprising: a network interface circuit configured to communicate with a first electronic device and a second electronic device; a processor connected to the network interface circuit; as well as a memory storing program code executed by the processor to perform operations including: observing a confirmation transmitted from the second electronic device, the confirmation indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device; receiving, from the first electronic device, a measurement of the position of the first electronic device by the first electronic device; receiving, from a second electronic device, a measurement of the location of the first electronic device by the second electronic device; determining whether a suspend message has been received, the suspend message indicating that the first electronic device was sensed to be no longer stationary or no longer having a constant velocity within a time interval between observing a request for the second electronic device to send the measurement of the location and the second electronic device transmitting the confirmation indicating that the second electronic device has stored the sensor data; Only when an abort message is not received before receiving the confirmation transmitted from the second electronic device, a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system is generated in response to the position of the first electronic device received from the first electronic device and the position received from the second electronic device, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

18. The server according to claim 17, wherein: The first electronic device includes a haptic device configured to perform at least one of: measuring movement of the haptic device by a user, and providing haptic feedback to the user; and The second electronic device includes a computer generated reality (CGR) device.

19. The server according to claim 17, further comprising: Do at least one of the following: using the transformation matrix to control generation of tactile feedback by a tactile feedback generating device; as well as Controlling display of a graphic object having a posture determined based on the transformation matrix on a display device, wherein the display device is within the second electronic device.

20. A method for a first electronic device to control a second electronic device to measure a position of the first electronic device, the method comprising: In response to determining that the first electronic device is stationary or has a constant velocity, sending a request to the second electronic device to measure the location of the first electronic device; sensing the position of the first electronic device and storing it in a memory; as well as An acknowledgement is received from the second electronic device, the acknowledgement indicating that the second electronic device has stored sensor data that can be used to measure the position of the first electronic device.

21. The method according to claim 20, further comprising: Perform the operations of a processor according to any one of claims 2 to 8.

22. A method for a second electronic device to measure a position of a first electronic device relative to the second electronic device, the method comprising: receiving a request for sending a measurement of a location of the first electronic device by the second electronic device, the request indicating that the first electronic device is stationary or has a constant velocity; In response to the request, initiating operations for generating a measurement of the location of the first electronic device; storing sensor data output by a sensor and capable of indicating the position of the first electronic device in a memory; sending an acknowledgement indicating that the sensor data has been stored; generating a measurement of the position of the first electronic device based on the sensor data stored in the memory; as well as The measurement of the position of the first electronic device is transmitted.

23. The method according to claim 22, further comprising: Perform the operations of a processor according to any one of claims 10 to 16.

24. A method of a server, comprising: observing a confirmation transmitted from the second electronic device, the confirmation indicating that the second electronic device has stored sensor data that can be used to measure the location of the first electronic device; receiving, from a first electronic device, a measurement of a position of the first electronic device by the first electronic device; receiving, from a second electronic device, a measurement of the location of the first electronic device by the second electronic device; as well as determining whether a suspend message has been received, the suspend message indicating that the first electronic device has ceased to be stationary or to have a constant velocity within a time interval between observing a request for the second electronic device to send the measurement of the location and the second electronic device transmitting the confirmation indicating that the second electronic device has stored the sensor data; Only when an abort message is not received before receiving the confirmation transmitted from the second electronic device, a transformation matrix for transforming a posture referenced in a first coordinate system into a posture referenced in a second coordinate system is generated in response to the position of the first electronic device received from the first electronic device and the position received from the second electronic device, wherein one of the first coordinate system and the second coordinate system is used to reference the posture of one of the first electronic device and the second electronic device, and the other of the first coordinate system and the second coordinate system is used to reference the posture of the other of the first electronic device and the second electronic device.

25. The method according to claim 24, further comprising: Perform the operations of a processor according to any one of claims 18 to 19.

Citation Information

Patent Citations

  • Electronic device and method for providing haptic feedback thereof

    CN106293055A

  • Program and recording medium on which the program is recorded

    US20130023341A1

  • Method and apparatus for performing an operation at least partially based upon the relative positions of at least two devices

    US20130234925A1