Programming Autonomous self-driving cars with Carla and Python

Поділитися
Вставка
  • Опубліковано 15 вер 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.

  • @BrandonJacobson
    @BrandonJacobson 5 років тому +7

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

  • @sushanbastola947
    @sushanbastola947 5 років тому +110

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

  • @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

  • @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.

  • @carterbabin6867
    @carterbabin6867 5 років тому +12

    Another AMAZING video! Thanks for sharing!

  • @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 !

  • @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

  • @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.

  • @aravinddoss4127
    @aravinddoss4127 5 років тому

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

  • @AhadCove
    @AhadCove 5 років тому +1

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

  • @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

  • @zhangkin7896
    @zhangkin7896 4 роки тому +1

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

  • @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.

  • @thoran6279
    @thoran6279 5 років тому

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

  • @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

  • @Nova-Rift
    @Nova-Rift 5 років тому

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

  • @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

  • @vman049
    @vman049 5 років тому

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

  • @andreydev2132
    @andreydev2132 5 років тому +2

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

  • @mariop7440
    @mariop7440 5 років тому +60

    They should make something with BeamNG Drive

    • @franeklubi
      @franeklubi 5 років тому +3

      YES, GOD THAT WOULD BE AWESOME :D

  • @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 ;)

  • @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 :)

  • @tirthpatel6268
    @tirthpatel6268 5 років тому

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

  • @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...

  • @mohammadhatoum
    @mohammadhatoum 5 років тому

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

  • @rogermichou8654
    @rogermichou8654 Рік тому

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

  • @Kiwinov
    @Kiwinov 5 років тому +3

    "1 week ago", the perks are just amazing

  • @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

  • @TheMixflow
    @TheMixflow 5 років тому

    great moment for a sentdex video :D

  • @sifatmd
    @sifatmd 5 років тому +2

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

  • @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.

  • @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

  • @kks2105
    @kks2105 5 років тому

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

  • @godswillotto5348
    @godswillotto5348 4 роки тому

    thanks for the series

  • @AndresPerez-dn2rf
    @AndresPerez-dn2rf 5 років тому

    Gracias, saludos from Mexico!!

  • @Shah_Khan
    @Shah_Khan 4 роки тому

    Thanks a lot for this tutorial series

    • @sentdex
      @sentdex  4 роки тому +1

      Happy to have made it!

  • @aravindsuresh8157
    @aravindsuresh8157 5 років тому

    Why is sentdex so awesome!

  • @gabriel1991
    @gabriel1991 5 років тому +1

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

  • @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

  • @noobshady
    @noobshady 5 років тому

    very nice tutorial and inspiring

  • @Meskalin_
    @Meskalin_ 5 років тому

    Exited for this!

  • @pab1126
    @pab1126 4 роки тому

    Love your videos man!

  • @wktodd
    @wktodd 5 років тому +1

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

  • @liveleaky7571
    @liveleaky7571 5 років тому +1

    Can you try out the LGSVL simulator?

  • @malekbezzina6267
    @malekbezzina6267 3 роки тому

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

  • @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

  • @surajgahatraj4140
    @surajgahatraj4140 5 років тому +1

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

  • @FlorianLinscheid
    @FlorianLinscheid 5 років тому

    That looks very promising

  • @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.

  • @user-rd3el7pw9g
    @user-rd3el7pw9g Рік тому

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

  • @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

  • @MostafaSameer_2015
    @MostafaSameer_2015 11 місяців тому

    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.

  • @giorgianakidze8387
    @giorgianakidze8387 5 років тому +1

    UA-cam's celebrating your new video and it's drunk. Showing me that comments were written a week ago, lol.
    I have correct date & time on my phone, though.

    • @imraff
      @imraff 5 років тому +1

      Videos been available to members for a week.

    • @YeeLeeHaw
      @YeeLeeHaw 5 років тому

      His members gets to see the videos before everyone else.

    • @giorgianakidze8387
      @giorgianakidze8387 5 років тому

      Oops, my bad.

  • @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

  • @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.

  • @Codingskills-ne2lh
    @Codingskills-ne2lh 3 місяці тому

    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?

  • @thomascardin2946
    @thomascardin2946 5 років тому

    Amazing video!

  • @theman89tuff1
    @theman89tuff1 5 років тому

    I love your videos man

  • @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?

  • @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

  • @machwave540
    @machwave540 5 років тому

    Thank you so much

  • @zhangkin7896
    @zhangkin7896 3 роки тому

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

  • @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.

  • @pranavnatekar4183
    @pranavnatekar4183 5 років тому +2

    Dude, sentdex, you promised me to make a video on GANs.....plox make a one!!

    • @sentdex
      @sentdex  5 років тому +2

      I will at some point. I promise. (tm)

  • @sifiso5055
    @sifiso5055 5 років тому +1

    Awesome Video

  • @Alistair
    @Alistair 3 роки тому

    manual transmission mode would be good for drifting and stuff like that

  • @jordanhall1136
    @jordanhall1136 5 років тому

    Hey, this looks like a decent area to experiment with inverse reinforcement learning agents. There are loads of papers online that are okay to read through. Let me know what you think.

  • @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 ?

  • @manojpai83
    @manojpai83 4 роки тому

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

  • @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

  • @matthewao
    @matthewao 5 років тому

    Are you going to do a series on this? Please do!

  • @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

  • @utkaaaaa
    @utkaaaaa 4 роки тому

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

  • @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.

  • @deepanshuvishwakarma316
    @deepanshuvishwakarma316 5 років тому

    Thank you so much ...

  • @allenmu5200
    @allenmu5200 4 роки тому +1

    pretty good!!!!!

  • @tarat.techhh
    @tarat.techhh 4 роки тому

    bam u r the best

  • @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

  • @rafeeqalfaqih977
    @rafeeqalfaqih977 5 років тому

    this is awesome .

  • @daves.software
    @daves.software 4 роки тому

    You might look into using WSL2 for running Linux versions of applications

  • @codewithlenny
    @codewithlenny 5 років тому

    Where do you get those mugs? Shark, Burger, what's next??🎩🎩😂😂

    • @sentdex
      @sentdex  5 років тому +1

      Lots of crafty stores that my wife drags me into have interesting mugs, or just on amazon.

  • @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.

  • @meganoob9281
    @meganoob9281 5 років тому

    Nice stuff man

  • @IamlegendJR1
    @IamlegendJR1 5 років тому +7

    I'm going to be disappointed if you don't train a model on CARLA and then use the Nvidia Jetson Nano to build a mini self driving car.

    • @zaednovideo
      @zaednovideo 5 років тому

      or a Jetson XAVIER with a big beast of a car, much like 007 minus the phone controls!

  • @aminmajidi4902
    @aminmajidi4902 20 днів тому

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

  • @prashantmeti7986
    @prashantmeti7986 11 місяців тому

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

  • @oshotal8785
    @oshotal8785 4 роки тому

    that's cool

  • @bios3406
    @bios3406 Рік тому

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

  • @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!

  • @vishram2997
    @vishram2997 4 роки тому

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

  • @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

  • @Stinosko
    @Stinosko 5 років тому +4

    Is that a challenge? Write the most inefficient game ever? :D

  • @Maisonier
    @Maisonier 5 років тому

    great video! subscribed ...