Fixing capture_image_srv name

This commit is contained in:
pyhs 2017-09-05 16:10:16 -04:00
parent 2e2681323f
commit 0dfe6b1497
1 changed files with 2 additions and 2 deletions

View File

@ -368,7 +368,7 @@ void roscontroller::Rosparameters_get(ros::NodeHandle &n_c)
} else
n_c.getParam("xbee_status_srv", xbeesrv_name);
if(!n_c.getParam("xbee_status_srv", capture_srv_name))
if(!n_c.getParam("capture_image_srv", capture_srv_name))
{
capture_srv_name = CAPTURE_SRV_DEFAULT_NAME;
}