Using infrared technology to detect hot or defective brakes on trucks