-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raphael Palefsky-Smith
committed
Nov 27, 2017
1 parent
77301f2
commit d9633fa
Showing
6 changed files
with
108 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<launch> | ||
<!-- Common Interface --> | ||
<arg name="device" default="0.0.0.0"/> | ||
<arg name="rate" default="30"/> | ||
|
||
<!-- Camera Settings --> | ||
<arg name="ip_address" default="$(arg device)"/> | ||
<arg name="camera_name" default="flir_ax5"/> | ||
<arg name="camera" default="thermal"/> | ||
<arg name="frame_id" default="$(arg camera)"/> | ||
<arg name="calib_url" default=""/> | ||
<arg name="fps" default="$(arg rate)"/> | ||
<arg name="raw" default="true"/> | ||
|
||
<!-- Node Settings --> | ||
<arg name="output" default="screen"/> | ||
<arg name="view" default="false"/> | ||
<arg name="calib" default="false"/> | ||
<arg name="calib_proc" default="false"/> | ||
<arg name="thermal_proc" default="false"/> | ||
|
||
<!-- Node --> | ||
<node pkg="flir_gige" type="flir_gige_node" name="$(arg camera)" | ||
output="$(arg output)"> | ||
<param name="identifier" type="string" value="$(arg ip_address)"/> | ||
<param name="camera_name" type="string" value="$(arg camera_name)"/> | ||
<param name="calib_url" type="string" value="$(arg calib_url)"/> | ||
<param name="frame_id" type="string" value="$(arg frame_id)"/> | ||
<param name="fps" type="double" value="$(arg fps)"/> | ||
<param name="raw" type="bool" value="$(arg raw)"/> | ||
</node> | ||
|
||
<!-- View --> | ||
<arg name="image" default="image_raw"/> | ||
<node if="$(arg view)" | ||
pkg="image_view" type="image_view" name="viewer" | ||
output="$(arg output)" ns="$(arg camera)" args="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"/> | ||
<arg name="size"/> | ||
<arg name="square"/> | ||
<node pkg="camera_calibration" type="cameracalibrator.py" | ||
name="calibrator" output="screen" | ||
args="-p $(arg pattern) -s $(arg size) -q $(arg square) | ||
image:=/$(arg camera)/image_raw camera:=/$(arg camera)"> | ||
</node> | ||
</group> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
#include <algorithm> | ||
#include <cmath> | ||
|
||
#include <opencv2/contrib/contrib.hpp> | ||
|
||
|
||
namespace flir_gige { | ||
|
||
|