-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32053b8
commit 864cd1d
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
A ROS2 template node. | ||
An opinionated ROS2 C++ node template, optimised for ISC. | ||
|
||
# Replace | ||
Replace the following in both file names and code exactly and consistently. | ||
# Instructions | ||
|
||
- TODO_PACKAGE_NAME: Replace with the package name. Use snake case. Ex. `data_logger` | ||
- TODO_NODE_NAME: Replace with the node name. Use Pascal case. Ex. `DataLogger` | ||
1. Clone repo inside your workspaces src directory (Ex. phnx_ws/src) | ||
2. `rosdep install --from-paths . --ignore-src -r -y` to install deps | ||
3. `colcon build` to make sure the repo builds before you mess with it | ||
4. Replace the following in both file names and code exactly and consistently. | ||
1. TODO_PACKAGE_NAME: Replace with the package name. Use snake case. Ex. `data_logger` | ||
2. TODO_NODE_NAME: Replace with the node name. Use Pascal case. Ex. `DataLogger` | ||
5. `colcon build` again. If it builds, you are done | ||
6. Rename outer folder | ||
7. Review the optional dependencies, and remove what you do not need | ||
|
||
# Dependencies | ||
Some common extra dependencies are included. Review them and remove what you don't need. | ||
These are marked with TODO_EXTRA. | ||
|
||
# Features | ||
|
||
TODO cover tests, lints, CI, go over files | ||
- Unit tests | ||
- ROS-Industrial github CI (will test units and lints) | ||
- C++ formatting via clangformat | ||
- A selection of sane lints | ||
- A single node setup in a multithreaded executor |