Messages (and svcs and action goals) larger than a certain size seem to 'disappear'
@Acuadros95 y travaille déjà.
Depuis le 24/5/2022.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Describe the bug
Agents do not appear to forward messages coming in from the "ROS 2 side" that are larger than a certain size.
Increasing the verboseness of the Agent, DDS messages with len: 67776 for instance just disappear. There are no warnings or errors printed by the Agent, and the Client doesn't appear to receive anything, nor does it notify the Agent of any error.
For reference, this was also discussed in https://github.com/micro-ROS/rmw_microxrcedds/issues/258.
To Reproduce
Steps to reproduce the behaviour:
Not exactly steps, but at a high level:
- implement a Client capable of subscribing to a message with a variable sized payload
- create a
rclcpporrclpypublisher which publishes instances of this message - gradually increase size of the payload from something small to 'something large'
- notice how at a certain point, the Client no longer receives any messages
Alternatively: create a server service and client, or an action server and client, which exchange the described message (as one of the fields fi).
Service invocations and action goal submissions will silently start to fail for messages "too large".
Expected behaviour
Ideally: messages of all sizes (even large ones) get forwarded successfully.
Realistically (as unlimited memory doesn't exist): the Agent prints a warning or error, clearly showing it's impossible to forward a message.
If possible: in case of svcs and actions: notify the client the invocation failed -- due to RMW-level failures (so not the invocation itself, but the request didn't even arrive at the server).
System information (please complete the following information):
- OS: observed under Ubuntu
20.04, but same happens on other OS - ROS 2 Foxy, Galactic and Rolling
- Version: using the "most recent" Docker image (
microros/micro-ros-agent/5e93b1fa5608)
- Langage dominant
- C++
- Étoiles
- 201
- Forks
- 111
- Merge moyen
- 1 j 6 h
- PR mergées (30 j)
- 10
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de micro-ROS/micro-ROS-Agent
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
micro-ROS/micro-ROS-Agent#270 ·
-
micro-ROS Agent on macOS Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt Ouverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
micro-ROS/micro-ROS-Agent#266 · 1 commentaire ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
micro-ROS/micro-ROS-Agent#265 · 1 commentaire ·
Toutes les issues de micro-ROS/micro-ROS-Agent
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
games-on-whales/wolf#509 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
bug-unconfirmed
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
NVIDIA/cuda-samples#453 ·