Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue when TF publishing is disabled (#310)
- Loading branch information
Showing
3 changed files
with
111 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2018, STEREOLABS. | ||
All rights reserved. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
--> | ||
<launch> | ||
<arg name="svo_file" default="" /> <!-- <arg name="svo_file" default="path/to/svo/file.svo"> --> | ||
|
||
<arg name="camera_model" default="1" /> <!-- 0=ZED, 1=ZEDM--> | ||
<arg name="serial_number" default="0" /> | ||
<arg name="verbose" default="true" /> | ||
<arg name="resolution" default="2" /> <!--0=RESOLUTION_HD2K, 1=RESOLUTION_HD1080, 2=RESOLUTION_HD720, 3=RESOLUTION_VGA --> | ||
<arg name="frame_rate" default="30" /> | ||
<!-- RESOLUTION_HD2K -> 2208*1242, available framerates: 15 fps. | ||
RESOLUTION_HD1080 -> 1920*1080, available framerates: 15, 30 fps. | ||
RESOLUTION_HD720 -> 1280*720, available framerates: 15, 30, 60 fps. | ||
RESOLUTION_VGA -> 672*376, available framerates: 15, 30, 60, 100 fps. --> | ||
|
||
<arg name="publish_tf" default="false" /> | ||
<arg name="publish_map_tf" default="false" /> | ||
<arg name="publish_urdf" default="true" /> | ||
|
||
<arg name="pose_frame" default="odom" /> | ||
<arg name="odometry_frame" default="odom" /> | ||
|
||
<group ns="zed"> | ||
<include file="$(find zed_wrapper)/launch/zed_camera.launch"> | ||
<arg name="svo_file" value="$(arg svo_file)" /> | ||
<arg name="camera_model" value="$(arg camera_model)" /> | ||
<arg name="serial_number" value="$(arg serial_number)" /> | ||
<arg name="resolution" value="$(arg resolution)" /> | ||
<arg name="frame_rate" value="$(arg frame_rate)" /> | ||
<arg name="verbose" value="$(arg verbose)" /> | ||
<arg name="publish_tf" value="$(arg publish_tf)" /> | ||
<arg name="publish_map_tf" value="$(arg publish_map_tf)" /> | ||
<arg name="publish_urdf" value="$(arg publish_urdf)" /> | ||
<arg name="pose_frame" value="$(arg pose_frame)" /> | ||
<arg name="odometry_frame" value="$(arg odometry_frame)" /> | ||
</include> | ||
</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