#include <rs_sensor.hpp>
◆ pose_sensor() [1/2]
rs2::pose_sensor::pose_sensor |
( |
sensor |
s | ) |
|
|
inline |
◆ pose_sensor() [2/2]
rs2::pose_sensor::pose_sensor |
( |
std::shared_ptr< rs2_sensor > |
dev | ) |
|
|
inlineexplicit |
◆ export_localization_map()
std::vector<uint8_t> rs2::pose_sensor::export_localization_map |
( |
| ) |
const |
|
inline |
Extract SLAM localization map from device and store on host
- Returns
- - localization map blob
◆ get_static_node()
Retrieve a named reference frame anchored to a specific 3D pose
- Parameters
-
[in] | guid | String to designate the reference (limited to 127 chars) |
[out] | pos | 3D Pose position in meters |
[out] | orient | 3D Pose attitude (quaternion) |
- Returns
- true on success
◆ import_localization_map()
bool rs2::pose_sensor::import_localization_map |
( |
const std::vector< uint8_t > & |
lmap_buf | ) |
const |
|
inline |
Load SLAM localization map from host to device
- Parameters
-
[in] | lmap_buf | localization map blob |
- Returns
- true on success
◆ operator bool()
rs2::pose_sensor::operator bool |
( |
| ) |
const |
|
inline |
◆ set_static_node()
bool rs2::pose_sensor::set_static_node |
( |
const std::string & |
guid, |
|
|
const rs2_vector & |
pos, |
|
|
const rs2_quaternion & |
orient |
|
) |
| const |
|
inline |
Create a named reference frame anchored to a specific 3D pose
- Parameters
-
[in] | guid | String to designate the reference (limited to 127 chars) |
[in] | pos | 3D Pose position in meters |
[in] | orient | 3D Pose attitude (quaternion) |
- Returns
- true on success
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-2.19.0/include/librealsense2/hpp/rs_sensor.hpp