Questions tagged [sphero-api]

Sphero API is a set of tools to enable developers to build apps for the Sphero robotic ball.

Sphero API is a set of tools provided by http://www.gosphero.com/ to enable developers to build apps for the Sphero robotic ball.

More information about the API can be found on the developer site:

http://developer.sphero.com/

Where you will find multiple downloads for various platforms and instructions for installing / using them.

Here are some links to help you get started with Sphero.

  • iOS SDK - https://github.com/orbotix/Sphero-iOS-SDK
  • Android SDK - https://github.com/orbotix/Sphero-Android-SDK
  • Unity Plugin - http://u3d.as/content/orbotix-inc-/sphero-unity-plugin/4co
  • Developer Resources - https://github.com/orbotix/DeveloperResources
  • 108 questions
    1
    vote
    1 answer

    Gyroscope driven sphero

    I'm working on sphero app and want to add a gysorcope based driving. As far as I understand I need to create CMMotionManager, get the yaw value and pass it as a parameter to instance of RKTiltDriveAlgorithm. What I don't understand is where do I…
    libec
    • 1,555
    • 1
    • 10
    • 19
    1
    vote
    1 answer

    Sphero - How to make Sphero jump?

    I just got a Sphero v2.0 and have been playing with the SDK to create android apps in Eclipse for the Sphero. In the official app there is a function to make the Sphero jump for the…
    user2114573
    • 57
    • 2
    • 5
    1
    vote
    1 answer

    Increase sensibility using collision detection in sphero api

    I'm wanting to do a maze solver program using sphero and artoo, so I need to detect collision in low speed and with a very high sensibility. I've been looking at Collision detection docs:…
    solojavier
    • 25
    • 3
    1
    vote
    1 answer

    Sphero API differences between Sphero original and Sphero v2?

    I haven't been able to locate a changelist of API differences between the two Spheros. What are the differences between the two API versions? (I'm looking to buy one to control its motion programatically.)
    Maxim Zaslavsky
    • 17,787
    • 30
    • 107
    • 173
    1
    vote
    1 answer

    How to upload large (2 blocks) orbBasic program to Sphero using Mac SDK?

    I explore Sphero with children in the computer club. We develop simple orbBasic programs that do interesting things. I did gave up with orbBasic app on mobile devices because it is next to unusable for programming (tiny fonts, hard to edit on…
    iddi
    • 31
    • 4
    1
    vote
    1 answer

    Sphero Connectivity Issues With Windows 8.1

    BACKGROUND: I am an amateur programmer in my Freshman year of college. We are currently doing a project where we are to take the Sphero and develop a new target market for a more profitable product. Seeing as I am the only one interested in…
    Ryan4588
    • 57
    • 10
    1
    vote
    5 answers

    OrbBasic multiple if statement do not work (in orbBasic loader in Mac OS X SDK)

    when I try to load the following program to sphere through orbBasic loader in Mac OS X SDK it takes awhile for it to load and then it don't execute (without any message) 10 A=50 20 P=4 30 LEDC rnd 8 40 for X=0 to P-1 50 L=X*360/P 60 if L>45 and…
    iddi
    • 31
    • 4
    1
    vote
    1 answer

    How to control LED max brightness using Sphero API

    I am just curious as I notice when the sphero is blinking while it is idling waiting for a connection, it is much brighter than when I set the colour using the setRGB functionality. Am I missing something to adjust the brightness as well. I can't…
    tinkerer
    • 11
    • 2
    1
    vote
    1 answer

    Manually Calibrate Sphero

    I am wondering if there is a way to manually calibrate the sphero? This is a great device, but the sense of where you are gets lost once you start moving around. I want to do some sort of trick where your gps can give the sphero a clue as to where…
    1
    vote
    3 answers

    Sphero iOS AR and Unity Build

    is there a tutorial on how to build the Sample Unity AR Project on iOS? I'm obviously missing a few steps, because after dragging the Editor folder to the project Asset folder, hitting Build and Run and saving the build in the actual project folder,…
    1
    vote
    1 answer

    How to keep a Bluetooth connection when Sphero is synchronized and I use several Activities

    When I have synchronized with Sphero and I want to pass from one activity to another one, my synchronization is lost, and I have to do in the new activity this method in onCreate to get de synchronism again: **RobotProvider provider =…
    1
    vote
    2 answers

    Any multi player capability for sphero api for android

    I've read it's not possible for iOS, but it is possible to control more than 1 ball at a time for android. But nothing about using 2 or more balls with 2 or more devices in the same area. We'd love to use 3-5 of them in the same area with 3-5…
    user1108224
    • 159
    • 1
    • 15
    1
    vote
    1 answer

    Sphero MFi Verification

    we were submitting our app which uses Sphero SDK and the app got rejected. The app was made for big music festival where people can borrow Sphero and play with it for a while. Sadly, our app got rejected because of MFi Program Authorization. Is…
    animal_chin
    • 6,610
    • 9
    • 37
    • 41
    1
    vote
    1 answer

    Sphero: openConnectionWithSpecificRobot or analog in official SDK for iOS

    I don't understand how I can start communication session with specific robot or with all connected (available) robots. I have "availableRobots"=2 and array with both robots. What next? In official SDK for iOS I don't see any method similar to…
    Alex Koz.
    • 490
    • 8
    • 26
    1
    vote
    0 answers

    Sphero AR Example Crashes Randomly

    I'm testing the Sphero-AR-SDK found on GitHub (https://github.com/orbotix/Sphero-AR-SDK) When testing, I seem to have random crashes on connect. The issue I'm trying to debug is an index out of range error. *"*** Terminating app due to uncaught…
    Prankard
    • 19
    • 1