How to load a cfg file in a launch file for lsd_slam
Hi
I am trying to write a launch file for the lsd_slam command below
rosrun lsd_slam_core live_slam /image:=camera/rgb/image_color _calib:=calib.cfg
The launch file so far is
<launch>
<node pkg="lsd_slam_core" type="live_slam" name="live_slam" output="screen" respawn="true">
<param name="_calib" value="/home/rosbuild_ws/package_dir/lsd_slammaster/lsd_slam_core/calib/calib.cfg"/>
<remap from="/image" to="camera/rgb/image_color"/>
</node>
</launch>
I am able to launch the file with the output:
started roslaunch server http://laptop1:43952/
SUMMARY
========
PARAMETERS
* /live_slam/_calib: /home/adishakti/r...
* /rosdistro: indigo
* /rosversion: 1.11.20
NODES
/
live_slam (lsd_slam_core/live_slam)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[live_slam-1]: started with pid [21507]
WAITING for ROS camera calibration!
But when I try to run the bag file nothing happens in the pcl viewer and the depth window does not open.
I guess I am not loading the calibration file correctly. How do I do this ?
Thank you
Please don't use images for what is essentially all plain text. Just copy/paste the text into your question.
If you do, please also use the Pre-formatted Text button (the one with
101010
on it) to format things properly. Select the text, press the button (or usectrl+k
).Thanks.
Ok, sorry about that.
Could you please edit your question to fix it? Thanks.