cyberbotics / webots_ros

Webots ROS package
88 stars 39 forks source link

Latest Webots release does not support --no-sandbox option anymore #134

Closed astumpf closed 1 year ago

astumpf commented 2 years ago

Currently the --no-gui option of the webots_launcher python script is broken as it appends the apparently removed --no-sandbox option.

https://github.com/cyberbotics/webots_ros/blob/noetic/scripts/webots_launcher.py#L37

Is there any equivalent replacement for this option or can it just removed?

ygoumaz commented 2 years ago

The version of the file you are referencing (aac8d7d) is very old. This option was already removed in 0866ea3. The --no-gui option should work fine in the master branch.

astumpf commented 2 years ago

But the master branch seems not to be deployed under Ubuntu 20.04.

ygoumaz commented 2 years ago

Version 2022.1.0-1 of the package containing all recent changes and compatibility with Webots R2022b has been submitted to rosdistro today. It should be available very soon.

astumpf commented 2 years ago

Ok, then we probably need to wait until the buildfarm has run successfully. Thanks for your help!

astumpf commented 1 year ago

Today I got a debian package update for webots_ros. But the error remains. You can simply reproduce this issue in Ubuntu 20.04 by typing:

export WEBOTS_HOME=/usr/local/webots
roslaunch webots_ros webots.launch no_gui:=true

This still results in: webots: invalid option: '--no-sandbox'

Tested on multiple machines.

ygoumaz commented 1 year ago

The new version of the package is 2022.1.0-1. We just missed the last synchronization yesterday 15.09.2022. The package will be updated at the next sync.

Can you confirm that the version you currently tested is 5.0.1-2?

astumpf commented 1 year ago

The new version of the package is 2022.1.0-1. We just missed the last synchronization yesterday 15.09.2022. The package will be updated at the next sync.

Can you confirm that the version you currently tested is 5.0.1-2?

Yes: 5.0.1-2focal.20220912.183137

ygoumaz commented 1 year ago

So it is normal that you still encounter the issue. I am closing the issue. Feel free to reopen if you still encounter issues when the 2022.1.0-1 version is out.

Edit: if you don't want to wait until then, you can also compile the package from sources as shown here: https://wiki.ros.org/webots_ros#From_Sources.