{"id":16219275,"url":"https://github.com/otacilion/bob-robot-simulator","last_synced_at":"2026-04-30T07:44:14.326Z","repository":{"id":72001899,"uuid":"103348031","full_name":"OtacilioN/Bob-Robot-Simulator","owner":"OtacilioN","description":"A Simulator to control systems banchmarks maded in cpp with _ :heart:","archived":false,"fork":false,"pushed_at":"2017-12-28T16:02:24.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T10:04:57.992Z","etag":null,"topics":["control-systems","cpp","robotics","simulator"],"latest_commit_sha":null,"homepage":"","language":"C++","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/OtacilioN.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":"2017-09-13T03:20:11.000Z","updated_at":"2018-10-23T19:39:23.000Z","dependencies_parsed_at":"2023-03-10T07:30:25.523Z","dependency_job_id":null,"html_url":"https://github.com/OtacilioN/Bob-Robot-Simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OtacilioN/Bob-Robot-Simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtacilioN%2FBob-Robot-Simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtacilioN%2FBob-Robot-Simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtacilioN%2FBob-Robot-Simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtacilioN%2FBob-Robot-Simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OtacilioN","download_url":"https://codeload.github.com/OtacilioN/Bob-Robot-Simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OtacilioN%2FBob-Robot-Simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32458237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["control-systems","cpp","robotics","simulator"],"created_at":"2024-10-10T11:54:13.631Z","updated_at":"2026-04-30T07:44:14.311Z","avatar_url":"https://github.com/OtacilioN.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bob Robot Simulator\n\n_A Simulator to control systems banchmarks maded in cpp with  :heart:_\n\n## Who is bob?\n\nIf you have watched [this video](https://www.youtube.com/watch?v=7BDjZYGHupE\u0026t=115s) you already meet Bob.\n\nBob is a robot who has a distance sensor, and he is capable of moving forward and backward, at different speeds. Bob likes to apreciate walls, and is better for his camera if he keeps a very particular defined distance of the wall, wich it call **setPoint**\n\n## The bob universe\n\nBob lives in a universe with many dimensions, but Bob only moves in one dimension, forward or backward, and his sensor sees the wall like a point, so for Bob the universe is one-dimensional.\n\nThe Bob Robot Simulator is used for tests about control methods, like on-off controll, Fuzzy Control, PID Control, DeadBeat control and others. You can use the Bob Universe Simulator as a banchmark to compare differents forms of control.\n\n## Getting Started\n\n- [download](https://github.com/OtacilioN/Bob-Robot-Simulator/archive/master.zip) the repository with the library. \n- Into the folder of the repository, create a new file called agent-NAME-OF-AGENT.cpp, check the [bare-minimum agent](https://github.com/OtacilioN/Bob-Robot-Simulator/blob/master/agent-bare-minimum.cpp)\n\n## Functions\n\n``Universe(int initialDistance, int setPoint, int friction)`` Initializes Bob's universe, the param ``initialDistance`` receives a int with the initial distance from Bob to the wall, ``setPoint`` is the target distance, and ``friction`` is the main friction of the universe, 100 is the default value\n\n``restart(int initialDistance, int setPoint, int friction)`` Reinitialize the Bob's universe, with the same params of Universe constructor \n\n``getStatus()`` Returns the status of the simulation, 1 if is running, 0 if it was successful (stop at the setPoint), and -1 if Bob crash into the wall\n\n``move(int power)`` Makes the robot move, positive ``power`` to forward, and negative ``power`` to backward, it is recommended to use values between -1000 and 1000 for ``power``\n\n``brake()`` Makes the robot activate the brake\n\n``getDistance()`` Returns the current distance from Bob to the wall\n\n``getSpeed()`` Returns the current speed from Bob\n\n``getTime()`` Returns the current time in the Bob Universe, since the universe was initialized, time can be used by parameter for benchmarks\n\n## License\n\nThe Bob Robot Universe is licensed under the MIT License, you have permission for Commercial use, Modification, Distribuition and Private Use. \n\nCheck [license](https://github.com/OtacilioN/Bob-Robot-Simulator/blob/master/LICENSE) for more informations.\n\nFeel free to mail me at contact@otaciliomaia.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotacilion%2Fbob-robot-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotacilion%2Fbob-robot-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotacilion%2Fbob-robot-simulator/lists"}