Skip to content

Commit

Permalink
add calib proc in launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao Qu committed Sep 11, 2014
1 parent d436e77 commit 5c7dba4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion launch/node.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
<!-- Node Settings -->
<arg name="output" default="screen"/>
<arg name="respawn" default="false"/>
<arg name="proc" default="false"/>
<arg name="thermal_proc" default="false"/>
<arg name="view" default="false"/>
<arg name="calib" default="false"/>
<arg name="calib_proc" default="false"/>

<!-- Node -->
<node pkg="flir_gige" type="flir_gige_node" name="$(arg camera)"
Expand All @@ -33,6 +34,11 @@
args="image:=/$(arg camera)/image_$(arg image)">
</node>

<!--Calib proc-->
<node if="$(arg calib_proc)" pkg="flir_gige" type="calib_proc_node"
name="calib_proc" ns="$(arg camera)">
</node>

<!-- Calib -->
<group if="$(arg calib)">
<arg name="pattern" default="chessboard"/>
Expand Down
2 changes: 1 addition & 1 deletion src/calib_proc/calib_proc_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void CalibProcNode::ImageCb(const sensor_msgs::ImageConstPtr &image_msg) {

// Detect circles grid
cv::Mat display;
DetectAndDrawCriclesGrid(inverted, cv::Size(5, 4), display);
DetectAndDrawCriclesGrid(inverted, cv::Size(4, 5), display);

cv::Mat calib(inverted);

Expand Down

0 comments on commit 5c7dba4

Please sign in to comment.