-
Notifications
You must be signed in to change notification settings - Fork 33
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
Zenoh-only examples communicating with ROS Nodes via the bridge #70
Comments
thanks @JEnoch ! |
Which built-in ROS-specific functionalities did you expect for services and actions ? |
Somehow I expected that mandatory stuff, e.g. |
The action messages are implemented as such (with Indeed the bridge could accept queries with Moreover, as we plan to support RMW_ZENOH (i.e. the ros2dds plugin being able to bridge between |
I implemented a zenoh-pico-example based on cyclonedds cdrstream, but now there are several problems:
client send reqeust with a = 123456(0x01_E240), b = 654321(0x09_FBF1) while server received request with a = 530239482494992(0x01_E240_0000_0010), b = 2810287296086016(0x09_FBF1_0000_0000) client received response with sum = 3340526778581008(0x0B_DE31_0000_0010), actual sum = 777777(0x0B_DE31)
I don't know if it's a problem with my use of cdrstream or a problem with bridge... |
@uupks The issue is in your usage of cdrstream:
You should call Similarly, when deserializing the reply, you should check the 4 bytes CDR header to check if the encoding is little or big endian, and then call |
I tested both
and there is no dds_stream_read_sampleLE() with the latest cdrstream, only the |
Describe the feature
The goal is to provide examples of applications using the Zenoh APIs to communicate with ROS 2 Nodes via
zenoh-bridge-ros2dds
. At minimum, those examples shall include some which are compatible with the ROS 2 demos.The text was updated successfully, but these errors were encountered: