Closed andresv closed 3 years ago
I think that's a great idea, probably add them as associated constants? Then also use those in the range check code.
pub const STEER_ANGLE_MIN: f32 = -500;
pub const STEER_ANGLE_MAX: f32 = 500;
Yes, that is better than adding separate methods.
For example here we have steering angle that goes from
-500
to500
.It would be useful to access those values also from Rust. Currently they are actually hardcoded in range check.