{"id":18577064,"url":"https://github.com/brianlesko/imu-visualization","last_synced_at":"2026-04-21T09:32:34.002Z","repository":{"id":233417976,"uuid":"785028499","full_name":"BrianLesko/IMU-visualization","owner":"BrianLesko","description":"Measure orientation of your robot or device using an IMU, visualize its data using this code","archived":false,"fork":false,"pushed_at":"2024-08-23T01:46:14.000Z","size":40030,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T05:11:38.424Z","etag":null,"topics":["imu","imu-sensor","orientation","robotics","robotics-control","sensor-data","sensor-fusion"],"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/BrianLesko.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-04-11T03:30:33.000Z","updated_at":"2024-08-24T17:31:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"52778309-8f74-47e0-9b27-676398a2d563","html_url":"https://github.com/BrianLesko/IMU-visualization","commit_stats":null,"previous_names":["brianlesko/imu-visualization"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BrianLesko/IMU-visualization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2FIMU-visualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2FIMU-visualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2FIMU-visualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2FIMU-visualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrianLesko","download_url":"https://codeload.github.com/BrianLesko/IMU-visualization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrianLesko%2FIMU-visualization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["imu","imu-sensor","orientation","robotics","robotics-control","sensor-data","sensor-fusion"],"created_at":"2024-11-06T23:27:41.862Z","updated_at":"2026-04-21T09:32:33.972Z","avatar_url":"https://github.com/BrianLesko.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Measure Orientation using an IMU\n\nIMU's are necessary for robotics applications and consumer devices. IMU's are used in conjunction with GPS modules to track both position and orientation in space. \n\n[IMU](https://en.wikipedia.org/wiki/Inertial_measurement_unit) stands for inertial measurement unit. \n\nIMU's are used in robotics and vehicles. Written in C++ Arduino and intended for use with a mobile robot. \n\nUse this code to visualize the orientation of your IMU\n\n\u0026nbsp;\n\n\u003cdiv align=\"center\"\u003e\u003cimg src=\"docs/preview.gif\" width=\"800\"\u003e\u003c/div\u003e\n\n\u0026nbsp;\n\n## Usage\n\nThe .ino files are for the Arduino [BLE Sense 2](https://docs.arduino.cc/hardware/nano-33-ble-sense-rev2/) \nor the [Nicla Sense ME](https://docs.arduino.cc/hardware/nicla-sense-me/) Arduino boards.\n\nGet either board, upload the .ino file using the arduino IDE, and make sure the serial monitor is closed. The Nicla sense board is much more accurate. \n\nThen, run the following commands in your terminal:\n```\npython3 -m venv my_env\nsource my_env/bin/activate # or on windows: source my_env\\Scripts\\activate\npip install streamlit pyserial \nstreamlit run https://raw.githubusercontent.com/BrianLesko/IMU-visualization/main/app.py\n```\n\nto stop the app, go back to the terminal and press control C\n\nThis will start the local Streamlit server, and you can access the chatbot by opening a web browser and navigating to `http://localhost:8501`.\n\n\u0026nbsp;\n\n## Repository Structure\n```\nrepository/\n├── app.py # the code and UI integrated together live here\n├── customize_gui # class for adding gui elements\n├── requirements.txt # the python packages needed to run locally\n├── .gitignore # includes the local virtual environment named my_env\n├── .streamlit/\n│   └── config.toml # theme info for the UI\n└── docs/\n    └── preview.png # preview photo for Github\n```\n\n\u0026nbsp;\n\n\u003chr\u003e\n\n\u0026nbsp;\n\n\u003cdiv align=\"center\"\u003e\n\n\n\n╭━━╮╭━━━┳━━┳━━━┳━╮╱╭╮        ╭╮╱╱╭━━━┳━━━┳╮╭━┳━━━╮\n┃╭╮┃┃╭━╮┣┫┣┫╭━╮┃┃╰╮┃┃        ┃┃╱╱┃╭━━┫╭━╮┃┃┃╭┫╭━╮┃\n┃╰╯╰┫╰━╯┃┃┃┃┃╱┃┃╭╮╰╯┃        ┃┃╱╱┃╰━━┫╰━━┫╰╯╯┃┃╱┃┃\n┃╭━╮┃╭╮╭╯┃┃┃╰━╯┃┃╰╮┃┃        ┃┃╱╭┫╭━━┻━━╮┃╭╮┃┃┃╱┃┃\n┃╰━╯┃┃┃╰┳┫┣┫╭━╮┃┃╱┃┃┃        ┃╰━╯┃╰━━┫╰━╯┃┃┃╰┫╰━╯┃\n╰━━━┻╯╰━┻━━┻╯╱╰┻╯╱╰━╯        ╰━━━┻━━━┻━━━┻╯╰━┻━━━╯\n  \n\n\n\u0026nbsp;\n\n\n\u003ca href=\"https://twitter.com/BrianJosephLeko\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/x-logo-white.svg\" width=\"30\" alt=\"X Logo\"\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003ca href=\"https://github.com/BrianLesko\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/github-mark-white.svg\" width=\"30\" alt=\"GitHub\"\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003ca href=\"https://www.linkedin.com/in/brianlesko/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/BrianLesko/BrianLesko/f7be693250033b9d28c2224c9c1042bb6859bfe9/.socials/svg-white/linkedin-icon-white.svg\" width=\"30\" alt=\"LinkedIn\"\u003e\u003c/a\u003e\n\nfollow all of these for a cookie :)\n\n\u003c/div\u003e\n\n\n\u0026nbsp;\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlesko%2Fimu-visualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianlesko%2Fimu-visualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianlesko%2Fimu-visualization/lists"}