{"id":30052230,"url":"https://github.com/vlmarkov/self-driving-car","last_synced_at":"2026-05-05T15:37:31.974Z","repository":{"id":277568738,"uuid":"932838945","full_name":"vlmarkov/self-driving-car","owner":"vlmarkov","description":"Self-Driving Car based on Raspberry Pi 5 board","archived":false,"fork":false,"pushed_at":"2026-03-26T16:13:27.000Z","size":558,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-27T06:44:45.641Z","etag":null,"topics":["autonomous-driving","cpp","lane-detection","opencv","raspberry-pi","self-driving-car"],"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/vlmarkov.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-14T16:04:31.000Z","updated_at":"2026-03-26T16:15:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"812a5d71-48be-4ed2-be5c-0dd7d23f3810","html_url":"https://github.com/vlmarkov/self-driving-car","commit_stats":null,"previous_names":["vlmarkov/self-driving-arduino-car","vlmarkov/self-driving-car"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlmarkov/self-driving-car","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlmarkov%2Fself-driving-car","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlmarkov%2Fself-driving-car/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlmarkov%2Fself-driving-car/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlmarkov%2Fself-driving-car/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlmarkov","download_url":"https://codeload.github.com/vlmarkov/self-driving-car/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlmarkov%2Fself-driving-car/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["autonomous-driving","cpp","lane-detection","opencv","raspberry-pi","self-driving-car"],"created_at":"2025-08-07T16:55:07.991Z","updated_at":"2026-04-20T09:34:44.258Z","avatar_url":"https://github.com/vlmarkov.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Self-Driving Car\n\nA very basic self driving car based on Rapsberry Pi5 board.\n\n# Features\n- lane detection\n- motion calibation\n- manual control\n\n# Requirements\n- ubuntu 24.04\n- latest cmake version\n- latest gcc or clang version\n- gtest\n- [wiringpi](https://github.com/WiringPi/WiringPi/tree/master)\n  - do not forget to add user to gpio group\n  - or `sudo chmod g+rw /dev/gpiomem0`\n- opencv\n  - `sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2`\n- [ros2](https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debs.html)\n- [LCCV](https://github.com/kbarni/LCCV/tree/main) LCCV (libcamera bindings for OpenCV) is a small wrapper library that provides access to the Raspberry Pi camera in OpenCV.\n\n# Prepare your ROS2 environment\n1. According to [official documentation](https://docs.ros.org/en/foxy/Tutorials/Beginner-CLI-Tools/Configuring-ROS2-Environment.html#source-the-setup-files) for every new shell you will need to run this command to have access to the ROS 2 commands:\n```\nsource /opt/ros/jazzy/setup.bash\n```\n2. Alternative way is to [add sourcing to your shell startup script](https://docs.ros.org/en/foxy/Tutorials/Beginner-CLI-Tools/Configuring-ROS2-Environment.html#source-the-setup-files)\n```\necho \"source /opt/ros/jazzy/setup.bash\" \u003e\u003e ~/.bashrc\n```\n3. But for build rule and especially for install directory you have mannualy set the environment:\n```\nsource install/local_setup.bash\n```\n\n# Build\n```\nmake all\n```\n\n# Test\n```\nmake tests\n```\n\n# Run\n1. Choose module to run\n```\nsudo bash -c \"chmod g+rw /dev/gpiomem0 \u0026\u0026 source /opt/ros/jazzy/setup.bash \u0026\u0026 source install/local_setup.bash \u0026\u0026 ros2 run motion-calibration motion_calibration\"\n\nsudo bash -c \"source /opt/ros/jazzy/setup.bash \u0026\u0026 source install/local_setup.bash \u0026\u0026 ros2 run lane-detection lane-detection\"\n\nsudo bash -c \"source /opt/ros/jazzy/setup.bash \u0026\u0026 source install/local_setup.bash \u0026\u0026 ros2 run main-pipeline main_pipeline\"\n\nsudo bash -c \"source /opt/ros/jazzy/setup.bash \u0026\u0026 source install/local_setup.bash \u0026\u0026 ros2 run manual-control manual_control 192.168.1.70 8080\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlmarkov%2Fself-driving-car","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlmarkov%2Fself-driving-car","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlmarkov%2Fself-driving-car/lists"}