TFmini lidar simulation

The original poster formatted code and continued here:

Please continue there…