mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
CameraStereoZed: fixed build for ZED sdk 2.1 (https://github.com/introlab/rtabmap_ros/issues/192)
This commit is contained in:
@@ -988,11 +988,7 @@ SensorData CameraStereoZed::captureImage(CameraInfo * info)
|
|||||||
{
|
{
|
||||||
SensorData data;
|
SensorData data;
|
||||||
#ifdef RTABMAP_ZED
|
#ifdef RTABMAP_ZED
|
||||||
sl::RuntimeParameters rparam;
|
sl::RuntimeParameters rparam((sl::SENSING_MODE)sensingMode_, quality_ > 0, quality_ > 0, sl::REFERENCE_FRAME_CAMERA);
|
||||||
rparam.sensing_mode=(sl::SENSING_MODE)sensingMode_;
|
|
||||||
rparam.enable_depth=quality_ > 0;
|
|
||||||
rparam.enable_point_cloud=quality_ > 0;
|
|
||||||
rparam.move_point_cloud_to_world_frame=false;
|
|
||||||
if(zed_)
|
if(zed_)
|
||||||
{
|
{
|
||||||
UTimer timer;
|
UTimer timer;
|
||||||
|
|||||||
Reference in New Issue
Block a user