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

$ rostopic list ERROR: Unable to communicate with master!

asked 2018-08-02 09:17:45 -0600

lamiastella gravatar image

updated 2018-08-02 13:06:12 -0600

jayess gravatar image

I am trying to calibrate a Logitic 920 HD 1080p camera in Ubuntu 16.04. I have installed ros kinetik. I am not sure if this tutorial is the correct link but I get this error:

http://wiki.ros.org/camera_calibratio...

mona@Mona:~$ rosdep install camera_calibration
#All required rosdeps installed successfully
mona@Mona:~$ rosmake camera_calibration
[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['camera_calibration']                      
[ rosmake ] Logging to directory /home/mona/.ros/rosmake/rosmake_output-20180802-101208
[ rosmake ] Expanded args ['camera_calibration'] to:
['camera_calibration']     
[rosmake-0] Starting >>> catkin [ make ]                                        
(...)

[rosmake-5] Finished <<< image_geometry ROS_NOBUILD in package image_geometry
 No Makefile in package image_geometry
[rosmake-5] Starting >>> camera_calibration [ make ]                            
[rosmake-5] Finished <<< camera_calibration ROS_NOBUILD in package camera_calibration
 No Makefile in package camera_calibration
[ rosmake ] Results:                                                            
[ rosmake ] Built 45 packages with 0 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/mona/.ros/rosmake/rosmake_output-20180802-101208              
mona@Mona:~$ rostopic list
ERROR: Unable to communicate with master!
mona@Mona:~$

if the tutorial is the correct one for this camera, how should I fix this error, if the tutorial is wrong, please link me to the correct tutorial.

edit retag flag offensive close merge delete

Comments

1

I think you have missed a step in the tutorial:

Make sure that your stereo camera is publishing left and right images over ROS.

ahendrix gravatar image ahendrix  ( 2018-08-02 10:45:33 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2018-08-02 10:45:08 -0600

NEngelhard gravatar image

Your error has nothing to do with the camera package. The command you have problems with ('rostopic list') does not depend on your build process or the camera type you are running.

The tutorial assumes that you have worked through the Beginner Level Tutorials in which you can learn how to start a roscore (and the corresponding environment variables).

edit flag offensive delete link more
-1

answered 2018-08-03 03:56:21 -0600

pavel92 gravatar image

updated 2018-08-03 07:36:14 -0600

The error that you are getting has nothing to do with the camera package. In order to run rostopic list you need to have a roscore running. As noted by NEngelhard you should go fist through the beginner tutorials. After you get some grasp of how ROS works you should continue with the calibration.

In addition, the Logitech c920 HD 1080p is a monocular camera, so in the end you will need the following camera calibration package.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-08-02 09:17:45 -0600

Seen: 3,549 times

Last updated: Aug 03 '18