{"id":19008192,"url":"https://github.com/apocalypsecalculator/sumobot","last_synced_at":"2026-06-18T18:31:46.026Z","repository":{"id":251002059,"uuid":"601210168","full_name":"ApocalypseCalculator/SumoBot","owner":"ApocalypseCalculator","description":"TER4UP Sumobot project, April 2023","archived":false,"fork":false,"pushed_at":"2023-04-19T07:58:12.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T12:48:23.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/ApocalypseCalculator.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":"2023-02-13T15:40:55.000Z","updated_at":"2024-07-31T06:09:03.000Z","dependencies_parsed_at":"2024-07-31T08:43:57.830Z","dependency_job_id":null,"html_url":"https://github.com/ApocalypseCalculator/SumoBot","commit_stats":null,"previous_names":["apocalypsecalculator/sumobot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ApocalypseCalculator/SumoBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApocalypseCalculator%2FSumoBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApocalypseCalculator%2FSumoBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApocalypseCalculator%2FSumoBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApocalypseCalculator%2FSumoBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ApocalypseCalculator","download_url":"https://codeload.github.com/ApocalypseCalculator/SumoBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApocalypseCalculator%2FSumoBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34503507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":[],"created_at":"2024-11-08T18:41:46.889Z","updated_at":"2026-06-18T18:31:46.002Z","avatar_url":"https://github.com/ApocalypseCalculator.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sumo Bot\n\n1. scan for enemies \n2. charge towards enemy\n3. ???\n4. profit\n\n\n#### Optimizations\n\nThe final optimized code is in [sumobot_clean.ino](https://github.com/ApocalypseCalculator/SumoBot/blob/master/sumobot_clean.ino).\n\nSeveral optimizations were made to reduce the latency of the loop: \n\n1. When compiling the program the GCC compiler option `-Ofast` was set instead of the stock `-Os` (level 2 with file size optimization), which enables level 3 optimizations as well as some non-standard math optimizations. The compiler options were edited in `platform.txt` at `%LocalAppData%\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6`. \n2. The denoising/outlier removal of sensor values was removed as a tradeoff for performance\n3. Accelerometer was removed entirely\n4. The gradual acceleration/deceleration was removed\n5. Any non-essential code like Serial and debug LEDs or redundant `digitalWrite()` were removed\n\nOverall the latency of the loop was reduced from 250ms/iteration to roughly 25ms/iteration, **a 10x decrease!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapocalypsecalculator%2Fsumobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapocalypsecalculator%2Fsumobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapocalypsecalculator%2Fsumobot/lists"}