Recommended steps for working with ROS workspaces
See original GitHub issueI am currently using compdb
to create a compile_commands.json
file that works with clang-tidy. I, however, have multiple packages in my ROS workspace that export a
comile_commands.jsonfile (i.e. have the
CMAKE_EXPORT_COMPILE_COMMANDSoption set). Therefore, I wondered if there is a way to represent all the compilation databases of the packages contained in my ROS workspace into one
compile_commands.json` output file.
Related to https://github.com/Sarcasm/compdb/issues/2#issuecomment-338475035.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Creating a workspace — ROS 2 Documentation
Creating a workspace · Background · Prerequisites · Tasks. 1 Source ROS 2 environment. 2 Create a new directory. 3 Clone a sample...
Read more >Part 2: 7 Simple Steps to create and build your first ROS ...
3. Creating and building our ROS Package · Step 1: Create a catkin workspace and a source folder · Step 2: Initialize the...
Read more >ROS: Create Multiple Catkin Workspaces
All in all, you can see that creating a catkin workspace is a two-step process: 1. You create a specific folder and use...
Read more >Create Catkin Workspace — Industrial Training documentation
We have a good installation of ROS, and we need to take the first step to setting up our particular application. Your goal...
Read more >Step By Step Integration of ROS in VS Code - GitHub
1. VS Code Extensions · 2. Set Up Your VS Code Workspace · 3. Intellisense · 4. Create Your Package · 5. Building...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For future reference, I found another way to use clang-tidy in a catkin workspace. Vscode has the clang-tidy and catkin-tools vscode extensions. The catkin-tools does does something similar to compdb. More information about the setup can be found here.
Ah, great. Thanks for the tip.