get rid of strings
This commit is contained in:
parent
9fa7bea990
commit
7abcece4ba
|
@ -82,8 +82,8 @@ namespace ratgdo {
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case OBSTRUCTION_STATE_CLEAR:
|
case OBSTRUCTION_STATE_CLEAR:
|
||||||
return "CLEAR";
|
return "CLEAR";
|
||||||
case OBSTRUCTION_STATE_DETECTED:
|
case OBSTRUCTION_STATE_OBSTRUCTED:
|
||||||
return "DETECTED";
|
return "OBSTRUCTED";
|
||||||
case OBSTRUCTION_STATE_UNKNOWN:
|
case OBSTRUCTION_STATE_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
|
|
Loading…
Reference in New Issue