You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternately, you can probably reproduce by launching anything that has an action server or client.
Run the foxglove bridge:
ros2 run foxglove_bridge foxglove_bridge
The bridge will exit with an error (described below).
Expected Behavior
Bridge launches.
Actual Behavior
Bridge crashes with error:
terminate called after throwing an instance of 'std::invalid_argument'
what(): Invalid package resource name: nav2_msgs/action/NavigateThroughPoses_FeedbackMessage
The text was updated successfully, but these errors were encountered:
**Public-Facing Changes**
Improve error handling when retrieving message definitions (ros2)
**Description**
The presence of action topics causes the bridge to crash:
```
terminate called after throwing an instance of 'std::invalid_argument'
what(): Invalid package resource name: turtlesim/action/RotateAbsolute_FeedbackMessage
```
The reason why the exception is thrown, is because we assume that
message files are located in the `msg` folder:
https://github.com/foxglove/ros-foxglove-bridge/blob/08ff9e522065a2c9998b0fbf2030d9e8fa363637/ros2_foxglove_bridge/src/message_definition_cache.cpp#L19
This PR for now only adds an additional exception handler that will
simply log a warning. Proper action support will be implemented later
on.
Fixes#60
When launching the foxglove bridge in ROS2, it will crash if an action server is present.
Steps To Reproduce
Specifically, the following:
Alternately, you can probably reproduce by launching anything that has an action server or client.
The bridge will exit with an error (described below).
Expected Behavior
Bridge launches.
Actual Behavior
Bridge crashes with error:
The text was updated successfully, but these errors were encountered: