This simple interface offers basic control over Sphero. For more comprehensive features and control, please refer to Mark's interface:
This interface is made possible utilizing the Instrument Control Toolbox (R2011b or higher). This interface consists of 2 files. Sphero.m is the source code, and sphero_workfile.m provides working examples to the source code. This application also allows MATLAB to send commands and receive feedback (position and velocity) from Sphero.
Sphero API 1.50 is the API provided by Orbotix. It is also available at http://orbotixinc.github.io/Sphero-Docs/docs/sphero-api/packet-structures.html. This work was done as part of the NSF Research Experience for Undergraduates (REU) and the IEEE Robotics and Automation Society (RAS) project at the ARMLAB (Automation, Robotics and Mechatronics Lab) http://mechatronics.eng.buffalo.edu/ at University at Buffalo http://www.mae.buffalo.edu/.
Yi Jui Lee (email@example.com)
Mark Tomaszewski (firstname.lastname@example.org)
Yi Jui Lee (2023). Sphero MATLAB Interface (https://www.mathworks.com/matlabcentral/fileexchange/48359-sphero-matlab-interface), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Sphero API MATLAB SDK
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Updated description formatting.
Fixed link causing issues with embedding.
Edited minor issues with link.
Added Youtube link
Updated author and website link.
Fixed audio in video.
Added Sphero's API (provided by Orbotix).
Fixed redundant components in code.
Fixed issues with video.
Added video for Sphero-MATLAB interface demo.