Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 214

Need help with passing parameters to a launch file.

$
0
0
I would like to over ride rtabmap parameters on a rosrun command line....I want to used the unaltered rtabmap launch file overriding some of the Grid parameters. Can this be done from the command line? If not is there a way to call rtabmap with include from another launch file and do this I do not want to cop and modify the launch file. I can not seem to get any solution on this. Thank you for your time. The below code does not work. roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" depth_topic:=/zed/depth/depth_registered frame_id:=base_frame approx_sync:=false visual_odometry:=false odom_topic:=/zed/odom camera_info_topic:=/zed/rgb/camera_info rgb_topic:=/zed/rgb/image_rect_color rtabmapviz:=false Grid/MaxGroundAngle:=45.0 Grid/MaxObstacleHeight:=2.0 I tried setting inside a launch file: But the rtabmap keeps setting values to true. [ INFO] [1529896284.763605800]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true" [ INFO] [1529896284.764360510]: Setting RTAB-Map parameter "Mem/InitWMWithAllNodes"="false" even though rosparam list | grep Incr /Mem/IncrementalMemory /rtabmap/Kp/IncrementalDictionary /rtabmap/Kp/IncrementalFlann /rtabmap/Mem/IncrementalMemory /rtabmap/rtabmap/Mem/IncrementalMemory

Viewing all articles
Browse latest Browse all 214

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>