Skip to content

behavior around traffic circles #22

@sbma44

Description

@sbma44

Seeing some unexpectedly jagged traces when I simulate Dupont Circle in DC using the car profile.

image
image

The noise simulation seems like a reasonable approach to the problem, though not a particularly realistic one (looking at some actual telemetry I see a lot more parallelism than random jitter, perhaps due to either environmental RF echoes or the tendency of the location services black box trying to smooth its output by keeping heading relatively constant).

Assuming realism isn't a particular goal, I'll throw out two possible changes. Are there other ways of tackling this?

  • having the location error as a cumulative vector that is adjusted at each step along a trip rather than a random error added at each step
  • multiplying the error by a function of between-node distance to diminish its effect around circles

I'm also curious why the heading for the noise is normally distributed.

Happy to take a crack at a PR if any of this sounds like a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions