collab/pb-hal
git clone https://git.julia.blue/collab/pb-hal
64c6e28
tof
files
| inc/ | |
| src/ | |
| tof-bringup/ | |
| .gitignore | 2.0 KiB |
| README.md | 679 B |
| plot.py | 1.2 KiB |
| setup.py | 359 B |
| test.py | 117 B |
pacbot Hardware Access Layer
Features:
- Drives DC motors over an H-Bridge with PWM
- Reads high frequency quadrature signals
- Configures and reads from multiple VL6180X distance sensors
- Uses the super secret DMP on the MPU6050
- Runs PID control loops
- Has a shiny Python wrapper for higher level algorithms and logic
Setup:
Download and install pigpio c library
rm pigpio.zipsudo rm-rf PIGPIOwget abyz.me.uk/rpi/pigpio/pigpio.zipunzip pigpio.zipcd PIGPIOmake sudo make install
Build and install HAL code as python library
git clone https://github.com/ut-ras/pb-HAL.gitcd pb-HALsudo python3 setup.py install