-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self-defined messages not able to included in header file #481
Comments
Our current message generator looks at the files in I'm not familiar with self-defined ROS2 messages. Could you give some details on the directory structure so that I can update the message generator to work for your case? |
It seems that we also need to modify: `share/ament_index/resource_index/rosidl_interfaces"; See:
The parsing use this index to search for packages:
|
Ubuntu 22.04 OS switch to fix-ament-prefix-path branch and
I got compile error Compiling dora-node-api v0.3.3 (/home/demo/Public/github_dora/dora/apis/rust/node) Caused by: --- stderr Location: |
Indeed! Thanks for trying. Just pushed a fix on the branch. |
For self-defined ROS2 msg , after adding to AMENT_PREFIX_PATH , and then run cargo build the msg was not inlcuded in the bindings header file.
The expected behavior is to having the message to be included in bindings header file if ROS2 msg folder was added AMENT_PREFIX_PATH . By the way the msg folder by default has no idl file. Is idl file needed in order to make this work?
I was running this command after adding msg to AMENT_PREFIX_PATH
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp
cargo run --example cxx-ros2-dataflow --features ros2-examples
The text was updated successfully, but these errors were encountered: