-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get an error message when rcl_ret_t is 1? #1880
Comments
Hello @JamesTann, I should check, but the RCL reporting mechanism for reporting errors is probably disabled in micro-ROS for saving memory. |
Hi @pablogs9, I am having similar issue so I am not creating a new issue. How can we enable the debug/error messages reporting? PS: I am already using the docker to generate precompiled library. |
Hello @pablogs9 , I am currently trying to debug an issue where @metanav I am also building the library with Docker. |
@JamesTann Have you updated the colcon meta to allocate memory for services? The default is very limited. https://micro.ros.org/docs/tutorials/advanced/microxrcedds_rmw_configuration/ |
Hi @hippo5329, Yes I have, although I was not sure what the requirements are for a service client. So I just tried increasing
Should this be enough resources? |
How to get an error message when rcl_ret_t is 1?
Note: This is not an issue, just a question, so my apologies if this is not the right place to ask it.
I modeled this macro after the
RCCHECK
one used throughout the examples:Which calls this function:
However, when I encounter an error, I see this garbled output:
Output:
What is the proper way of getting a more specific error message?
Note: I am communicating to the Micro ROS Agent using ethernet, so my understanding is that I can safely using serial for debugging
The text was updated successfully, but these errors were encountered: