[ros-users] [Discourse.ros.org] [Next Generation ROS] Questi…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alexander Rössler via Discourse.ros.org via ros-users
Date:  
To: ros-users
CC: Alexander Rössler via Discourse.ros.org
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Questioning the .launch.py file extension


Thank you for the explanation.

Using `importlib` or to implement the code to test inside a Python module is indeed possible.

However, I still prefer the `_launch.py` suffix, since this would conform to pep naming and enable unit tests without creating additional Python modules.

I would also be interested to hear from users that moving from ROS1 to ROS2 if the `_launch.py` syntax feels unnatural compared to `.launch.py` or the other way around.





---
[Visit Topic](https://discourse.ros.org/t/questioning-the-launch-py-file-extension/6352/5) 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>