{"id":19195419,"url":"https://github.com/ardupilot/clj-ardupilot-utils","last_synced_at":"2025-05-08T23:03:27.274Z","repository":{"id":57713177,"uuid":"95502837","full_name":"ArduPilot/clj-ardupilot-utils","owner":"ArduPilot","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-10T18:14:40.000Z","size":59537,"stargazers_count":2,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-08T23:03:14.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArduPilot.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}},"created_at":"2017-06-27T00:59:02.000Z","updated_at":"2025-01-10T00:19:09.000Z","dependencies_parsed_at":"2022-09-06T02:10:37.573Z","dependency_job_id":null,"html_url":"https://github.com/ArduPilot/clj-ardupilot-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fclj-ardupilot-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fclj-ardupilot-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fclj-ardupilot-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArduPilot%2Fclj-ardupilot-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArduPilot","download_url":"https://codeload.github.com/ArduPilot/clj-ardupilot-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160770,"owners_count":21863627,"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-11-09T12:09:53.068Z","updated_at":"2025-05-08T23:03:27.244Z","avatar_url":"https://github.com/ArduPilot.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-ardupilot-utils\n\n[![Build Status](https://semaphoreci.com/api/v1/ardupilot/clj-ardupilot-utils/branches/master/badge.svg)](https://semaphoreci.com/ardupilot/clj-ardupilot-utils)\n\nA Clojure library of helper utilities for use with [Ardupilot](https://github.com/ArduPilot/ardupilot/).\n\n## Installation\n\n`clj-ardupilot-utils` is available from [Clojars](https://clojars.org/ardupilot/clj-ardupilot-utils):\n\n```\n[ardupilot/clj-ardupilot-utils \"0.1.0\"]\n```\n\n## Usage\n\n### Parsing a DataFlash log\n\nTo parse an ArduPilot dataflash log, use `log-analyzer/parse-bin` which returns a lazy sequence of messages\n\n```clojure\n=\u003e (require ['ardupilot-utils.log-reader :as 'log-reader]\n            ['clojure.java.io :as ;io])\n=\u003e (log-reader/parse-bin (io/input-stream (io/file \"my-log.BIN\")))\n```\n\n### Analyze a DataFlash log\n\n`clj-ardupilot-utils` provides a log analyzer based losely off the log analysis [tool](https://github.com/ArduPilot/ardupilot/tree/master/Tools/LogAnalyzer) within ArduPilot.\n\n```clojure\n=\u003e (require ['ardupilot-utils.log-analysis :as 'log-analysis]\n            ['clojure.java.io :as ;io])\n=\u003e (log-analysis/analyze-log (io/input-stream (io/file \"my-log.BIN\")))\n()\n```\n\n`analyze-log` takes an input stream, which it will run all tests, or a provided subset of tests over. Any test that fails will be returned, otherwise an empty list is returned.\n\n## License\n\nCopyright © 2017 Michael du Breuil\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardupilot%2Fclj-ardupilot-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fardupilot%2Fclj-ardupilot-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardupilot%2Fclj-ardupilot-utils/lists"}