Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webots_ros uses incorrect path for launching webots on Mac #453

Open
1 task done
askman92 opened this issue Feb 27, 2024 · 7 comments
Open
1 task done

webots_ros uses incorrect path for launching webots on Mac #453

askman92 opened this issue Feb 27, 2024 · 7 comments
Labels
bug Something isn't working needs-rebuild

Comments

@askman92
Copy link
Contributor

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

In the launch script for Webots, I believe that the path used to launch the program points to the location of the executable on linux. This needs to be patched to point to /Applications/Webots.app

I tried to patch this locally however had some issues getting the patch to build correctly. I now cannot seem to build the package locally as it is skipped in the vinca file due to existing on the robostack-staging channel.

If I can get some advice on how to do the build locally, I am pretty sure that I can fix this.

❯ roslaunch webots_ros e_puck_line.launch
... logging to /Users/jamesaskew/.ros/log/c88c356c-d5c0-11ee-bafd-bab821fef17f/roslaunch-Jamess-MacBook-Pro.local-20726.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt

started roslaunch server http://Jamess-MacBook-Pro.local:50769/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /
    epuck_line (webots_ros/e_puck_line)
    webots (webots_ros/webots_launcher.py)

auto-starting new master
process[master]: started with pid [20734]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to c88c356c-d5c0-11ee-bafd-bab821fef17f
process[rosout-1]: started with pid [20739]
started core service [/rosout]
process[webots-2]: started with pid [20740]
process[epuck_line-3]: started with pid [20741]
Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/lib/webots_ros/webots_launcher.py", line 81, in <module>
    subprocess.call(command)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/lib/python3.11/subprocess.py", line 389, in call
    with Popen(*popenargs, **kwargs) as p:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/lib/python3.11/subprocess.py", line 1953, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/Applications/Webots.app/webots'
================================================================================REQUIRED process [webots-2] has died!
process has died [pid 20740, exit code 1, cmd /opt/homebrew/Caskroom/miniforge/base/envs/ros_env/lib/webots_ros/webots_launcher.py --world=/opt/homebrew/Caskroom/miniforge/base/envs/ros_env/share/webots_ros/worlds/e-puck_line.wbt --mode=realtime --no-gui=false, --stream=false __name:=webots __log:=/Users/jamesaskew/.ros/log/c88c356c-d5c0-11ee-bafd-bab821fef17f/webots-2.log].
log file: /Users/jamesaskew/.ros/log/c88c356c-d5c0-11ee-bafd-bab821fef17f/webots-2*.log
Initiating shutdown!
================================================================================
[epuck_line-3] killing on exit
[webots-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Installed packages

# packages in environment at /opt/homebrew/Caskroom/miniforge/base/envs/ros_env:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        43                       unix_0    conda-forge
aom                       3.8.1                h078ce10_0    conda-forge
apr                       1.7.0                h4614cfb_6    conda-forge
assimp                    5.3.1                he63ff86_2    conda-forge
atk-1.0                   2.38.0               hcb7b3dd_1    conda-forge
bcrypt                    4.1.2           py311h94f323b_0    conda-forge
boost                     1.82.0               hf3b2ce4_6    conda-forge
boost-cpp                 1.82.0               hca5e981_6    conda-forge
brotli                    1.1.0                hb547adb_1    conda-forge
brotli-bin                1.1.0                hb547adb_1    conda-forge
bullet                    3.25                 hf3b2ce4_2    conda-forge
bullet-cpp                3.25            py311h6e08293_2    conda-forge
bzip2                     1.0.8                h93a5062_5    conda-forge
c-ares                    1.27.0               h93a5062_0    conda-forge
ca-certificates           2024.2.2             hf0a4a13_0    conda-forge
cairo                     1.18.0               hd1e100b_0    conda-forge
catkin_pkg                1.0.0              pyhd8ed1ab_0    conda-forge
certifi                   2024.2.2           pyhd8ed1ab_0    conda-forge
cffi                      1.16.0          py311h4a08483_0    conda-forge
cmake                     3.28.3               h50fd54c_0    conda-forge
console_bridge            1.0.2                h3e96240_1    conda-forge
contourpy                 1.2.0           py311hd03642b_0    conda-forge
cryptography              42.0.5          py311h71175c2_0    conda-forge
cycler                    0.12.1             pyhd8ed1ab_0    conda-forge
dav1d                     1.2.1                hb547adb_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
distro                    1.9.0              pyhd8ed1ab_0    conda-forge
docutils                  0.20.1          py311h267d04e_3    conda-forge
eigen                     3.4.0                h1995070_0    conda-forge
eigenpy                   3.1.0           py311h24fa84d_2    conda-forge
empy                      3.3.4              pyh9f0ad1d_1    conda-forge
expat                     2.5.0                hb7217d7_1    conda-forge
ffmpeg                    6.1.1           gpl_h31ea89b_104    conda-forge
fmt                       10.2.1               h2ffa867_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_1    conda-forge
fontconfig                2.14.2               h82840c6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.48.1          py311h05b510d_0    conda-forge
freeimage                 3.18.0              h703098a_19    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
gdk-pixbuf                2.42.10              h15fa40c_4    conda-forge
gettext                   0.21.1               h0186832_0    conda-forge
giflib                    5.2.1                h1a8c8d9_3    conda-forge
glib                      2.78.4               h1059232_0    conda-forge
glib-tools                2.78.4               h1059232_0    conda-forge
gmock                     1.14.0               hce30654_1    conda-forge
gmp                       6.3.0                h965bd2d_0    conda-forge
gnutls                    3.7.9                hd26332c_0    conda-forge
gpgme                     1.18.0               h2e04ded_0    conda-forge
graphite2                 1.3.13            h9f76cd9_1001    conda-forge
graphviz                  9.0.0                h3face73_1    conda-forge
gst-plugins-base          1.22.9               h09b4b5e_0    conda-forge
gstreamer                 1.22.9               h551c6ff_0    conda-forge
gtest                     1.14.0               h1995070_1    conda-forge
gtk2                      2.24.33              h7895bb2_3    conda-forge
gts                       0.7.6                he42f4ea_4    conda-forge
harfbuzz                  8.3.0                h8f0ba13_0    conda-forge
hdf5                      1.14.3          nompi_h5bb55e9_100    conda-forge
hicolor-icon-theme        0.17                 hce30654_2    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
imath                     3.1.10               h1059232_0    conda-forge
jasper                    4.2.1                h7c0e182_0    conda-forge
jxrlib                    1.1                  h93a5062_3    conda-forge
kiwisolver                1.4.5           py311he4fd1f5_1    conda-forge
krb5                      1.21.2               h92f50d5_0    conda-forge
lame                      3.100             h1a8c8d9_1003    conda-forge
lcms2                     2.16                 ha0e7c42_0    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20240116.1      cxx17_hebf3989_1    conda-forge
libaec                    1.1.2                h13dd4ca_1    conda-forge
libapr                    1.7.0                h93a5062_6    conda-forge
libapriconv               1.2.2                h93a5062_6    conda-forge
libaprutil                1.6.1                hba966ea_6    conda-forge
libass                    0.17.1               hf7da4fe_1    conda-forge
libassuan                 2.5.6                h13dd4ca_0    conda-forge
libblas                   3.9.0           21_osxarm64_openblas    conda-forge
libboost                  1.82.0               h72cdd8a_6    conda-forge
libboost-devel            1.82.0               hf450f58_6    conda-forge
libboost-headers          1.82.0               hce30654_6    conda-forge
libboost-python           1.82.0          py311hddbb800_6    conda-forge
libboost-python-devel     1.82.0          py311hf3b2ce4_6    conda-forge
libbrotlicommon           1.1.0                hb547adb_1    conda-forge
libbrotlidec              1.1.0                hb547adb_1    conda-forge
libbrotlienc              1.1.0                hb547adb_1    conda-forge
libcblas                  3.9.0           21_osxarm64_openblas    conda-forge
libccd-double             2.1                  h9a09cb3_2    conda-forge
libclang                  15.0.7          default_hd209bcb_4    conda-forge
libclang13                15.0.7          default_ha49e599_4    conda-forge
libcurl                   8.5.0                h2d989ff_0    conda-forge
libcxx                    16.0.6               h4653b0c_0    conda-forge
libdeflate                1.19                 hb547adb_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libexpat                  2.5.0                hb7217d7_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgd                     2.3.3                hfdf3952_9    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_3    conda-forge
libgfortran5              13.2.0               hf226fd6_3    conda-forge
libglib                   2.78.4               h1635a5e_0    conda-forge
libgpg-error              1.48                 h91a1ebb_0    conda-forge
libhwloc                  2.9.3           default_h4394839_1009    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
libidn2                   2.3.7                h93a5062_0    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
liblapack                 3.9.0           21_osxarm64_openblas    conda-forge
liblapacke                3.9.0           21_osxarm64_openblas    conda-forge
libllvm15                 15.0.7               h2621b3d_4    conda-forge
libnghttp2                1.58.0               ha4dd798_1    conda-forge
libogg                    1.3.4                h27ca646_1    conda-forge
libopenblas               0.3.26          openmp_h6c19121_0    conda-forge
libopencv                 4.9.0           py311hc2e992b_8    conda-forge
libopenvino               2023.3.0             he6dadac_2    conda-forge
libopenvino-arm-cpu-plugin 2023.3.0             he6dadac_2    conda-forge
libopenvino-auto-batch-plugin 2023.3.0             hc9f00d9_2    conda-forge
libopenvino-auto-plugin   2023.3.0             hc9f00d9_2    conda-forge
libopenvino-hetero-plugin 2023.3.0             hf483cef_2    conda-forge
libopenvino-ir-frontend   2023.3.0             hf483cef_2    conda-forge
libopenvino-onnx-frontend 2023.3.0             h9363200_2    conda-forge
libopenvino-paddle-frontend 2023.3.0             h9363200_2    conda-forge
libopenvino-pytorch-frontend 2023.3.0             hebf3989_2    conda-forge
libopenvino-tensorflow-frontend 2023.3.0             h64b43cf_2    conda-forge
libopenvino-tensorflow-lite-frontend 2023.3.0             hebf3989_2    conda-forge
libopus                   1.3.1                h27ca646_1    conda-forge
libpng                    1.6.43               h091b4b1_0    conda-forge
libpq                     16.2                 h0f8b458_0    conda-forge
libprotobuf               4.25.2               hbfab5d5_1    conda-forge
libraw                    0.21.1               h2ee6834_2    conda-forge
librsvg                   2.56.3               h55a2576_1    conda-forge
libsodium                 1.0.18               h27ca646_1    conda-forge
libsqlite                 3.45.1               h091b4b1_0    conda-forge
libssh2                   1.11.0               h7a5bd25_0    conda-forge
libtasn1                  4.19.0               h1a8c8d9_0    conda-forge
libtiff                   4.6.0                ha8a6c65_2    conda-forge
libunistring              0.9.10               h3422bc3_0    conda-forge
libuv                     1.47.0               h93a5062_0    conda-forge
libvorbis                 1.3.7                h9f76cd9_0    conda-forge
libvpx                    1.13.1               hb765f3a_0    conda-forge
libwebp                   1.3.2                hf30222e_1    conda-forge
libwebp-base              1.3.2                hb547adb_0    conda-forge
libxcb                    1.15                 hf346824_0    conda-forge
libxml2                   2.12.5               h0d0cfa8_0    conda-forge
libxslt                   1.1.39               h223e5b9_0    conda-forge
libzlib                   1.2.13               h53f4e23_5    conda-forge
llvm-openmp               17.0.6               hcd81f8e_0    conda-forge
log4cxx                   1.1.0                h5371209_1    conda-forge
lxml                      5.1.0           py311h85df328_0    conda-forge
lz4                       4.3.3           py311hd44b8e9_0    conda-forge
lz4-c                     1.9.4                hb7217d7_0    conda-forge
matplotlib-base           3.8.3           py311hb58f1d1_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.33               hf9e6398_6    conda-forge
mysql-libs                8.0.33               he3dca8b_6    conda-forge
ncurses                   6.4                  h463b476_2    conda-forge
netifaces                 0.11.0          py311heffc1b2_2    conda-forge
nettle                    3.9.1                h40ed0f5_0    conda-forge
nose                      1.3.7                   py_1006    conda-forge
nspr                      4.35                 hb7217d7_0    conda-forge
nss                       3.98                 h5ce2875_0    conda-forge
numpy                     1.26.4          py311h7125741_0    conda-forge
ogre                      1.10.12             h72c3531_16    conda-forge
openexr                   3.2.2                h73dd21e_0    conda-forge
openh264                  2.4.1                hebf3989_0    conda-forge
openjpeg                  2.5.1                h9f1df11_0    conda-forge
openssl                   3.2.1                h0d3ecfb_0    conda-forge
orocos-kdl                1.5.1                h13dd4ca_5    conda-forge
p11-kit                   0.24.1               h29577a5_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pango                     1.52.0               hb067d4f_0    conda-forge
paramiko                  3.4.0              pyhd8ed1ab_0    conda-forge
pcre2                     10.42                h26f9a81_0    conda-forge
pillow                    10.2.0          py311hb9c5795_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
pixman                    0.43.2               hebf3989_0    conda-forge
pkg-config                0.29.2            hab62308_1008    conda-forge
ply                       3.11                       py_1    conda-forge
poco                      1.12.4               h69eda48_0    conda-forge
psutil                    5.9.8           py311h05b510d_0    conda-forge
pthread-stubs             0.4               h27ca646_1001    conda-forge
pugixml                   1.14                 h13dd4ca_0    conda-forge
py-opencv                 4.9.0           py311he5c9d66_8    conda-forge
pybind11                  2.11.1          py311he4fd1f5_2    conda-forge
pybind11-global           2.11.1          py311he4fd1f5_2    conda-forge
pybullet                  3.25            py311h6e08293_2    conda-forge
pycairo                   1.26.0          py311hb98ac6d_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pycryptodome              3.20.0          py311h7939e9c_0    conda-forge
pycryptodomex             3.19.0          py311heffc1b2_1    conda-forge
pydot                     2.0.0           py311h267d04e_0    conda-forge
pynacl                    1.5.0           py311heffc1b2_3    conda-forge
pyopengl                  3.1.6              pyhd8ed1ab_1    conda-forge
pyparsing                 3.1.1              pyhd8ed1ab_0    conda-forge
pyqt                      5.15.9          py311hc49b008_5    conda-forge
pyqt-builder              1.15.4             pyhd8ed1ab_0    conda-forge
pyqt5-sip                 12.12.2         py311ha891d26_5    conda-forge
pyqtwebengine             5.15.9          py311h14ede98_5    conda-forge
python                    3.11.8          hdf0ec26_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-gnupg              0.5.0              pyhd8ed1ab_0    conda-forge
python-orocos-kdl         1.5.1           py311ha891d26_5    conda-forge
python_abi                3.11                    4_cp311    conda-forge
pyyaml                    6.0.1           py311heffc1b2_1    conda-forge
qhull                     2020.2               hc021e02_2    conda-forge
qt-main                   5.15.8              h6bf1bb6_19    conda-forge
qt-webengine              5.15.8               h850e111_4    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
rhash                     1.4.4                hb547adb_0    conda-forge
ros-distro-mutex          0.5.0                    noetic    robostack-staging
ros-noetic-ackermann-steering-controller 0.21.2          py311h0df545d_8    robostack-staging
ros-noetic-actionlib      1.14.0          py311hbfa132e_8    robostack-staging
ros-noetic-actionlib-msgs 1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-actionlib-tutorials 0.2.0           py311hbfa132e_8    robostack-staging
ros-noetic-angles         1.9.13          py311hbfa132e_8    robostack-staging
ros-noetic-bond           1.8.6           py311hbfa132e_8    robostack-staging
ros-noetic-bond-core      1.8.6           py311hbfa132e_8    robostack-staging
ros-noetic-bondcpp        1.8.6           py311hbfa132e_8    robostack-staging
ros-noetic-bondpy         1.8.6           py311hbfa132e_8    robostack-staging
ros-noetic-catkin         0.8.10          py311hbfa132e_8    robostack-staging
ros-noetic-class-loader   0.5.0           py311h92f7659_8    robostack-staging
ros-noetic-cmake-modules  0.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-combined-robot-hw 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-common-msgs    1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-common-tutorials 0.2.0           py311hbfa132e_8    robostack-staging
ros-noetic-control-msgs   1.5.2           py311hbfa132e_8    robostack-staging
ros-noetic-control-toolbox 1.19.0          py311hbfa132e_8    robostack-staging
ros-noetic-controller-interface 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-controller-manager 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-controller-manager-msgs 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-cpp-common     0.7.3           py311h00a3625_8    robostack-staging
ros-noetic-cv-bridge      1.16.2          py311hb5c0377_8    robostack-staging
ros-noetic-desktop        1.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-diagnostic-aggregator 1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-diagnostic-analysis 1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-diagnostic-common-diagnostics 1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-diagnostic-msgs 1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-diagnostic-updater 1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-diagnostics    1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-diff-drive-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-dynamic-reconfigure 1.7.3           py311hbfa132e_8    robostack-staging
ros-noetic-effort-controllers 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-eigen-conversions 1.13.2          py311hbfa132e_8    robostack-staging
ros-noetic-eigen-stl-containers 0.1.8           py311hbfa132e_8    robostack-staging
ros-noetic-eigenpy        3.1.0               h0f4a31f_21    robostack-staging
ros-noetic-executive-smach 2.5.2           py311hbfa132e_8    robostack-staging
ros-noetic-fcl            0.6.1           py311hbfa132e_8    robostack-staging
ros-noetic-filters        1.9.2           py311hbfa132e_8    robostack-staging
ros-noetic-force-torque-sensor-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-forward-command-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-gencpp         0.7.0           py311hbfa132e_8    robostack-staging
ros-noetic-geneus         3.0.0           py311hbfa132e_8    robostack-staging
ros-noetic-genlisp        0.4.18          py311hbfa132e_8    robostack-staging
ros-noetic-genmsg         0.6.0           py311hbfa132e_8    robostack-staging
ros-noetic-gennodejs      2.0.2           py311hbfa132e_8    robostack-staging
ros-noetic-genpy          0.6.15          py311hbfa132e_8    robostack-staging
ros-noetic-geometric-shapes 0.7.5           py311h58d7438_8    robostack-staging
ros-noetic-geometry       1.13.2          py311hbfa132e_8    robostack-staging
ros-noetic-geometry-msgs  1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-geometry-tutorials 0.2.3           py311hbfa132e_8    robostack-staging
ros-noetic-gl-dependency  1.1.2           py311hbfa132e_8    robostack-staging
ros-noetic-gripper-action-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-hardware-interface 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-image-transport 1.12.0          py311hbfa132e_8    robostack-staging
ros-noetic-imu-sensor-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-interactive-marker-tutorials 0.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-interactive-markers 1.12.0          py311hbfa132e_8    robostack-staging
ros-noetic-joint-limits-interface 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-joint-state-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-joint-state-publisher 1.15.1          py311hbfa132e_8    robostack-staging
ros-noetic-joint-state-publisher-gui 1.15.1          py311hbfa132e_8    robostack-staging
ros-noetic-joint-trajectory-controller 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-kdl-conversions 1.13.2          py311hbfa132e_8    robostack-staging
ros-noetic-kdl-parser     1.14.2          py311hb90db5c_8    robostack-staging
ros-noetic-laser-geometry 1.6.7           py311hbfa132e_8    robostack-staging
ros-noetic-librviz-tutorial 0.11.0          py311h15ddf78_8    robostack-staging
ros-noetic-map-msgs       1.14.1          py311hbfa132e_8    robostack-staging
ros-noetic-media-export   0.3.0           py311hbfa132e_8    robostack-staging
ros-noetic-message-filters 1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-message-generation 0.4.1           py311hbfa132e_8    robostack-staging
ros-noetic-message-runtime 0.4.13          py311hbfa132e_8    robostack-staging
ros-noetic-mk             1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-core    1.1.13          py311h7baa5db_8    robostack-staging
ros-noetic-moveit-kinematics 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-msgs    0.11.4          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-manipulation 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-move-group 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-occupancy-map-monitor 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-planning 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-planning-interface 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-ros-warehouse 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-moveit-simple-controller-manager 1.1.13          py311hbfa132e_8    robostack-staging
ros-noetic-nav-msgs       1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-nodelet        1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-nodelet-core   1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-nodelet-topic-tools 1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-nodelet-tutorial-math 0.2.0           py311hbfa132e_8    robostack-staging
ros-noetic-object-recognition-msgs 0.4.2           py311hbfa132e_8    robostack-staging
ros-noetic-octomap        1.9.8           py311hbfa132e_8    robostack-staging
ros-noetic-octomap-msgs   0.3.5           py311hbfa132e_8    robostack-staging
ros-noetic-pluginlib      1.13.0          py311hb90db5c_8    robostack-staging
ros-noetic-pluginlib-tutorials 0.2.0           py311hbfa132e_8    robostack-staging
ros-noetic-position-controllers 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-pybind11-catkin 2.10.3          py311hbfa132e_8    robostack-staging
ros-noetic-python-qt-binding 0.4.4           py311ha5a60af_8    robostack-staging
ros-noetic-qt-dotgraph    0.4.2           py311hbfa132e_8    robostack-staging
ros-noetic-qt-gui         0.4.2           py311ha5a60af_8    robostack-staging
ros-noetic-qt-gui-cpp     0.4.2           py311h15ddf78_8    robostack-staging
ros-noetic-qt-gui-py-common 0.4.2           py311hbfa132e_8    robostack-staging
ros-noetic-qwt-dependency 1.1.1           py311hbfa132e_8    robostack-staging
ros-noetic-random-numbers 0.3.2           py311hbfa132e_8    robostack-staging
ros-noetic-realtime-tools 1.16.1          py311hbfa132e_8    robostack-staging
ros-noetic-resource-retriever 1.12.7          py311hb978a33_8    robostack-staging
ros-noetic-robot          1.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-robot-state-publisher 1.15.2          py311hbfa132e_8    robostack-staging
ros-noetic-ros            1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-ros-base       1.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-ros-comm       1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-ros-control    0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-ros-controllers 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-ros-core       1.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-ros-environment 1.3.2           py311hbfa132e_8    robostack-staging
ros-noetic-ros-tutorials  0.10.2          py311hbfa132e_8    robostack-staging
ros-noetic-rosbag         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosbag-migration-rule 1.0.1           py311hbfa132e_8    robostack-staging
ros-noetic-rosbag-storage 1.16.0          py311hd8e288d_8    robostack-staging
ros-noetic-rosbash        1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosboost-cfg   1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosbuild       1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosclean       1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosconsole     1.14.3          py311h96ee5f4_8    robostack-staging
ros-noetic-rosconsole-bridge 0.5.4           py311h00a3625_8    robostack-staging
ros-noetic-roscpp         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-roscpp-core    0.7.3           py311hbfa132e_8    robostack-staging
ros-noetic-roscpp-serialization 0.7.3           py311hbfa132e_8    robostack-staging
ros-noetic-roscpp-traits  0.7.3           py311hbfa132e_8    robostack-staging
ros-noetic-roscpp-tutorials 0.10.2          py311hbfa132e_8    robostack-staging
ros-noetic-roscreate      1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosgraph       1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosgraph-msgs  1.11.3          py311hbfa132e_8    robostack-staging
ros-noetic-roslang        1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-roslaunch      1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-roslib         1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-roslint        0.12.0          py311hbfa132e_8    robostack-staging
ros-noetic-roslisp        1.9.25          py311hbfa132e_8    robostack-staging
ros-noetic-roslz4         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosmake        1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-rosmaster      1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosmsg         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosnode        1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosout         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rospack        2.6.2           py311hb90db5c_8    robostack-staging
ros-noetic-rosparam       1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rospy          1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rospy-tutorials 0.10.2          py311hbfa132e_8    robostack-staging
ros-noetic-rosservice     1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rostest        1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rostime        0.7.3           py311hbfa132e_8    robostack-staging
ros-noetic-rostopic       1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rosunit        1.15.8          py311hbfa132e_8    robostack-staging
ros-noetic-roswtf         1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-action     0.4.9           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-bag        0.5.1           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-bag-plugins 0.5.1           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-common-plugins 0.4.9           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-console    0.4.12          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-dep        0.4.12          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-graph      0.4.14          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-gui        0.5.3           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-gui-cpp    0.5.3           py311h15ddf78_8    robostack-staging
ros-noetic-rqt-gui-py     0.5.3           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-image-view 0.4.17          py311h15ddf78_8    robostack-staging
ros-noetic-rqt-launch     0.4.9           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-logger-level 0.4.12          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-moveit     0.5.11          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-msg        0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-nav-view   0.5.7           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-plot       0.4.13          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-pose-view  0.5.11          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-publisher  0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-py-common  0.5.3           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-py-console 0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-reconfigure 0.5.5           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-robot-dashboard 0.5.8           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-robot-monitor 0.5.15          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-robot-plugins 0.5.8           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-robot-steering 0.5.12          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-runtime-monitor 0.5.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-rviz       0.7.0           py311h15ddf78_8    robostack-staging
ros-noetic-rqt-service-caller 0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-shell      0.4.11          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-srv        0.4.9           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-tf-tree    0.6.4           py311hbfa132e_8    robostack-staging
ros-noetic-rqt-top        0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-topic      0.4.13          py311hbfa132e_8    robostack-staging
ros-noetic-rqt-web        0.4.10          py311hbfa132e_8    robostack-staging
ros-noetic-ruckig         0.9.2           py311hbfa132e_8    robostack-staging
ros-noetic-rviz           1.14.20         py311he498985_8    robostack-staging
ros-noetic-rviz-plugin-tutorials 0.11.0          py311h15ddf78_8    robostack-staging
ros-noetic-rviz-python-tutorial 0.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-self-test      1.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-sensor-msgs    1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-shape-msgs     1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-smach          2.5.2           py311hbfa132e_8    robostack-staging
ros-noetic-smach-msgs     2.5.2           py311hbfa132e_8    robostack-staging
ros-noetic-smach-ros      2.5.2           py311hbfa132e_8    robostack-staging
ros-noetic-smclib         1.8.6           py311hbfa132e_8    robostack-staging
ros-noetic-srdfdom        0.6.4           py311h33413d5_8    robostack-staging
ros-noetic-std-msgs       0.5.13          py311hbfa132e_8    robostack-staging
ros-noetic-std-srvs       1.11.3          py311hbfa132e_8    robostack-staging
ros-noetic-stereo-msgs    1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-tf             1.13.2          py311h0189461_8    robostack-staging
ros-noetic-tf-conversions 1.13.2          py311hbfa132e_8    robostack-staging
ros-noetic-tf2            0.7.7           py311h00a3625_8    robostack-staging
ros-noetic-tf2-eigen      0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-tf2-geometry-msgs 0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-tf2-kdl        0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-tf2-msgs       0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-tf2-py         0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-tf2-ros        0.7.7           py311hbfa132e_8    robostack-staging
ros-noetic-topic-tools    1.16.0          py311hbfa132e_8    robostack-staging
ros-noetic-trajectory-msgs 1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-transmission-interface 0.20.0          py311hbfa132e_8    robostack-staging
ros-noetic-turtle-actionlib 0.2.0           py311hbfa132e_8    robostack-staging
ros-noetic-turtle-tf      0.2.3           py311hbfa132e_8    robostack-staging
ros-noetic-turtle-tf2     0.2.3           py311hbfa132e_8    robostack-staging
ros-noetic-turtlesim      0.10.2          py311h15ddf78_8    robostack-staging
ros-noetic-urdf           1.13.2          py311h5b10735_8    robostack-staging
ros-noetic-urdf-parser-plugin 1.13.2          py311hbfa132e_8    robostack-staging
ros-noetic-urdf-tutorial  0.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-urdfdom-py     0.4.6           py311hbfa132e_8    robostack-staging
ros-noetic-velocity-controllers 0.21.2          py311hbfa132e_8    robostack-staging
ros-noetic-visualization-marker-tutorials 0.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-visualization-msgs 1.13.1          py311hbfa132e_8    robostack-staging
ros-noetic-visualization-tutorials 0.11.0          py311hbfa132e_8    robostack-staging
ros-noetic-viz            1.5.0           py311hbfa132e_8    robostack-staging
ros-noetic-warehouse-ros  0.9.5           py311hbfa132e_8    robostack-staging
ros-noetic-webkit-dependency 1.1.2           py311hbfa132e_8    robostack-staging
ros-noetic-webots-ros     2023.1.0        py311hbfa132e_8    robostack-staging
ros-noetic-xacro          1.14.17         py311hbfa132e_8    robostack-staging
ros-noetic-xmlrpcpp       1.16.0          py311hbfa132e_8    robostack-staging
rosdep                    0.22.2             pyhd8ed1ab_2    conda-forge
rosdistro                 0.9.0           py311h267d04e_1    conda-forge
rospkg                    1.5.0              pyhd8ed1ab_0    conda-forge
sbcl                      2.1.2                hce30654_1    conda-forge
sdl2                      2.28.5               hebf3989_1    conda-forge
setuptools                69.1.1             pyhd8ed1ab_0    conda-forge
sip                       6.8.3           py311h92babd0_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.10               h17c5cce_0    conda-forge
svt-av1                   1.8.0                h463b476_0    conda-forge
swig                      4.2.0                h6e15192_1    conda-forge
tbb                       2021.11.0            h2ffa867_1    conda-forge
tinyxml                   2.6.2                h260d524_2    conda-forge
tinyxml2                  10.0.0               hebf3989_0    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
unixodbc                  2.3.12               h0e2417a_0    conda-forge
urdfdom                   4.0.0                hecc24e4_1    conda-forge
urdfdom_headers           1.1.1                h2ffa867_0    conda-forge
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h57fd34a_2    conda-forge
x265                      3.5                  hbc6ce65_3    conda-forge
xorg-kbproto              1.0.7             h27ca646_1002    conda-forge
xorg-libice               1.1.1                hb547adb_0    conda-forge
xorg-libsm                1.2.4                hb547adb_0    conda-forge
xorg-libx11               1.8.7                hfd9643e_0    conda-forge
xorg-libxau               1.0.11               hb547adb_0    conda-forge
xorg-libxaw               1.0.14               h3422bc3_1    conda-forge
xorg-libxdmcp             1.1.3                h27ca646_0    conda-forge
xorg-libxext              1.3.4                h1a8c8d9_2    conda-forge
xorg-libxmu               1.1.3                h3422bc3_0    conda-forge
xorg-libxpm               3.5.17               hb547adb_0    conda-forge
xorg-libxt                1.3.0                hb547adb_1    conda-forge
xorg-xextproto            7.3.0             h1a8c8d9_1003    conda-forge
xorg-xproto               7.0.31            h27ca646_1007    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yaml-cpp                  0.8.0                h13dd4ca_0    conda-forge
zlib                      1.2.13               h53f4e23_5    conda-forge
zstd                      1.5.5                h4f39d0f_0    conda-forge
zziplib                   0.13.69              he1e0b03_1    conda-forge

Environment info

mamba version : 1.5.6
     active environment : ros_env
    active env location : /opt/homebrew/Caskroom/miniforge/base/envs/ros_env
            shell level : 1
       user config file : /Users/jamesaskew/.condarc
 populated config files : /opt/homebrew/Caskroom/miniforge/base/.condarc
                          /Users/jamesaskew/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m2
                          __conda=23.11.0=0
                          __osx=14.3.1=0
                          __unix=0=0
       base environment : /opt/homebrew/Caskroom/miniforge/base  (writable)
      conda av data dir : /opt/homebrew/Caskroom/miniforge/base/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/robostack-staging/osx-arm64
                          https://conda.anaconda.org/robostack-staging/noarch
                          https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /opt/homebrew/Caskroom/miniforge/base/pkgs
                          /Users/jamesaskew/.conda/pkgs
       envs directories : /opt/homebrew/Caskroom/miniforge/base/envs
                          /Users/jamesaskew/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Darwin/23.3.0 OSX/14.3.1 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False
@askman92 askman92 added the bug Something isn't working label Feb 27, 2024
@traversaro
Copy link
Member

The relevant code is https://github.com/cyberbotics/webots_ros/blob/a4c93300e1528ac4f8fbf5cb7c3ecee63ff69784/scripts/webots_launcher.py#L64-L67 . Did you already set WEBOTS_HOME to point to /Applications/Webots.app ? Otherwise your error is quite surprising.

Note that it is a bit of an hack, but to test you can also modify the webots_launcher.py installed to check how make it work.

@traversaro
Copy link
Member

traversaro commented Feb 27, 2024

I tried to patch this locally however had some issues getting the patch to build correctly. I now cannot seem to build the package locally as it is skipped in the vinca file due to existing on the robostack-staging channel.

Not sure if it is the cleanest possible solution, a possible trick is to remove the skip_existing section from the vinca config file https://github.com/RoboStack/ros-noetic/blob/main/vinca_osx_arm64.yaml#L31-L34 . This will generate a lot of recipes (if you run vinca --multiple), but then you can just build the webots_ros one to debug.

@askman92
Copy link
Contributor Author

askman92 commented Feb 28, 2024

The relevant code is https://github.com/cyberbotics/webots_ros/blob/a4c93300e1528ac4f8fbf5cb7c3ecee63ff69784/scripts/webots_launcher.py#L64-L67 . Did you already set WEBOTS_HOME to point to /Applications/Webots.app ? Otherwise your error is quite surprising.

Note that it is a bit of an hack, but to test you can also modify the webots_launcher.py installed to check how make it work.

I have WEBOTS_HOME set to /Applications/Webots.app, however the executable lives at /Applications/Webots.app/Contents/MacOS/webots, so when that path is built, it points to a non-existent location.

Not sure if it is the cleanest possible solution, a possible trick is to remove the skip_existing section from the vinca config file https://github.com/RoboStack/ros-noetic/blob/main/vinca_osx_arm64.yaml#L31-L34 . This will generate a lot of recipes (if you run vinca --multiple), but then you can just build the webots_ros one to debug.

I had tried just building the webots package, but was having all sorts of issues, but I think I just messed up my environment so I reset all my environments and started again, and now it seems to be building / running successfully with the patch. There's another similar bug related to paths, so I am going to try to patch that too and get them in a PR.

@traversaro
Copy link
Member

Thanks! Can you also open an issue upstream at https://github.com/cyberbotics/webots_ros ? From what I understand, any solution would require either hardcoding the path or adding/changing the meaning of the env variable on macOS, and if upstream agrees on that, it would simplify future maintenance.

@askman92
Copy link
Contributor Author

I've raised the issue on the webots_ros repo, so hopefully they can provide some advice. If they don't come back in a day or two, I'll just raise the PR as in its current state as I have it at least working somewhat

@traversaro
Copy link
Member

xref: cyberbotics/webots_ros#149

@askman92
Copy link
Contributor Author

askman92 commented Mar 3, 2024

Nothing back from webots yet so have just created a PR for the original patch for now - #455

Not sure how to link it myself, I'm not sure I have sufficient privileges to do so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-rebuild
Projects
None yet
Development

No branches or pull requests

3 participants