Main Content

6 results in File Exchange

Sphero Connectivity Package

Version 2.8.0.0 by Danvir Sethi

Control a Sphero from MATLAB and Simulink

Sphero is an inexpensive differential-drive robotic ball that can be controlled from a Bluetooth enabled device. It features a number of sensors (accelerometers, gyros, back-emf encoders) which

  • 1.4K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Jul 2018

Sphero Simulation in Simscape Multibody

Version 2.4.0.0 by Jose Lara

Model of Sphero robot with connection to MATLAB and Simulink

The model shows how to implement a Sphero simulation that could be used to test different controller methods. The plant model represents the physics involved in the Sphero, including the friction and

- SPHEROAPIREV1_50 Constants and parameters for Sphero Communication API Rev 1.50
- Install Sphero Connectivity Package
- getSpheroSetupBlockUserData(modelHandle, spheroVarNumber)
- Sphero Model Initizialization Script - Ed Marquez & Jose Lara
- Help for Writing Level-2 M-File S-Functions:
- Level-2 M-File S-Functions, Copyright 2015, The MathWorks, Inc.
- Level-2 M-File S-Functions, Copyright 2015, The MathWorks, Inc.
- Level-2 M-File S-Functions, Copyright 2015, The MathWorks, Inc.
- Level-2 M-File S-Functions, Copyright 2015, The MathWorks, Inc.
- Specify the points to be traversed
  • 718 (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Sep 2017

Sphero MATLAB Interface

Version 1.16.0.0 by Yi Jui Lee

This interface enables MATLAB to connect and control the robot, Sphero through Bluetooth.

This simple interface offers basic control over Sphero. For more comprehensive features and control, please refer to Mark

- Simple demo for Sphero interface
  • 696 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 Sep 2015

Sphero API MATLAB SDK

Version 2.1.0.0 by Mark Tomaszewski

Control Orbotix Sphero from Matlab in m-code!

Control Sphero from MATLAB in m-code!This project provides a few Matlab classes that can be used to control Sphero from Matlab in m-code. Check out the Sphero website for more information about

- Sphero_CollisionDetected_dev
- MATLAB code for SpheroGUI_Drive.fig
- MATLAB code for SpheroGUI_ChangeColor.fig
- MATLAB code for SpheroGUI_MainControlPanel.fig
- Updates hgtransform hx with quaterion from src (Sphero)
- AccelStripChart Visualize Sphero's streaming acceleration data
- VisualizeOrientation Visualize Sphero's streaming quaternion data
- Sphero object that offers backwards compatibility.
- Application interface for Sphero.
- SpheroGUI_workfile
- (SPEC) Adds directories to MATLAB search path.
- MATLAB code for SpheroGUI_ConfigHeadingOffset.fig
- MATLAB code for SpheroGUI_VisualizeInputData.fig
  • 477 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Aug 2016

sphero_toolbox

Version 1.0.0 by Joshua Fagan

This package allows users to program and control Sphero RVR robots with MATLAB.

Sphero ToolboxThis package allows users to program and control Sphero RVR robots with MATLAB.This is performed by implementing a ROS bridge to communicate between MATLAB and the Raspberry Pi running

- Wake Sphero RVR up from a soft sleep.
- Retrieves the latest color detected onboard the Sphero
- Retrieves the latest speed reading detected onboard the Sphero
- Drive the Sphero RVR backward at specified speed for
- Stop robot's forward or angular movement.
- Set the speed at which the robot's wheels move.
- Reset the robots idea of "forward" to current direction.
- Set the text to display on the OLED screen.
- Execute a specified command on the Raspberry pi that
- Retrieves the latest ambient light level onboard the
- Retrieves the latest orientation reading detected onboard
- Retrieves the latest distance measure, in inches, from onboard the
- Retrieves the latest acceleration reading detected onboard
- Retrieves the latest angular velocity reading
- Retrieves the latest linear velocity reading detected
- Turn robot in place to angle specified in degrees.
- Retrieves the latest image from the Pi Camera
- Retrieves the latest position reading detected onboard the
  • 54 (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 12 Aug 2023

Sphero Multi-Agent Robotic Testbed for Matlab (SMART_matlab)

Version 1.0.2 by Kaveh Fathian

A distributed robotic testbed for experimental validation of multi-agent algorithms.

We present a distributed robotic platform for test and validation of multi-agent control strategies. As an example, we use this platform to achieve a desired formation of Sphero robots. The

- Connect and communicate with Sphero
- PID Controller for Sphero motion
- Install Sphero Connectivity Package
- API for communication between Sphero and machine
- API for sending commands to Sphero over Bluetooth
- This example shows how to control the motion of a Sphero using the Sphero Connectivity Package
- MATLAB lets you communicate with a Sphero device and control it from within MATLAB
- This example describes the Simulink library for the Sphero Connectivity package, and how the blocks from the library can be used to control a Sphero.
- This example shows how the Sphero Connectivity Package can be used to connect to a Sphero device and perform basic operations on the hardware, such as change the LED color, calibrate the orientation
- Hardware related information of the connected Sphero
- Read constants and other parameters for communication API
- Sphero Multi-Agent Robotic Testbed - Matlab (SMART_Matlab)
  • 791 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 17 Mar 2021