change phantom node to store an appx speed regardless of direction. use this speed to estimate an accel/decel penalty and scale the penalty based on the distance traveled up to a cutoff. only used in the table plugin at the moment. TODO still lives in the guidance assemble_leg area

This commit is contained in:
Kevin Kreiser
2019-02-08 23:37:28 -05:00
committed by Daniel Patterson
parent 67e99c9809
commit ca55521c87
9 changed files with 77 additions and 78 deletions
@@ -25,7 +25,7 @@ namespace
{
namespace ph = boost::phoenix;
namespace qi = boost::spirit::qi;
}
} // namespace
template <typename T, char... Fmt> struct no_trailing_dot_policy : qi::real_policies<T>
{
@@ -222,8 +222,8 @@ struct BaseParametersGrammar : boost::spirit::qi::grammar<Iterator, Signature>
qi::symbols<char, engine::Approach> approach_type;
qi::symbols<char, engine::api::BaseParameters::SnappingType> snapping_type;
};
}
}
}
} // namespace api
} // namespace server
} // namespace osrm
#endif