- Janmejay Bhavsar
- Jay Jatinkumar Patel
- Rutvik Patel
- Shailja Kartik
Advisor: Dr. Stas Tiomkin
Environment
The Environment consists of multiple sensors including cameras and LiDars for the perception element. We plan to utilize computer vision to track the location of the Sphero robot. The gyro sensor gives the angle and rotation of the robot.
Modules
The whole system consists of the following modules.
- Cyber physical module
- Cloud module
- AI module
- Web module
Steps:
- Clone the CyPhyAI repository from github and open it using VS Code
- Download and Install Python 3.11 or latest
- (If setting up the first time)In VS Code navigate to the View dropdown on the toolbar and select Command Palette
- Search for Python: Create Environment and follow the prompts to create a new environment
- Select the python interpretor to be python 3.11 in VS Code
- Install following libraries using command:
pip install bleak
andpip install spherov2
in the CyPhyAI folder - Replace sensor.py in .venv/lib/python3.11/site-packages/spherov2/commands with the file sensor.py in replace folder.
- Replace sphero_edu.py in .venv/lib/python3.11/site-packages/spherov2/ with the file sphero_edu.py in replace folder.
- Replace utils.py in .venv/lib/python3.11/site-packages/spherov2/ with the file utils.py in replace folder.
- Make sure you have turned on the bluetooth of the host machine(on which the code is running).
- And then run the BoltTest.py file using the run button on the top right of VS Code