-
-
Notifications
You must be signed in to change notification settings - Fork 18
3. IDE Configuration
Should be automatically installed by Ansible. Make sure to open the mrover folder in VSCode, NOT a subfolder. The proper settings and plugins should be contained in the .vscode
folder there. Make sure to install the recommended plugins that a dialog in the bottom right will suggest on opening the project.
Intellisense should work out of the box with clangd after running catkin build
. This command generates compile_commands.json
which clangd understands. Please contact a lead if this does not work.
[ADVANCED] Microsoft puts a lot of spyware into VSCode so if you want you can use VSCodium. It is the same thing except built from source with all the junk removed.
For help with debugging ROS nodes/launch files in VSCode, read this guide.
The recommended way is to comment out the node you want to debug from your launch script. Then hit Ctrl-Shift-P in VSCode and launch a debugger on the node separately. The CMake plugin in VSCode should enable this.
Use Toolbox to install both: https://www.jetbrains.com/toolbox-app/
CLion supports CMake very well out of the box so there is minimal setup. Check: https://www.jetbrains.com/help/clion/ros-setup-tutorial.html
PyCharm requires some more attention: https://www.youtube.com/watch?v=lTew9mbXrAs
At the end of the day ROS uses CMake for all project configuration. Most IDE's will have plugins that support this. It is up to you to find that out.