roscore error
roscore always shut down and restart automatically even I pull the newest images and rebuild again from scratch. process[rosout-1]: started with pid [3647] [rosout-1] process has finished cleanly log file: /home/xyang65/.ros/log/adeec2f0-7cd0-11e8-a1b6-e82a44ff9457/rosout-1*.log [rosout-1] restarting process process[rosout-1]: started with pid [3665] [ERROR] [1530409642.461346420]: Shutdown! Another node registered with same name [rosout-1] process has finished cleanly log file: /home/xyang65/.ros/log/adeec2f0-7cd0-11e8-a1b6-e82a44ff9457/rosout-1*.log [rosout-1] restarting process process[rosout-1]: started with pid [3676] [rosout-1] process has finished cleanly log file: /home/xyang65/.ros/log/adeec2f0-7cd0-11e8-a1b6-e82a44ff9457/rosout-1*.log
Would you please "grep" some related info from those log files so that we can help to debug.
@xyang65 could you provide the master.log?
I also get the same issue when I run demo as velodyne, my command is
roslaunch velodyne velodyne_check.launch, and this is full information:
setting /run_id to efe5ce88-7f6e-11e8-ad75-fc017c191e0d
process[rosout-1]: started with pid [730]
started core service [/rosout]
process[velodyne_nodelet_manager-2]: started with pid [734]
process[sensor_velodyne64_driver-3]: started with pid [743]
process[sensor_velodyne64_convert-4]: started with pid [753]
process[sensor_velodyne64_compensator-5]: started with pid [763]
process[static_transform_velodyne64-6]: started with pid [773]
[ INFO] [1530697510.237744132]: Initializing nodelet with 12 worker threads.
process[sensor_velodyne_check-7]: started with pid [791]
[ INFO] [1530697510.443204885]: Loading nodelet /sensor_velodyne64_driver of type velodyne_driver/DriverNodelet to manager velodyne_nodelet_manager with the following remappings:
[ INFO] [1530697510.489716392]: Velodyne driver nodelet init
[ INFO] [1530697510.493834851]: publishing 579 packets per scan
[ INFO] [1530697510.493857398]: Opening UDP socket: port 2368
[ INFO] [1530697510.653703259]: Loading nodelet /sensor_velodyne64_convert of type velodyne_pointcloud/ConvertNodelet to manager velodyne_nodelet_manager with the following remappings:
[ INFO] [1530697510.722469012]: Point cloud nodelet init
[ INFO] [1530697510.860494491]: Loading nodelet /sensor_velodyne64_compensator of type velodyne_pointcloud/CompensatorNodelet to manager velodyne_nodelet_manager with the following remappings:
[ INFO] [1530697510.926688087]: Compensator nodelet init
[ERROR] [1530697511.371790832]: Shutdown! Another node registered with same name
[ WARN] [1530697511.495476600]: Velodyne port 2368 poll() timeout
[rosout-1] process has finished cleanly
log file: /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout-1*.log
[rosout-1] restarting process
process[rosout-1]: started with pid [972]
[ WARN] [1530697512.496505134]: Velodyne port 2368 poll() timeout
[ WARN] [1530697513.498002194]: Velodyne port 2368 poll() timeout
[ WARN] [1530697514.499473903]: Velodyne port 2368 poll() timeout
[ERROR] [1530697514.518138847]: Shutdown! Another node registered with same name
[rosout-1] process has finished cleanly
log file: /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout-1*.log
[rosout-1] restarting process
process[rosout-1]: started with pid [995]
[ WARN] [1530697515.500919437]: Velodyne port 2368 poll() timeout
[ WARN] [1530697516.502446411]: Velodyne port 2368 poll() timeout
[ WARN] [1530697517.503945315]: Velodyne port 2368 poll() timeout
[ERROR] [1530697517.526850346]: Shutdown! Another node registered with same name
[rosout-1] process has finished cleanly
log file: /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout-1*.log
and this is log file details:
logging to /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout.log
re-publishing aggregated messages to /rosout_agg
subscribed to /rosout
logging to /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout.log
re-publishing aggregated messages to /rosout_agg
subscribed to /rosout
[ WARN] [1530697514.578779114]: Shutdown request received.
[ WARN] [1530697514.578792162]: Reason given for shutdown: [new node registered with same name]
logging to /home/apollo/.ros/log/efe5ce88-7f6e-11e8-ad75-fc017c191e0d/rosout.log
re-publishing aggregated messages to /rosout_agg
subscribed to /rosout
[ WARN] [1530697517.587385018]: Shutdown request received.
[ WARN] [1530697517.587420294]: Reason given for shutdown: [new node registered with same name]
Would you please help me? Thanks a lot! @freeHackOfJeff @fengqikai1414
I solve the problem, it is caused by roscore command and user does not kill it.
solution:rebuilt the project.
The problem disappeared. I don't know how it disappear. Thanks anyway!