.on("ready", function(bot) {
    console.log("Setting up Locator...");

    // To detect location from the Sphero we use configureLocator.
    // You must pass an opts object to configureLocator():