{"id":16517335,"url":"https://github.com/vietanhdev/cds-2020-round2-basecode","last_synced_at":"2026-06-20T04:31:38.163Z","repository":{"id":79024983,"uuid":"282612125","full_name":"vietanhdev/cds-2020-round2-basecode","owner":"vietanhdev","description":"Source code for FPT Digital Race 2020","archived":false,"fork":false,"pushed_at":"2020-07-26T08:57:41.000Z","size":1846,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T19:32:58.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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":"2020-07-26T08:54:35.000Z","updated_at":"2021-02-02T02:14:12.000Z","dependencies_parsed_at":"2023-03-24T07:17:14.002Z","dependency_job_id":null,"html_url":"https://github.com/vietanhdev/cds-2020-round2-basecode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vietanhdev/cds-2020-round2-basecode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fcds-2020-round2-basecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fcds-2020-round2-basecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fcds-2020-round2-basecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fcds-2020-round2-basecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietanhdev","download_url":"https://codeload.github.com/vietanhdev/cds-2020-round2-basecode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietanhdev%2Fcds-2020-round2-basecode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"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-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2024-10-11T16:29:56.814Z","updated_at":"2026-06-20T04:31:38.149Z","avatar_url":"https://github.com/vietanhdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Race - Cuộc đua số - ROUND 2\n\nThis code was written based on the original code from [FPT Dira platform](https://github.com/fpt-corp/DiRa). In this repository, we target Jetson TX2 with Traxxas car model.\n\n## Requirements:\n- Hardware: DIRA platform - FPT\n- Python 3.6\n\n## I2C\n- List I2C: `sudo i2cdetect -y -r 1`.\n\n## Camera\n- Library: `primesense`.\n- Install:\n```\nsudo pip3 install primesense\n```\n\n## Motors:\n- Library: https://github.com/adafruit/Adafruit_Python_PCA9685\n- Document: phtts://readthedocs.org/projects/adafruit-circuitpython-pca9685/downloads/pdf/latest/\n```\nsudo pip3 install adafruit-pca9685\n```\n\n##  GPIO: \n- https://devtalk.nvidia.com/default/topic/1030443/jetson-tx2/using-gpio-on-nvidia-jetson-tx2/\n- Using library: https://github.com/vitiral/gpio.git\n- GPIO without root: https://jkjung-avt.github.io/gpio-non-root/. (`dependencies/non_root_gpio/`)\n```\nsudo pip3 install gpio\ncd dependencies/non_root_gpio/\nsh setup_gpio.sh\n```\n\n## LCD:\n- Library: smbus\n```\nsudo pip3 install smbus\n```\n- Update LCD I2C address in `config.py` -\u003e `LCD_ADDRESS`.\n\n## Gyro\nhttps://github.com/RTIMULib/RTIMULib2.git\n```\ncd dependencies/RTIMULib2/Linux/python\npython3 setup.py build\npython3 setup.py install\n```\n\n## Remote control using Android smartphone\n\n- Download and use this app: https://play.google.com/store/apps/details?id=com.denods.udpjoystick\u0026hl=vi\n- Enter ip address to Jetson and enter port 12345.\n- Use y axis of left joystick to control speed and x axis of right joystick to control steering angle.\n- **Special functions:** move left joystick to y = 0 and right joystick to special position to activate special functions:\n    + Top - right: Emergency stop.\n    + Top - left: Remove emergency stop flag.\n    + Bottom - right: Start video recording.\n    + Bottom - left: Stop video recording.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fcds-2020-round2-basecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvietanhdev%2Fcds-2020-round2-basecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietanhdev%2Fcds-2020-round2-basecode/lists"}