Skip to content

Commit 96905a0

Browse files
authored
Note on including custom msg pkg in host ws (micro-ROS#192)
It's worth stating that the custom types package needs to exist in the mcu firmware directory as well as the host ws. Using version control is obviously recommended here. Is there a way to better manage this locally without version control and without manually copying changes between the two workspaces?
1 parent ea764b0 commit 96905a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • _docs/tutorials/core/create_new_type

_docs/tutorials/core/create_new_type/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,5 @@ msg.point32_test.z = 3.12;
136136

137137
...
138138
```
139+
140+
Note that in order for the micro_ros_agent to register these new types, the package with the custom types you've created above, should also be cloned to the host workspace, e.g. `~/uros_ws/src`, and compiled there as well before running the agent.

0 commit comments

Comments
 (0)