{"id":23178352,"url":"https://github.com/creoone/zipid","last_synced_at":"2025-08-21T22:17:41.558Z","repository":{"id":268611450,"uuid":"904922829","full_name":"CreoOne/ZiPID","owner":"CreoOne","description":"PID controller in ZIG. Driven by discrete time series. Protected from integral part run-out and overflow. Tested.","archived":false,"fork":false,"pushed_at":"2024-12-17T20:53:29.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T02:15:36.664Z","etag":null,"topics":["pid","pid-controller","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CreoOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T20:08:46.000Z","updated_at":"2025-01-02T13:11:06.000Z","dependencies_parsed_at":"2024-12-17T21:26:05.155Z","dependency_job_id":"99af105f-c1c0-42df-bcf0-ea2db5f2c8ad","html_url":"https://github.com/CreoOne/ZiPID","commit_stats":null,"previous_names":["creoone/zipid"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreoOne%2FZiPID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreoOne%2FZiPID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreoOne%2FZiPID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreoOne%2FZiPID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CreoOne","download_url":"https://codeload.github.com/CreoOne/ZiPID/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276188,"owners_count":20912288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pid","pid-controller","zig","ziglang"],"created_at":"2024-12-18T07:10:21.681Z","updated_at":"2025-04-05T02:15:41.222Z","avatar_url":"https://github.com/CreoOne.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZiPID\r\n\r\nPID controller implementation in ZIG\r\n\r\n_Supports integral clamping and overflow protection_\r\n\r\n## Usage\r\n\r\n```zig\r\nvar pid: ziPID = .{ .proportional = 1.0, .integral = 0.1, .derivative = 1.0 };\r\nconst deviation = -0.4; // control value -4/10th measurement units away from target/setpoint\r\nconst delta = 16e-3;    // ~60 times per time unit\r\nconst output = pid.advance(deviation, delta);\r\n```\r\n\r\n## Testing\r\n\r\nGo to [sources/zipid.tests.zig](./sources/zipid.tests.zig)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreoone%2Fzipid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreoone%2Fzipid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreoone%2Fzipid/lists"}