Robot.RangeClip

This function can be used to clip a value to a minimum and maximum threshold. For example, if I have 50, but I only want a value to 1.0, then use Robot.RangeClip(50, 1.0, -1.0). This will return 1.0.

Last updated