roscore does not initialize
Hey guys,
I'm new to ROS. If I run roscore
, it does not initialize, it just gets stuck. If I run strace roscore
, after a certain point, I keep seeing the following forever:
select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
Concerning the environmental variables, I have:
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_PACKAGE_PATH=/home/filippo/catkin_ws/src:/opt/ros/kinetic/share
ROS_MASTER_URI=http://localhost:11311
ROS_HOSTNAME=localhost
ROSLISP_PACKAGE_DIRECTORIES=/home/filippo/catkin_ws/devel/share/common-lisp
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
The console output is:
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://filippo-HP-ENVY-17-Notebook-PC:43155/
ros_comm version 1.12.7
SUMMARY
========
PARAMETERS
* /rosdistro: kinetic
* /rosversion: 1.12.7
NODES
auto-starting new master
process[master]: started with pid [15768]
ROS_MASTER_URI=http://filippo-HP-ENVY-17-Notebook-PC:11311/
setting /run_id to 1cc9a0fe-133d-11e7-903f-3423872d9899
process[rosout-1]: started with pid [15781]
started core service [/rosout]
Any idea? Thanks a lot :)
Please show the console output for when you run it too.
Please edit your question when you have updates. I've added the console output to your question for you.
This is what starting up roscore is supposed to do; it will keep running and won't print a new prompt until you stop it.