Skip to content

Commit 242c917

Browse files
committed
added steps to recommend ros2 agnocast -v
Signed-off-by: Koichi Imai <koichi.imai.2@tier4.jp>
1 parent d28e3e6 commit 242c917

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/tips/containers.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,12 @@ The script unloads the current module, purges every installed `agnocast-kmod-v*`
117117

118118
!!! warning
119119
The kmod version on the host and the `libagnocast_heaphook.so` version inside the container must share the same ioctl ABI. Mismatched versions cause runtime errors. This script does not touch the container; it is the operator's responsibility to roll the container to a matching version.
120+
121+
After the swap, verify that the host kmod, the in-container `libagnocast_heaphook.so`, and the in-container `agnocastlib` are on compatible versions by running
122+
123+
```bash
124+
source <your-workspace>/install/setup.bash # must include the ros2agnocast package
125+
ros2 agnocast -v
126+
```
127+
128+
**inside the container** where your Agnocast application actually runs. The command prints the detected kmod / heaphook / agnocastlib versions and flags any incompatibility.

0 commit comments

Comments
 (0)