I Made a Self Driving FPV RC Car

  Рет қаралды 309,152

Steven Gong

Steven Gong

Жыл бұрын

Over the past 4 months, I built a self-driving racing car, 1/10th scale, that is capable of racing over 40mph in my university's hallways. I implemented this using SLAM, particle filters, and pure pursuit algorithms. Hope you enjoy it!
Part 2: • I Made a Self Driving ...
The original build is called F1TENTH, you can find more information here f1tenth.org/ if you want to build one yourself. They organize a few competitions a year, and I'm planning on participating in one in the upcoming months.
Also, I'm looking for a Fall 2023 software internship, so if you're hiring, would love to get in touch. I built this entire self-driving car myself, imagine what I can do for your company 👀
Link to my code: github.com/CL2-UWaterloo/f1te...
My notes: stevengong.co/notes/F1TENTH
Credits
Thank you to Venkat’s group at Clemson University for providing the F1TENTH vehicle: sites.google.com/view/armlab-...
My professor’s lab: yashpant.github.io/group/
----------
MY SOCIALS
📸 Instagram: / stevengongg
📱 Twitter: / stevengongg
----------
Subscribers at the time of uploading: 541
----------
ABOUT ME
I'm Steven, a university student currently studying Software Engineering at the University of Waterloo. I started this KZbin channel to share my love for learning and engineering with the world. I am passionate about everything ranging from electronics, CAD, control theory, programming, 3D printing, physics, to design. Consider subscribing if you would like to follow my journey and learn alongside me as a student of the universe!
#stevengong #fpv #selfdrivingcar #fpvracing #rccar

Пікірлер: 454
@DVDplayerz
@DVDplayerz Жыл бұрын
I like the idea of "Quiet study space" with an RC car zooming by blasting a laser and smashing into most walls 7:10
@chips7049
@chips7049 Жыл бұрын
bro the rc car is ding dong diching💀💀
@punchyscyllarus565
@punchyscyllarus565 Жыл бұрын
"stephen please"
@iftekharuddin
@iftekharuddin Жыл бұрын
lmao
@SianaGearz
@SianaGearz Жыл бұрын
Well that's perfect because people in that space can't complain, because they have to stay silent in there.
@Teleportcamera
@Teleportcamera Жыл бұрын
02:12 you perfectly captured and displayed that feeling that a programmer feels when his super complicated code actually works
@NopeSecret
@NopeSecret Жыл бұрын
Code Monkey get up get coffee Code Monkey go to job Code Monkey have boring meeting With boring manager Rob Rob say Code Monkey very dilligent But his output stink His code not “functional” or “elegant” What do Code Monkey think? Code Monkey think maybe manager want to write god damned login page himself Code Monkey not say it out loud Code Monkey not crazy, just proud Code Monkey like Fritos Code Monkey like Tab and Mountain Dew Code Monkey very simple man With big warm fuzzy secret heart: Code Monkey like you Code Monkey hang around at front desk Tell you sweater look nice Code Monkey offer buy you soda Bring you cup, bring you ice You say no thank you for the soda cause Soda make you fat Anyway you busy with the telephone No time for chat Code Monkey have long walk back to cubicle he sit down pretend to work Code Monkey not thinking so straight Code Monkey not feeling so great Code Monkey like Fritos Code Monkey like Tab and Mountain Dew Code Monkey very simple man With big warm fuzzy secret heart: Code Monkey like you Code Monkey like you a lot Code Monkey have every reason To get out this place Code Monkey just keep on working See your soft pretty face Much rather wake up, eat a coffee cake Take bath, take nap This job “fulfilling in creative way” Such a load of crap Code Monkey think someday he have everything even pretty girl like you Code Monkey just waiting for now Code Monkey say someday, somehow Code Monkey like Fritos Code Monkey like Tab and Mountain Dew Code Monkey very simple man With big warm fuzzy secret heart: Code Monkey like you ^ Teenage me programming all night listening to this on repeat making proxy hacks using .NET to abuse MMOS and make $$$$ ^ xD Oh the early 2000s ♥
@lenn15
@lenn15 Жыл бұрын
I'm a full time programmer and I'm this excited even when easy code works that didn't work for a long time bc I was stupid.
@SVT000
@SVT000 Жыл бұрын
Facts
@SamCris
@SamCris Жыл бұрын
I just got this feeling a minute ago. Always a very satisfying feeling
@fmobus
@fmobus Жыл бұрын
The RC car knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the RC car from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is. Consequently, the position where it is, is now the position that it wasn't, and it follows that the position that it was, is now the position that it isn't.
@val-dj8qt
@val-dj8qt Жыл бұрын
Your a genius man
@HeavyDuty240
@HeavyDuty240 Жыл бұрын
But because of the coder made a small mistake it does this whole thing backwards
@highqualityorangejuice420
@highqualityorangejuice420 Жыл бұрын
​@val are you sarcastic cos I hope so
@realgsdontdie5095
@realgsdontdie5095 Жыл бұрын
It knows where it is because that's where it is.
@josephheath4417
@josephheath4417 Жыл бұрын
@@HeavyDuty240 😢
@nathanaelvance4046
@nathanaelvance4046 Жыл бұрын
Hey, quick suggestion! I noticed the vehicle was tending to take corners too fast, resulting in it having to realign itself back onto the determined path on the next straight. To improve efficiency on your turns I would add a deceleration/ braking element to that portion of the path. By determining the maximum velocity your vehicle can take that 180 degree turn at without skidding or flipping (Ekin, centrifugal < Fm, gravitational Force on vehicle?) then you can create a brake slope starting at the point of highest centrifugal force (1/4 PI of turn circle, as the 180 degree turn is a 1/2 PI and you want the center of this section as it is the outer most point of the turn) and then setting up brake points along the run-up to the turn that will reach your target speed (the maximum achievable corner speed) by the time the car hits that outer most point in the turn. Then you could even reverse this brake slope on the tail end of the turn into an acceleration gradient returning the vehicle to it’s top speed for the straightaway. Just a thought though, I have no experience in any of this and I don’t know if this is even a feasible solution, just thought I’d throw the idea out there in case it’s worth anything!
@hippopotamus86
@hippopotamus86 Жыл бұрын
6:00, Love that the clock is just in time seek mode where it turns like that until it hits the correct time (radio controlled). Albeit sped up a bit.
@BeeeHonest
@BeeeHonest Жыл бұрын
You are brilliant. Keep up the great work! PS love your recording "studio"!
@dylanopperman6037
@dylanopperman6037 Жыл бұрын
Would love to see how you built and programmed everything.
@hasanthesyrian_
@hasanthesyrian_ Жыл бұрын
The vehicle is prebuilt from what I understood. It includes a LiDAR scanner and an NVIDIA Jetson Nano microprocessor mounted on it from what I can see. The code is also in the description.
@velotome7205
@velotome7205 Жыл бұрын
From what we can see in the video, he used ROS and some of its software
@leonripa8028
@leonripa8028 Жыл бұрын
@@hasanthesyrian_ looks like jetson xavier nx
@ryansunnnboii7535
@ryansunnnboii7535 Жыл бұрын
I don't want to see that
@MG-pw7jp
@MG-pw7jp Жыл бұрын
As a software development student, I can confirm this guy is leagues ahead of a normal programmer.
@ramblerssafarnaama4181
@ramblerssafarnaama4181 Жыл бұрын
Very nice video and thanks for showing the hallways of UW. It has been some years since I last went there. 👍
@skaramicke
@skaramicke Жыл бұрын
That's awesome! Now make it want to explore unseen parts of the map so it can map whole buildings!
@ptiwaridotin
@ptiwaridotin Жыл бұрын
loved the whole videos, can't wait for more
@talis1063
@talis1063 Жыл бұрын
Did very similar thing with a flying drone for a competition. Covid happened and before the next time, the challenge was removed. Didn't even get to test out my latest ideas because I graduated and left the city. This video brought back the itch.
@st0n3p0ny
@st0n3p0ny Жыл бұрын
Jumps for alternate routes would be cool in a race. All you need is accel/decel to manage orientation. Accelerate brings the front end up, breaking lowers the nose so you can land flat.
@dhonantarogundul1737
@dhonantarogundul1737 Жыл бұрын
I have the same assignment for final project in mobile robots last semester. Great job!
@ParentsandProjects
@ParentsandProjects Жыл бұрын
Impressive! Cool project SG!
@mauriciofreitas9719
@mauriciofreitas9719 Жыл бұрын
Hello, amazing video, congratulations! I'm from Brazil, I work in a research center, I'm starting an auto AGV project and your video was recommended to me on YT. I continue to follow your work. success
@sao_rav
@sao_rav Жыл бұрын
Great man! Great efforts.. like tremendous efforts!!
@DonjiKong
@DonjiKong Жыл бұрын
For part 2, please make both of them update their positions on the same minimap
@QuesoDePalo
@QuesoDePalo Жыл бұрын
Reminds me of my first big EE project on a team at DigiPen in 2003-2004!
@clubcyberia8572
@clubcyberia8572 Жыл бұрын
rc and programming? heck yeah!! as a huge rc enthusiast, i love this! eventually I want to do the same with my rc car.
@prettyboyjesse
@prettyboyjesse Жыл бұрын
Great work man!
@AerialWaviator
@AerialWaviator Жыл бұрын
Great insights into how challenging it is to make an RC car automatous. I noticed is at higher speeds the car seemed to overshoot it’s intended path when cornering. Not sure if this a latency between the car knowing it’s position and when steering response is applied, or something else (like a slippery floor). An easy fix is to base the speed of the car on how straight the upcoming path is, this way it will slow as an expected curve in its path tightens. This should then allow for higher top speed in the straighter sections of the course. Thus an overall faster speed on laps. ;) Look forward to when having multiple cars racing, and all the improvements being worked on!
@stevengongg
@stevengongg Жыл бұрын
yea, it's the slippery floor. Working on a 2nd video using racing lines, hoping to release it soon!
@ilanlee3025
@ilanlee3025 Жыл бұрын
Great vid, immediate subscription
@RossCandler69
@RossCandler69 Жыл бұрын
Very nice keep up the good work
@RC_Ira
@RC_Ira 7 ай бұрын
Amazing robocar! Excellent work!😃👍
@firewater586
@firewater586 Жыл бұрын
This is cool! Subscribed.
@mikesell123
@mikesell123 Жыл бұрын
very awesome speed montage and video! you can go way faster by teaching it to break early, then accelerate once it passes the apex of each turn/corner. maintain the momentum
@ConsultingjoeOnline
@ConsultingjoeOnline Жыл бұрын
Great project and video!
@drewski6843
@drewski6843 Жыл бұрын
Wow, that's awesome. You should develop one for the outdoors to withstand the elements aka a home security system. If it's possible. Great job btw.
@mistakek
@mistakek Жыл бұрын
Thicker shock oils and firmer springs would make it handle better on a smoother surface as that's probably setup for offroad surface. More tweaking to increase some steering would help also. You can tune the car to work better and go around for a faster track time.
@unknowntech7
@unknowntech7 Жыл бұрын
Amazing work!
@rangarajan1636
@rangarajan1636 Жыл бұрын
WOW Just keep up the good work bro!!!!
@Reggiebphoto
@Reggiebphoto Жыл бұрын
Great work! And love the Initial D music at the end, haha.
@bloko3683
@bloko3683 Жыл бұрын
Nice video. I'm waiting for the next one
@rickb06
@rickb06 6 ай бұрын
When you said LIDAR, I thought you said lighter, and immediately I imagined a self driving tank with a flamethrower, haha. I loved your video! With this kind of epic DIY videos, you learn a lot about something you'd likely never learn otherwise and I'm sure it gave you some mad respect for the Tesla FSD developers and what all they do!
@pedapudibhargav
@pedapudibhargav Жыл бұрын
Great work!!!!
@evren.builds
@evren.builds Жыл бұрын
Thanks for sharing the code
@thetastefultoastie6077
@thetastefultoastie6077 Жыл бұрын
Compute the sum of the curvature of the N points ahead of the vehicle. Perhaps extend the lookahead by a factor of the current velocity. Then use the result as an input to a throttle PID feedback control loop. Low curvature should result in a high target velocity, and high curvature in a low target velocity. This should make the vehicle decelerate sharply in anticipation of upcoming corners and keep a tighter racing line. I would compute the curvature like this: let summed_angle be 0 loop 0...N let vector1 be point[index + 1] - point[index] let vector2 be point[index + 2] - point[index] normalize vector1 normalize vector2 let cos_angle be vector1 dot vector2 let angle be inverse cosine of cos_angle let summed_angle be summed_angle + angle end loop return summed_angle
@Cornusse
@Cornusse Жыл бұрын
That insane ! Keep going :)
@mahdizayet4011
@mahdizayet4011 Жыл бұрын
Keep it up bro this is so amazing 🔥🔥🔥🔥
@RelativeWind
@RelativeWind Жыл бұрын
Bruh this channel gonna be huge!!
@mas0n25
@mas0n25 Жыл бұрын
Cant wait to see ur self driving racers!
@LuisYax
@LuisYax Жыл бұрын
great work!
@Kel_Dronie11
@Kel_Dronie11 Жыл бұрын
Omg that's amazing!!
@tigermarcel1997
@tigermarcel1997 Жыл бұрын
man that is super dope
@rainluo4831
@rainluo4831 Жыл бұрын
YES steven so cool. Such role model
@srijitoghosh5566
@srijitoghosh5566 Жыл бұрын
Finally something, I'd been longin' for long... I can't jus' thank ya enough!
@docfr3sh
@docfr3sh Жыл бұрын
so rad! great work. looking forward to the race version 🔥🔥
@MeeKaaH
@MeeKaaH Жыл бұрын
wow so cool, nice job 🤜🤛
@JabiloJoseJ
@JabiloJoseJ Жыл бұрын
wow this is really cool bro !!!!
@Ryan-pm6ht
@Ryan-pm6ht Жыл бұрын
Amazing stuff!
@hfitfxhfhfufgugugu6589
@hfitfxhfhfufgugugu6589 Жыл бұрын
It was indeed very satisfying to watch.
@Blowjin
@Blowjin Жыл бұрын
It's freakin awesome dude!
@sfsfalls2311
@sfsfalls2311 6 ай бұрын
You are Awesome Guy
@-Volvetus
@-Volvetus Жыл бұрын
def needs more views
@johnthompson4011
@johnthompson4011 Ай бұрын
Bro this looks cool Imma try too
@neIgn
@neIgn Жыл бұрын
very good topic. not many people share this automated mapping ros stuff
@scottsrcshop
@scottsrcshop 11 ай бұрын
Very impressive and inspiring stuff. 😮
@jiegao3591
@jiegao3591 Жыл бұрын
the "I still wanted to give you guys a taste of how fast it could go" part reminded me of when I pressed W on my laptop to test the manual driving on my WRO car and it flew into a wall and turned itself off
@PhilippHager-dm5yt
@PhilippHager-dm5yt Жыл бұрын
This would be a great Setup for an AI-Based Driving FPV RC Car. Use a neural Network for the Controller-Points with Attributes like Speed, Brakes and Steering and let it develop with small changes in the Attributes to the wich Evolutionstage gets the best Laptime...
@Lucas.Toledo
@Lucas.Toledo Жыл бұрын
that's so cool man
@kklol07
@kklol07 Жыл бұрын
amazing!
@geepytee
@geepytee Жыл бұрын
Love when KZbin suggests me a UW project on my homepage
@BDEvans
@BDEvans Жыл бұрын
Well done!
@s21aboomar35
@s21aboomar35 Жыл бұрын
Awesome ❤
@mattloulou123123
@mattloulou123123 Жыл бұрын
Nice job Steven
@chaicracker
@chaicracker Жыл бұрын
Epic!
@jeb123
@jeb123 Жыл бұрын
2:52 This music reminded me the FVDisco lol. Nice video btw.
@Ikbeneengeit
@Ikbeneengeit Жыл бұрын
Nice job! Reminds me of late nights at the EE lab :)
@stormriderfpv
@stormriderfpv Жыл бұрын
That's cool!
@robinbrowne5419
@robinbrowne5419 Жыл бұрын
Awesome 👍
@sophieyang2625
@sophieyang2625 Жыл бұрын
THIS IS SO COOOOL
@dimitrimoonlight
@dimitrimoonlight Жыл бұрын
Great job 👍
@NopeSecret
@NopeSecret Жыл бұрын
So essentially you design a vehicle that get inputs which are used to build a virtual environment. You then use this virtual environment to run simulations to train a model which you can apply to your vehicle and it will use the sensors and input methods to rebuild the virtual training environment at runtime allowing it to essentially operate in the real world. That seems like one of the most exciting industries to be getting into especially as someone interested in deep space exploration as AI seems to be the future to long term multi generation exploration missions which are going to become a thing in the not so distant future as we start to apply them to explore the remote ice moons in our solar system like Europa.
@martylawson1638
@martylawson1638 Жыл бұрын
Afik one of the early autonomous cars had a fixed array of future paths (throttle and steering) and picked the one that best fit the desired trajectory.
@aldrickpeter
@aldrickpeter Жыл бұрын
The Eurobeat was just 👌
@kodizhuk
@kodizhuk Жыл бұрын
nice work
@ALXG
@ALXG Жыл бұрын
Very nice! This is a perfect project for Machine Learning. There are youtube videos where ML gets used for race cars in a 2D video game that teaches itself how to drive. Your car can steer itself this is very cool. But it can teach itself how to steer itself. Just an idea for you.
@GrahamHilton-lf5zp
@GrahamHilton-lf5zp Жыл бұрын
Hey, just saw this vid and had a laugh :) It was great. I did something similar for my master's but sadly, not as fast! I am now on a PhD research project on landmark-based nav with these things. It was great to see the enjoyment even when the expected did not happen, and BAM, hello, wall :) Great stuff. What are your next projects?
@ArmanRC
@ArmanRC Жыл бұрын
what a great project using rc cars
@GraveUypo
@GraveUypo Жыл бұрын
even with its super fast time to top speed, it's leave easily one second in those corners. i think it can do those flat out with an actual racing line
@lakimakromedia
@lakimakromedia Жыл бұрын
GJ!!
@ctoxyz
@ctoxyz Жыл бұрын
very cool!
@olleolio3155
@olleolio3155 Жыл бұрын
This video is really well made, keep going like this and you’ll have a million subscribers in no time. Awesome project!
@christopherbryan7470
@christopherbryan7470 Жыл бұрын
He had subscribers in the 2k range and I just refreshed and it’s now in the 3k range, his video quality is superb, it’s just the timing between videos holding him back
@fridofridolin
@fridofridolin Жыл бұрын
@@christopherbryan7470 yep, and now, a week later it's 8.2K subs. A thousand per day, it's really nice to see! Good going, Steven! Also good editing.
@christopherbryan7470
@christopherbryan7470 Жыл бұрын
7 days later, he’s almost at 9k
@eduardsik6850
@eduardsik6850 Жыл бұрын
Imagine, how awesome be, if you make a video series to follow and reproduce the entire process in to different robots.
@doantuyendiy
@doantuyendiy Жыл бұрын
more vid about this project please
@E.Danilov
@E.Danilov Жыл бұрын
Nice!
@PattyLustig
@PattyLustig Жыл бұрын
i would have add that second circle like 3-4m in size that compares the direction of the car to next direction. If that difference is too large it slow the car down. But this already epic and more then i can do.
@CallousCoder
@CallousCoder Жыл бұрын
Very cool achievement! It’s definitely not trivial!❤❤❤
@TechTipsUSA
@TechTipsUSA Жыл бұрын
Could you put a bumper with pressure sensors on the car and tune your algorithm to be More or less carful in a turn depending on if it hit the wall or not?
@junepark1003
@junepark1003 Жыл бұрын
This was so fun to watch. Thank you for the inspiration! By the way, bathrooms, lol
@atifrafique3764
@atifrafique3764 Жыл бұрын
"if the surface was to change , u have to do tuning from start" Sun tzu the art of war
@hnhl.1910
@hnhl.1910 Жыл бұрын
Wao, speed is very fast, I really like it
@markuscook5570
@markuscook5570 Жыл бұрын
Good work.
@oscarzt1652
@oscarzt1652 Жыл бұрын
as its a smooth floor and you had eurobeat playing, try tuning your program so the vehicle drifts around the corners!
@soyilastore4399
@soyilastore4399 Жыл бұрын
nice project
@fadedchicken
@fadedchicken Жыл бұрын
The pause on Soham's face killed me lmaoo
@CenReaperYT.
@CenReaperYT. 5 ай бұрын
You need to count the torque of the steering system and time required to set wheels at a certain angle
@VictorCampos87
@VictorCampos87 Жыл бұрын
1:15 You just captured in film a phenomena that happens with every developer in this planet 🤣
@peter360adventures9
@peter360adventures9 Жыл бұрын
Awesome.
Building the FASTEST Self Driving RC Car
16:01
Steven Gong
Рет қаралды 645 М.
The Fastest Maze-Solving Competition On Earth
25:22
Veritasium
Рет қаралды 19 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 9 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 39 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
Transform Your Hot Wheels into a micro FPV RC Car!
24:37
Max Imagination
Рет қаралды 581 М.
Lego Air Turbine: Generating Power From Thin Air!
12:35
Jamie's Brick Jams
Рет қаралды 861 М.
I RACED My Self-Driving RC Car
23:35
Steven Gong
Рет қаралды 644 М.
How to Make an Autonomous Mapping Robot Using SLAM
5:44
Kai Nakamura
Рет қаралды 13 М.
I built a flying car! (eVTOL)
11:46
Alan Zhang
Рет қаралды 2,9 МЛН
DON’T Fly an RC Plane in the Wind…
9:29
Ice711
Рет қаралды 350 М.
This Car Travels Farther Than You Push It
13:42
Tom Stanton
Рет қаралды 2,6 МЛН
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 598 М.
Building a Self-Driving Go Kart
13:46
Austin Blake
Рет қаралды 256 М.
Flying a Plane Powered by AIR
16:43
Tom Stanton
Рет қаралды 2,8 МЛН
NEW VAMPIRE EPISODE INCOMING 😈
0:27
Alan Chikin Chow
Рет қаралды 4,3 МЛН
Достали существо из под земли
0:29
RICARDO
Рет қаралды 1,1 МЛН
SIUUUU!
0:15
ARGEN
Рет қаралды 1,7 МЛН
Khi em gái tôi đắp mặt nạ || Mask of joy #shorts
0:11
Linh Nhi Shorts
Рет қаралды 3,7 МЛН
Man tries outrunning cops on skateboard
0:10
Frankie Lapenna
Рет қаралды 6 МЛН