maliput / maliput_malidrive

Open-source ready OpenDrive backend for Maliput
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Spiral Geometries? #260

Closed stonier closed 5 months ago

stonier commented 9 months ago

Description

Steps to reproduce

With #259 I was trying to dump to obj file a new .xodr, SmallTownRoads.xodr:

bazel run //:xodr_to_obj -- --xodr-file=${PWD}/resources/SmallTownRoads.xodr --out-dir=${PWD}

Output

INFO: Analyzed target //:xodr_to_obj (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //:xodr_to_obj up-to-date:
  bazel-bin/xodr_to_obj
INFO: Elapsed time: 0.126s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/xodr_to_obj '--xodr-file=/workspaces/maliput_malidrive/resources/SmallTownRoads.xodr' '--out-dir=/workspaces/maliput_malidrive'
[INFO] Parser: Allow schema errors: disabled

[INFO] Parser: Allow semantic errors: disabled

terminate called after throwing an instance of 'maliput::common::assertion_error'
  what():  geometry.cc:str_to_type:50: spiral geometry type is not available.
francocipollone commented 9 months ago

@stonier Spiral geometries is an OpenDrive feature we are not supporting yet Check here for the parser capabilities: https://github.com/maliput/maliput_malidrive/blob/main/src/maliput_malidrive/xodr/README.md

We can give it priority in order to support this kind of plan view geometry.

We would need:

stonier commented 9 months ago

aye, make it a priority.