diff --git a/PythonAPI/carla/include/PythonAPI.h b/PythonAPI/carla/include/PythonAPI.h index 92b6cdb8f..f3b69c142 100644 --- a/PythonAPI/carla/include/PythonAPI.h +++ b/PythonAPI/carla/include/PythonAPI.h @@ -356,7 +356,7 @@ namespace client { inline std::ostream &operator<<(std::ostream &out, const ActorAttribute &attr) { using Type = carla::rpc::ActorAttributeType; - static_assert(static_cast(Type::SIZE) == 5u, "Please update this function."); + static_assert(static_cast(Type::SIZE) == 6u, "Please update this function."); out << "ActorAttribute(id=" << attr.GetId(); switch (attr.GetType()) { case Type::Bool: @@ -374,6 +374,9 @@ namespace client { case Type::RGBColor: out << ",type=Color,value=" << attr.As(); break; + case Type::Vector: + out << ",type=vector,value= (not implemented yet)"; + break; default: out << ",INVALID"; }