The following is copy-pasted from MSGPACK_DEFINE_ARRAY. This is a workaround for an issue in msgpack library. The MSGPACK_DEFINE_ARRAY macro is shadowing our z variable. https://github.com/msgpack/msgpack-c/issues/709
The following is copy-pasted from MSGPACK_DEFINE_ARRAY. This is a workaround for an issue in msgpack library. The MSGPACK_DEFINE_ARRAY macro is shadowing our z variable. https://github.com/msgpack/msgpack-c/issues/709
Temporary flags to search lanes where we can find road marks. This needs to be expanded searching in shoulders too, but since shouders have a small width, they can cause problems while finding the nearest center of a lane given a location that are in a road, but very close to a shoulder.
We skip first face because is the surrounding face. But this won't be always the case, if the graph is generated differently it might be a different one.