commentsroswebots

How to make comments multiple lines and one line in .wbt files used as world files in WeBots


In WeBots and using programs with ROS2 you need to use world files with the .wbt extensions.

Does someone know how to comment one line or multiple lines ?

Thanks.


Solution

  • Yes, you can use the # character in front of a line to comment it, like in Python.