[Talos] I am trying to launch talos in simulation but gazebo Segmentation fault (core dumped). [closed]
Hello,
I was trying to play with talos robot in simulation. I have installed the simulation using this tutorial in ros-melodic ubuntu 18.04. got some errors but I was able to solve it. I have error free build and all the files have solved missing arguments errors (That I was facing).
when I launch the robot in rviz, it works like a charm. so I thought launching in gazebo to test physics. There were many errors which I was able to solve but one error still remains at the end.
[ INFO] [1648586058.460195637, 30.401000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [robot_description] on the ROS param server.
Segmentation fault (core dumped)
================================================================================REQUIRED process [gazebo-2] has died!
process has died [pid 16089, exit code 139, cmd /home/aarsh/henrique_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/aarsh/.ros/log/83708ae4-af9f-11ec-87e7-ac2b6e45babe/gazebo-2.log].
log file: /home/aarsh/.ros/log/83708ae4-af9f-11ec-87e7-ac2b6e45babe/gazebo-2*.log
Initiating shutdown!
================================================================================
[rgbd/rgb/image_proc-5] killing on exit
[rgbd/rgb/high_res/image_proc_high_res-4] killing on exit
[gazebo-2] killing on exit
[gazebo_gui-3] killing on exit
Segmentation fault (core dumped)
NOTE : There is the /robot_description
parameter present in the param list.
So I removed the libgazebo_ros_control.so
from this file and tried to launch it again and it works without the libgazebo_ros_control.so
. It is not at all the issue of the tags inside the plugin <ns></ns>
<robotSimType>pal_hardware_gazebo/PalHardwareGazebo</robotSimType>
<robotNamespace></robotNamespace>
<controlPeriod>0.001</controlPeriod>
I have tried removing all of them and still I get the same error.
When I remove the whole plugin, it works perfectly. Just robot falls down due to gravity.
Let me know if you need any further info.
Thank you for helping.
Hello, This could be the gazebo_ros_control plugin provided by PAL Robotics, is not properly compiled in your workspace. I recommend you to clean your workspace and build again and also check for any running gazebo servers in the background and kill them before launching the simulation. You can also open an issue in the GitHub repository : https://github.com/pal-robotics/talos... with the issues you faced and resolved on your own, so we can take a look.
Hello sir, Thank you for your inputs, I will try to do the suggested and will report the updates.