collab/pb-hal
git clone https://git.julia.blue/collab/pb-hal
2822fe3
master
languages
- C++ 68.8%
- Python 16.0%
- C 10.3%
- Markdown 4.9%
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