{"id":19339833,"url":"https://github.com/nimarb/torcs-autonomous-driving","last_synced_at":"2026-06-18T15:31:41.577Z","repository":{"id":81538995,"uuid":"110152441","full_name":"nimarb/torcs-autonomous-driving","owner":"nimarb","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-07T15:28:14.000Z","size":13586,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-25T07:33:58.040Z","etag":null,"topics":["dnn","nengo","ros","ros-kinetic","spiking-neural-networks","torcs"],"latest_commit_sha":null,"homepage":null,"language":"TeX","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/nimarb.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":"2017-11-09T18:37:40.000Z","updated_at":"2021-06-08T15:59:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"7da21aa9-78c5-46ed-a7ae-3ffe13591066","html_url":"https://github.com/nimarb/torcs-autonomous-driving","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nimarb/torcs-autonomous-driving","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimarb%2Ftorcs-autonomous-driving","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimarb%2Ftorcs-autonomous-driving/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimarb%2Ftorcs-autonomous-driving/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimarb%2Ftorcs-autonomous-driving/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimarb","download_url":"https://codeload.github.com/nimarb/torcs-autonomous-driving/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimarb%2Ftorcs-autonomous-driving/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34497198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":["dnn","nengo","ros","ros-kinetic","spiking-neural-networks","torcs"],"created_at":"2024-11-10T03:24:02.207Z","updated_at":"2026-06-18T15:31:41.539Z","avatar_url":"https://github.com/nimarb.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TORCS autonomous driving\nThis repository contains source code to train and drive a car in TORCS by itself.\n\n## Dependencies\n[TORCS-ROS](https://github.com/fmirus/torcs_ros), [TORCS](https://github.com/fmirus/torcs-1.3.7), [ROS Kinetic](http://wiki.ros.org/kinetic/Installation)  \npython2: nengo, keras, tensorflow, numpy, opencv    \npython3: keras, tensorflow, numpy, opencv  \n\n## How to run\n 1. start torcs: `torcs`\n 2. configure the desired track, choose `scr_server` as driver\n 3. run: `roslaunch torcs_ros_bringup torcs_ros.launch rviz:=false driver:=false`\n 4. go into the nengo_controller folder and run: `python2 controller.py`\n\n## Structure \nThe `nengo_controller` folder contains the code needed to drive the car based on all the given sensor values.\nThe folder `src/collect_img_sensor_data` contains a ROS node to collect training data for the DNN.\nThe folder `src/train-deep-neural-network` contians code to train a deep neural network to infer angle and car displacement from a driver's view input image.\n\n    ├── final-presentation-complete\n    │   └── Bilder\n    ├── nengo_controller\n    │   ├── data\n    │   │   └── processed_data\n    │   └── nengo_ros\n    ├── report\n    │   ├── attachments\n    │   └── paper\n    └── src\n        ├── collect_img_sensor_data\n        │   ├── data-aalborg-2laps-640x480\n        │   ├── data-alpine_1-2laps-640x480\n        │   ├── data-alpine_2-2laps-640x480\n        │   ├── data-brondehach-2laps-640x480\n        │   ├── data-cg_speedway_1-2laps-640x480\n        │   ├── data-cg_track_2-2laps-640x480\n        │   ├── data-cg_track_3-2laps-640x480\n        │   ├── data-cg_track_3-2laps-640x480-1sthood\n        │   ├── data-cg_track_3-2laps-640x480-3rdclose\n        │   ├── data-cg_track_3-2laps-640x480-3rdfar\n        │   ├── data-corkscrew-2laps-640x480\n        │   ├── data-e_road-2laps-640x480\n        │   ├── data-etrack_1-2laps-640x480\n        │   ├── data-etrack_2-2laps-640x480\n        │   ├── data-etrack_3-2laps-640x480\n        │   ├── data-etrack_4-2laps-640x480\n        │   ├── data-etrack_6-2laps-640x480\n        │   ├── data-forza-2laps-640x480\n        │   ├── data-olethros_road_1-2laps-640x480\n        │   ├── data-ruudskogen-2laps-640x480\n        │   ├── data-street_1-2laps-640x480\n        │   ├── data-wheel_1-2laps-640x480\n        │   ├── data-wheel_2-2laps-640x480\n        │   ├── launch\n        │   └── src\n        └── train-deep-neural-network\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimarb%2Ftorcs-autonomous-driving","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimarb%2Ftorcs-autonomous-driving","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimarb%2Ftorcs-autonomous-driving/lists"}