Programming Autonomous self-driving cars with Carla and Python

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 252

  • @chadj1797
    @chadj1797 5 лет назад +170

    I'm a simple man. I see sentdex uploaded a video I watch it

  • @danielf3623
    @danielf3623 5 лет назад +22

    I'm nowhere near your level programming, but the trick of typing cmd in the path bar to get a new command window pathed to there paid off for me within the hour.

  • @sushanbastola947
    @sushanbastola947 5 лет назад +110

    Downloads the file.
    Sentdex: Oh it's 2 GB
    Takes a sip of coffee, and it's already downloaded.

  • @BrandonJacobson
    @BrandonJacobson 5 лет назад +7

    I like how you addressed how you approach a new library. That helps a beginner like me.

  • @Ferdii256
    @Ferdii256 5 лет назад +10

    So cool you're doing a Carla video! I'm working with Carla a lot for my Master's right now 🤓

    • @Ferdii256
      @Ferdii256 5 лет назад +1

      Btw, you might also want to check out github.com/lgsvl/simulator.
      Looked pretty nice to be as well when I gave it a try...

    • @Lulu_Rhymes
      @Lulu_Rhymes 4 года назад +1

      Hi
      I am UG student from India
      We are doing a project on Carla simulator (autonomous vehicle)
      We don't how start
      Could you please help me to do our project

  • @ramymans5256
    @ramymans5256 5 лет назад +80

    2.5 gb in 2 minutes
    Me : cries in 200 kb/s

    • @shaheenawani8310
      @shaheenawani8310 4 года назад +4

      I am a Kashmiri and from 2 monts spped =20kbps

    • @utkarshdeepak8824
      @utkarshdeepak8824 4 года назад

      @@shaheenawani8310 Sad life of kashmiri

    • @nordemoniac
      @nordemoniac 4 года назад +1

      Me: cries in 60 MB/s 😓
      My patience has gone down at the same rate as my ISP increases speed...

    • @neuron8186
      @neuron8186 3 года назад

      @@shaheenawani8310 don't worry that's what we get everywhere in india atleast in my area

  • @Gandalf_the_Black_
    @Gandalf_the_Black_ 5 лет назад +6

    This is pretty cool. The GTA self-driving car series was what got me into your channel, and this looks like it could be even better!

  • @siddharthkale97
    @siddharthkale97 5 лет назад +6

    Was waiting for a long time for a series like this. Thanks man I really appreciate the effort you put into making these tutorial videos.😇

  • @mohamedashrf5259
    @mohamedashrf5259 5 лет назад +4

    AMAZING!!
    this video just came in time for me, i can't wait to see a series of this, and really can't thank you enough.

  • @shmarvdogg69420
    @shmarvdogg69420 5 лет назад +43

    Put a thousand cars in this all trained up to be as good as a drunk driver and watch as the show unfolds

  • @mariop7440
    @mariop7440 5 лет назад +60

    They should make something with BeamNG Drive

    • @franeklubi
      @franeklubi 5 лет назад +3

      YES, GOD THAT WOULD BE AWESOME :D

  • @carterbabin6867
    @carterbabin6867 5 лет назад +12

    Another AMAZING video! Thanks for sharing!

  • @Marie-yx7qs
    @Marie-yx7qs 4 года назад +2

    Hello.
    I have a question. (Sorry English is not my mother language)
    Can u recommend me some books about the coding and programming of self-driving cars in C++ ?
    Marie

  • @tommytran5962
    @tommytran5962 9 месяцев назад

    Dude this is so cool. I wish I found this series earlier. Thank you for making this video!

  • @felipealcm
    @felipealcm 5 лет назад

    Thanks a lot for these video ! We have been trying to make tutorials for CARLA and never had time for that !

  • @Gensavaro
    @Gensavaro 4 года назад

    Thanks man! I spent more than a week to figure this out but I couldn't. You saved a lot of time for me. I am gonna cite your youtube channel in my paper for Carla installation.

  • @AhadCove
    @AhadCove 5 лет назад +1

    Great video! I’ve been needing something like this for a project. Thank you for sharing

  • @ashishankit9911
    @ashishankit9911 5 лет назад

    Thanks, the last tutorial on self driving was insightful for me, which inspired me, so I'm following this one for new features.

  • @zhangkin7896
    @zhangkin7896 4 года назад +1

    LOVE THIS!!!! Thank you for guiding us(it's really helpful for beginner) to start with it.

  • @aravinddoss4127
    @aravinddoss4127 5 лет назад

    Great that you chose CARLA !!! It also has ROS Bridge. Expecting more videos !!!

  • @Nova-Rift
    @Nova-Rift 5 лет назад

    Dude, thanks for always showing us the coolest stuff. This is awesome.

  • @KayzeeFPS
    @KayzeeFPS 5 лет назад +13

    Now try Deepdrive 2.0 or Airsim you will love it.

    • @robosergTV
      @robosergTV 5 лет назад

      what are the pros of Deepdrive 2.0 or Airsim over Carla?

    • @David-zf5tv
      @David-zf5tv 4 года назад

      @@robosergTV little bit complex to build but have simple coding with highly supported documentation

  • @thoran6279
    @thoran6279 5 лет назад

    Just checked out the entire raspberry pi series, your tutorials are awesome man!

  • @vman049
    @vman049 5 лет назад

    Great video, looking forward to the rest of the series!

  • @TechWithTim
    @TechWithTim 5 лет назад +1

    Damn... This is cool

    • @sentdex
      @sentdex  5 лет назад +1

      Dude your channel is killllllling it! Congrats on your success!

    • @TechWithTim
      @TechWithTim 5 лет назад

      @@sentdex Appreciate it man!!! I've taken a ton of inspiration from you :)

  • @andreydev2132
    @andreydev2132 5 лет назад +2

    Thank you for this video! Exactly what i want to see. Waiting for a new video :3

  • @Codingskills-ne2lh
    @Codingskills-ne2lh 2 месяца назад

    Hey man looks like the command "py -3.7" is not working for me. I doo have python 3.12 installed and when I check the list of environments it shows 3.12 and 3.8. How can I add 3.7 here. Should I go and add it in the env path and downloading python 3.7?

  • @tirthpatel6268
    @tirthpatel6268 5 лет назад

    Yes! Yes! I really needed this, Thank You So much

  • @Champo0
    @Champo0 5 лет назад +1

    Since this is based on unreal you can probably use the 'q' and 'e' keys to move your spectator up and down, which is a nice quality of life feature ;)

  • @rogermichou8654
    @rogermichou8654 Год назад

    you can add realism implementing centrifugal force , car body weight transfert, and other things.

  • @TheLenbus
    @TheLenbus 3 года назад +1

    What I don‘t get is:
    Games like GTA, GranTourismo or Need For Speed have really solid visual engines and invested a ton of effort to finetune driving experience and „realistic“ world scenery. Wouldn‘t it be appropriate to run such simulations utilizing these engines instead of building blocky simulators with just okay physics? Same goes for Driving License Simulators.
    It would definitely be a really cool thing to see such thing being useable for research and education 🙃

  • @San_OO7
    @San_OO7 5 лет назад +3

    Thanks Sentdex Carla is an amazing simulator but lacks good documentation that was what i was looking for...

  • @Kiwinov
    @Kiwinov 5 лет назад +3

    "1 week ago", the perks are just amazing

  • @sifatmd
    @sifatmd 5 лет назад +2

    Please please please make more videos on this!!!!!

  • @user-rd3el7pw9g
    @user-rd3el7pw9g Год назад

    'py' is not recognized as an internal or external command,
    operable program or batch file. ?

  • @TheMixflow
    @TheMixflow 5 лет назад

    great moment for a sentdex video :D

  • @kanikakumari2676
    @kanikakumari2676 3 года назад

    ow to install and run carla versions < 0.9.12 as 0.9.12 graphic requirements are very high and my system is not able to support. I tried downloading lower versions but "pip install carla" command installs 0.9.12 version only which does connect to Unreal Engine4 Carla Client openned through exe file(using windows 10). Tried to implement every possible suggession available on internet. Can you please help ?

  • @gaurishgangwar
    @gaurishgangwar 2 года назад

    How do you rotate your view in the simulator when you are exploring the city in 'server'? I can move the camera by WASD but the direction always remains same.

  • @ahmedelsayedabdelnabyrefae1365
    @ahmedelsayedabdelnabyrefae1365 3 года назад

    I was running the command that you used to import the 80 cars and despite that, I am sure I have NumPy installed I am getting module not found for numpy , How can I get arround this issue

  • @aminmajidi4902
    @aminmajidi4902 15 дней назад

    hi
    What you did and I did, but I still have an error
    plz help me

  • @ankurjain7956
    @ankurjain7956 5 лет назад

    sir i am unable to see the graphs,
    localhost:6006 used this in google chrome but it shows this site cant be reached
    by using logs on cmd
    ImportError: numpy.core._multiarray_umath failed to import
    ImportError: numpy.core.umath failed to import
    2019-08-29 23:45:08.808796: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr

  • @hungtrinh2121
    @hungtrinh2121 3 года назад

    Hi
    When i updated carla it had an error "Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API"
    Could you guide me on how to do "make pythonAPI" command? I run it on X64 native tool command prompt but it crashes all the time. Thanks

  • @chinmoydutta9931
    @chinmoydutta9931 5 лет назад +1

    awsm vid... I also had trouble running carla in windows. Thanks to u for clearing the doubts. Is this gonna be a series? I wud love that. Thanks!

    • @sentdex
      @sentdex  5 лет назад +4

      Planning to make it a series

  • @hazemessamm
    @hazemessamm 5 лет назад +5

    Are you going to make a playlist for CARLA or just a couple of videos ?

    • @sentdex
      @sentdex  5 лет назад +6

      Dunno how many videos it'll be, but planning to do reinforcement learning in here.

  • @AndresPerez-dn2rf
    @AndresPerez-dn2rf 5 лет назад

    Gracias, saludos from Mexico!!

  • @MACHINEBUILDER
    @MACHINEBUILDER 5 лет назад

    Hmm... I'm using windows and I downloaded CARLA 0.9.5 for windows, but when I extract the zip it fails and says it couldn't extract "CarlaUE4/Content/Paks/CarlaUE4-WindowsNoEditor.pak"
    It gives me the error code : *error 0x80004005*
    Thanks for help in advance :)

  • @zhangkin7896
    @zhangkin7896 3 года назад

    but I got a fatal error when I follow your step. (open the CarlaUE4.exe -> fatal error) Let me check....

  • @prashantmeti7986
    @prashantmeti7986 10 месяцев назад

    I have python 3.12 how I need to build the Curl could please tell me

  • @Shah_Khan
    @Shah_Khan 4 года назад

    Thanks a lot for this tutorial series

    • @sentdex
      @sentdex  4 года назад +1

      Happy to have made it!

  • @godswillotto5348
    @godswillotto5348 4 года назад

    thanks for the series

  • @kks2105
    @kks2105 5 лет назад

    This is awesome, really helpful. By the way you can actually plug in a Logitech steering wheel.

  • @larosalex
    @larosalex 3 года назад

    Hi everyone. I really would to know wich tf and keras version are we using for make it works. Ive already try with a couple of them and Im only getting errors. Thanks.

  • @MostafaSameer_2015
    @MostafaSameer_2015 10 месяцев назад

    Hi,
    I want to plug in a steering wheel (Logitech G29) in the CARLA console 0.9.14. Can you put some guidelines or a video how to connect the steering wheel with CARLA.

  • @suryahr307
    @suryahr307 5 лет назад

    I'm pursuing masters in Transportation and extracting trajectory (distance (only longitudinal 1D) vs time) plots from videos using the current software is taking 30 days x 9 hrs/day to extract a 10 min video for 1 Lane! Can we automate or even.. Semi automate this process..? Please help me

  • @mukeshiyer6302
    @mukeshiyer6302 4 года назад

    Can I use an live camera feed instead of Carla simulation for the same model? I'm trying to apply the same concept on a RC car

  • @kasramokhtari5423
    @kasramokhtari5423 4 года назад

    Hello everyone!
    I have a serious issue with CARLA. Got this error over and over again:
    "time-out of 2000ms while waiting for the simulator, make sure the simulator is ready and connected to 127.0.0.1:2000".
    I tried the mentioned approaches on 2 different python versions. However, they did not work for me.
    I really appreciate it if you can help me with that. Thank you so much!

  • @mohammadhatoum
    @mohammadhatoum 5 лет назад

    Why no one commented on the laugh at 16:57 haha . I always enjoy your videos.

  • @pab1126
    @pab1126 4 года назад

    Love your videos man!

  • @manojpai83
    @manojpai83 4 года назад

    Can I get location details (latitude, longitude, speed and heading) of the vehicle which has been stimulated?

  • @bobbysingh5666
    @bobbysingh5666 4 года назад +1

    anybody have tips on how i can make my server fps higher. I already turned on no-rendering mode. anything else?

  • @rustinhussin4778
    @rustinhussin4778 9 месяцев назад +1

    tensorflow=1.4.1 and keras=2.2.4 can run the whole project without changing any code, test it bro

  • @vishram2997
    @vishram2997 4 года назад

    I am trying to run carla 0.9.5 on windows 10 but Its not running. exe doens't work.

  • @abidagurman4413
    @abidagurman4413 3 года назад

    How we can use data collector in carla simulator???any idea

  • @gabriel1991
    @gabriel1991 5 лет назад +1

    You could use Windows Linux Subsystem to run linux apps inside windows!

  • @bios3406
    @bios3406 Год назад

    please tell us which version of tensorflow are you using in that time ?

  • @noobshady
    @noobshady 5 лет назад

    very nice tutorial and inspiring

  • @aravindsuresh8157
    @aravindsuresh8157 5 лет назад

    Why is sentdex so awesome!

  • @gianlucavernia9444
    @gianlucavernia9444 5 лет назад

    Greetings Sentdex I am following your machine learning series and I was wondering if Mean Shift is used or could be used for trading stocks. What do you think?

  • @supriyapatel112
    @supriyapatel112 4 года назад

    Hi, can we create a new environment in CARLA from images? Like any indoor environment? For the purpose of autonomous navigation and collision avoidance.

  • @user-bt7cd5ye7x
    @user-bt7cd5ye7x 2 года назад

    Can you please tell me what version of tensorflow you are using?

  • @Meskalin_
    @Meskalin_ 5 лет назад

    Exited for this!

  • @liveleaky7571
    @liveleaky7571 5 лет назад +1

    Can you try out the LGSVL simulator?

  • @surajgahatraj4140
    @surajgahatraj4140 5 лет назад +1

    Thank you for sharing! Due to his guy i m a Pythonista

  • @tx6723
    @tx6723 5 лет назад

    Maybe look into making videos using vrep robotics simulator with python and keras,opencv? I’ve been wanting to learn it but could appreciate more tutorials existing for it on the internet and it looks really interesting and fun

  • @zejuqiu4060
    @zejuqiu4060 5 лет назад

    I downloaded carla 0.9.5 in windows, but i i try to run a PythonAPI examples eg dynamic_weather. It did not work because of those following errors.
    Traceback (most recent call last):
    File "dynamic_weather.py", line 28, in
    import carla
    File "..\carla\dist\carla-0.9.5-py3.7-win-amd64.egg\carla\__init__.py", line 8, in
    File "..\carla\dist\carla-0.9.5-py3.7-win-amd64.egg\carla\libcarla.py", line 7, in
    File "..\carla\dist\carla-0.9.5-py3.7-win-amd64.egg\carla\libcarla.py", line 6, in __bootstrap__
    File "C:\Users\zejuq\AppData\Local\Programs\Python\Python37-32\lib\imp.py", line 342, in load_dynamic
    return _load(spec)
    ImportError: DLL load failed: %1 ist keine zulässige Win32-Anwendung.
    Do you know what is wrong with it? My Python version is 3.7.4 the latest one.
    Thanks

  • @ThomasPlaysTheGames
    @ThomasPlaysTheGames 5 лет назад +1

    I wonder how hard it would be to have Circuit of the Americas allow Charles/a NN to drive even a junker on track.
    I mean - it'd be a better place to test compared to a public street and the track has plenty of diversity.

    • @sentdex
      @sentdex  5 лет назад +1

      Well, probably would rent a diff track. COTA is $50K a day :P

  • @Alinear285
    @Alinear285 4 года назад

    When I try to run the python code I get the error ImportError: DLL load failed: %1 is not a valid Win32 application

    • @Alinear285
      @Alinear285 4 года назад

      @Smit Savaliya exactly

  • @wktodd
    @wktodd 5 лет назад +1

    Harrison, can you give us a quick run down about the hardware you are using ? (gpus cpu ram etc.)

  • @theman89tuff1
    @theman89tuff1 5 лет назад

    I love your videos man

  • @russstudio1194
    @russstudio1194 4 года назад +1

    just starting out with Carla, so far it's pretty cool! Thanks Harrison! Having a slight problem with the manual_control.py as it doesn't recognize the installed Pygame saying: "No module named 'pygame', any suggestions?

    • @ai비서
      @ai비서 4 года назад

      me too...;

    • @thecube0293
      @thecube0293 2 года назад

      search up a git download link for pygame

  • @info781
    @info781 4 года назад +1

    Thanks, I was trying to get it to run with python 3.8 but was giving me an errror, version 3.7 did the trick.

  • @malekbezzina6267
    @malekbezzina6267 3 года назад

    thank you for this amazing video, i would love it if you tried monoDrive too !

  • @technobulls5668
    @technobulls5668 4 года назад

    How did u copy the address of the file?

  • @emilyzhang2099
    @emilyzhang2099 4 года назад

    Only changing the view angle on the same location by clicking the left mouse button or the right mouse button can be done. I want to expand the viewable range by scrolling up the mouse I guess, but it can’t work.

  • @machwave540
    @machwave540 5 лет назад

    Thank you so much

  • @thomascardin2946
    @thomascardin2946 5 лет назад

    Amazing video!

  • @hilmiguven281
    @hilmiguven281 4 года назад

    Traceback (most recent call last):
    File "manual_control.py", line 1124, in
    main()
    File "manual_control.py", line 1116, in main
    game_loop(args)
    File "manual_control.py", line 1032, in game_loop
    world = World(client.get_world(), hud, args)
    RuntimeError: time-out of 2000ms while waiting for the simulator, make sure the simulator is ready and connected to 127.0.0.1:2000
    I got this error when I tried to run manual_control.py. Can anybody say why I got this error and how to fix it?

    • @7c7c7
      @7c7c7 3 года назад

      If Carla was running fine behind, maybe try to set the timeout to 4-5 seconds. It's the delay that carla allows for a client to connect. If the connection isn't completed by that time, it returns an error

  • @alicemystery5520
    @alicemystery5520 4 года назад

    I was wondering if you could use the cameras for the car you drive to map out the entire sim? Then the car could supposedly learn which way it could safely drive as well as find top speeds.

  • @hafsamsaaf232
    @hafsamsaaf232 4 года назад

    great job can u please tell what the version of sublime text u have and could you please post a tutorial on object detection using Opencv in Carla Simulator?

  • @jayantgothel1949
    @jayantgothel1949 5 лет назад

    Sir you are really amazing

  • @spherevsgravity
    @spherevsgravity 5 лет назад +1

    Men !! 2.5 gb in 2mn !
    What speed do you have ?

  • @utkaaaaa
    @utkaaaaa 4 года назад

    Dude sentdex, please tell if you had package version incompatibility issues before starting this video capturing ?!?!?!

  • @sifiso5055
    @sifiso5055 5 лет назад +1

    Awesome Video

  • @smccrode
    @smccrode 5 лет назад +1

    Where's the !boost feature?!

  • @khizargaming5809
    @khizargaming5809 4 года назад

    wich python version are you using

  • @robionixtechnologies
    @robionixtechnologies 4 года назад

    hi, i'm facing this error "RuntimeError: time-out of 2000ms while waiting for the simulator, make sure the simulator is ready and connected to localhost:2000", I don't know whats the issue. Please help.

    • @weichen2025
      @weichen2025 4 года назад

      Me, too. Somebody knows?

    • @MyAndrey98
      @MyAndrey98 4 года назад

      You have to start the Carla.exe (it's working as a server) and only after it's on, you can run py files. You're welcome!

    • @robionixtechnologies
      @robionixtechnologies 4 года назад

      @@MyAndrey98 i'm already following this but still facing this error

    • @weichen2025
      @weichen2025 4 года назад

      @@robionixtechnologies Well, I got it. When I use a list to store the image, It works. lol~
      github.com/JohnComeon/RL/blob/master/Carla/cw_demo.py

    • @robionixtechnologies
      @robionixtechnologies 4 года назад

      @@weichen2025 can you please explain me how? if its convenient for you, you can add me on wechat

  • @deepanshuvishwakarma316
    @deepanshuvishwakarma316 5 лет назад

    Thank you so much ...

  • @rafeeqalfaqih977
    @rafeeqalfaqih977 5 лет назад

    this is awesome .

  • @tx6723
    @tx6723 5 лет назад

    There’s some libraries that I’ve also wanted to use but never could cuz I never got past the installation :(

  • @qasimimtiaz114
    @qasimimtiaz114 4 года назад

    is 1650 GPU enough for this project?