{"id":21077384,"url":"https://github.com/ros2jsguy/ros2-js-examples","last_synced_at":"2025-03-14T04:10:46.435Z","repository":{"id":94000449,"uuid":"271379426","full_name":"ros2jsguy/ros2-js-examples","owner":"ros2jsguy","description":"ROS 2 JavaScript examples from the ros2jsguy articles","archived":false,"fork":false,"pushed_at":"2023-10-03T00:33:01.000Z","size":2019,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T23:14:43.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ros2jsguy.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":"2020-06-10T20:34:01.000Z","updated_at":"2024-11-23T19:27:38.000Z","dependencies_parsed_at":"2023-08-28T11:33:52.305Z","dependency_job_id":null,"html_url":"https://github.com/ros2jsguy/ros2-js-examples","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/ros2jsguy%2Fros2-js-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Fros2-js-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Fros2-js-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ros2jsguy%2Fros2-js-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ros2jsguy","download_url":"https://codeload.github.com/ros2jsguy/ros2-js-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521281,"owners_count":20304186,"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-19T19:36:17.925Z","updated_at":"2025-03-14T04:10:46.414Z","avatar_url":"https://github.com/ros2jsguy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ros2-js-examples\nROS 2 examples from the [ros2jsguy articles](https://medium.com/@ros2jsguy).\n\n* Example-1: node-publisher\n* Example-2: node-subscriber\n* Example-3: laserscan-publisher\n* Example-4: Conway's Game of Life\n\nThe project is implemented using TypeScript, Node.js and the [rclnodejs](https://github.com/RobotWebTools/rclnodejs) ROS 2 client library.\n\n## Prerequisites\n* [git](https://git-scm.com/)\n* [Node.js](nodejs.org) ver. 12 and either npm or yarn package manager\n* [ROS 2 Foxy distribution](https://index.ros.org/doc/ros2/Installation/Foxy)\n\n\n## Installation and Running\nFrom a command shell run the commands shown in the following steps.\n\n### Step-1 Clone ros2_js_examples github repository\n```\ngit clone https://github.com/ros2jsguy/ros2_js_examples.git\n```\nYou should see the project code downloaded to a new directory named `ros2_js_example.\n\n### Step-2 Install Project Dependencies\n```\ncd ros2_js_examples\nnpm install\n```\nThis may take 1-2 minutes to complete as the rclnodejs package must be compiled as part of the installation process.\n### Step-3 Run TypeScript Compiler\n```\nnpm run build\n```\n\n### Step-4 Run examples\nEach src/example* folder includes a README that describes the example and provides details for building and running the example.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fros2jsguy%2Fros2-js-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fros2jsguy%2Fros2-js-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fros2jsguy%2Fros2-js-examples/lists"}