Skip to content

Commit 6892228

Browse files
authored
Merge pull request #34 from neufieldrobotics/feature/tf_prefix
will update Readme and doc field in launch files for tf_prefix usage
2 parents e80d670 + 887481a commit 6892228

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ All the parameters can be set via the launch file or via the yaml config_file.
9191
* ~max_rate_save (bool, default: false)
9292
Flag for max rate mode which is when the master triggers the slaves and saves images at maximum rate possible. This is the multithreaded mode
9393

94+
### node/nodelet Specific Parameters
95+
* ~tf_prefix (string, default: "")
96+
tf_prefix will be pre-fixed to (existing cam_*_optical_frame) frame id in ros Image msg and cameraInfo msg. default option doesn't add any prefix to frame id. eg: uas1/cam_0_optical_frame if tf_prefix:= uas1
97+
98+
9499
### System configuration parameters
95100
* ~cam_ids (yaml sequence or array)
96101
This is a list of camera serial numbers in the order which it would be organized. The convention is to start from left to right.

launch/acquisition.launch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
If False, the acquisition/capture_nodelet waits for the nodelet_manager name $(arg nodelet_manager_name)" />
2828

2929
<!-- Capture nodelet params-->
30-
<arg name="tf_prefix" default="" />
30+
<arg name="tf_prefix" default="" doc="will prefix (arg tf_prefix)/ to existing frame_id in Image msg and camerainfo msg" />
3131
<!-- start the nodelet manager if $(arg start_nodelet_manager) is true-->
3232
<node pkg="nodelet" type="nodelet" name="$(arg nodelet_manager_name)" args="manager" output="screen" if="$(arg start_nodelet_manager)" />
3333

launch/nodelet_subscriber_example.launch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
If False, the acquisition/capture_nodelet waits for the nodelet_manager name $(arg nodelet_manager_name)" />
2828

2929
<!-- Capture nodelet params-->
30-
<arg name="tf_prefix" default="" />
31-
30+
<arg name="tf_prefix" default="" doc="will prefix (arg tf_prefix)/ to existing frame_id in Image msg and camerainfo msg" />
3231
<!-- start the nodelet manager -->
3332
<node pkg="nodelet" type="nodelet" name="$(arg nodelet_manager_name)" args="manager" output="screen" />
3433

params/test_params.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
cam_ids:
2-
- 18080155
2+
- 17197559
3+
- 17197547
34
cam_aliases:
45
- cam0
5-
master_cam: 18080155
6+
- cam1
7+
master_cam: 17197559
68
skip: 20
79
delay: 1.0
810

@@ -23,14 +25,18 @@ image_height: 1536
2325
image_width: 2048
2426
distortion_coeffs:
2527
- [-0.021141875266089592, -0.3733872931278025, 2.385982550579459, 3.2824571732099725]
28+
- [-0.021141875266089592, -0.3733872931278025, 2.385982550579459, 3.2824571732099725]
2629

2730

2831
#specified as [fx 0 cx 0 fy cy 0 0 1]
2932
intrinsic_coeffs:
3033
- [1886.9232141485886, 0.0, 604.7214878709341, 0.0, 1886.6668765711668, 493.47726714719823, 0.0, 0.0, 1.0]
34+
- [1886.9232141485886, 0.0, 604.7214878709341, 0.0, 1886.6668765711668, 493.47726714719823, 0.0, 0.0, 1.0]
3135

3236
rectification_coeffs:
3337
- [1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000]
38+
- [1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000]
3439

3540
projection_coeffs:
3641
- [913.700317, 0.000000, 953.448302, 0.000000, 0.000000, 1063.296631, 777.871993, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000]
42+
- [913.700317, 0.000000, 953.448302, 0.000000, 0.000000, 1063.296631, 777.871993, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000]

0 commit comments

Comments
 (0)