Skip to content

Commit ed31fda

Browse files
committed
[ROSIDL] Leverage rosidl_parser.parser to parse .idl directly (#1401)
This PR switches the ROSIDL generation path to parse `.idl` files directly via `rosidl_parser.parser`, removing the intermediate `.idl -> .msg/.srv/.action` conversion step and updating tests to account for IDL-specific type differences (notably `char`). **Changes:** - Add a new Python-based `.idl` parser (`rosidl_parser/idl_parser.py`) and expose it via `parseIdlFile()` in `rosidl_parser/rosidl_parser.js`. - Update the JS generator to generate message/service/action structs directly from parsed `.idl` specs, and remove the old `rosidl_convertor` pipeline. - Adjust several tests to handle `char` being treated as `uint8` in IDL mode (`--idl`). Fix: #1402
1 parent 01c8461 commit ed31fda

12 files changed

Lines changed: 742 additions & 1646 deletions

rosidl_convertor/README.md

Lines changed: 0 additions & 298 deletions
This file was deleted.

rosidl_convertor/idl_convertor.js

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)