Skip to content

Commit eaeb100

Browse files
committed
update dev-environment
1 parent fe82f47 commit eaeb100

5 files changed

Lines changed: 18 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ docker-ros:
2121

2222
consistency:
2323
stage: consistency
24+
needs: []
2425
image: python:3.12-bookworm
2526
variables:
2627
GIT_SUBMODULE_STRATEGY: recursive

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The open-source framework [acados](https://github.com/acados/acados) is used to
2525
The ROS 2 node uses the open-source ROS 2 message definitions [perception_interfaces](https://github.com/ika-rwth-aachen/perception_interfaces) and [planning_interfaces](https://github.com/ika-rwth-aachen/planning_interfaces) for all inputs and outputs, making it easy to integrate into a larger ROS 2-based system. The node is designed to be flexible and configurable, with support for different driving modes, model variants, and execution modes.
2626

2727
<p align="center">
28-
<strong>🚀 <a href="#-quick-start">Quick Start</a></strong> • <strong>🔧 <a href="#-development">Development</a></strong> • <strong>📝 <a href="#-documentation">Documentation</a></strong>
28+
<strong>🚀 <a href="#-quick-start">Quick Start</a></strong> • <strong>💻 <a href="#-development">Development</a></strong> • <strong>📝 <a href="#-documentation">Documentation</a></strong>
2929
</p>
3030

3131
> [!IMPORTANT]
@@ -52,7 +52,7 @@ Run the ready-made demo setup from [`demo`](./demo), which starts the trajectory
5252
xhost -local: # revoke GUI forwarding permissions
5353
```
5454

55-
## 🔧 Development
55+
## 💻 Development
5656

5757
### Set up Development Environment
5858

@@ -96,6 +96,7 @@ colcon test-result --verbose
9696
## 📝 Documentation
9797

9898
Package and node interfaces are documented in the respective package READMEs listed below. Implementation details are found in the [Source Code Documentation](https://openads-project.github.io/trajectory_optimization).
99+
99100
| Package | Description |
100101
| --- | --- |
101102
| [dummy_input_generation](dummy_input_generation/README.md) | Generates and publishes dummy input data for testing purposes of the trajectory optimization node. |

trajectory_optimization_ocp/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,12 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/c_generated_code/build/
3838
FILES_MATCHING PATTERN "*.so"
3939
)
4040

41+
if(BUILD_TESTING)
42+
find_package(ament_lint_auto REQUIRED)
43+
set(ament_cmake_clang_format_CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../.vscode/format/.clang-format)
44+
set(ament_cmake_clang_tidy_CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../.vscode/lint/.clang-tidy)
45+
set(ament_cmake_flake8_CONFIG_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../.vscode/lint/ament_flake8.ini)
46+
ament_lint_auto_find_test_dependencies()
47+
endif()
48+
4149
ament_package()

trajectory_optimization_ocp/package.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212

1313
<buildtool_depend>ament_cmake</buildtool_depend>
1414

15+
<test_depend>ament_lint_auto</test_depend>
16+
<test_depend>ament_cmake_clang_format</test_depend>
17+
<test_depend>ament_cmake_clang_tidy</test_depend>
18+
<test_depend>ament_cmake_flake8</test_depend>
19+
1520
<export>
1621
<build_type>ament_cmake</build_type>
1722
</export>

0 commit comments

Comments
 (0)