Anticipatory robot navigation by simultaneously localizing and building a cognitive map | Synapse