-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
ROS 2 action is a combination of several topics and services.
There is a service called "action_name" + /_action/get_result, which will reply the result of ROS 2 action.
In the ROS 2 action popular example fibonacci_action, it will run about 10 sec, but the default timeout of querier is 5 sec.
zenoh-plugin-ros2dds/DEFAULT_CONFIG.json5
Line 136 in de8acf5
| // default: 5.0, |
This will cause the action client example keep waiting and never finish.
I think we can do both:
- Increase the default timeout for querier
- Notify the users that they might need to adjust the timeout.
To reproduce
# terminal 1
./target/debug/zenoh-bridge-ros2dds -d 1 -l tcp/127.0.0.1:7777
# terminal 2
./target/debug/zenoh-bridge-ros2dds -d 2 -e tcp/127.0.0.1:7777
# terminal 3
ROS_DOMAIN_ID=1 ros2 run action_tutorials_cpp fibonacci_action_client
# terminal 4
ROS_DOMAIN_ID=2 ros2 run action_tutorials_cpp fibonacci_action_server
System info
- Ubuntu 22.04
- ROS 2 Humble
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working