Просмотр исходного кода

archive retired generated control assets

高宇轩 3 месяцев назад
Родитель
Сommit
b036090fc3

generated/6400/controller-coefficients.json → docs/historical/pid-retired/generated/controller-coefficients.json


generated/6400/fixed-point.json → docs/historical/pid-retired/generated/fixed-point.json


+ 0 - 2
tools/generate_6400_manual.py

@@ -27,8 +27,6 @@ def snapshot_layout(snapshot: dict[str, Any]) -> tuple[list[dict[str, Any]], int
     sizes = {"u8": 1, "u16": 2, "u32": 4, "bytes": 1}
     offset, rows = 0, []
     for field in snapshot["fields"]:
-        if field["name"] in {"pid_target", "pid_running"}:
-            continue
         size = sizes[field["type"]] * int(field.get("count", 1))
         row = dict(field)
         row.update(offset=offset, size=size)