Skip to content

Commit 1224daa

Browse files
dbellicoso-bdaiexploy-bot
authored andcommitted
Cleanup
### What change is being made Fix supporting clangd in vscode. Cleanup unused headers. ### Why this change is being made Cleanup. ### Tested Existing tests cover this PR. GitOrigin-RevId: 93e936fe8e0ae3580b6db589d8fba499a8b35cde
1 parent eda48ef commit 1224daa

18 files changed

Lines changed: 22 additions & 43 deletions

.clangd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
If:
2+
PathMatch: control/.*
3+
CompileFlags:
4+
CompilationDatabase: build/control
5+
6+
---
7+
8+
If:
9+
PathMatch: examples/.*
10+
CompileFlags:
11+
CompilationDatabase: build/examples/controller

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Pixi & Build
22
.pixi/
33
build/
4+
.cache/
45

56
# python
67
__pycache__/

.vscode/c_cpp_properties.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"recommendations": [
3+
"llvm-vs-code-extensions.vscode-clangd",
34
"charliermarsh.ruff",
45
"lijian-onnx-viewer.onnxviewer",
56
"ms-python.python",
67
"ms-vscode.cpptools",
7-
"ms-vscode.cpptools-extension-pack",
88
"ms-vscode.cmake-tools",
99
"renan-r-santos.pixi-code",
1010
"twxs.cmake",

.vscode/settings.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
".pytest_cache/": true,
99
},
1010
// "C_Cpp.loggingLevel": "Debug",
11-
"C_Cpp.intelliSenseEngine": "default",
11+
"C_Cpp.intelliSenseEngine": "disabled",
12+
"clangd.arguments": [
13+
"--background-index",
14+
"--completion-style=detailed"
15+
],
1216
"cmake.sourceDirectory": "${workspaceFolder}",
1317
"cmake.buildDirectory": "${workspaceFolder}/build",
1418
"cmake.configureOnOpen": false,
@@ -19,11 +23,11 @@
1923
"editor.formatOnType": false,
2024
// Language-specific formatters
2125
"[cpp]": {
22-
"editor.defaultFormatter": "ms-vscode.cpptools",
26+
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd",
2327
"editor.formatOnSave": true
2428
},
2529
"[c]": {
26-
"editor.defaultFormatter": "ms-vscode.cpptools",
30+
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd",
2731
"editor.formatOnSave": true
2832
},
2933
"[python]": {

control/include/exploy/command_interface.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) 2026 Robotics and AI Institute LLC dba RAI Institute. All rights reserved.
22
#pragma once
33

4-
#include <array>
54
#include <optional>
65
#include <string>
76

control/include/exploy/components.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) 2026 Robotics and AI Institute LLC dba RAI Institute. All rights reserved.
22
#pragma once
33

4-
#include <optional>
5-
#include <regex>
64
#include <string>
75

86
#include "exploy/command_interface.hpp"

control/include/exploy/context.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Copyright (c) 2026 Robotics and AI Institute LLC dba RAI Institute. All rights reserved.
22
#pragma once
33

4-
#include <optional>
5-
#include <regex>
4+
#include <memory>
65
#include <string>
76
#include <unordered_map>
87
#include <vector>

control/include/exploy/controller.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55
#include "exploy/command_interface.hpp"
66
#include "exploy/context.hpp"
77
#include "exploy/data_collection_interface.hpp"
8-
#include "exploy/interfaces.hpp"
98
#include "exploy/onnx_runtime.hpp"
109
#include "exploy/state_interface.hpp"
1110

1211
#include <string>
13-
#include <unordered_map>
14-
#include <vector>
1512

1613
namespace exploy::control {
1714

control/include/exploy/data_collection_interface.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <cstdint>
55
#include <span>
66
#include <string>
7-
#include <vector>
87

98
namespace exploy::control {
109

0 commit comments

Comments
 (0)