micro-ROS / micro_ros_zephyr_module

micro-ROS Zephyr module and sample code
Apache License 2.0
54 stars 26 forks source link

Service calls don't work correctly with custom services #35

Closed rosterloh closed 3 years ago

rosterloh commented 3 years ago

Steps to reproduce the issue

https://gist.github.com/rosterloh/5b66d993c62bc975d5ca6bbe0ade1fa0

Expected behavior

ros2 service call /control gardin_interfaces/srv/Control waiting for service to become available... requester: making request: gardin_interfaces.srv.Control_Request(module=0, command=0)

Actual behavior

[00:00:07.571,000] main: Service request value: 193: 202. [00:00:15.858,000] main: Service request value: 10: 72. [00:00:59.142,000] main: Service request value: 36: 203. [00:01:01.874,000] main: Service request value: 195: 121.

pablogs9 commented 3 years ago

Can we close also this?

rosterloh commented 3 years ago

Yes, verified working after adding RMW_IMPLEMENTATION=rmw_fastrtps_cpp. See #34. Thank you so much for your support.