webots_ros2_driver.utils module

Utilitary functions for the package.

class webots_ros2_driver.utils.WebotsVersion(version)

Bases: object

static from_path(path)
get_number()

Convert the version to a number that can be compared.

static minimum()
short()
webots_ros2_driver.utils.container_shared_folder()
webots_ros2_driver.utils.controller_ip_address()
webots_ros2_driver.utils.controller_protocol()
webots_ros2_driver.utils.controller_url_prefix(port='1234')
webots_ros2_driver.utils.get_host_ip()
webots_ros2_driver.utils.get_webots_home(show_warning=False)
webots_ros2_driver.utils.get_wsl_ip_address()
webots_ros2_driver.utils.handle_webots_installation()
webots_ros2_driver.utils.has_shared_folder()
webots_ros2_driver.utils.host_shared_folder()
webots_ros2_driver.utils.is_docker()
webots_ros2_driver.utils.is_wsl()