-
Notifications
You must be signed in to change notification settings - Fork 76
Calibration files & Minor code changes #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
* 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
There was a problem hiding this 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.
@@ -168,11 +169,11 @@ class ZedCameraROS { | |||
// get config from the left, right.yaml in config | |||
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"); |
There was a problem hiding this comment.
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.
<param name="frame_rate" value="30"/> | ||
<param name="config_file_location" value="$(arg config_file_location)"/> | ||
<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"/> |
There was a problem hiding this comment.
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.
@@ -1,20 +1,19 @@ | |||
<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"/> |
There was a problem hiding this comment.
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.
@@ -1,6 +1,8 @@ | |||
cmake_minimum_required(VERSION 2.8.3) | |||
project(zed_cpu_ros) | |||
|
|||
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") |
There was a problem hiding this comment.
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?
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