ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Well I solved it like this:
1.- cd to the /sandbox directory that has been created by rosws
2.- Add the repository to the overlay, e.g. it is added to ~/working_space/sandbox/.rosinstall
rosws set -y depthimage_to_laserscan --git https://github.com/ros-perception/depthimage_to_laserscan.git
3.- update the rosws
rosws update depthimage_to_laserscan
4.- source ~/.bashrc
5.- cd to depthimage_to_laserscan and run cmake . and make
The launch file may look like this:
<launch>
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan" args="image:=/camera/depth/image_raw" respawn="true">
<!--param name="output_frame_id" value="/camera_depth_frame"/-->
<param name="scan_height" value="290"/>
<param name="scan_time" value="0.125"/>
<param name="range_min" value="0.80"/>
<param name="range_max" value="3.0"/>
<param name="min_height" value=".10"/>
<param name="max_height" value="2.0"/>
<remap from="/scan" to="/scan_xtion"/>
</node>
</launch>
Then run:
rosrun rviz rviz and the fake kinect can be seen under the topic /scan_xtion
Cheers
2 | No.2 Revision |
Well I solved it like this:
1.- cd to the /sandbox directory that has been created by rosws
2.- Add the repository to the overlay, e.g. it is added to ~/working_space/sandbox/.rosinstall
rosws set -y depthimage_to_laserscan --git https://github.com/ros-perception/depthimage_to_laserscan.git
3.- update the rosws
rosws update depthimage_to_laserscan
4.- source ~/.bashrc
5.- cd to depthimage_to_laserscan and run cmake . and make
The launch file may look like this:
<launch>
<include file="$(find openni_launch)/launch/openni.launch"/>
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan" args="image:=/camera/depth/image_raw" respawn="true">
<!--param name="output_frame_id" value="/camera_depth_frame"/-->
<param name="scan_height" value="290"/>
<param name="scan_time" value="0.125"/>
<param name="range_min" value="0.80"/>
<param name="range_max" value="3.0"/>
<param name="min_height" value=".10"/>
<param name="max_height" value="2.0"/>
<remap from="/scan" to="/scan_xtion"/>
</node>
</launch>
Then run:
rosrun rviz rviz and the fake kinect can be seen under the topic /scan_xtion
Cheers
3 | No.3 Revision |
Well I solved it like this:
1.- cd to the /sandbox directory that has been created by rosws
2.- Add the repository to the overlay, e.g. it is added to ~/working_space/sandbox/.rosinstall
rosws set -y depthimage_to_laserscan --git https://github.com/ros-perception/depthimage_to_laserscan.git
3.- update the rosws
rosws update depthimage_to_laserscan
4.- source ~/.bashrc
5.- cd to depthimage_to_laserscan and run cmake . and make
The launch file may look like this:
<launch>
<include file="$(find openni_launch)/launch/openni.launch"/>
<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan" args="image:=/camera/depth/image_raw" respawn="true">
<!--param name="output_frame_id" value="/camera_depth_frame"/-->
<param name="scan_height" value="290"/>
<param name="scan_time" value="0.125"/>
<param name="range_min" value="0.80"/>
<param name="range_max" value="3.0"/>
<param name="min_height" value=".10"/>
<param name="max_height" value="2.0"/>
<remap from="/scan" to="/scan_xtion"/>
</node>
</launch>
Then run:
rosrun rviz rviz and the fake kinect can be seen under the topic /scan_xtion
Cheers