{"id":26356404,"url":"https://github.com/bwt2/keep-alive-ros2","last_synced_at":"2025-03-16T13:20:12.077Z","repository":{"id":274966465,"uuid":"923522235","full_name":"bwt2/keep-alive-ros2","owner":"bwt2","description":"ROS2 nodes polling connectivity from base station to remote station","archived":false,"fork":false,"pushed_at":"2025-02-26T12:15:42.000Z","size":63,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T13:26:08.412Z","etag":null,"topics":["docker","docker-compose","ros2","ros2-humble"],"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/bwt2.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":"2025-01-28T11:57:34.000Z","updated_at":"2025-02-26T12:15:46.000Z","dependencies_parsed_at":"2025-02-26T13:22:59.645Z","dependency_job_id":null,"html_url":"https://github.com/bwt2/keep-alive-ros2","commit_stats":null,"previous_names":["bwt2/keep-alive-mechanism-ros2","bwt2/keep-alive-ros2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwt2%2Fkeep-alive-ros2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwt2%2Fkeep-alive-ros2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwt2%2Fkeep-alive-ros2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwt2%2Fkeep-alive-ros2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwt2","download_url":"https://codeload.github.com/bwt2/keep-alive-ros2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243872241,"owners_count":20361446,"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":["docker","docker-compose","ros2","ros2-humble"],"created_at":"2025-03-16T13:20:11.537Z","updated_at":"2025-03-16T13:20:12.070Z","avatar_url":"https://github.com/bwt2.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\nROS 2 nodes to poll connectivity between base and remote station. Nodes requests estop service if listener doesn't receive any topic updates from talker after a certain timeout. Beta test for keep-alive estop mechanism for Sydney Interplanetary Rover Initiative (SIRI).\n\n![Sample output](docs/image.png)\n\n## Manual setup\nAssuming `ros-humble-desktop` is installed, run:\n\n```bash\ncd keep-alive-test\nsource /opt/ros/humble/setup.bash\ncolcon build --packages-select keep_alive_estop estop_interfaces estop --symlink-install --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \nsource install/setup.bash\n```\nRun each executable:\n```bash\nros2 run estop estop_server\nros2 run keep_alive_estop keep_alive_estop_talker_node\nros2 run keep_alive_estop keep_alive_estop_listener_node\n```\n\nAlt:\n```bash\ncolcon build --packages-select keep_alive_estop estop_interfaces estop --symlink-install --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \u0026\u0026\nsource install/setup.bash\n```\n\n## Docker\nAssuming docker is installed, run the following to launch all executables\n\n```bash\ndocker compose up\n```\n\nTo run any individual docker compose container (via its service name):\n\n```bash\ndocker compose run --rm keep-alive-estop-talker\ndocker compose run --rm keep-alive-estop-listener\ndocker compose run --rm estop\n```\n\nTo stop any of the containers (via its service name),\n\n```bash\ndocker compose stop keep-alive-estop-talker\ndocker compose stop keep-alive-estop-listener\ndocker compose stop estop\n```\n\nTo use the docker container to view the currently running docker nodes (e.g. `rqt_graph`),\n\n```bash\ndocker compose run --remove-orphans terminal\n```\n\n## TODO\n- test on different devices\n- multi-stage builds","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwt2%2Fkeep-alive-ros2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwt2%2Fkeep-alive-ros2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwt2%2Fkeep-alive-ros2/lists"}