From 71631e2a38014e5184cae780c4cfed3be886e355 Mon Sep 17 00:00:00 2001 From: Victor Jarlow Date: Thu, 28 Apr 2022 09:32:53 +0200 Subject: [PATCH] added guide-post --- bind/emcc/xodr/jsxodr.cxx | 1 + src/xodr/xodr.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bind/emcc/xodr/jsxodr.cxx b/bind/emcc/xodr/jsxodr.cxx index 50298e0..f16702f 100644 --- a/bind/emcc/xodr/jsxodr.cxx +++ b/bind/emcc/xodr/jsxodr.cxx @@ -1061,6 +1061,7 @@ EMSCRIPTEN_BINDINGS(jsxodr) .value(enum2str(e_objectType::PEDESTRIAN).c_str(),e_objectType::PEDESTRIAN) //pedestrian .value(enum2str(e_objectType::WIND).c_str(),e_objectType::WIND) //wind .value(enum2str(e_objectType::ROADMARK).c_str(),e_objectType::ROADMARK); //roadMark + .value(enum2str(e_objectType::GUIDEPOST).c_str(),e_objectType::GUIDEPOST); //guide-post ; //@js::enum_(m,"e_orientation", js::arithmetic(),"") enum_("e_orientation") //"" diff --git a/src/xodr/xodr.h b/src/xodr/xodr.h index 3b9c77f..a0df4fd 100644 --- a/src/xodr/xodr.h +++ b/src/xodr/xodr.h @@ -110,7 +110,8 @@ enum class e_objectType : std::uint8_t TRAIN, //train //#DOC : deprecated PEDESTRIAN, //pedestrian //#DOC : deprecated WIND, //wind //#DOC : deprecated - ROADMARK //roadMark + ROADMARK, //roadMark + GUIDEPOST //guide-post }; enum class e_orientation : std::uint8_t { @@ -516,7 +517,8 @@ inline std::vector>enum_map() { "train", e_objectType::TRAIN } , { "pedestrian", e_objectType::PEDESTRIAN } , { "wind", e_objectType::WIND } , - { "roadMark", e_objectType::ROADMARK } + { "roadMark", e_objectType::ROADMARK } , + { "guide-post", e_objectType::GUIDEPOST } }; } template<>