{"id":15020537,"url":"https://github.com/carletonurocketry/fetcher","last_synced_at":"2025-10-13T01:18:44.311Z","repository":{"id":200761545,"uuid":"706178265","full_name":"CarletonURocketry/fetcher","owner":"CarletonURocketry","description":"A QNX process for fetching data from sensors over I2C.","archived":false,"fork":false,"pushed_at":"2024-09-22T16:46:17.000Z","size":1361,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-21T05:03:07.938Z","etag":null,"topics":["c","cli","cli-tool","cuinspace","modular","posix","process","qnx","qnx-neutrino","raspberry-pi-4","sensors","sensors-data-collection","unix"],"latest_commit_sha":null,"homepage":"https://carletonurocketry.github.io/fetcher/","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/CarletonURocketry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-17T13:01:02.000Z","updated_at":"2024-09-22T16:46:21.000Z","dependencies_parsed_at":"2023-11-11T22:25:00.527Z","dependency_job_id":"f89bd9b8-053b-4440-865c-891b81c1362c","html_url":"https://github.com/CarletonURocketry/fetcher","commit_stats":null,"previous_names":["carletonurocketry/fetcher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/CarletonURocketry/fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarletonURocketry%2Ffetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarletonURocketry%2Ffetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarletonURocketry%2Ffetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarletonURocketry%2Ffetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CarletonURocketry","download_url":"https://codeload.github.com/CarletonURocketry/fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CarletonURocketry%2Ffetcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266242072,"owners_count":23898102,"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":["c","cli","cli-tool","cuinspace","modular","posix","process","qnx","qnx-neutrino","raspberry-pi-4","sensors","sensors-data-collection","unix"],"created_at":"2024-09-24T19:55:14.290Z","updated_at":"2025-10-13T01:18:39.266Z","avatar_url":"https://github.com/CarletonURocketry.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fetcher\n\nA process for fetching data from sensors using the I2C protocol.\n\n## Usage\n\nSee the help documentation with the command: `use fetcher`.\n\nThe output of fetcher looks like:\n\n```console\nTime: 1295 ms\nTemperature: 25.02 C\nPressure: 99.94 kPa\n...\n```\n\nSensor data output can either be printed in plain-text, or it can be read from the named message queue\n`fetcher/sensors`.\n\nMessages on the message queue start with a one-byte type specifier which is one of the following:\n\n```c\n/** Describes possible data types that fetcher is capable of producing. */\ntypedef enum {\n    TAG_TEMPERATURE = 0,      /**\u003c Temperature in degrees Celsius */\n    TAG_PRESSURE = 1,         /**\u003c Pressure in kilo Pascals */\n    TAG_HUMIDITY = 2,         /**\u003c Humidity in % relative humidity */\n    TAG_TIME = 3,             /**\u003c Time in milliseconds */\n    TAG_ALTITUDE_SEA = 4,     /**\u003c Altitude above sea level in meters */\n    TAG_ALTITUDE_REL = 5,     /**\u003c Altitude above launch height in meters */\n    TAG_ANGULAR_VEL = 6,      /**\u003c Angular velocity in degrees per second */\n    TAG_LINEAR_ACCEL_REL = 7, /**\u003c Relative linear acceleration in meters per second squared */\n    TAG_LINEAR_ACCEL_ABS = 8, /**\u003c Absolute linear acceleration in meters per second squared */\n} SensorTag;\n```\n\nFollowed by data representing the measurement.\n\nTemperature, pressure, humidity and altitude are floats.\nTime is a 32 bit integer.\nLinear acceleration and angular velocity are 3D vectors (`vec3d_t`) of 3 floats.\n\n## Board ID EEPROM Encoding\n\nIn order for fetcher to recognize the sensors on the board, the EEPROM must encode the ID in this format:\n\n```\nCU InSpace \u003cboard name\u003e\nREV \u003cx\u003e: \u003cmanufacture date\u003e\n\u003csensor 1 id\u003e \u003caddress\u003e\n\u003csensor 2 id\u003e \u003caddress\u003e \u003caddress2\u003e\n```\n\n**Fields:**\n\n- `\u003cboard name\u003e`: The name of the board. Ex: `Sensor board`\n- `REV \u003cx\u003e`: The revision of the board. Ex: `REV B`\n- `\u003csensor id\u003e`: The identifier of the sensor. Ex: `MS5611`\n- `\u003caddress\u003e`: The 7 bit I2C address of the sensor in hexadecimal (without the leading 0x). Ex: `77`\n  - It is possible to have more than one address per sensor type for boards with duplicates\n\n\u003c!--- Links ---\u003e\n\n[packager]: https://github.com/CarletonURocketry/packager\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarletonurocketry%2Ffetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarletonurocketry%2Ffetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarletonurocketry%2Ffetcher/lists"}