Skip to content
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

Use nodelet in rtabmap_slam.launch #11

Merged
merged 2 commits into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
All pull requests should fix a Triage Approved issue. Put that issue # here:
e.g. ## Fixes #300.
-->
## Fixes #

### Description of the changes:
-
-
-

<!-- Please check off the appropriate boxes with [x] before submitting your pull request -->
### Before submitting a Pull Request:
- [ ] I reviewed [CONTRIBUTING.md](https://github.com/microsoft/Azure_Kinect_ROS_Driver/blob/master/CONTRIBUTING.md)
- [ ] I [built my changes](https://github.com/microsoft/Azure_Kinect_ROS_Driver/blob/master/docs/building.md) locally
- [ ] I tested my changes with a device

### I tested changes on: <!-- it's not required to have tested both, just indicate which one you tried -->
- [ ] Windows
- [ ] Linux


<!-- Specify how you tested your changes (i.e. manual/ad-hoc testing, automated testing, new automated tests added)-->

25 changes: 13 additions & 12 deletions launch/slam_rtabmap.launch
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
<launch>
<!-- Start the K4A sensor driver -->
<group ns="k4a" >

<!-- TODO: move into a nodelet and combine with image_proc nodelet -->
<include file="$(find azure_kinect_ros_driver)/launch/driver.launch" >
<arg name="depth_enabled" value="true" />
<arg name="depth_mode" value="NFOV_UNBINNED" />
<arg name="color_enabled" value="true" />
<arg name="color_resolution" value="1536P" />
<arg name="fps" value="30" />
<arg name="point_cloud" value="false" />
<arg name="rgb_point_cloud" value="false" />
<arg name="required" value="true" />
</include>

<!-- Spawn a nodelet manager -->
<node pkg="nodelet" type="nodelet" name="manager" args="manager" output="screen">
Expand All @@ -34,6 +22,19 @@
<remap from="image_mono" to="depth/image_raw" />
<remap from="image_rect" to="depth/image_rect" />
</node>

<node pkg="nodelet" type="nodelet" name="k4a_ros_bridge"
args="load Azure_Kinect_ROS_Driver/K4AROSBridgeNodelet manager --no-bond"
respawn="true">
<param name="depth_enabled" value="true" />
<param name="depth_mode" value="NFOV_UNBINNED" />
<param name="color_enabled" value="true" />
<param name="color_resolution" value="720P" />
<param name="fps" value="15" />
<param name="point_cloud" value="false" />
<param name="rgb_point_cloud" value="false" />
<param name="required" value="true" />
</node>
</group>

<!-- Start rtabmap_ros node -->
Expand Down