Motion between two keyframes, as constrained by the motion prior given to Camera.ingest_motion_prior(). More...
Functions | |
| int | from_keyframe_id (self) |
| Id of the keyframe the motion starts from. More... | |
| int | to_keyframe_id (self) |
| Id of the keyframe the motion ends at. More... | |
| Timestamp | start_timestamp (self) |
| Image timestamp of the keyframe the motion starts from. | |
| Timestamp | end_timestamp (self) |
| Image timestamp of the keyframe the motion ends at. | |
| RELATIVE_POSE_FUSION_STATUS | status (self) |
| How the motion prior was used for this link. | |
| Transform | motion (self) |
| Motion of the camera between start_timestamp and end_timestamp. More... | |
Motion between two keyframes, as constrained by the motion prior given to Camera.ingest_motion_prior().
The positional tracking keeps each link to hold its two keyframes apart by that motion, along the directions your motion source measures, while it refines the map. Retrieve them with Camera.get_positional_tracking_motion_prior_links().
| int from_keyframe_id | ( | self | ) |
Id of the keyframe the motion starts from.
Same ids as Camera.get_positional_tracking_keyframes(). When this keyframe is removed from the map, the link is merged with the one ending at it and then starts from the keyframe before, or the link is removed if the two cannot be merged.
| int to_keyframe_id | ( | self | ) |
Id of the keyframe the motion ends at.
Always present in Camera.get_positional_tracking_keyframes() when the link is retrieved.
| Transform motion | ( | self | ) |
Motion of the camera between start_timestamp and end_timestamp.
In the coordinate system and unit selected in InitParameters, the same direction as RelativePoseData.motion: the pose of the camera at end_timestamp expressed in the frame it was in at start_timestamp.