python 脚本命令 与 lauch.json 在 参数方面的不同
在 Ubuntu 中的 VSCode 中,
直接使用 python 脚本命令 跟 launch.json 命令运行的区别,不注意会有 error:
如果使用 bash 命令
python xxx.py --gen-traj-modes “bezier2d line circular random2d”
会把 “bezier2d" “line” “circular” "random2d” 解析成 4 个部分
但是,launch 会把 “bezier2d line circular random2d” 当成一个参数处理。