Getting the index of the min of elements in the array python - Dieptranivsr/DroneIVSR GitHub Wiki

cp_idx = np.where(proc_ranges == np.amin(proc_ranges))[0][0]

// reactive_gap(f1tenth)