How to remap service? commit button during camera_calibration doesn't work
Hi, I didn't find accurate answer to this question
I would like to remap service from /set_camera_info to /camera/set_camera_info
according to this instructions: http://wiki.ros.org/Remapping%20Argum... I tried:
przemek@przem:~$ rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.025 image:=/image_raw set_camera_info:=/camera/set_camera_info
but after pushing on commit button I get: raise ServiceException("service [%s] unavailable"%self.resolved_name) rospy.service.ServiceException: service [/camera/set_camera_info] unavailable
so my camera is calibrated or not?
details from calibration:
rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.025 image:=/image_raw set_camera_info:=/camera/set_camera_info
*** Added sample 1, p_x = 0.675, p_y = 0.933, p_size = 0.446, skew = 0.038
*** Added sample 2, p_x = 0.528, p_y = 0.502, p_size = 0.282, skew = 0.135
*** Added sample 3, p_x = 0.566, p_y = 0.416, p_size = 0.300, skew = 0.209
*** Added sample 4, p_x = 0.533, p_y = 0.382, p_size = 0.247, skew = 0.092
*** Added sample 5, p_x = 0.523, p_y = 0.500, p_size = 0.169, skew = 0.003
*** Added sample 6, p_x = 0.261, p_y = 0.480, p_size = 0.181, skew = 0.011
*** Added sample 7, p_x = 0.727, p_y = 0.526, p_size = 0.181, skew = 0.186
*** Added sample 8, p_x = 0.836, p_y = 0.546, p_size = 0.168, skew = 0.536
*** Added sample 9, p_x = 0.867, p_y = 0.544, p_size = 0.166, skew = 0.151
*** Added sample 10, p_x = 0.924, p_y = 0.552, p_size = 0.157, skew = 0.278
*** Added sample 11, p_x = 0.120, p_y = 0.602, p_size = 0.209, skew = 0.001
*** Added sample 12, p_x = 0.389, p_y = 0.627, p_size = 0.322, skew = 0.029
*** Added sample 13, p_x = 0.674, p_y = 0.736, p_size = 0.284, skew = 0.440
*** Added sample 14, p_x = 0.772, p_y = 0.559, p_size = 0.298, skew = 0.498
*** Added sample 15, p_x = 0.808, p_y = 0.515, p_size = 0.287, skew = 0.622
*** Added sample 16, p_x = 0.802, p_y = 0.528, p_size = 0.250, skew = 0.815
*** Added sample 17, p_x = 0.749, p_y = 0.613, p_size = 0.331, skew = 0.010
*** Added sample 18, p_x = 0.633, p_y = 0.599, p_size = 0.323, skew = 0.120
*** Added sample 19, p_x = 0.370, p_y = 0.594, p_size = 0.287, skew = 0.325
*** Added sample 20, p_x = 0.314, p_y = 0.589, p_size = 0.262, skew = 0.630
*** Added sample 21, p_x = 0.514, p_y = 0.690, p_size = 0.279, skew = 0.224
*** Added sample 22, p_x = 0.554, p_y = 0.643, p_size = 0.362, skew = 0.267
*** Added sample 23, p_x = 0.608, p_y = 0.618, p_size = 0.401, skew = 0.373
*** Added sample 24, p_x = 0.671, p_y = 0.585, p_size = 0.440, skew = 0.443
*** Added sample 25, p_x = 0.604, p_y = 0.604, p_size = 0.415, skew = 0.546
*** Added sample 26, p_x = 0.603, p_y = 0.520, p_size = 0.452, skew = 0.094
*** Added sample 27, p_x = 0.670, p_y = 0.441, p_size = 0.512, skew = 0.103 ...
Are you sure that's what your camera's set_camera_info service is called? What do you see when you run
rosservice list
?