-
Notifications
You must be signed in to change notification settings - Fork 408
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
Reset the error when rcl_take_response failed #397
Comments
Thanks for the patch @minggangw Regarding Look like the parallel of PR ros2/rcl#88 is just missing for clients, and then there will be no error message to be cleared. |
Hi @dhood, we are implementing a rcl Node.js client named rclnodejs, which is under the Web Robot Tools umbrella. I found this problem when running the unit test by
So I think we should do the same as ros2/rcl#88 does for clients. P.S. I want to have a brief introduction about us. We are from Open Source Technology, Intel and our mission is to promote web technology in every possible field. From middle of this year, we collaborated with RWT guys to develop the Node.js client of ROS2.0, @jihoonl gives us great support. The first alpha release of |
Yes, I agree that the parallel of PR ros2/rcl#88 is just missing for clients, and then there will be no error message to be cleared. This is proposed in ros2/rcl#182 so I'll close this ticket as it should address your initial issue. Great to hear the context around the contributions.. I was wondering what client library you were using, but you are developing your own 😄 It's nice to see the work being done on |
* Update rcl_action Doxyfile Add reference to rcl tagfile and fix generated tagfile name. Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Fix minor doc errors Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Don't fail build if lsan isn't available Since lsan isn't a required dependency for these packages, they shouldn't fail to build when it isn't present. Note that part of using a sanitizer involves additional libraries, so using check_cxx_compiler_flag might not fail because it doesn't perform linking like check_cxx_source_compiles does. Signed-off-by: Scott K Logan <logans@cottsay.net> * Remove 32-bit sanitizer logic Signed-off-by: Scott K Logan <logans@cottsay.net> * Update rosbag2_cpp/CMakeLists.txt Signed-off-by: Scott K Logan <logans@cottsay.net> Co-authored-by: Karsten Knese <Karsten1987@users.noreply.github.com> * Drop sanitizers from rosbag2_compression Signed-off-by: Scott K Logan <logans@cottsay.net> * Only check for sanitizer if using GCC Signed-off-by: Scott K Logan <logans@cottsay.net> Co-authored-by: Karsten Knese <Karsten1987@users.noreply.github.com>
In the latest implementation of
rcl
of rcl_take_response, the function will set the error message when returningRCL_RET_CLIENT_TAKE_FAILED
and we have to reset the error so long as the return value doesn't equal toRCL_RET_OK
. PR #396 has been submitted.The text was updated successfully, but these errors were encountered: