#include <rs_device.hpp>
◆ tm2()
◆ connect_controller()
void rs2::tm2::connect_controller |
( |
const std::array< uint8_t, 6 > & |
mac_addr | ) |
|
|
inline |
Connects to a given tm2 controller
- Parameters
-
[in] | mac_addr | The MAC address of the desired controller |
◆ disable_loopback()
void rs2::tm2::disable_loopback |
( |
| ) |
|
|
inline |
Restores the given device into normal operation mode
◆ disconnect_controller()
void rs2::tm2::disconnect_controller |
( |
int |
id | ) |
|
|
inline |
Disconnects a given tm2 controller
- Parameters
-
[in] | id | The ID of the desired controller |
◆ enable_loopback()
void rs2::tm2::enable_loopback |
( |
const std::string & |
from_file | ) |
|
|
inline |
Enter the given device into loopback operation mode that uses the given file as input for raw data
- Parameters
-
[in] | from_file | Path to bag file with raw data for loopback |
◆ is_loopback_enabled()
bool rs2::tm2::is_loopback_enabled |
( |
| ) |
const |
|
inline |
Checks if the device is in loopback mode or not
- Returns
- true if the device is in loopback operation mode
◆ reset_to_factory_calibration()
void rs2::tm2::reset_to_factory_calibration |
( |
| ) |
|
|
inline |
Reset tm2 to factory calibration
- Parameters
-
[in] | device | tm2 device |
[out] | error | If non-null, receives any error that occurs during this call, otherwise, errors are ignored |
◆ set_extrinsics()
Set tm2 camera extrinsics
- Parameters
-
[in] | from_stream | only support RS2_STREAM_FISHEYE |
[in] | from_id | only support left fisheye = 1 |
[in] | to_stream | only support RS2_STREAM_FISHEYE |
[in] | to_id | only support right fisheye = 2 |
[in] | extrinsics | extrinsics value to be written to the device |
◆ set_intrinsics()
void rs2::tm2::set_intrinsics |
( |
int |
fisheye_sensor_id, |
|
|
const rs2_intrinsics & |
intrinsics |
|
) |
| |
|
inline |
Set tm2 camera intrinsics
- Parameters
-
[in] | fisheye_senor_id | The ID of the fisheye sensor |
[in] | intrinsics | value to be written to the device |
◆ set_motion_device_intrinsics()
Set tm2 motion device intrinsics
- Parameters
-
[in] | stream_type | stream type of the motion device |
[in] | motion_intriniscs | intrinsics value to be written to the device |
◆ write_calibration()
void rs2::tm2::write_calibration |
( |
| ) |
|
|
inline |
Write calibration to tm2 device's EEPROM
- Parameters
-
[in] | device | tm2 device |
[out] | error | If non-null, receives any error that occurs during this call, otherwise, errors are ignored |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/librealsense-2.28.1/include/librealsense2/hpp/rs_device.hpp