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
    0
    votes
    1 answer

    Using Sphero to map an environnement, how to get a better accuracy?

    I have developed an application for sphero to make it travel an environment such as a house. The aim is to map the environment. I manage to recover positions and collision points, but it seems that these collisions disrupt positions. I think Sphero…
    FaDa
    • 86
    • 6
    0
    votes
    2 answers

    Sphero API Calibration

    PROBLEM: SetHeading API doesn't calibrate Sphero. I am building a small little custom app with Sphero and would like to implement a configuration UI. However, I am not using the RobotLibrary but instead making Sphero API calls. When…
    0
    votes
    2 answers

    An error occurred while trying to connect with the sphero

    can someone can identify the error in this code, the logic of the program itself is not implemented, it should just connect with the sphero, then no error should not occur. does anyone know how to solve this Thank you in advance. public class…
    0
    votes
    1 answer

    Is there a way to auto connect Sphero in android

    I want my app to connect all paired Sphero automatically. I saw there is a class called orbotix.robot.internal.AutoReconnectCommand; but I cannot find any javadoc for this class. Is there a way to auto connect Sphero in android without showing the…
    Asaf Manassen
    • 3,893
    • 2
    • 21
    • 19
    0
    votes
    1 answer

    Sphero 2.0 RollCommand Is not working continuos

    maybe I'm getting something wrong but if I send the RollCommand it will only move a little after a sec. it will stop. In the QuickStart guide there is an information that it will roll until it hits something or it gets out of range. What I'm not…
    小安迪
    • 1
    • 1
    0
    votes
    1 answer

    Cylon.js and Sphero

    Is there a method ( Cylon.js ) for getting Accelerometer and GyroScope data with Cylon Sphero ? I would like to use the Sphero as a controller, and the locator event doesn't return information that is useful. This is what I'm doing at the moment to…
    Foreign Object
    • 1,630
    • 11
    • 22
    0
    votes
    1 answer

    Sphero Android Joystick View

    How can I use JoystickView in Sphero-Android application? I followed this link in order to implement Joystick View into my layout, but there is no package named com.orbotix.spherocam.ui.joystick.JoystickView in RobotLibrary.jar, so it is pointless…
    ecem
    • 1
    • 3
    0
    votes
    0 answers

    Sphero TwoPhonesOneBall sample compiler error

    I imported the samples of Sphero-Android SDK to my workspace. TwoPhonesOneBall project gives compiler errors. In ConnectionActivity.java class, the following imports cannot be resolved. //...some imports import…
    ecem
    • 1
    • 3
    0
    votes
    0 answers

    Keeping a bluetooth connection stablished with Sphero in several Activities SDK Sphero 2.0 Android

    Several months ago, my question was solved in the next thread: https://stackoverflow.com/questions/tagged/sphero-api?sort=newest But now, the SKD Sphero 2.0 has made several changes. By now, when I connect with a Sphero and I need to move to…
    0
    votes
    1 answer

    Errors with Sphero - iOS

    I got 22 errors when I tried to run my application (which connected to Sphero) on iPad: Undefined symbols for architecture armv7: "std::basic_string, std::allocator >::~basic_string()", referenced from: …
    0
    votes
    0 answers

    How to keep a Bluetooth connection when Sphero is synchronized and I use several Activities (Sphero SDK 2.0 for android)

    Several months I had a problem when I went from one activity to another and I wanted to keep the synchronism with Sphero all the time. The solution was passing the id of the Sphero by Intent and recouping it with the next code: @Override public void…
    0
    votes
    1 answer

    Unity 4.3.4 + Sphero Plugin crashes when using example scenes included

    I'm trying to build an iOS app from Unity 4.3 using Sphero Plugin for Unity 1.5 but whenever I tried to use one of three included examples the app just crashes as soon as app connected with Sphero. Following is the error message I got from…
    JHO
    • 39
    • 6
    0
    votes
    1 answer

    how to use macrun x in orbbasic to run a macro on sphero

    I am using orbbasic and macrolab. I would like to be able to execute macros in orbbasic. The statement, macrun x, appears to be just what I need. But I have not been able to figure out how to actually use it. Is this supposed to run macros that…
    0
    votes
    1 answer

    SPHERO with reality augmented

    I tried to use sphero with vuforia. But after the connection bluetooth, appears black screen. The sphero is OK, just vuforia does not work Someone tried use the two sdk together?
    0
    votes
    1 answer

    Sphero - Joystick does not work

    The asset of Unity of Sphero does not work. The calibration button is OK, but Joystick there is no reaction. I tried the scene UISAMPLESCENE and The prefab joystick Someone can help me? Thanks