Skip to content

Commit 71631e2

Browse files
committed
added guide-post
1 parent 523887a commit 71631e2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

bind/emcc/xodr/jsxodr.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ EMSCRIPTEN_BINDINGS(jsxodr)
10611061
.value(enum2str<e_objectType>(e_objectType::PEDESTRIAN).c_str(),e_objectType::PEDESTRIAN) //pedestrian
10621062
.value(enum2str<e_objectType>(e_objectType::WIND).c_str(),e_objectType::WIND) //wind
10631063
.value(enum2str<e_objectType>(e_objectType::ROADMARK).c_str(),e_objectType::ROADMARK); //roadMark
1064+
.value(enum2str<e_objectType>(e_objectType::GUIDEPOST).c_str(),e_objectType::GUIDEPOST); //guide-post
10641065
;
10651066
//@js::enum_<e_orientation>(m,"e_orientation", js::arithmetic(),"")
10661067
enum_<e_orientation>("e_orientation") //""

src/xodr/xodr.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ enum class e_objectType : std::uint8_t
110110
TRAIN, //train //#DOC : deprecated
111111
PEDESTRIAN, //pedestrian //#DOC : deprecated
112112
WIND, //wind //#DOC : deprecated
113-
ROADMARK //roadMark
113+
ROADMARK, //roadMark
114+
GUIDEPOST //guide-post
114115
};
115116
enum class e_orientation : std::uint8_t
116117
{
@@ -516,7 +517,8 @@ inline std::vector<std::pair<std::string, e_objectType>>enum_map()
516517
{ "train", e_objectType::TRAIN } ,
517518
{ "pedestrian", e_objectType::PEDESTRIAN } ,
518519
{ "wind", e_objectType::WIND } ,
519-
{ "roadMark", e_objectType::ROADMARK }
520+
{ "roadMark", e_objectType::ROADMARK } ,
521+
{ "guide-post", e_objectType::GUIDEPOST }
520522
};
521523
}
522524
template<>

0 commit comments

Comments
 (0)