Setup: DepthAI camera software - Toby-eaaa/Mini_Pupper_eaaa GitHub Wiki
Installing depthai and camera drivers
I'm afraid I can't let you do that.
Download this guide in PDF-form. more resources:
https://docs.luxonis.com/projects/api/en/latest/install/
https://docs.luxonis.com/projects/api/en/latest/tutorials/hello_world/
---This guide will setup DepthAI on the miniPupper, which is needed for OAK-D Lite camera ---
Run the depthai install script on the minipupper
-
Get the depthaidependencies install script from here. (right click to download.)
-
Run the following commands:
-
open a terminal and run:
bash depthaiDependencies.sh
(this will take a bit of time)
sudo python3 -m pip install numpy opencv-python depthai blobconverter
-
Navigate to where you want the demo's
git clone https://github.com/luxonis/depthai-experiments
-
-
Set USB3 Permission rules. Important to check for line-breaks when copying into terminal. Unneeded line-breaks in this command will cause issues only fixable by reformatting.
echo \'SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"03e7\", MODE=\"0666\"\' \| sudo tee /etc/udev/rules.d/80-movidius.rules sudo udevadm control --reload-rules && sudo udevadm trigger lsusb | grep 03e7
-
Go into the depthai-experiments and chose an experiement. Run main.py to test if it works.
cd depthai-experiments cd gen2- xxxx python3 main.py
-
This step will restart the Pupper and replace some i2c files. This is needed to reconnect to the custom PCB on the Pupper.
-
open terminal and write
reboot
-
download "https://github.com/Toby-eaaa/Mini_Pupper_eaaa/blob/main/Robotics/QuadrupedRobot/EAAA/Replace_i2c.sh"
-
run bash file:
sudo bash Replace_i2c.sh reboot
-
Now the i2c connection should be running again, test by running the calibration_tool.py
-