{"id":22335856,"url":"https://github.com/translunar/closed_loop","last_synced_at":"2025-03-26T08:14:49.166Z","repository":{"id":224138832,"uuid":"762153144","full_name":"translunar/closed_loop","owner":"translunar","description":"Example of a PID controller attached to a mass-spring-damper system","archived":false,"fork":false,"pushed_at":"2024-02-27T01:39:59.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T09:28:59.504Z","etag":null,"topics":["dynamics","engineering","phyics","pid-controller","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/translunar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-23T07:31:38.000Z","updated_at":"2024-02-26T17:45:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0ca8235-1b42-4de7-ba19-bcfff8a0e117","html_url":"https://github.com/translunar/closed_loop","commit_stats":null,"previous_names":["translunar/closed_loop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/translunar%2Fclosed_loop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/translunar%2Fclosed_loop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/translunar%2Fclosed_loop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/translunar%2Fclosed_loop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/translunar","download_url":"https://codeload.github.com/translunar/closed_loop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245615008,"owners_count":20644376,"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":["dynamics","engineering","phyics","pid-controller","simulation"],"created_at":"2024-12-04T05:15:28.673Z","updated_at":"2025-03-26T08:14:49.155Z","avatar_url":"https://github.com/translunar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# closed_loop\n\nThis demonstrates a closed loop, single-threaded mass-spring-damper with a\nPID controller. I've also demonstrated some zero-mean Gaussian noise, and\nplotting is carried out by a separate script. Models can run at different\nrates, and the example includes two logging rate groups as well.\n\n## Running the example\n\n    source .venv/bin/activate\n    pip install -r requirements.txt\n    python world.py 10.0 5.0 \u0026\u0026 python plotter.py\n\nNote that the mandatory arguments for `world.py` are:\n* the simulation duration (in units of time)\n* the desired position of the mass (PID controller setpoint)\n\nThe simulation is defined in `world.py` in `__main__`.\n\nTo run unit tests,\n\n    pytest test/\n\n## A note about typing\n\nI decided against using mypy to check typing because it would be difficult\nto finish this task in five hours with typing.\n\n## Copyright\n\nCopyright Juno Woods, Ph.D., Translunar LLC, 2024. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranslunar%2Fclosed_loop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranslunar%2Fclosed_loop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranslunar%2Fclosed_loop/lists"}