Skip to content

Intersections don't give positions #5

@Babwenbiber

Description

@Babwenbiber

The positions for intersections seem not to work.
I get position -1 when driving over it.
I used the sample modular_intersection for it.
Steps to reproduce:

  1. ./tragediy -I ~/com.anki.overdrive/ -p crossroad -j ~/com.anki.overdrive/files/expansion/assets/resources/basestation/config/mapFiles/racing/modular_intersection_test2.txt
    Output is WARNING: Encountered ambiguous location barcodes with the following road piece identifiers: 17 18
  2. Check created crossroad_location-table.csv. => No Segment 4 10 (Which is intersection from what I understand)

Here the modular_intersection_test2.txt:
12
0 7 18 1200 0
0 7 34 1200 0
0 7 33 1200 0
0 7 17 1200 0
0 7 23 1200 0
0 7 40 1200 0
0 4 10 1200 0
0 7 39 1200 0
0 7 17 1200 1
0 7 18 1200 1
0 7 36 1200 0
0 7 20 1200 1
13
0 1 1 0
1 1 2 0
2 1 3 0
3 1 4 0
4 1 5 0
5 1 6 2
6 3 7 0
7 1 8 1
8 0 9 1
9 0 10 0
10 1 11 1
11 0 6 1
6 0 0 0
1 0 0.0 0.15
1300 600 1.5708

BTW: Is it even possible to scan (and get different positions from) tracks with two segments with the same id?

Furthermore, is there a documentation how to create your own track.txt? Or is it strictly under anki license?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions