Skip to content

Calibration files & Minor code changes#11

Open
hmchung wants to merge 1 commit intowilldzeng:masterfrom
hmchung:master
Open

Calibration files & Minor code changes#11
hmchung wants to merge 1 commit intowilldzeng:masterfrom
hmchung:master

Conversation

@hmchung
Copy link
Copy Markdown

@hmchung hmchung commented Apr 8, 2018

  • Add calibration files for various resolution configurations

  • Modify code to use ini (instead of yaml) calibration file
    (.ini files are printed directly from the calibration scripts)

  • Note:
    ** stere matching seems to work well only at VGA resolution

* Modify code to use ini (instead of yaml) calibration file
(.ini files are printed directly from the calibration scripts)

* Note:
** stere matching seems to work well only at VGA resolution
Copy link
Copy Markdown
Owner

@willdzeng willdzeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you just a few comments.

Comment thread src/zed_cpu_ros.cpp
camera_info_manager::CameraInfoManager info_manager(nh);
info_manager.setCameraName("zed/left");
info_manager.loadCameraInfo( "package://zed_cpu_ros/config/left.yaml");
info_manager.loadCameraInfo( "package://zed_cpu_ros/config/" + std::to_string(resolution_) + "/left.ini");
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you change these two configs into an input param as a string?
different cameras might will have different calibration parameters,
so really make this as a param make more sense.
These two calibration is just an example of what people should be expecting.
Eventually they will have to do a calibration.

Comment thread launch/zed_cpu_ros.launch Outdated
<param name="show_image" value="false"/>
<param name="left_frame_id" value="left_frame"/>
<param name="right_frame_id" value="right_frame"/>
<param name="load_zed_config" value="true"/>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't remove load_zed_config option.

Comment thread launch/zed_cpu_ros.launch
<arg name="config_file_location" default="$(find zed_cpu_ros)/config/SN1267.conf"/>
<arg name="camera_namespace" default="camera"/>
<arg name="device_id" default="0"/>
<arg name="device_id" default="1"/>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think changes on these two default param is necessary.

Comment thread CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(zed_cpu_ros)

set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it have to use c++11?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants