Skip to content
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

rosapi tries to parse IDL files as msg files and errors #913

Open
russkel opened this issue Mar 13, 2024 · 0 comments
Open

rosapi tries to parse IDL files as msg files and errors #913

russkel opened this issue Mar 13, 2024 · 0 comments
Labels

Comments

@russkel
Copy link

russkel commented Mar 13, 2024

Description

If there is no msg files get_interface_path will return an idl path. This is then fed into the parse_message_string function for msg files. This ends up with a lot of errors spamming in the log.

https://github.com/RobotWebTools/rosbridge_suite/blob/ros2/rosapi/src/rosapi/stringify_field_types.py#L20

https://github.com/RobotWebTools/rosbridge_suite/blob/ros2/rosapi/src/rosapi/stringify_field_types.py#L24

  • Library Version: main
  • ROS Version: Iron release
  • Platform / OS: Linux

Steps To Reproduce

Expected Behavior

Either parses IDL using the rosidl parser or errors once it detects the IDL extension and doesn't try to load it again.

Actual Behavior

[rosapi_node-19] Error processing '// generated from nmea0183_adapter/resource/msg_definition.idl.em' of 'nmea0183_msgs/UtcDateTime': '//'
@russkel russkel added the bug label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant