Commit f4048361 authored by Mohamed Ahmed's avatar Mohamed Ahmed
Browse files

Debug_3.1

parent 708eb034
...@@ -17,7 +17,7 @@ ara::core::Future<timeService::getTimeOutput> getTime::operator()() ...@@ -17,7 +17,7 @@ ara::core::Future<timeService::getTimeOutput> getTime::operator()()
srv.request.srv_id = "x" + std::to_string(getTime::instanceID_); srv.request.srv_id = "x" + std::to_string(getTime::instanceID_);
//srv.request.srv_cmd = "start"; //Start offering service //srv.request.srv_cmd = "start"; //Start offering service
if(getTimeClient.call(srv)){ if(getTimeClient.call(srv)){
ROS_INFO("ID_: %i\nHours: %i\nMinutes: %i\nSeconds: %i", srv.request.srv_id, srv.response.hours,srv.response.minutes,srv.response.seconds); ROS_INFO("\nHours: %i\nMinutes: %i\nSeconds: %i\n", srv.response.hours,srv.response.minutes,srv.response.seconds);
returnValue.hours = srv.response.hours; returnValue.hours = srv.response.hours;
returnValue.minutes = srv.response.minutes; returnValue.minutes = srv.response.minutes;
returnValue.seconds = srv.response.seconds; returnValue.seconds = srv.response.seconds;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment