The Canon 5d Mark III can do these types of photos in camera. Otherwise, mount the camera on a tripod, set it in manual mode so it won't change any settings, set your aperture, shutter speed etc., and I'd also manually focus the camera to the specific path your target is going to take. Shoot...