make confidence unsigned char
This commit is contained in:
parent
de5832b413
commit
93065935ad
@ -18,9 +18,10 @@ public:
|
|||||||
float radius;
|
float radius;
|
||||||
Sensor *sensor = nullptr;
|
Sensor *sensor = nullptr;
|
||||||
|
|
||||||
static constexpr char maxConfidence = 255;
|
static constexpr unsigned char maxConfidence = 255;
|
||||||
static constexpr char confidenceDropSpeed = 2;
|
static constexpr unsigned char confidenceDropSpeed = 2;
|
||||||
char confidence;
|
unsigned char confidence;
|
||||||
|
|
||||||
bool DegradeConfidence(float deltaTime);
|
bool DegradeConfidence(float deltaTime);
|
||||||
void Refresh(Polar position, float radius);
|
void Refresh(Polar position, float radius);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user