ROS下的IDE

打开VS Code 按Ctrl+P,复制如下命令按下回车:

ext install ajshort.ros

Getting Started

The extension will automatically start when you open a catkin workspace. The build system (e.g. catkin_make or catkin build) will automatically be confirmed from the hidden files associated with each system. The ROS distro will automatically be confirmed from the parent environment, or you will be prompted to select a ROS distro if this can't be done automatically.

You must build the catkin workspace at least once before the extension will recognise it.

To start ROS master, use the "ROS: Start Core" command. The "ROS master" indicator in the bottom left will show if the master is currently running, and you can click on this to view parameters etc. If you hit F5 you can create a debug configuration to run a rosrun or roslaunch command.

The first time you open the workspace the extension will automatically create build and test tasks and update the C++ and Python paths. You can re-run this process later using the appropriate commands.

Features

  • Automatic ROS environment configuration.
  • Allows starting, stopping and viewing the ROS master status.
  • Automatically discover catkin_make or catkin build build tasks.
  • Create catkin packages using catkin_create_pkg script or catkin create pkg.
  • Run rosrun or roslaunch (breakpoints currently not supported).
  • Syntax highlighting for .msg.urdf and other ROS files.
  • Automatically add the ROS C++ include and Python import paths.
  • Format C++ using the ROS clang-format style.

Commands

NameCommandDescription
Create Catkin Packageros.createCatkinPackageCreate a catkin package. You can right click on a folder in the explorer to create it in a specific location.
Create Terminalros.createTerminalCreate a terminal with ROS sourced.
Show Master Statusros.showMasterStatusOpen a detail view showing details about the ROS master.
Start Coreros.startCoreSpawn a ROS core
Stop Coreros.stopCoreKill the ROS core
Update C++ Propertiesros.updateCppPropertiesUpdate the C++ include path to include ROS.
Update Python Pathros.updatePythonPathUpdate the Python path to include ROS.

 

更多IDE:包括Anaconda, Eclipse, CodeBlocks, Emacs, Vim NetBeans, QtCreator, PyCharm, KDevelop, RoboWare Studio RDS...   配置请参考:

http://wiki.ros.org/IDEs

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值