implemented robot location feature