mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +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;
|
||||
#ifdef RTABMAP_ZED
|
||||
sl::RuntimeParameters rparam;
|
||||
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;
|
||||
sl::RuntimeParameters rparam((sl::SENSING_MODE)sensingMode_, quality_ > 0, quality_ > 0, sl::REFERENCE_FRAME_CAMERA);
|
||||
if(zed_)
|
||||
{
|
||||
UTimer timer;
|
||||
|
||||
Reference in New Issue
Block a user