Minor documentation upgrade
This commit is contained in:
1 parent
3920693101
commit
d1b38f04ed
1 file changed
+12
-15
@@ -4,8 +4,8 @@
|
||||
**Date:** April 2026
|
||||
**Status:** Draft
|
||||
**Tag family:** AprilTag41h12
|
||||
**Payload:** 12 bits
|
||||
**Valid tag IDs:** 2,115
|
||||
**Physical payload:** 12 bits (2,115 valid IDs)
|
||||
**Logical encoding:** 13 bits (packed enumeration)
|
||||
|
||||
---
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
|
||||
## 1. Overview
|
||||
|
||||
BagTag encodes a complete mushroom cultivation grow profile into a 12-bit AprilTag. The tag is read by the Cultivar camera at bag insertion. No human input is required for any bag with a valid tag.
|
||||
BagTag encodes a complete mushroom cultivation grow profile into an AprilTag41h12 marker. The tag is read by the Cultivar camera at bag insertion. No human input is required for any bag with a valid tag.
|
||||
|
||||
**Why the distinction matters:** AprilTag41h12 provides 12 bits of payload (2,115 valid tag IDs). BagTag's logical encoding requires 13 bits (1+5+7 = 8,192 theoretical combinations). We bridge this gap with **packed enumeration**: only valid (size, substrate, species) combinations are assigned tag IDs. Invalid combinations are simply unassigned.
|
||||
|
||||
### Design principles
|
||||
|
||||
@@ -182,18 +184,13 @@ The **25% reserved headroom principle**: approximately one quarter of every slot
|
||||
|
||||
Full table: see [`tables/substrates.md`](tables/substrates.md)
|
||||
|
||||
### AIO Substrate Slots (0–14)
|
||||
Substrate slots are split into three categories:
|
||||
|
||||
### Grain Substrate Slots (15–21)
|
||||
|
||||
### Bulk Substrate Slots (22–28)
|
||||
|
||||
### Other (31)
|
||||
|
||||
| Slot | Use |
|
||||
|------|-----|
|
||||
| 31 | Other -> prompt manual entry |
|
||||
- AIO (0-14)
|
||||
- Grain (15-23)
|
||||
- Bulk (24-31)
|
||||
|
||||
14, 23, and 31 are custom all-in-one, grain, and bulk substrates respectively and can be used to prompt manual entry.
|
||||
---
|
||||
|
||||
## 6. Species Lookup Tables
|
||||
@@ -312,13 +309,13 @@ Both codes fit on a **50×80mm Phomemo label**. Front and back.
|
||||
1. Grower inserts bag into Cultivar chamber
|
||||
2. Vision coprocessor detects AprilTag41h12
|
||||
3. Tag ID returned as integer (0–2114)
|
||||
4. 12-bit decode: size bit → substrate slot → species code
|
||||
4. Logical decode (13-bit concept): size bit → substrate slot → species code
|
||||
5. Substrate slot selects species lookup table
|
||||
6. Species code resolved to grow profile
|
||||
7. Cultivar loads: temp targets, humidity profile, CO₂/FAE schedule, colonization timeline, BE baseline
|
||||
8. Protocol begins
|
||||
|
||||
The QR code is never part of this workflow. The Cultivar does not scan QR codes.
|
||||
The QR code is never part of this workflow. The Cultivar is not designed to natively scan QR codes but it is possible it could in the future. This would handle cases where bags are put into Cultivar in an orientation that prevents the AprilTag from being read but potentially allows QR fallback.
|
||||
|
||||
### Fallback handling
|
||||
|
||||
|
||||
Reference in new issue
Block a user