i followed the instructions on Create semantic tags to create my custom tags.
I created two new folders, ChevronSign and YellowLine
Then i added the tags to
Then i edited
And finally defined a color code in
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:
- I changed the color of a default label and checked if the color would change. It did not.
- I tried to rebuild carla with
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;
- So i checked if there are other
ObjectLabel.hfiles in my system and customized all of them as the first one. I found 3 of them.
Then 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!