sunfounder/picrawler
Geometry, gait and official example programs
14a54bc1909d4ce8f73e95d0fc09514c974910ce
GPL-3.0 (repository license; models/media need separate review). Archive response and ZIP signature checked 2026-10-19.
PiCrawler / Source Code & API Library
Pinned official snapshots, real files, source-linked methods and example programs.
Find the interface, then read its side effects before using it. These entries describe pinned upstream source; they do not establish the robot's installed version.
Search by function, topic or filename, or browse the index in small groups.
Use the search above to find a file, or choose Browse all records. Upstream files are evidence, not a complete installed club application.
Search or browse to find an example. Inspect imports and startup before running upstream programs.
An upstream source ZIP is a pinned snapshot, not an installer or a configured robot. Downloading does not install dependencies, preserve calibration or qualify hardware. Local fixtures are limited research evidence. No project proposal has a working application download.
Geometry, gait and official example programs
14a54bc1909d4ce8f73e95d0fc09514c974910ce
GPL-3.0 (repository license; models/media need separate review). Archive response and ZIP signature checked 2026-10-19.
Servo interpolation, PWM, GPIO, ADC and audio interfaces
4556bd8ba81277819d8e9711319e32cd19504fe9
GPL-3.0 (repository license; models/media need separate review). Archive response and ZIP signature checked 2026-10-19.
Picamera2 capture, detection and web preview
64c1e9ad4b45b54ba45b568860d1f073a63fa312
GPL-3.0 (repository license; models/media need separate review). Archive response and ZIP signature checked 2026-10-19.
Vosk speech recognition, Piper speech output and model/provider adapters
32d2dae40d47fd6c4fe4180db28cd47e83efd851
GPL-3.0 (repository license; models/media need separate review). Archive response and ZIP signature checked 2026-10-19.
PiCrawler and Robot HAT version strings alone cannot identify implementation. Current repository snapshots may differ from recovered eggs, calibration paths and optional camera/audio/model dependencies. Preserve and compare the installed source before migration.
| Repository | Exact path at pinned SHA | Responsibility | Selected symbols |
|---|---|---|---|
| picrawler | picrawler/picrawler.py | Picrawler class, IK, limits, channel order, MoveList actions/body helpers, calibration web helper | Picrawler, Picrawler.init, Picrawler.coord2polar, Picrawler.polar2coord, Picrawler.limit, Picrawler.limit_angle |
| picrawler | examples/0_calibration.py | Terminal chart calibration; coordinate edits -> saved angle offsets | show_info, cali_helper |
| picrawler | examples/14_preset_actions.py | Example-level expression functions and interactive action menu | sit, stand, look_up, look_down, dance, wave_hand |
| picrawler | examples/11_record_new_step.py | In-memory recording with deep-copy frames | print_current_step, save_new_step, play_all_new_step, main |
| picrawler | examples/voice_active_crawler.py | VoiceActiveCrawler lifecycle, textual action parser, queue and worker | VoiceActiveCrawler, VoiceActiveCrawler.init, VoiceActiveCrawler._handle_init_error, VoiceActiveCrawler._init_crawler, VoiceActiveCrawler.on_start, VoiceActiveCrawler.before_listen |
| picrawler | picrawler-control/scripts/pc.py | CLI movement/pose/sensor/sound plus faulty calibration call | cmd_move, cmd_pose, cmd_sensor, cmd_sound, cmd_calibrate, main |
| robot-hat | robot_hat/robot.py | Initialization, offset persistence and synchronized blocking interpolation | Robot, Robot.init, Robot.new_list, Robot.servo_write_raw, Robot.servo_write_all, Robot.servo_move |
| robot-hat | robot_hat/servo.py | Degrees -> microsecond pulse | Servo, Servo.init, Servo.angle, Servo.pulse_width_time |
| robot-hat | robot_hat/pwm.py | Timer groups, register writes and pulse counts | PWM, PWM.init, PWM._i2c_write, PWM.freq, PWM.prescaler, PWM.period |
| robot-hat | robot_hat/adc.py | MCU ADC read/voltage | ADC, ADC.init, ADC.read, ADC.read_voltage |
| robot-hat | robot_hat/i2c.py | smbus2/device/bus communication | _retry_wrapper, I2C, I2C.init, I2C._write_byte, I2C._write_byte_data, I2C._write_word_data |
| robot-hat | robot_hat/pin.py | lgpio GPIO claims and Pi 5 chip discovery | _chip_num, _read_first, _dev_chip_num, _bus_chip_of, _get_gpiochip_num, Pin |
| robot-hat | robot_hat/modules.py | Ultrasonic timing and optional sensor drivers | Ultrasonic, Ultrasonic.init, Ultrasonic._read, Ultrasonic.read, Ultrasonic.close, ADXL345 |
| robot-hat | robot_hat/device.py | HAT identification, revision behavior and battery acquisition | Devices, Devices.init, set_pin, get_usr_btn, set_led, get_led |
| robot-hat | robot_hat/audio.py | V4/V5 audio profiles and ALSA/overlay/routing helpers | run, shell_quote, command_path, command_exists, desktop_user, board_profile |
| robot-hat | robot_hat/music.py | pygame sound/music paths | Music, Music.init, Music.time_signature, Music.key_signature, Music.tempo, Music.beat |
| robot-hat | robot_hat/filedb.py | Text key/value calibration storage | fileDB, fileDB.init, fileDB.file_check_create, fileDB.get, fileDB.set |
| robot-hat | robot_hat/doctor.py | Report/fix diagnostic logic | _icon, _print_check, _print_section, _device, _i2c_devices, _check_hat |
| robot-hat | robot_hat/_cli.py | robot_hat command dispatch | _info, _warn, _deprecated, _audio_script, _run_as_root, print_version |
| vilib | vilib/vilib.py | Class-level Picamera2, camera loop, detection switches, Flask and recording | findContours, index, get_frame, get_qrcode_pictrue, get_png_frame, get_qrcode |
| vilib | vilib/color_detection.py | HSV/contour color blob detection | color_detect_work, test |
| vilib | vilib/face_detection.py | OpenCV face cascade; no identity recognition | set_face_detection_model, face_detect, test |
| vilib | vilib/qrcode_recognition.py | pyzbar decode and result fields | qrcode_recognize |
| vilib | vilib/objects_detection.py | TFLite object model interpreter and labels | add_class_names, copy_list_into_list, set_input_tensor, get_output_tensor, __detect_objects, put_text |
| vilib | vilib/image_classification.py | TFLite image classification | set_input_tensor, __classify_image, imgshow_fuc, main, classify_image |
| vilib | vilib/hands_detection.py | MediaPipe hand landmarks | DetectHands, DetectHands.init, DetectHands.work |
| vilib | vilib/pose_detection.py | MediaPipe human pose | DetectPose, DetectPose.init, DetectPose.work |
| voice | sunfounder_voice_assistant/stt/vosk.py | Actual recognition, wake words and language model cache | Vosk, Vosk.init, Vosk.is_ready, Vosk.init, Vosk._load_model_list, Vosk.update_model_list |
| voice | sunfounder_voice_assistant/tts/piper.py | Neural speech generation/model cache | _parse_voices_json, Piper, Piper.init, Piper._load_model_list, Piper.update_model_list, Piper.get_language |
| voice | sunfounder_voice_assistant/llm/init.py | Provider adapters and endpoint defaults | Deepseek, Deepseek.init, Grok, Grok.init, Doubao, Doubao.init |
| voice | sunfounder_voice_assistant/llm/llm.py | Request/stream/message implementation | Authorization, LLM, LLM.init, LLM.debug, LLM.set_api_key, LLM.set_base_url |
| voice | sunfounder_voice_assistant/voice_assistant.py | Base speech/intent lifecycle orchestration | VoiceAssistant, VoiceAssistant.init, VoiceAssistant.before_listen, VoiceAssistant.after_listen, VoiceAssistant.before_think, VoiceAssistant.after_think |
PiCrawler's llm/stt/tts/voice_assistant modules forward to Robot HAT. Robot HAT forwards to the separate SunFounder voice-assistant implementation; its TTS adapters additionally enable the speaker. Follow both links to understand audio device selection, model downloads and provider requests. SOFTWARE_ARCHITECTURE.md explains the process/interface boundaries.
SPI/UART connectors are hardware capabilities, but current Robot HAT does not establish standalone SPI/UART public classes equivalent to older branches' spi.py. The installer includes spidev/pyserial. Do not create a nonexistent symbol link because an older package had a wrapper or the connector exists.
repository-files.json lists every blob path in the four researched current upstream trees, including binary model/audio files that were not executed or fully inspected. source-index.json separately identifies the text files actually retrieved and syntax/symbol inspected, with repository SHA, Git blob SHA, SHA-256, line count and imports. That distinction prevents a path listing from becoming a false inspection claim.
Calibration and version history use separate immutable links in SOURCE_LEDGER.md. Existing source checkouts on the physical Pi are still uninspected. The map is a current upstream reference, not a fabricated map of the SD card.
The inspected PiCrawler, Robot HAT, Vilib and SunFounder voice-assistant repositories contain GNU GPL version 3 license texts. Original evidence fixtures included here retain byte-identical source and a per-repository LICENSE. Their immutable repository URLs, hashes and purpose are recorded in evidence/fixtures.json and SOURCE_LEDGER.md. They are source research fixtures, not edited vendor files or a claimed club implementation.
Copying, adapting and distributing those source files must follow their license terms, including retaining applicable notices and supplying corresponding source where the license requires it. Publishing a modified program is different from merely linking to a repository. Do not remove attribution when turning an example into a future club program, and do not assume an upstream license automatically determines the license of unrelated club prose or separately obtained models/audio.
The research explanations, metadata and recovery utility are newly authored. This package does not choose a new overall license for the Engineering Club repository. Its existing policy can be applied deliberately later. Model files, music, recordings and documentation images are not bundled just because a repository contains them: asset-specific provenance/conditions need review before redistribution. This package links those locations and does not make a blanket legal conclusion about every asset.
No raw physical-recovery backup, API key file, former-member identity, private photo screen or old executable is distributed. A future captured SD image is private recovery material, not publication content.
Meeting checklist · Source library · Modification atlas · All project proposals