xacro-parser
xacro-parser copied to clipboard
Utility for parsing and converting ROS Xacro files in Javascript.
Would depend on async expression evaluation: https://github.com/silentmatt/expr-eval/issues/225
Expr-eval's `parse` function supports taking variables. Instead of replacing variables ahead of time we should pass the table of variables into the parse function. Related to #57, #49
Full list of support rospack functions is [here](http://wiki.ros.org/roslaunch/XML#substitution_args). - `find` - `env` - `optenv` - `anon` - `arg` - `eval` - `dirname` And / or include the option to use...
Similar to: https://github.com/ros/xacro/blob/melodic-devel/src/xacro/__init__.py#L1044-L1048 ```xml ```
The [test `test_dynamic_macro_names`](https://github.com/ros/xacro/blob/melodic-devel/test/test_xacro.py#L306) implies that a tag can have an attribute like `macro=` to enable calling a maco.
``` ... params="x:=^|test" ... ```
Add optional annotations to track which xacro tags, properties, and macros were used to generate tags in the resulting file so changes to the xacro and be shown and impact...
Add benchmarks to help track and improve parsing time.