Giter VIP home page Giter VIP logo

guidance-replay's People

Contributors

emilymdubois avatar yhahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

guidance-replay's Issues

Flex `getSteps` for v4 responses

Currently, the getSteps function for v4 responses matches the coordinates (1) for each maneuver to (2) the coordinates the comprise the LineString, and use those coordinates to create the step feature.

I'm running into the issue where some maneuver coordinates have a different number of decimal places than the coordinates in the route geometry (example where maneuver latitudes have 6 decimal places and route geometry latitudes have 5).

@yhahn I'll poke at adding some catches here with some additional tests and see if that helps fix some of the problems with using v4 routes in the simulator. Sound bueno?

Find a forever home for `Locator`

Not sure where it'll fit into our suite of tools long run but parking here is fine for now.

Cutting a ticket so we don't forget that there may be a better home for this class elsewhere ๐Ÿ‘Œ

Locator vs `acceldecel` mode

As of now, I'm using time to keep track of what step we're on in the route. Current step is a required parameter for integration with navigation.js.

This works great when "spacing": "constant", but the instructions start to behave unexpectedly around maneuvers. I think this is because we formulaically ease from the speed of the current segment into the speed of the next segment, which offsets our current time & coordinate combination from the expectation. At maneuvers, we are farther along the route than is expected by the function.

I'm trying to think of a solution that better integrates with "spacing": "acceldecel" mode. I could reattempt distance-based step identification, but had ultimately decided on time-based identification after struggling with highway cloverleaf interchanges. I wonder if there's a way to pull in speedChange into the Locator to better prepare for maneuvers.

cc @yhahn @emilymcafee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.