[ros-users] [Discourse.ros.org] Why do we have package.xml i…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: tyagikunal via ros-users
Dato:  
Til: ros-users
CC: tyagikunal
Emne: [ros-users] [Discourse.ros.org] Why do we have package.xml instead of package.yaml in ROS2?


I personally find YAML more readable than XML, and seeing as beyond the initial creation (in ROS 1), package.xml is maintained by hand, I find it weird that ROS 2 with a new custom build system (ament) decided to go with package.xml instead of package.yaml (or support for both like Log4j 2 but supporting 2 formats is hard).

I'm pretty sure I'm missing on something here beyond just compatibility with ROS 1. I know its a small (non-)issue, but I found that only ROS configuration and Dockerfile are not in YAML (personal anecdote, YMMV). Rest of all configurations (including parameters for nodes, CI pipeline) are in YAML. Even command line tools like rostopic and rosservice have their inputs and outputs in YAML format. What's the reason for this discrepancy?





---
[Visit Topic](https://discourse.ros.org/t/why-do-we-have-package-xml-instead-of-package-yaml-in-ros2/3970/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>