Call service in Micro-ROS while using custom QOS settings
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- arduino, ubuntu
- Domain
- embedded-iot, networking
Research direction
Reproduce the service-client failure on the Portenta H7 and Ubuntu 22.04 setup with custom QoS references enabled. Start with custom_qos.refs and the linked Micro-ROS DDS-entities and ROS 2 Fast DDS configuration tutorials, comparing service request/response names with the working topic entries. Done means documenting a working configuration or confirming the incompatibility between custom QoS references and services.
Written by the indexing model from the issue text.
Description
- Hardware description: Portenta H7 & Ubuntu 22.04 PC
- Version or commit hash: humble with custom ros2 packages
While using custom QOS Settings as described in https://micro.ros.org/docs/tutorials/advanced/create_dds_entities_by_ref/, creating a client for a service using Micro-ROS fails with an error:
[XMLPARSER Error] Error parsing XML buffer -> Function loadXML
The MicroRos Arduino library has been re-compiled to include custom ROS2 message and service types, and also configured to use custom QOS via references, as explained in the previous link.
The same code can run without that service client, while using different topics and message types, as they have been correctly defined in the "custom_qos.refs". The problem comes in when trying to add a service, as I haven't found a way to set up the QOS for a service and its request/response.
If the MicroRos Arduino library is compiled without the QOS reference setting, the client also works as expected.
So far, I tried to include the service as if it were a topic but using "rs" instead of "rt", according to the ROS Specific Namespace Prefixes standard here. I also tried to replicate the configuration laid out in this ROS2 tutorial, but using a similar approach for the "custom_qos.refs" file did not work.
What's the way moving forward? Is there a way to use both custom QOS settings and ROS2 services in Micro-ROS? Or should I choose only the custom QOS or the services?
Thanks!
- Dominant language
- SCSS
- Stars
- 127
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micro-ROS/micro-ROS.github.io
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
micro-ROS/micro-ROS.github.io#423 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
micro-ROS/micro-ROS.github.io#382 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in micro-ROS/micro-ROS.github.io
Similar issues
-
module: unknown type: bug/reported
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenXiangShan/XiangShan#6623 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
oxidecomputer/hubris#2707 ·
-
boards: microchip: pic32cz_ca80_cult and pic32cz_ca90_cult give DMAC channel 3 to two peripherals Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
zephyrproject-rtos/zephyr#119843 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100