Segmentation fault (core dumped) when running turtlesim node
Hi, I'm new to ROS and when I am trying to follow the tutorials for beginners about the 'rqtconsole' Link to tutorial: link text I found an issue when trying to run turtlesim node by type 'rosrun turtlesim turtlesimnode' in the terminal. The node cannot run and it appears "Segmentation fault (core dumped)" in the terminal which I typed in 'rosrun...'
And before this, I just finished learning the last tutorial about rosservice and rosparam, by exactly following the tutorials, where the turtlesim node works just fine. Link to tutorial: link text When I finished this tutorial, I terminated the process by entering Ctrl+C in the terminals, and open a new terminal for the next tutorial.
Then I ran 'roswtf' and three error appeared as :
- ERROR Could not contact the following nodes:* /turtlesim
2.ERROR The following nodes should be connected but aren't:* /turtlesim->/rosout (/rosout)
3.ERROR Errors connecting to the following services: * service [/turtle1/teleportabsolute] appears to be malfunctioning: Unable to communicate with service [/turtle1/teleportabsolute] * service [/turtlesim/getloggers] appears to be malfunctioning: Unable to communicate with service [/turtlesim/getloggers] * service [/turtlesim/setloggerlevel] appears to be malfunctioning: Unable to communicate with service [/turtlesim/setloggerlevel] * service [/reset] appears to be malfunctioning: Unable to communicate with service [/reset] * service [/spawn] appears to be malfunctioning: Unable to communicate with service [/spawn] * service [/clear] appears to be malfunctioning: Unable to communicate with service [/clear] * service [/turtle1/setpen] appears to be malfunctioning: Unable to communicate with service [/turtle1/setpen] * service [/turtle1/teleportrelative] appears to be malfunctioning: Unable to communicate with service [/turtle1/teleportrelative] * service [/kill] appears to be malfunctioning: Unable to communicate with service [/kill]
Information of my setup: OS: Linux, Ubuntu 16.04 ; ROS: kinetic
Does anyone have any idea of this issue? Thanks!
Asked by lijing11 on 2018-12-11 08:54:16 UTC
Answers
I uninstall and reinstall the whole ROS package and now it works fine.
Asked by lijing11 on 2018-12-14 02:43:45 UTC
Comments