天天看点

【SLAM】——vscode debug ros项目

vscode, ros

首先需要把ros的项目编译成exe

在ros exe中添加,打印出exe的相关输入参数

然后根据上面的参数配置vsocde的<code>launch.json</code>

需要先按正常的命令启动一个launch文件。比如<code>roslaunch orb_object_slam mono.launch</code>,然后在ros的exe中,才能读取launch中的参数。