Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.8 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | |
Checkout URI | https://github.com/ieiauto/autodrrt.git |
VCS Type | git |
VCS Version | main |
Last Updated | 2025-05-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
- Generalize yaml !degrees constructors: Enable expressions as well
- Improve macro arg parsing
(#278) to support:
- $(substitution args)
- ${python expressions}
- single or double quoting of spaces
- Contributors: Robert Haschke
2.0.6 (2021-05-30)
- [feature] Expose YamlDictWrapper as dotify() to allow dotted access to any dict (#274)
- [fix] Scoped macro evaluation (#272)
- Contributors: Robert Haschke
2.0.5 (2021-03-02)
- [fix] Report correct filename for XML errors (#268)
- [fix] Python3-compatible property Table (#266)
- [fix] Use outer-scope symbols to resolve include filename in xacro:include (#264)
- [fix] Append test directory to existing AMENT_PREFIX_PATH (#260)
- [fix] yaml loading: recursively wrap lists and dicts for dotted dict access (#258)
- [feature] Provide support for yaml constructors !degrees and !radians (#252)
- Contributors: Chen Bainian, Robert Haschke, G.A. vd. Hoorn
2.0.3 (2020-08-09)
- Merge improvements of melodic and noetic branches into dashing-devel: see 1.14.2 and 1.14.3 for details
- Contributors: Robert Haschke
2.0.2 (2020-03-29)
- Merge improvements of melodic and noetic branches into dashing-devel: see 1.14.1, 1.13.5 for details
- Contributors: Robert Haschke
2.0.1 (2019-10-06)
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.0.13 |
License | BSD |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | ros2 |
Last Updated | 2025-04-29 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
2.0.13 (2025-03-20)
- Pass AMENT_PREFIX_PATH to xacro (#359)
- Add Bazel build rules (#350)
- Contributors: Michael Carroll, Robert Haschke, Sean Fish
2.0.12 (2025-01-08)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- pyproject.toml: Automatically determine version from git
- Add function python.vars() (#348)
- Contributors: Robert Haschke
2.0.11 (2024-04-02)
- Allow substitution args without ROS (#340)
- Add more unit tags for yaml files (#331)
- Resolve $(find ...) as a result of a substitution argument (#339)
- Mark regexes as raw strings (#336)
- Add pyproject.toml for direct installation via pip (#329)
- Contributors: Adam Heins, Bruno-Pier, Carlo Rizzardo, Lukas Huber, Robert Haschke
2.0.10 (2024-01-25)
- Expose python.abs()
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Robert Haschke
2.0.9 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
2.0.8 (2022-10-22)
-
Install xacro using console_script entrypoint (#304)
-
Provide xacro.process() returning the processed file (#229)
-
Dotted YAML access from list iterator (#318)
-
Optionally allow comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Chen Bainian, Gonzalo de Pedro, Gonzo, Jacob Perron, Melvin Wang, Robert Haschke, vandanamandlik
2.0.7 (2021-09-04)
- Allow more builtin symbols: sorted, set
- Don't import hidden symbols from math package
- Fix eval security vulnerability
- safe_eval()
- unit tests validating the protection mechanism
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 1.13.20 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | melodic-devel |
Last Updated | 2023-05-24 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Xacro (XML Macros)
Xacro is an XML macro language
With Xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. Documentation can be found in the wiki: http://wiki.ros.org/xacro
Changelog for package xacro
1.13.20 (2023-05-24)
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Alec Tiefenthal
1.13.19 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Contributors: Robert Haschke
1.13.18 (2022-10-21)
- Dotted YAML access from list iterator (#318)
- Contributors: Robert Haschke
1.13.17 (2022-02-12)
-
Only optionally activate comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Robert Haschke
1.13.16 (2022-01-30)
- Issue a warning only for evaluation errors in comments
- Add LICENSE file
- Contributors: Robert Haschke
1.13.15 (2022-01-20)
-
Fix resolving of macros and properties declared and used in/from a namespace (#297, #306)
Macros and properties that are declared within a namespaced include shouldn't require the namespace prefix when used within the namespace.
-
Perform expression evaluation in comments (#300)
-
Expose xacro.arg() to facilitate access to substitution args
-
Contributors: Robert Haschke
1.13.14 (2021-10-02)
-
Allow property names to be evaluated from an expression This allows to turn macros into a function that can compute an arbitrary property:
<xacro:macro name="square" params="name args"> <!-- Perform some complex computation and set the property within the parent's scope --> <xacro:property name="${name}" value="${[float(x)**2 for x in args]}" scope="parent" /> </xacro:macro> <xacro:square name="result" args="${python.range(5)}" />
-
Fix error reporting for invalid symbols in NameSpaces
-
Allow removal of a property definition (#288)
<xacro:property name="prop" remove="true"/>
-
Allow greedy property evaluation (#284) This can be used,
File truncated at 100 lines see the full file
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged xacro at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 1.14.20 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Description | Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions. |
Checkout URI | https://github.com/ros/xacro.git |
VCS Type | git |
VCS Version | noetic-devel |
Last Updated | 2025-08-14 |
Dev Status | MAINTAINED |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Robert Haschke
- Morgan Quigley
Authors
- Stuart Glaser
- William Woodall
- Robert Haschke
Changelog for package xacro
1.14.20 (2025-03-20)
- Handle new argument 'attr' in xml.dom.minidom._write_data() of Python 3.13 (#353)
- Contributors: Robert Haschke
1.14.19 (2024-12-20)
- Add function python.vars() (#348)
- Contributors: Robert Haschke
1.14.18 (2024-04-02)
- Add more unit tags for yaml files (#331)
- Mark regexes as raw strings (#336)
- Contributors: Adam Heins, Bruno-Pier
1.14.17 (2024-01-25)
- Expose python.abs()
- Contributors: Robert Haschke
1.14.16 (2023-05-24)
- Fix hasattr support of YamlDictWrapper (#324)
- Contributors: Alec Tiefenthal, Robert Haschke
1.14.15 (2023-02-27)
- Evaluate
arg
value as str/unicode (#322) - Remove obsolete options from completion
- Contributors: Robert Haschke
1.14.14 (2022-10-21)
- Dotted YAML access from list iterator (#318)
- Link to extended wiki
- Contributors: Robert Haschke
1.14.13 (2022-02-12)
-
Only optionally activate comment evaluation (#310)
Comment evaluation can be enabled with a special comment:
-
<!-- xacro:eval-comments -->
or <!-- xacro:eval-comments:on -->
It remains active for the following comments until:
- the current XML tag's scope is left (or a new tag entered)
- another tag or non-whitespace text is processed
- it becomes explicitly disabled via:
<!-- xacro:eval-comments:off -->
-
-
Fix property resolution with namespace usage (#308)
-
Allow access to properties in parent scopes again (fixes #305)
-
Pick correct scope when defining a property into the parent (fixes #307)
Setting a property within the parent scope may occur in two contexts:
- From within a macro. In that case, one wants to set the property in the caller's scope.
- From within the included file. In that case, one wants to set the property in the includer's scope.
-
-
Contributors: Robert Haschke
1.14.12 (2022-01-30)
- Issue a warning only for evaluation errors in comments
- Add LICENSE file
- Contributors: Robert Haschke
1.14.11 (2022-01-20)
-
Fix resolving of macros and properties declared and used in/from a namespace (#297, #306)
Macros and properties that are declared within a namespaced include shouldn't require the namespace prefix when used within the namespace.
-
Perform expression evaluation in comments
File truncated at 100 lines see the full file