How could I launch "octomap_server>octomap_mapping.launch" with "openni_launch>openni.launch"?
How could i do?
Update 1:
Hi my friend, i hava robot location in 2D mapping without any odometry. and i wanna 3d mapping with xtion.
i did it just for launch!
mrl-x200@mrlx200-ThinkPad-X200:~$ roscd
mrl-x200@mrlx200-ThinkPad-X200:~/fuerte_workspace$ roscreate-pkg mapping_3d std_msgs roscpp
mrl-x200@mrlx200-ThinkPad-X200:~/fuerte_workspace$ nautilus mapping_3dstd_msgs/
[/home/mrl-x200/fuerte_workspace/mapping_3dstd_msgs]
[right_click-> create new document-> empty document] && [name=do.launch]
<?xml version="1.0"?>
<launch>
<include file="$(find openni_launch)/launch/openni.launch"/>
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server" output="screen">
<param name="resolution" value="0.05" />
<param name="frame_id" type="string" value="camera_link" />
<param name="base_frame_id" type="string" value="camera_link" />
<param name="sensor_model/max_range" value="5.0" />
<remap from="cloud_in" to="camera/depth/points" />
</node>
</launch>
mrl-x200@mrlx200-ThinkPad-X200:~/fuerte_workspace$ roslaunch mapping_3d do.launch
mrl-x200@mrlx200-ThinkPad-X200:~/fuerte_workspace$ rosrun rviz rviz
now I trying with hector_mapping
<?xml version="1.0"?>
<launch>
<include file="$(find openni_launch)/launch/openni.launch"/>
<node pkg="tf" type="static_transform_publisher" name="camera_link" args="0 0 0 0 0 0 base_footprint camera_link 100" />
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server" output="screen">
<param name="resolution" value="0.1" />
<param name="frame_id" type="string" value="map" />
<param name="base_frame_id" type="string" value="base_footprint" />
<param name="sensor_model/max_range" value="5.0" />
<remap from="cloud_in" to="camera/depth/points" />
</node>
</launch>
What is your opinion? :)