-
1Raspberry Setup
#---- Rasp Pi OS updates ----
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get upgrade#install numpy et sklearn et scipy
sudo pip3 install numpy
sudo pip3 install scipy#matplot display graph (used for checking the blob detected)
sudo pip uninstall python-dateutil
sudo pip install python-dateutil==2.2
sudo pip3 install matplotlib#clone the scanse sweep lib and build the sweepsdk to get the libsweep.so :
git clone https://github.com/scanse/sweep-sdk.git
cd sweep-sdk/libsweep/
sudo apt-get install cmake
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
sudo cmake --build . --target install
sudo ldconfig#in the sweeppy rep run install.py:
python3 setup.py install --user#to listen the scanse lidar output use the command :
python -m sweeppy /dev/ttyUSB0#Adafruit Servo Hat install :
sudo pip3 install adafruit-pca9685
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
mkdir Adafruit-servo
cd Adafruit-servo
git clone -b legacy https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git
cd Adafruit-Raspberry-Pi-Python-Code
cd Adafruit_PWM_Servo_Driver
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.