Skip to content

ros2 bag record --action /fibonacci failed to look up some message types #1964

@fujitatomoya

Description

@fujitatomoya

Description

ros2 bag record --action /fibonacci fails to find a few message types to record the action data.

Expected Behavior

No error detected, all action contents (internal topics and services) can be recorded in the bag file.

Actual Behavior

Error detected, a few topics are not recorded in the bag file.

To Reproduce

  1. ros2 run action_tutorials_cpp fibonacci_action_client --ros-args -p action_client_configure_introspection:=contents
  2. ros2 run action_tutorials_cpp fibonacci_action_server --ros-args -p action_server_configure_introspection:=contents
  3. start recording the action data.
root@tomoyafujita:~/ros2_ws/colcon_ws# ros2 bag record --action /fibonacci
[INFO] [1744918458.483621233] [rosbag2_recorder]: Press SPACE for pausing/resuming
[INFO] [1744918458.487549180] [rosbag2_recorder]: Listening for topics...
[INFO] [1744918458.487558774] [rosbag2_recorder]: Event publisher thread: Starting
[INFO] [1744918458.487730283] [rosbag2_recorder]: Recording...
[INFO] [1744918458.994384269] [rosbag2_recorder]: Subscribed to topic '/fibonacci/_action/cancel_goal/_service_event'
[ERROR] [1744918458.994473953] [rosbag2_cpp]: Message type name 'example_interfaces/action/Fibonacci_FeedbackMessage' not understood by type definition search, definition will be left empty in bag.
[INFO] [1744918458.996778570] [rosbag2_recorder]: Subscribed to topic '/fibonacci/_action/feedback'
[ERROR] [1744918458.996843436] [rosbag2_cpp]: Message type name 'example_interfaces/action/Fibonacci_GetResult_Event' not understood by type definition search, definition will be left empty in bag.
[INFO] [1744918458.998317877] [rosbag2_recorder]: Subscribed to topic '/fibonacci/_action/get_result/_service_event'
[ERROR] [1744918458.998371474] [rosbag2_cpp]: Message type name 'example_interfaces/action/Fibonacci_SendGoal_Event' not understood by type definition search, definition will be left empty in bag.
[INFO] [1744918458.999690222] [rosbag2_recorder]: Subscribed to topic '/fibonacci/_action/send_goal/_service_event'
[INFO] [1744918459.003753964] [rosbag2_recorder]: Subscribed to topic '/fibonacci/_action/status'
[INFO] [1744918463.673505762] [rosbag2_recorder]: Pausing recording.
[INFO] [1744918463.673559655] [rosbag2_cpp]: Writing remaining messages from cache to the bag. It may take a while
[INFO] [1744918463.677051924] [rosbag2_recorder]: Event publisher thread: Exiting
[INFO] [1744918463.677080963] [rosbag2_recorder]: Recording stopped
[INFO] [1744918463.746126459] [rclcpp]: signal_handler(signum=2)

Additional context

N.A

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions