You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Apply the ~/.profile update to this session as well
34
-
source~/.profile
35
-
fi
36
-
37
-
python3 -m pipenv --python /usr/bin/python3.7
38
-
39
-
# The cryptography package is a dependency, but for some reason pipenv can't always install it correctly, so we'll use pip instead. ¯\_(ツ)_/¯
40
-
python3 -m pipenv run pip install cryptography
41
-
42
-
python3 -m pipenv install
43
-
44
-
whiletrue;do
45
-
read -ep $'By default, the RVR SDK uses the UART on /dev/ttys0 to communicate with RVR.\nDo you have Serial Port enabled and Serial Shell disabled in Raspberry Pi Configuration?\n(y/n):' yn
46
-
case$ynin
47
-
[Yy]* ) exit;;
48
-
[Nn]* )
49
-
read -p $'Would you like to open the command line raspi-config tool now to change these settings?\nYou can do this at any time with \'sudo raspi-config\'\n(y/n):' yn2
50
-
case$yn2in
51
-
[Yy]* ) sudo raspi-config;break;;
52
-
[Nn]* ) exit;;
53
-
* ) echo"Please answer yes or no.";;
54
-
esac
55
-
break;;
56
-
* ) echo"Please answer yes or no.";;
57
-
esac
58
-
done
3
+
# This script guides a user through setting up the Sphero RVR Python SDK.
59
4
5
+
# Install the SDK dependencies
6
+
pip3 install -r requirements.txt
60
7
8
+
# Provide an opportunity to correct the UART settings if needed.
0 commit comments