Skip to content

Route simulation turns the wrong way when sped up #1908

Open

Description

@1ec5

A simulated route between 39.20037°N, 84.38027°W and 39.1997269°N, 84.3782329°W at 2× speed should make a sharp left turn from southbound Kenwood Road to westbound Montgomery Road. But instead of spinning counterclockwise, the simulation spins clockwise the long way around. Here it is having spun some 45° clockwise:

whee

This issue doesn’t reproduce at 1× speed, and it doesn’t affect slighter turns.

/cc @frederoni @JThramer

Activity

  1. added
    bug
    on Dec 19, 2018
  2. frederoni commented on Dec 19, 2018

    @frederoni
    Contributor

    This is kinda like the roundabout issue we talked about the other day. We don’t know for sure what direction to turn with just two control points. I wonder if we could animate on a frame by frame basis or perhaps divide the 1s animation between location updates into 10×100ms to mitigate this and improve synchronization between the puck and the map.

  3. 1ec5 commented on Dec 20, 2018

    @1ec5
    ContributorAuthor

    We don’t know for sure what direction to turn with just two control points.

    We do know whether the current step’s maneuver is a left or right turn, though, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtopic: location

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions