U-Turns are not mentioned on the instructions steps

I’ve already got something working locally, if you want to test it out in a local installation:
in RouteResultBuilder.java:
add in getInstructionType

            case Instruction.U_TURN_LEFT, Instruction.U_TURN_RIGHT: 
                return InstructionType.UTURN;

& add || instrType == InstructionType.UTURN to isTurnInstruction

and in InstructionTranslator.java add in getTurnManeuver:

            case UTURN:
                return: 7;

Then you will still end up with something like:
“Turn U-Turn on road-name”

So it needs some extra handling translations for u-turns still to get something like
“Make U-Turn on road-name”
But i’m currently stuck on other tasks

Best regards

2 Likes