Gazebo plugin for ROS2 doesn't get loaded
Hi All,
Thanks to a helpful volunteer I managed to fire up Gazebo from ROS2. However, the gazebo-plugin (on the branch gazebo-plugin) apparently does not load, although I have a set of different logging statements and even a file creation one to create a file in /tmp. I find this message totally misleading:
[spawn_entity.py-2] [INFO] [1617560451.452969406] [spawn_entity]: Spawn status: SpawnEntity: Successfully spawned entity [gazebo_arm_model_plugin]
The file in /tmp does not appear after running the command below:
What do I do wrong?
Thank you in advance. Best regards: Balázs Bámer
balazs@sohivatal:~/munka/cuda-trajectory-planner/ros-workspace$ ros2 launch src/link-intersection-brute-force/launch/gazebo.launch.py
[INFO] [launch]: All log files can be found below /home/balazs/.ros/log/2021-04-04-20-20-46-684235-sohivatal-25224
[INFO] [launch]: Default logging verbosity is set to INFO
{'GAZEBO_MODEL_PATH': '/home/balazs/munka/cuda-trajectory-planner/ros-workspace/install/link-intersection-brute-force/share/link-intersection-brute-force', 'GAZEBO_PLUGIN_PATH': '', 'GAZEBO_RESOURCE_PATH': ''}
[INFO] [gazebo-1]: process started with pid [25226]
[INFO] [spawn_entity.py-2]: process started with pid [25228]
[spawn_entity.py-2] [INFO] [1617560448.238524946] [spawn_entity]: Spawn Entity started
[spawn_entity.py-2] [INFO] [1617560448.239773694] [spawn_entity]: Loading entity XML from file /home/balazs/munka/cuda-trajectory-planner/ros-workspace/install/link-intersection-brute-force/share/link-intersection-brute-force/px150_coll.sdf
[spawn_entity.py-2] [INFO] [1617560448.248038657] [spawn_entity]: Waiting for service /spawn_entity, timeout = 5
[spawn_entity.py-2] [INFO] [1617560448.250261885] [spawn_entity]: Waiting for service /spawn_entity
[gazebo-1] Gazebo multi-robot simulator, version 11.3.0
[gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation.
[gazebo-1] Released under the Apache 2 License.
[gazebo-1] http://gazebosim.org
[gazebo-1]
[gazebo-1] Gazebo multi-robot simulator, version 11.3.0
[gazebo-1] Copyright (C) 2012 Open Source Robotics Foundation.
[gazebo-1] Released under the Apache 2 License.
[gazebo-1] http://gazebosim.org
[gazebo-1]
[gazebo-1] [Msg] Waiting for master.
[gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[gazebo-1] [Msg] Publicized address: 192.168.0.153
[gazebo-1] [Wrn] [ModelDatabase.cc:340] Getting models from[/]. This may take a few seconds.
[gazebo-1] [Wrn] [ModelDatabase.cc:212] Unable to connect to model database using [//database.config]. Only locally installed models will be available.
[gazebo-1] [Wrn] [SystemPaths.cc:459] File or path does not exist [""] [model://sun]
[gazebo-1] [Wrn] [ModelDatabase.cc:340] Getting models from[/]. This may take a few seconds.
[gazebo-1] [Wrn] [ModelDatabase.cc:212] Unable to connect to model database using [//database.config]. Only locally installed models will be available.
[gazebo-1] [Wrn] [SystemPaths.cc:459] File or path does not exist [""] [model://ground_plane]
[gazebo-1] Error Code 12 Msg: Unable to find uri[model://sun]
[gazebo-1] Error Code 12 Msg: Unable to find uri[model://ground_plane]
[spawn_entity.py-2] [INFO] [1617560451.028068043] [spawn_entity]: Calling service /spawn_entity
[gazebo-1] [Msg] Waiting for master.
[gazebo-1] [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[gazebo-1] [Msg] Publicized address: 192.168.0.153
[gazebo-1] [Err] [InsertModelWidget.cc:402] Missing model.config for model "/home/balazs/munka/cuda-trajectory-planner/ros-workspace/install/link-intersection-brute-force/share/link-intersection-brute-force/cmake"
[gazebo-1] [Err] [InsertModelWidget.cc:402] Missing model.config for model "/home/balazs/munka/cuda-trajectory-planner/ros-workspace/install/link-intersection-brute-force/share/link-intersection-brute-force/environment"
[gazebo-1] [Err] [InsertModelWidget.cc:402] Missing model.config for model "/home/balazs/munka/cuda-trajectory-planner/ros-workspace/install/link-intersection-brute-force/share/link-intersection-brute-force/hook ...