-
Notifications
You must be signed in to change notification settings - Fork 34
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
Terminate called after throwing an instance of 'rclcpp::exceptions::RCLError' with Nav2 #8
Comments
HI @ruffsl, I'm able to reproduce the error and I'm investigating the root cause. I'll report back as soon as I have a better idea, thank you for your report for now! |
Actually, I'm not 100% sure I'm getting the same error: on my side, the "error" manifests itself as a crash of |
Yes, that about matches my experience. The navigation lunch file starts a number of nodes, rviz among them that briefly appears but quickly crashes after lunch. The policy file within the policy folder includes a listing of all the nodes and their topics, services, and actions used. It seems no longer to be exhaustive, so it's temporarily commented out in the root level enclave, swapped with forgiving |
I discovered a problem in the way some objects were registered on the DomainParticipant (wrappers to the ROS message type supports), and fixing that seems to have resolved the crash. The fix has been pushed to I tested the demo in the unsecure configuration with I'll wait to hear from you before closing the issue, and I'll test with DDS Security while I wait. |
I just tested the demo again using 75975f3 , and both the navigation and mapping sections of the demo are working like a charm with I now finally have a rmw with a working baseline using Secure DDS on a real world ROS2 Foxy stack with which to debug our minimal spanning access control permission policy for the rest of the demo. I can see the previous policy is now missing a few permissions, or that some topics have changed since last audited. :D
Nice work @asorbini , thanks for the quick response! Are there any plans to include
This isn't a priority, but might you know why |
That's awesome, great to hear it's working as expected! I'll go ahead and close the issue.
Is this because you need to update your permissions file for some additional endpoints? Unless
I'm trying to get to the bottom of some test failures that occur consistently on the ROS2 CI machines but not in my local test environment, and as soon as those are resolved
Is the RMW implementation the only change, or did you also switch from Connext 5.3.1 to 6.0.1? If you upgraded the Connext version too, it might be possible that a wildcard permission was not supported earlier, and it is now (I haven't verified in the release notes). Looking at the RMW implementations, I don't see anything that |
System Info
Bug Description
The Nav2 stack crashes immediately upon startup when using
rmw_connextdds
.Expected Behavior
The nav2 stack works as expected when using
rmw_cyclonedds
orrmw_fastrtps_cpp
, at least when DDS Security is disabled.How to Reproduce
Clone the turtlebot3_demo repo from the ros security working group:
Apply the following patch to enable and use
rmw_connextdds
Download the
rti_connext_dds-6.0.1-eval-x64Linux3gcc5.4.0.run
setup file and place this with yourrti_license.dat
file in the rti folder in the repo.Follow instructions in Setting the Demo for installing docker and rocker, etc. Then build and run either the demo with or without DDS security, using byobu to switch to the navigation tmux tab to either view the stdout or debug launching nav2 stack.
Workarounds
I recall this same demo working with
rmw_connext_cpp
at least without DDS Security enabled. This can be tested again by building the docker image usingrmw_connext_cpp
and connext 5.3.1 instead:Remember to change or setenv the
RMW_IMPLEMENTATION
variable as need in the tmux configs.Additional context
The issue seems to persist regardless of whether security is or isn't enabled, example stdout here:
ros-swg/turtlebot3_demo#34 (comment)
The text was updated successfully, but these errors were encountered: