Open barrowben opened 4 months ago
Hi @barrowben it’s great to hear you like RoboStack :). Could you please update your environment to the new Python 3.11 builds? If it still doesn’t work, please let us know what exact commands you run and we can take a look.
Tobi
Thanks for the reply, Tobias. I made a fresh install following the installation guide using miniforge. I installed ros-noetic-desktop-full The commands I ran:
(base) $ conda install mamba -c conda-forge
(base) $ mamba create -n ros_env
(base) $ mamba activate ros_env
(ros_env) $ conda config --env --add channels conda-forge
(ros_env) $ conda config --env --add channels robostack-staging
(ros_env) $ conda config --env --remove channels defaults
(ros_env) $ mamba install ros-noetic-desktop-full
At this stage I am getting a bunch of these errors during installation:
Preparing transaction: done
Verifying transaction: done
Executing transaction: / g_module_open() failed for /Users/benedictbarrow/miniforge3/envs/ros_env/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so: dlopen(/Users/benedictbarrow/miniforge3/envs/ros_env/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so, 0x000A): Symbol not found: _libintl_bind_textdomain_codeset
Referenced from: <CCFC52F6-2B87-3118-98A8-38DF74F15687> /Users/benedictbarrow/miniforge3/envs/ros_env/lib/libgdk_pixbuf-2.0.0.dylib
Charging ahead anyway with the installation:
(ros_env) $ mamba install compilers cmake pkg-config make ninja colcon-common-extensions catkin_tools
(ros_env) $ mamba deactivate
(base) $ mamba activate ros_env
(ros_env) roscore
ROS Master runs no problem! In a second terminal:
(ros_env) $ rviz
RVIZ runs. Now I install some turtlebot stuff:
(ros_env) $ mamba install -c robostack-staging \
ros-noetic-joy \
ros-noetic-teleop-twist-joy \
ros-noetic-rosserial-python \
ros-noetic-rosserial-msgs \
ros-noetic-amcl \
ros-noetic-map-server \
ros-noetic-move-base \
ros-noetic-urdf \
ros-noetic-xacro \
ros-noetic-compressed-image-transport \
ros-noetic-rviz \
ros-noetic-gmapping \
ros-noetic-interactive-markers \
ros-noetic-teleop-twist-keyboard \
ros-noetic-laser-proc \
ros-noetic-rgbd-launch \
ros-noetic-rosserial-arduino \
ros-noetic-rosserial-client \
ros-noetic-navigation \
ros-noetic-dynamixel-sdk \
ros-noetic-turtlebot3-msgs \
ros-noetic-turtlebot3 \
ros-noetic-turtlebot3-simulations
Build packages with catkin build, then try to run a package with Gazebo. I ran the Turtlebot3 empty world launch file. Here's the output:
started roslaunch server http://localhost:57884/
SUMMARY
========
PARAMETERS
* /gazebo/enable_ros_network: True
* /robot_description: <?xml version="1....
* /rosdistro: noetic
* /rosversion: 1.16.0
* /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
spawn_urdf (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
process[gazebo-1]: started with pid [24945]
process[gazebo_gui-2]: started with pid [24946]
process[spawn_urdf-3]: started with pid [24947]
dyld[25043]: missing symbol called
/Users/benedictbarrow/miniforge3/envs/ros_env/lib/gazebo_ros/gzclient: line 42: 25043 Abort trap: 6 GAZEBO_MASTER_URI="$desired_master_uri" GAZEBO_MODEL_DATABASE_URI="$desired_model_database_uri" gzclient $final
[gazebo_gui-2] process has died [pid 24946, exit code 134, cmd /Users/benedictbarrow/miniforge3/envs/ros_env/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/Users/benedictbarrow/.ros/log/ba99f67c-daef-11ee-9666-ae64feed2c87/gazebo_gui-2.log].
log file: /Users/benedictbarrow/.ros/log/ba99f67c-daef-11ee-9666-ae64feed2c87/gazebo_gui-2*.log
dyld[25044]: missing symbol called
/Users/benedictbarrow/miniforge3/envs/ros_env/lib/gazebo_ros/gzserver: line 41: 25044 Abort trap: 6 GAZEBO_MASTER_URI="$desired_master_uri" GAZEBO_MODEL_DATABASE_URI="$desired_model_database_uri" gzserver $final
[gazebo-1] process has died [pid 24945, exit code 134, cmd /Users/benedictbarrow/miniforge3/envs/ros_env/lib/gazebo_ros/gzserver -e ode /Users/benedictbarrow/miniforge3/envs/ros_env/share/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/Users/benedictbarrow/.ros/log/ba99f67c-daef-11ee-9666-ae64feed2c87/gazebo-1.log].
log file: /Users/benedictbarrow/.ros/log/ba99f67c-daef-11ee-9666-ae64feed2c87/gazebo-1*.log
Would you have any idea what the issue is here? Please let me know if you need any more information. Thank you :)
Could be the same issue as #459
/cc @traversaro
Could be the same issue as #459
/cc @traversaro
A workaround was found and reported in https://github.com/RoboStack/ros-noetic/issues/459#issuecomment-2027155423 .
Solution to issue cannot be found in the documentation.
Issue
Hi there, I am trying to run Gazebo simulation with tb3_waffle in ros-noetic on m1 mac. Gazebo will run but the spawn service will fail, here's the output:
[ INFO] [1708571047.936553000]: Finished loading Gazebo ROS API Plugin. [ INFO] [1708571047.937299000]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting... [ INFO] [1708571048.448214000]: Finished loading Gazebo ROS API Plugin. [ INFO] [1708571048.449182000]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... [ INFO] [1708571049.298771000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [ INFO] [1708571049.309822000]: Physics dynamic reconfigure ready. [ERROR] [1708571059.682933, 10.004000]: Spawn service failed. Exiting. [spawn_urdf-4] process has died [pid 63493, exit code 1, cmd {MY_HOME_DIR}/mambaforge/envs/tst4/lib/gazebo_ros/spawn_model -urdf -model turtlebot3_waffle -x 0.0 -y 0.0 -z 0.0 -param robot_description __name:=spawn_urdf __log:={MY_HOME_DIR}/.ros/log/fc9c7164-d12e-11ee-b132-ae64feed2c87/spawn_urdf-4.log]. log file: {MY_HOME_DIR}/.ros/log/fc9c7164-d12e-11ee-b132-ae64feed2c87/spawn_urdf-4*.log
Within the log file, this line seems relevant:
[rosout][INFO] 2024-02-22 03:04:19,681: Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name turtlebot3_waffle
Any pointers what the issue could be here?
Thank you so much! Love this project and how active you are! :)
Installed packages
Environment info