Continuous- and discrete-time models for the pedestrians-footbridges synchronization