Estimating the fundamental diagram using moving observers