Skip to content
Snippets Groups Projects
Commit 13177b62 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

getLineSensor(name) is now public.

parent 27ce749b
No related branches found
No related tags found
No related merge requests found
...@@ -688,7 +688,7 @@ public class Rugged { ...@@ -688,7 +688,7 @@ public class Rugged {
* @return selected sensor * @return selected sensor
* @exception RuggedException if sensor is not known * @exception RuggedException if sensor is not known
*/ */
private LineSensor getLineSensor(final String sensorName) throws RuggedException { public LineSensor getLineSensor(final String sensorName) throws RuggedException {
final LineSensor sensor = sensors.get(sensorName); final LineSensor sensor = sensors.get(sensorName);
if (sensor == null) { if (sensor == null) {
throw new RuggedException(RuggedMessages.UNKNOWN_SENSOR, sensorName); throw new RuggedException(RuggedMessages.UNKNOWN_SENSOR, sensorName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment