I’ve got all the examples working. SSH works fine. Where is the example python that uses all the parts of the kit at once?
Hi Alan.
These are just examples that show how each part works. If you want to combine them, you’d need to write your own code for that.
We have not included a “complete integration” example in order to challenge users to develop their own code. That being said, here are a few tips to get you pointed in the right direction:
As a follow up, since I had someone ask about installing our Qwiic Python packages in the pipenv development environment: tutorials/getting-started-with-the-auto … 74df0b7743
You could try to [ping Sphero to see if there is a way to operate their SDK outside of the pipenv environment or to ask for help using pipenv. Otherwise, I’m not really familiar with how pipenv exactly works (Sphero implemented that with their SDK); however, I think you need to call:
pipenv install [package]
There are a bunch of documentation and tutorial resources online for [how to use pipenv and install packages.
However, I would probably tie in the GPS and ToF sensors’ readouts to the [servo control for the web interface (runs in the background when you execute start.sh). Specifically, to run all the I2C devices together (servo controller is an I2C device), so that you don’t have bus contention issue between separate scripts running simultaneously.
From there, you would need to overlay your data on the video feed. I thought I remember seeing some information in the [web camera interface wiki. You can also check the [GitHub repository and [project page for more details.[/quote]](http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=63276)](GitHub - silvanmelchior/RPi_Cam_Web_Interface: A web interface for the RPi Cam)](RPi-Cam-Web-Interface - eLinux.org)](sparkfun_autonomous_kit/piservohat_web_interface_firmware.py at master · sparkfun/sparkfun_autonomous_kit · GitHub)](Basic Usage of Pipenv — pipenv 2020.6.2.dev0 documentation)](https://community.sphero.com/c/advanced-programming)
I did it the other way around: I manually installed all the Sphero dependencies into the system Python install, and don’t use the pipenv. This way the Sparkfun and Sphero examples run simultaneously.
I don’t have enough at stake that I’m worried about changing dependencies breaking anything. For the time being I won’t be updating anything on the robot that could cause an issue.