Skip to content

Repository files navigation

Picrawler

Picrawler Python library and examples for Raspberry Pi.

Quick Links:


Docs


Installation

install tool

sudo apt install git python3-pip python3-setuptools python3-smbus

robot-hat library

cd~/
git clone -b 2.5.x --depth=1 https://github.com/sunfounder/robot-hat.git
cd robot-hat
sudo python3 install.py

vilib library

cd~/
git clone --depth=1 https://github.com/sunfounder/vilib.git
cd vilib
sudo python3 install.py

picrawler library

cd~/
git clone --depth=1 https://github.com/sunfounder/picrawler.git
sudo pip3 install ~/picrawler --break-system-packages

Examples

Run examples with sudo (required for GPIO/servo access):

sudo python3 ~/picrawler/examples/1_move.py
#ExampleDescription
00_calibration.pyServo calibration helper
11_move.pyBasic movement control
22_keyboard_control.pyW/A/S/D keyboard control
33_sound_effect.pyPlay sound effects
44_avoid.pyObstacle avoidance with ultrasonic
55_display.pyCamera / computer vision display
66_record_video.pyRecord video from camera
77_bull_fight.pyBull fight interactive game
88_treasure_hunt.pyTreasure hunt game
99_preset_actions.pyPose demonstration (wave, nod, etc.)
1010_do_single_leg.pyAdjust single leg posture
1111_record_new_step.pyRecord custom steps via keyboard
1212_twist.pyTwist / body rotation
1313_emotional_robot.pyEmotional expression robot
1414_do_step.pyCustom step coordinate control
servo_zeroing.pyServo zeroing utility (not numbered)
1515_stt.pySpeech-to-text demo
1616_tts.pyText-to-speech demo
1717_voice_active_crawler_gpt.pyVoice AI with GPT-4o
1818_voice_active_crawler_ollama.pyVoice AI with Ollama (local)
1919_voice_active_crawler_doubao.pyVoice AI with Doubao (Chinese)

About SunFounder

SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, SunFounder also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!


Contact us

website: www.sunfounder.com

E-mail: service@sunfounder.com, support@sunfounder.com

About

PiCrawler robot from SunFounder

Resources

Stars

38 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages