sol=NDSolve[{y'[t]==15/4-Floor[y[t]]+DiracDelta[t-2],y[0]==.1},y,{t,0,6}];

Plot[Evaluate[{y[t],y'[t]}/.sol],{t,0,6}, PlotLegends->{"y(t)","y'(t)"}]