-
1Build
You could hook up the wires using schematic or there is a robot controller board (please find design files in the files section or on github)
![]()
-
2Setup
Tested to run on a Jetson Nano with Jetpack 4.6.1.
- Update packages
sudo apt updatesudo apt upgrade - Install jetson-utils https://github.com/dusty-nv/jetson-utils
- Install miniforge with https://github.com/conda-forge/miniforge#unix-like-platforms-macos-linux--wsl
Numba is installed inside miniforge environment.
Run the following commands to install numba,source $HOME/miniforge3/bin/activateconda install python=3.8conda install -c numba numbaCopy
jetson-utilslibrary files from/usr/lib/python3.6/dist-packages/to$HOME/miniforge3/lib/python3.8/site-packagespython3 -m pip install pyserialpython3 -m pip install scipypython3 -m pip install sounddevicesudo apt install libportaudio2 espeak-ng - Install pyrebel
cdgit clone https://github.com/ps-nithin/pyrebelcd pyrebelpython3 -m pip install .Patterns can also be learned using
pyrebel/demo/pyrebel_main_learn_multiple.py(https://github.com/ps-nithin/pyrebel#5-pattern-recognition-demo). For example, images in
zumo-jetson/scripts/images/train-hand/are learned to learn English vocabulary.python3 pyrebel_main_learn_multiple.py --learn images/train-hand/You may also need to change the microphone and speaker settings.
- Update packages
-
3Running the script
- Demo script 1 - Single pattern
cdgit clone https://github.com/ps-nithin/zumo-jetsoncd zumo-jetson/scriptssudo $HOME/miniforge3/bin/python3 pyrebel_main_learn_sound_jetson.py --camera 1 --user=$USERNAME - Demo script 2 - Multiple patterns
cdgit clone https://github.com/ps-nithin/zumo-jetsoncd zumo-jetson/scriptssudo $HOME/miniforge3/bin/python3 pyrebel_main_learn_sound_jetson_multiple.py --camera 1 --user=$USERNAME
- Demo script 1 - Single pattern
-
4Running the script on startup
sudo cp zumo-jetson.service /etc/systemd/system/sudo systemctl daemon-reloadsudo systemctl enable zumo-jetson.servicesudo systemctl start zumo-jetson.serviceIf everything went right you should see the white led blinking!
Nithin PS
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.