{"id":16517345,"url":"https://github.com/vietanhdev/autonomous-car-2018","last_synced_at":"2025-07-11T21:38:47.670Z","repository":{"id":79024776,"uuid":"164588910","full_name":"vietanhdev/autonomous-car-2018","owner":"vietanhdev","description":"Autonomous car source code for FPT Digital Race (Cuộc Đua Số) 2018 - Round 1 - Simulation Car","archived":false,"fork":false,"pushed_at":"2020-09-14T15:15:34.000Z","size":66053,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T21:05:44.968Z","etag":null,"topics":[],"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/vietanhdev.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":"2019-01-08T07:22:18.000Z","updated_at":"2024-10-15T06:57:01.000Z","dependencies_parsed_at":"2023-06-02T21:45:41.298Z","dependency_job_id":null,"html_url":"https://github.com/vietanhdev/autonomous-car-2018","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/vietanhdev%2Fautonomous-car-2018","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fautonomous-car-2018/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fautonomous-car-2018/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fautonomous-car-2018/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietanhdev","download_url":"https://codeload.github.com/vietanhdev/autonomous-car-2018/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233704839,"owners_count":18717028,"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-10-11T16:30:01.015Z","updated_at":"2025-01-13T06:42:04.886Z","avatar_url":"https://github.com/vietanhdev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ICT60 RACECAR - TEAM806\n\n## DEMO\n[![Road segmentation and Traffic sign detection](screenshots/screenshot1.png)](https://www.youtube.com/watch?v=Obv53r7UV34\u0026feature=youtu.be)\n\n## ALGORITHMS\n- For road segmentation, we use mainly floodfill and watershed algorithm. As you can see in the video, these algorithms do well in road segmentation and also noise removal.\n\n- For traffic sign detection, we detect the interested area using color segmentation (HSV color space) and then pass the result into a SVM (Support Vector Machine) classfier with HOG (Histogram of oriented gradients) features.\n\n## ENVIRONMENT REQUIREMENT\n\n- UBUNTU 18.04 / 16.04\n- OPENCV 3.4.3: https://aicurious.io/posts/2018-09-14-cai-dat-opencv-tren-ubuntu-18-04/\n- NPM: https://www.npmjs.com/\n- ROS:\n    + For Ubuntu 18.04: ROS Melodic Morenia: http://wiki.ros.org/melodic/Installation/Ubuntu\n    + For Ubuntu 16.04: ROS Lunar: http://wiki.ros.org/lunar/Installation/Ubuntu\n- unzip: `sudo apt-get install unzip`\n- curl: `sudo apt-get install curl`\n\n## INSTALL\n\n- **Step 1:** Ensure you have installed all the environment requirement\n- **Step 2:** Clone the source code repository\n- **Step 3:** Initialize the workspace by the command:\n~~~\nnpm run init-workspace\n~~~\n- **Step 4:** Add this line to ~/.bashrc file to active the main workspace by default (or you have to run it each time you open a new tab).\n~~~\nsource \u003cpath-to-repo-folder\u003e/main_ws/devel/setup.bash\n~~~\n- **Step 5:** Download data files\n    + Download svm file for Traffic Sign Detector 2 (optional): `npm run download-svm-file-trafficsign-detector-2`\n    + Download all simulators (maybe large): `npm run download-all-simulators`\n    + Download simulator 4 only: `npm run download-simulator4`\n    + Download simulator 3 only: `npm run download-simulator4`\n    + Download simulator 2 only: `npm run download-simulator4`\n    + Download simulator 1 only: `npm run download-simulator4`\n\n## RUN THE PROJECT\n\n### Normal run\n\nFollowing are the steps of a normal run\n\n- **Step 1: Start ROS server:** Open a new terminal tab and type:\n~~~\nnpm run ros-server\n~~~\n- **Step 2: Re-Build the source code:**\n~~~\nnpm run make\n~~~\n- **Step 3: Run ROS server:** Open a new terminal tab and type:\n~~~\nnpm run ros-server\n~~~\n- **Step 4: Run Racecar node** Open a new terminal tab and type:\n~~~\nnpm run racecar\n~~~\n- **Step 5: Run Simulator:** Open a new terminal tab and type:\n~~~\nnpm run simulator4\n~~~\nYou can change the simulator (4) with a value (1-4) to start other simulator versions.\n\nAfter that enter the configuration into simulator and run it. The value of `Team` for simulator is `team806`.\n\n\n### RUNNING COMMANDS\n\n- `npm run init-workspace` : Initialize the workspace\n- `npm run ros-server`: Start ROS server\n- `npm run make`: Build the project\n- `npm run make-debug`: Build the project with debug info\n- `npm run racecar`: Run the racecar node\n- `npm run racecar-debug`: Run the racecar node with debug info\n- `npm run racecar-launch`: Run the racecar node using launch file\n- `npm run simulator1`: Run simulator v1\n- `npm run simulator2`: Run simulator v2\n- `npm run simulator3`: Run simulator v3\n- `npm run simulator4`: Run simulator v4\n- `npm run image_viewer`: Run image viewer (for debuging)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fautonomous-car-2018","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvietanhdev%2Fautonomous-car-2018","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fautonomous-car-2018/lists"}