{"id":18378627,"url":"https://github.com/creatcodebuild/udacity-sdc-project-pitfalls","last_synced_at":"2026-01-28T04:48:59.387Z","repository":{"id":93996747,"uuid":"79679372","full_name":"CreatCodeBuild/Udacity-SDC-Project-Pitfalls","owner":"CreatCodeBuild","description":"A collection of pitfalls and tricky parts of SDC projects","archived":false,"fork":false,"pushed_at":"2017-01-21T23:44:05.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T22:43:01.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/CreatCodeBuild.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-01-21T23:23:17.000Z","updated_at":"2017-01-21T23:23:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9712963-d22f-4db2-bfff-57df4c720ce3","html_url":"https://github.com/CreatCodeBuild/Udacity-SDC-Project-Pitfalls","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/CreatCodeBuild%2FUdacity-SDC-Project-Pitfalls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreatCodeBuild%2FUdacity-SDC-Project-Pitfalls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreatCodeBuild%2FUdacity-SDC-Project-Pitfalls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CreatCodeBuild%2FUdacity-SDC-Project-Pitfalls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CreatCodeBuild","download_url":"https://codeload.github.com/CreatCodeBuild/Udacity-SDC-Project-Pitfalls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248361349,"owners_count":21090876,"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-11-06T00:34:34.145Z","updated_at":"2026-01-28T04:48:59.352Z","avatar_url":"https://github.com/CreatCodeBuild.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Udacity-SDC-Project-Pitfalls\nA collection of pitfalls and tricky parts of SDC projects\n\nI created this document to collect all tricky parts which I found while I was doing projects and which I discovered while I was mentoring other students.\n\nFeel free to add more if you have any by submitting a pull request.\n\n## Find Lane Lines\n\n## Traffic Sign Classifier\n\n## Behavioral Cloning\n\n## Advanced Lane Finding\nIn the course video [Calibrating Your Camera](https://classroom.udacity.com/nanodegrees/nd013/parts/fbf77062-5703-404e-b60c-95b78b2f3f9e/modules/2b62a1c3-e151-4a0e-b6b6-e424fa46ceab/lessons/40ec78ee-fb7c-4b53-94a8-028c5c60b858/concepts/a30f45cb-c1c0-482c-8e78-a26604841ec0) and the example code in project repo under examples/, we see the following code  \n```python\n# prepare object points, like (0,0,0), (1,0,0), (2,0,0) ....,(6,5,0)\nobjp = np.zeros((6*9,3), np.float32)\nobjp[:,:2] = np.mgrid[0:9,0:6].T.reshape(-1,2)\n```\nmgrid returns a 3-d ndarray, which contains 2 matrices. These 2 matrices are just counting numbers from different dimention. One horizontally(dimension 0), another vertically(dimension 1).\n```\n\u003e\u003e\u003e mgrid[0:3,0:4]\narray([[[0, 0, 0, 0],\n        [1, 1, 1, 1],\n        [2, 2, 2, 2]],\n\n       [[0, 1, 2, 3],\n        [0, 1, 2, 3],\n        [0, 1, 2, 3]]])\n```\n.T returns the transpose matrix of a ndarray. Please refer to:\n  1. https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.T.html\n  2. https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.transpose.html\n\n.reshape reshapes the ndarray. (-1,2) just means \"compute the length of this dimension by number of elements / 2\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreatcodebuild%2Fudacity-sdc-project-pitfalls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreatcodebuild%2Fudacity-sdc-project-pitfalls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreatcodebuild%2Fudacity-sdc-project-pitfalls/lists"}