Robotics StackExchange | Archived questions

ROSCORE command line Jade ROS on Ubuntu 15.04

While running $ roscore I face a problem the terminal stuck

eldiwiny@eldiwiny-HP-2000-Notebook-PC:~$ roscore
... logging to /home/eldiwiny/.ros/log/4f7ba330-5b14-11e6-a139-40f02f15988e/roslaunch-eldiwiny-HP-2000-Notebook-PC-2293.log
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://eldiwiny-HP-2000-Notebook-PC:56423/
ros_comm version 1.11.16


SUMMARY
========

PARAMETERS
 * /rosdistro: jade
 * /rosversion: 1.11.16

NODES

auto-starting new master
process[master]: started with pid [2306]
ROS_MASTER_URI=http://eldiwiny-HP-2000-Notebook-PC:11311/

setting /run_id to 4f7ba330-5b14-11e6-a139-40f02f15988e
process[rosout-1]: started with pid [2319]
started core service [/rosout]

^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Asked by marwa eldiwiny on 2016-08-05 08:58:39 UTC

Comments

Answers

This is expected behavior; the roscore command runs until you stop it. It does not run in the background or start a daemon.

Asked by ahendrix on 2016-08-05 15:28:08 UTC

Comments

Thanks, so I am supposed to open another terminal while roscore running. Also I want to make SLAM on ROS, but I didn't find helpful materials, any advice

Asked by marwa eldiwiny on 2016-08-05 16:09:59 UTC

Yes. you'll typically want to have one terminal for each node or launch file that you run. I saw your other question about SLAM; I don't have an answer for it.

Asked by ahendrix on 2016-08-05 21:56:52 UTC