Added StreamSampler for resampling sensor data streams into waypoints.