{"id":31802068,"url":"https://github.com/rodep-soft/rox_tmp_repo","last_synced_at":"2026-05-09T02:10:03.995Z","repository":{"id":303506223,"uuid":"1014776390","full_name":"rodep-soft/rox_tmp_repo","owner":"rodep-soft","description":"ROX2025用リポジトリ","archived":false,"fork":false,"pushed_at":"2025-08-22T23:35:24.000Z","size":3220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T01:34:31.701Z","etag":null,"topics":["cpp","python","robot","ros","ros2"],"latest_commit_sha":null,"homepage":"","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/rodep-soft.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,"zenodo":null}},"created_at":"2025-07-06T11:52:15.000Z","updated_at":"2025-08-22T23:35:27.000Z","dependencies_parsed_at":"2025-07-08T02:49:05.969Z","dependency_job_id":"0005eed3-452d-4510-83a4-a979b6222cd5","html_url":"https://github.com/rodep-soft/rox_tmp_repo","commit_stats":null,"previous_names":["rodep-soft/rox_tmp_repo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rodep-soft/rox_tmp_repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodep-soft%2Frox_tmp_repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodep-soft%2Frox_tmp_repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodep-soft%2Frox_tmp_repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodep-soft%2Frox_tmp_repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodep-soft","download_url":"https://codeload.github.com/rodep-soft/rox_tmp_repo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodep-soft%2Frox_tmp_repo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005657,"owners_count":26083941,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","python","robot","ros","ros2"],"created_at":"2025-10-11T00:16:35.663Z","updated_at":"2025-10-11T00:16:37.943Z","avatar_url":"https://github.com/rodep-soft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 本番環境(ラズパイ内)のディレクトリ構成\n\n~/rox_tmp_repo以下にこのリポジトリのコードが存在\n\n~はログイン時のホームディレクトリ\n\n## ロボットの起動\n\n```bash\n# 1. マキタバッテリーのスイッチを入れる。\n\n# 2. 緊急停止ボタンを上げる。この時、電圧が20V程度でていることを確認する。\n\n# 3. ラズパイのスイッチを入れる。赤点灯は付いてない。黄色点灯でOK\n\n# 4. ssh (raspberrypiはtailscale環境のみで有効。適切なipアドレスに置き換える)\n# パスワードはrodep\nssh rodep@raspberrypi\n\n# 5. PS5コントローラを接続する。PSボタンを押せば自動で接続される。\n# また、接続確認をする (js0, js1等見えていたらOK)\nls /dev/input\n\n# 6. 足回りのHATが生きてるか確認 (/dev/ttyACM0など見えていればOK)\nls /dev/ttyACM*\n\n# 7. 起動するためのディレクトリに移動\ncd ~/rox_tmp_repo\n\n# 8. Dockerを起動 \u0026 環境をsource\n./ros2_launch.bash\n\n# 9. ロボットを実際に起動\nros2 launch launch/launch.py\n```\n\n# 本番チェック\n\n\n- ロボットを起動した瞬間にLEDは赤く光っているか\n- JOYモードへの移行したらLEDは緑に光るか。また、左スティックで平面移動、右スティックで旋回動作が可能か。\n- 昇降機構がボタンで上下するか\n- 射出、押し出しが自動で動作するか\n- ライントレースモードに移行が可能か。また正常に動作するか。\n\n# Precaution\n- PS5コントローラの充電をする\n- マキタバッテリーの充電をする\n- ネジは外れていないか\n- バッテリーは固定されているか\n- ワイヤーは外れていないか\n\n# 緊急でコードを戻したいとき\n\n```bash\n# 特定のcommitまで戻りたいとき\ngit reset --hard \u003ccommit_hash\u003e\n# 一つのファイルだけを戻したいとき (restoreはcheckoutでも可)\ngit restore \u003ccommit_hash\u003e -- ファイル名\n```\n\n# ROS2の調子が悪い\n\n```bash\npkill -f ros\npkill -f ros2\nros2 daemon stop\nros2 daemon start\nsource /opt/ros/humble/setup.bash\nsource install/setup.bash\n...\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodep-soft%2Frox_tmp_repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodep-soft%2Frox_tmp_repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodep-soft%2Frox_tmp_repo/lists"}