pyrealsense2.pose_sensor

class pyrealsense2.pose_sensor
__init__(self: pyrealsense2.pose_sensor, sensor: pyrealsense2.sensor) → None

Methods

__init__((self: pyrealsense2.pose_sensor, ...)
as_color_sensor(...)
as_depth_sensor(...)
as_fisheye_sensor(...)
as_motion_sensor(...)
as_pose_sensor(...)
as_roi_sensor(...)
as_wheel_odometer(...)
close((self: pyrealsense2.sensor) -> None) Close sensor for exclusive access.
export_localization_map(...) Get relocalization map that is currently on device, created and updated during most recent tracking session.
get_info((self: pyrealsense2.sensor, ...) Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...) Read option value from the device.
get_option_description(...) Get option description.
get_option_range(...) Retrieve the available range of values of a supported option
get_option_value_description(...) Get option value description (In case a specific option value holds special meaning)
get_recommended_filters(...) Return the recommended list of filters by the sensor.
get_static_node(...) Gets the current pose of a static node that was created in the current map or in an imported map.
get_stream_profiles(...) Retrieves the list of stream profiles supported by the sensor.
get_supported_options(...) Retrieve list of supported options
import_localization_map(...) Load relocalization map onto device.
is_color_sensor(...)
is_depth_sensor(...)
is_fisheye_sensor(...)
is_motion_sensor(...)
is_option_read_only(...) Check if particular option is read only.
is_pose_sensor(...)
is_roi_sensor(...)
is_wheel_odometer(...)
open(*args, **kwargs) Overloaded function.
remove_static_node remove_static_node(self: pyrealsense2.pose_sensor, Removes a named virtual landmark in the current map, known as static node.
set_notifications_callback(...) Register Notifications callback
set_option((self: pyrealsense2.options, ...) Write new value to device option
set_static_node(...) Creates a named virtual landmark in the current map, known as static node.
start(*args, **kwargs) Overloaded function.
stop((self: pyrealsense2.sensor) -> None) Stop streaming.
supports(*args, **kwargs) Overloaded function.

Attributes

profiles The list of stream profiles supported by the sensor.
export_localization_map(self: pyrealsense2.pose_sensor) → List[int]

Get relocalization map that is currently on device, created and updated during most recent tracking session. Can be called before or after stop().

get_static_node(self: pyrealsense2.pose_sensor, guid: str) → Tuple[bool, pyrealsense2.vector, pyrealsense2.quaternion]

Gets the current pose of a static node that was created in the current map or in an imported map. Static nodes of imported maps are available after relocalizing the imported map. The static node’s pose is returned relative to the current origin of coordinates of device poses. Thus, poses of static nodes of an imported map are consistent with current device poses after relocalization. This function fails if the current tracker confidence is below 3 (high confidence).

import_localization_map(self: pyrealsense2.pose_sensor, lmap_buf: List[int]) → bool

Load relocalization map onto device. Only one relocalization map can be imported at a time; any previously existing map will be overwritten. The imported map exists simultaneously with the map created during the most recent tracking session after start(),and they are merged after the imported map is relocalized. This operation must be done before start().

remove_static_node()

remove_static_node(self: pyrealsense2.pose_sensor, Removes a named virtual landmark in the current map, known as static node. guid: str) -> bool

set_static_node(self: pyrealsense2.pose_sensor, guid: str, pos: pyrealsense2.vector, orient: pyrealsense2.quaternion) → bool

Creates a named virtual landmark in the current map, known as static node. The static node’s pose is provided relative to the origin of current coordinate system of device poses. This function fails if the current tracker confidence is below 3 (high confidence).