-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ERROR] [lifecycle_manager]: Failed to change state for node: map_server #1161
Comments
Seems like a middleware issue. |
@MengNan-Li Is this still and issue for you? |
Currently, this problem does not occur without using the rmw_opensplice_cpp middleware, in which the problem can be reproduced. |
I'm seeing something very similar and traced it to Are you seeing the same message about "rcl node's context is invalid"?
Edit: traced this to a bad launch file (running my Eloquent launch on Dashing). Unsure why it manifests as a crash in |
@rotu I just reproduced this problem and found no the log message about "rcl node's context is invalid".
|
Whatever the original error is, it looks like the log is missing some detail due to ros2/rclcpp#776 . Either that or you didn't copy enough of the output into this issue. |
mis read that comment, that sounds reasonable |
@SteveMacenski what makes you think it’s a problem originating from rclcpp? I just suggested that rclcpp might be swallowing relevant debugging info. |
@rotu This problem is present in this version(ROS2.0 dashing patch release 3). |
Can you give me a bit more log context? Maybe there’s something pertinent before the line |
I found this problem is due to the /map_server process did not exit. #1163.
If you start the nav2 launch directly without killing the map_server process, this problem will occur. |
@MengNan-Li Are you still having this issue? |
No. |
I am having this issue. What can be the fix? |
@sumedhreddy90 Did you find a fix? I am having the exact same error when I add my own nav2_costmap plugin. |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
[map_server-2] [WARN] []: Error occurred while doing error handling.
[map_server-2] [FATAL] [map_server]: Lifecycle node entered error state
[lifecycle_manager-1] [ERROR] [lifecycle_manager]: Failed to change state for node: map_server
[lifecycle_manager-1] [ERROR] [lifecycle_manager]: Failed to bring up node: map_server, aborting bringup
Actual behavior
Additional information
Using RMW_IMPLEMENTATION=rmw_fastrtps_cpp, the ERROR will gone.
Feature request
Feature description
Implementation considerations
The text was updated successfully, but these errors were encountered: