Adapting to Context in Robot State Estimation