ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Segmentation fault (core dumped) when running turtlesim node

asked 2018-12-11 07:54:16 -0500

lijing11 gravatar image

Hi, I'm new to ROS and when I am trying to follow the tutorials for beginners about the 'rqt_console' Link to tutorial: link text I found an issue when trying to run turtlesim node by type 'rosrun turtlesim turtlesim_node' 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 :

  1. 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:

  2. service [/turtle1/teleport_absolute] appears to be malfunctioning: Unable to communicate with service [/turtle1/teleport_absolute]
  3. service [/turtlesim/get_loggers] appears to be malfunctioning: Unable to communicate with service [/turtlesim/get_loggers]
  4. service [/turtlesim/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/turtlesim/set_logger_level]
  5. service [/reset] appears to be malfunctioning: Unable to communicate with service [/reset]
  6. service [/spawn] appears to be malfunctioning: Unable to communicate with service [/spawn]
  7. service [/clear] appears to be malfunctioning: Unable to communicate with service [/clear]
  8. service [/turtle1/set_pen] appears to be malfunctioning: Unable to communicate with service [/turtle1/set_pen]
  9. service [/turtle1/teleport_relative] appears to be malfunctioning: Unable to communicate with service [/turtle1/teleport_relative]
  10. 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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-14 01:44:12 -0500

lijing11 gravatar image

I uninstall and reinstall the whole ROS package and now it works fine.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-11 07:54:16 -0500

Seen: 540 times

Last updated: Dec 14 '18