i followed the instructions on Create semantic tags to create my custom tags.
ObjectLabel.h
in LibCarla/source/carla/rpc
Tagger.cpp
in Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game
CityScapesPalette.h
in LibCarla/source/carla/image
.I moved the assets in the according directory, and they appear black, so no label. Moving the assets in one of the default folders works just fine, the semantic tag gets displayed correct.
What i tried:
make CarlaUE4Editor
, and an error because of the new tags:/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/Tagger.cpp:48:67: error: no member named 'ChevronSign' in 'carla::rpc::CityObjectLabel'
else if (String == "ChevronSign") return crp::CityObjectLabel::ChevronSign;
/carla/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/Tagger.cpp:49:67: error: no member named 'YellowLine' in 'carla::rpc::CityObjectLabel'
else if (String == "YellowLine") return crp::CityObjectLabel::YellowLine;
ObjectLabel.h
files in my system and customized all of them as the first one. I found 3 of them. enter image description hereThen the i ran make CarlaUE4Editor
sucessfully. But the Semantic Tags still don't work.
Does anyone know which mistake i made? Is there a mistake in the documentation ?
Thanks in advance!
I found the mistake. I just had to upgrade from carla 0.9.9 to 0.9.10.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.