Skip to content

Commit

Permalink
move pyratetest into example_module
Browse files Browse the repository at this point in the history
  • Loading branch information
Interpause committed Dec 3, 2022
1 parent 1e94385 commit afddbe8
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 500 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "example_module"]
path = example_module
url = https://github.com/Interpause/ros-example-node.git
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Template for ROS2 workspace using [VS Code Dev Containers](https://code.visualst
- [Dev Container Lifecycle Hooks](#dev-container-lifecycle-hooks)
- [Tips](#tips)
- [`git` Submodules](#git-submodules)
- [`example_module`](#example_module)
- [Update Package Indexes](#update-package-indexes)
- [Minimize Changes to the Dockerfile](#minimize-changes-to-the-dockerfile)
- [Change ROS Distro](#change-ros-distro)
Expand Down Expand Up @@ -137,6 +138,14 @@ git submodule foreach --recursive git checkout main

This is done for you automatically if using a named volume to store the repository.

### `example_module`

`example_module`'s [README.md](./example_module/README.md) provides instructions on how to create a `git` submodule and add ROS packages to it. It also contains a simple pub-sub `launch` file that can be used to test bandwidth & latency. To remove `example_module`:

```sh
git rm example_module
```

### Update Package Indexes

The `rosdep` and Ubuntu package managers rely on a local cache of their package index. If the package index is outdated, it may not contain any active package distribution server, leading to package downloads failing. Hence, it is recommended to periodically re-download the package index:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:

volumes:
# (OPTION) Choose whether to use named volume to store repository.
# - .:/code:cached # Repository located on host is mounted into container.
- .:/code:cached # Repository located on host is mounted into container.
# - code:/code # named volume used to store repository.
# (OPTION) Mount point for `data` folder.
# - ./data:/data:cached
Expand Down
1 change: 1 addition & 0 deletions example_module
Submodule example_module added at 3de27b
33 changes: 0 additions & 33 deletions pyratetest/launch/test.launch.py

This file was deleted.

22 changes: 0 additions & 22 deletions pyratetest/package.xml

This file was deleted.

18 changes: 0 additions & 18 deletions pyratetest/pyratetest/__init__.py

This file was deleted.

131 changes: 0 additions & 131 deletions pyratetest/pyratetest/job.py

This file was deleted.

87 changes: 0 additions & 87 deletions pyratetest/pyratetest/publish.py

This file was deleted.

Loading

0 comments on commit afddbe8

Please sign in to comment.