{"id":14992270,"url":"https://github.com/yoshuawuyts/pid-lite","last_synced_at":"2025-09-14T08:32:27.679Z","repository":{"id":52463807,"uuid":"323170784","full_name":"yoshuawuyts/pid-lite","owner":"yoshuawuyts","description":"A small PID controller library","archived":false,"fork":false,"pushed_at":"2024-02-05T10:37:01.000Z","size":26,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-03T12:24:17.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoshuawuyts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2020-12-20T21:44:50.000Z","updated_at":"2025-01-03T08:57:13.000Z","dependencies_parsed_at":"2024-11-06T08:34:59.477Z","dependency_job_id":"e7ee5441-9787-42fa-b90b-d9c7fa95f22e","html_url":"https://github.com/yoshuawuyts/pid-lite","commit_stats":{"total_commits":15,"total_committers":5,"mean_commits":3.0,"dds":0.5333333333333333,"last_synced_commit":"c3c87282f08d9231915ec91bb63a242254496f76"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoshuawuyts%2Fpid-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoshuawuyts%2Fpid-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoshuawuyts%2Fpid-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoshuawuyts%2Fpid-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoshuawuyts","download_url":"https://codeload.github.com/yoshuawuyts/pid-lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232962562,"owners_count":18603378,"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":[],"created_at":"2024-09-24T15:00:54.048Z","updated_at":"2025-01-08T01:48:03.554Z","avatar_url":"https://github.com/yoshuawuyts.png","language":"Rust","funding_links":[],"categories":["Motion Control"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003epid-lite\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003e\n    A small PID controller library\n  \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003c!-- Crates version --\u003e\n  \u003ca href=\"https://crates.io/crates/pid-lite\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/pid-lite.svg?style=flat-square\"\n    alt=\"Crates.io version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads --\u003e\n  \u003ca href=\"https://crates.io/crates/pid-lite\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/pid-lite.svg?style=flat-square\"\n      alt=\"Download\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- docs.rs docs --\u003e\n  \u003ca href=\"https://docs.rs/pid-lite\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\"\n      alt=\"docs.rs docs\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://docs.rs/pid-lite\"\u003e\n      API Docs\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://github.com/yoshuawuyts/pid-lite/releases\"\u003e\n      Releases\n    \u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://github.com/yoshuawuyts/pid-lite/blob/master.github/CONTRIBUTING.md\"\u003e\n      Contributing\n    \u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\n## Installation\n```sh\n$ cargo add pid-lite\n```\n\n## Example\n\n```rust\nuse pid_lite::Controller;\nuse std::thread;\nuse std::time::Duration;\n\nlet target = 80.0;\nlet mut controller = Controller::new(target, 0.25, 0.01, 0.01);\n\nloop {\n    let correction = controller.update(measure());\n    apply_correction(correction);\n    thread::sleep(Duration::from_secs(1));\n}\n```\n\n## Safety\nThis crate uses ``#![deny(unsafe_code)]`` to ensure everything is implemented in\n100% Safe Rust.\n\n## Contributing\nWant to join us? Check out our [\"Contributing\" guide][contributing] and take a\nlook at some of these issues:\n\n- [Issues labeled \"good first issue\"][good-first-issue]\n- [Issues labeled \"help wanted\"][help-wanted]\n\n[contributing]: https://github.com/yoshuawuyts/pid-lite/blob/master.github/CONTRIBUTING.md\n[good-first-issue]: https://github.com/yoshuawuyts/pid-lite/labels/good%20first%20issue\n[help-wanted]: https://github.com/yoshuawuyts/pid-lite/labels/help%20wanted\n\n## License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr/\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoshuawuyts%2Fpid-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoshuawuyts%2Fpid-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoshuawuyts%2Fpid-lite/lists"}