Skip to content

Commit

Permalink
return true for stop mode service to avoid ugly error messages on cli…
Browse files Browse the repository at this point in the history
…ent side
  • Loading branch information
msh committed Aug 19, 2016
1 parent 2bd182b commit f94162a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cob_light/ros/src/cob_light.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ class LightControl
res.active_mode = p_modeExecutor->getExecutingMode();
res.active_priority = p_modeExecutor->getExecutingPriority();
res.track_id = p_modeExecutor->getExecutingUId();
ret = true; // TODO: really check if mode is stopped
return ret;
}

Expand Down

0 comments on commit f94162a

Please sign in to comment.