-
Notifications
You must be signed in to change notification settings - Fork 59
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
Put binary "zenoh-bridge-dds" into bin folder while colcon build #134
Conversation
Won't it cause troubles to ROS 2 environment or users to have a binary name ( |
I'm not sure whether there is any rule about the binary name. The reason I want to change the name is that I want to align the binary name in ROS package and Rust cargo build. It takes me some time to find out they are different names. If you think using |
We dug into the ROS 2 docs and here is what we found: Naming conventions (REP 144)A ROS 2 package name only consist of lowercase alphanumerics and There is no rule for a node name, but I would feel confusing that the node name is Installation pathIn all the examples I saw, the install destination is At the end I think the package must comply with what a ROS 2 user would expect. And I assume he will run the bridge as any other ROS 2 node, either via |
Oh, I was not aware that you expect users to run zenoh-bridge-dds with Regarding the binary name, if we decide to put both under
If we keep the binary under |
I didn't know it was possible to have a binary under both I still think that for ROS users it makes more sense to have the binary name with the exact same name than the ROS package (i.e.: My vote goes for option 1. |
Signed-off-by: ChenYing Kuo <[email protected]>
Ok, I use another install to put the binary in bin folder. |
@evshary is this PR still alive? |
Yes, I've already updated it. Waiting for @JEnoch to review. |
After running ROS 2 colcon build, the binary (zenoh-bridge-dds) is put under
install/zenoh_bridge_dds/lib/
folder, which can not be used directly when we sourceinstall/setup.bash
I move the binary to
install/zenoh_bridge_dds/bin/
and also rename the binary name to zenoh-bridge-dds (The same name if we build withcargo build
).