Call service in Micro-ROS while using custom QOS settings

Aperta
#416 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
arduino, ubuntu

Direzione di ricerca

Riprodurre il malfunzionamento del client del servizio sulla configurazione con Portenta H7 e Ubuntu 22.04, con i riferimenti QoS personalizzati abilitati. Iniziare da custom_qos.refs e dai tutorial collegati Micro-ROS DDS-entities e ROS 2 Fast DDS configuration, confrontando i nomi delle richieste/risposte del servizio con le voci dei topic funzionanti. Il lavoro è completato quando viene documentata una configurazione funzionante oppure viene confermata l’incompatibilità tra i riferimenti QoS personalizzati e i servizi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

  • 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!

Lingua principale
SCSS
Stelle
127
Fork
71
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di micro-ROS/micro-ROS.github.io

Tutte le issue di micro-ROS/micro-ROS.github.io

Issue simili

Altre issue su Embedded & IoT

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.