update changelog
This commit is contained in:
parent
002da129c8
commit
73f4e1d45a
@ -1,5 +1,8 @@
|
|||||||
# UNRELEASED
|
# UNRELEASED
|
||||||
|
|
||||||
|
- Profile:
|
||||||
|
- Remove dependency on turn types and turn modifier in the process_turn function in the `car.lua` profile. Guidance instruction types are not used to influence turn penalty anymore so this will break backward compatibility between profile version 3 and 4.
|
||||||
|
|
||||||
# 5.13.0
|
# 5.13.0
|
||||||
- Changes from 5.12:
|
- Changes from 5.12:
|
||||||
- Profile:
|
- Profile:
|
||||||
|
@ -567,7 +567,8 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
|
|||||||
&ExtractionTurn::angle,
|
&ExtractionTurn::angle,
|
||||||
"turn_type",
|
"turn_type",
|
||||||
sol::property([](const ExtractionTurn &turn) {
|
sol::property([](const ExtractionTurn &turn) {
|
||||||
if (turn.number_of_roads > 2 || turn.source_mode != turn.target_mode || turn.is_u_turn)
|
if (turn.number_of_roads > 2 || turn.source_mode != turn.target_mode ||
|
||||||
|
turn.is_u_turn)
|
||||||
return guidance::TurnType::Turn;
|
return guidance::TurnType::Turn;
|
||||||
else
|
else
|
||||||
return guidance::TurnType::NoTurn;
|
return guidance::TurnType::NoTurn;
|
||||||
|
Loading…
Reference in New Issue
Block a user