![]() Supported Robots: Sphero RVR/RVR+, Sphero BOLT, Sphero SPRK+, Sphero SPRK Edition, Sphero 2. INTEGRATIONS: Simplify classroom use by signing in and syncing classrooms with Google and Clever accounts. Each family includes 2 x parents and 3 x children of various ages. The Families Set of 20 includes an African American Family (LS967A), Asian Family (LS969A), Caucasian Family (LS968C) and Hispanic Family (LS966H). TAKE A DRIVE: Need a brain break? Set LED colors on your robot and zoom around in Drive mode.ĪSSIGNMENTS: Are you a teacher? Monitor progress by creating and assigning activities to students. Each family includes 5 easy-clean dolls that are perfect for use in block play or dollhouses. SENSOR DATA: See location, accelerometer, gyroscope, velocity, and distance sensor data through visual graphs.ĪCTIVITIES: Program a painting. PROGRAMS: Program your bots in 3 ways with Draw, Block, and Text modes. Preparing for the future has never been so fun. Anyone can save their progress, jump from device to device, and continue the discovery from anywhere. The interactive platform allows you to keep track of your class or group from one easy place. Sphero Edu is built for makers, learners, educators, and parents. Intermediate coders can use Scratch blocks to learn more advanced logic, while pros can use text programming and write their own JavaScript. Go beyond code by incorporating unique STEAM activities to complete with your bot.ĭesigned for learner progression, Sphero Edu beginners can give robots commands by drawing a path in the app for their robot to follow. It is published as an open-source library under the MIT License.Sphero Edu is your hub to create, contribute, and learn with Sphero robots. It is used by students in CIS 521 - Artificial Intelligence at the University of Pennsylvania, where we use Sphero robots to help teach the foundations of AI. ![]() This library is made for educational purposes. find_toy () with SpheroEduAPI ( toy ) as api : api. For example: from spherov2 import scanner from spherov2.sphero_edu import SpheroEduAPI toy = scanner. Documentations can be found inside the source files with the docstrings, or here as an HTML rendered version. The other and recommended way is to use the high level API spherov2.sphero_edu.SpheroEduAPI, which is an implementation of the official Sphero Edu APIs. Low-level APIs can be found for each toy under spherov2.toy.*, and is not documented. In addition to the materials necessary to connect the Raspberry Pi to the RVR+/RVR, we'll need: A short USB-to-Micro USB cable (to allow the RVR+/RVR to provide the Raspberry Pi with power from its USB port) To ensure our RVR+/RVR has firmware versions: Nordic 5.0.413 or above. There are two ways you can interact with the toys, one is to use the low-level APIs implemented for each toy with the commands they support. Please refer to the document for more information. You can also find toys using specific filters. To find only a single toy, use scanner.find_toy(). To find all possible toys, simply call scanner.find_toys(). You can scan the toys around you using the scanner helper. On whichever device you decide to connect to the toys, you have to first install the BLE library by pip install bleak. The TCP server is written in asynchronous fashion using asyncio, so that it supports bleak on all platforms. find_toy ( adapter = get_tcp_adapter ( 'localhost' )) as toy. To use the adapter, for example: from spherov2 import scanner from _adapter import get_tcp_adapter with scanner. To start the server, run python -m _server, with host and port by default being 0.0.0.4. TCPAdapter allows the user to send and receive Bluetooth packets connected to another host via a server running on that host as a relay. For example: from spherov2 import scanner with scanner. BleakAdapter is used by default when adapter is not specified, which connects to toys using the local Bluetooth adapter. The library currently has two adapters, BleakAdapter and TCPAdapter. To install the library, run pip install spherov2. This project uses the hbldh/bleak Bluetooth Low Energy library, which works across all platforms. ![]() The logic is written based on reverse-engineering the official Sphero Edu for Android, with the help from available documentation and other unofficial community-based Sphero libraries like igbopie/spherov2.js and EnotYoyo/pysphero. Found a better way to decompile, fixing a few things like Controls, Command Queueing, and Waiting for responses. ![]() Toys that are supported includes (implemented ones are checked): An unofficial Python library for Sphero toys that supports its Version 2 Bluetooth low energy API described here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |