Messages (and svcs and action goals) larger than a certain size seem to 'disappear'
@Acuadros95 já está trabalhando nisso.
Desde 24/5/2022.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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)
- Linguagem predominante
- C++
- Estrelas
- 201
- Forks
- 111
- Merge médio
- 1d 6h
- PRs com merge (30d)
- 10
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de micro-ROS/micro-ROS-Agent
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
micro-ROS/micro-ROS-Agent#270 ·
-
micro-ROS Agent on macOS Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
micro-ROS/micro-ROS-Agent#269 ·
-
Release to apt Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
micro-ROS/micro-ROS-Agent#267 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
micro-ROS/micro-ROS-Agent#266 · 1 comentário ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
micro-ROS/micro-ROS-Agent#265 · 1 comentário ·
Todas as issues de micro-ROS/micro-ROS-Agent
Issues semelhantes
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
QuantStack/git2cpp#187 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
AXERA-TECH/ax-llm#77 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
games-on-whales/wolf#509 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100