Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the documentation and project setup for the Pybricks robotics project. The main changes include the addition of a comprehensive development guide, detailed updates to the README for GIF playback features, explicit hardware wiring documentation, and the inclusion of embedded animation frame data for the robot's matrix display.
Key changes:
Documentation and Development Workflow
.github/copilot-instructions.mdfile detailing the dual-environment setup, agent automation rules, mandatory development workflows, script structure conventions, and common troubleshooting tips for Pybricks MicroPython projects. This guide is essential for both human and AI contributors to understand project-specific requirements and best practices.README.mdto provide thorough instructions on GIF playback on the robot's LED matrix, including environment variable usage, fallback logic, embedding animations, and how the GIF decoding pipeline works. It also clarifies the script's behavior and how to select or embed animations. [1] [2]Hardware and Architecture
architecture/robot_wiring.mdto explicitly document the LEGO Spike Prime hub's port assignments for sensors and motors, ensuring hardware consistency across development and deployment.Embedded Animation Support
embedded_frames.json, which contains precomputed grayscale matrix frames for an embedded animation. This enables the robot to play an animation even when no external GIF files are available, supporting robust offline operation.