Diode laser generating 3-ns pulses for a high resolution lidar