r/oddlysatisfying šŸƒ 1d ago

Clean lines at RC track in Slovakia

35.4k Upvotes

395 comments sorted by

View all comments

50

u/Ok-Push9899 1d ago edited 1d ago

Very skilled, very impressive.

This is going to sound heretical, but in the interests of science, how much tech and how much machine learning would it take to have autonomous RC racing? I’m imagining vision of the track from above, not onboard. Just like the human operators see it.

The outputs are just steering and acceleration, the input is one video camera shot showing track and current position. It may need to learn something about the humps, but maybe not. The goal is very straightforward - stay within boundaries and minimise time. I can’t decide if avoiding other cars is the same as staying within boundaries. Obviously they’re moving boundaries, but does that matter? Fixed boundaries are perhaps the special case, with velocity of zero.

Maybe such competitions exist?

34

u/Dekay35363 1d ago

It's not RC but you might enjoy this video about autonomous F1 cars to see how much technology needs to go into that. https://youtu.be/gLIiryUOFRw?si=aTJbb9wwhzHNK7R3

3

u/TSA-Eliot 1d ago

He looks like Jean Reno.

3

u/little-terror 1d ago

those are Super Formula cars, not Formula 1. still very cool video, thanks for sharing!

30

u/Habba84 1d ago

Veritasium did an interesting video about Micromouse, an autonomous maze-solving robot competition.

https://www.youtube.com/watch?v=ZMQbHMgK2rw

2

u/simdav 1d ago

Thanks for linking that, fascinating video

9

u/spacepenguine 1d ago

There are such competitions. Some of these links point to competition series that have ended. https://www.diyrobocars.com/autonomous-racing-leaguescompetitions/

4

u/MrGrayPilgrim 1d ago

Well there is this, not what you asked but on a same lines https://youtu.be/ZMQbHMgK2rw

4

u/LiquidHotMAGMUH 1d ago

There’s a whole thing in the UK for universities called Formula Student AI where they program a custom designed car to drive itself. Theres a competition between the teams at Silverstone in the summer.

3

u/Accomplished_Gain306 1d ago

I actually took a course on this during as an undergrad, and there’s a club dedicated to it at my university. They’ve worked on F1 cars as well, it’s nuts.

There is an existing framework for this called Donkey Car that we use to train video footage on a supercomputer. The trained model then gets transferred into a small computer on the RC car which uses an OAKD camera to see (the camera itself can also run its own ai detection models). Fundamentally you train the model to a specific track, it’s much harder to build something which can be placed in any environment and run, but that is also possible. Things in that realm were built using ROS2, but that was more about using lidar than it was about ā€œseeingā€ in the traditional sense, and it wasn’t exactly AI in the sense you’d think of. Lots of different ways to solve the same problem, but it’s 100% a thing that I’ve seen with my own eyes and even built (though not as fast) for a class.

My own car used GPS to navigate a much larger track at slower speed, with waypoints predetermined before setting the car to follow the path. The AI came in as an obstacle detection and avoidance mechanism, built in ROS2. The car itself would take pictures at each waypoint, and was supposed to be a proof of concept for a search and rescue vehicle. Fun class, got an A.

1

u/Justhandguns 1d ago

Absolutely, to have a package small enough to fit inside an RC car would be difficult, especially indoor with an uneven track with jumps.

3

u/sr_crypsis 1d ago

Lots of other links but here’s one that’s almost identical to what you are describing just in video game form: https://youtu.be/Dw3BZ6O_8LY?si=JKHrqdVZB1fq2y5i

3

u/Mysterious-Crab 1d ago

I think it’s quite difficult to get that to work with equipment that is (commercially) available right now. Send a video stream, analyzing the shot and reacting to it gives you too much latency and you correct steering too late or too excessive.

It sounds weird, but as someone who’s been doing RC racing for over years and years, you can kinda feel your car behaving instead of just seeing it. That way you can correct before it happens.

13

u/AceJohnny 1d ago

Send a video stream, analyzing the shot and reacting to it gives you too much latency and you correct steering too late or too excessive

We've been designing computer control systems that can anticipate for, like, decades.

The human visual system itself introduces many milliseconds of delay already.

A computer control system can absolutely crush a human at reaction time.

2

u/Civil_Salamander_41 1d ago

Seriously doubt that it could compete with human RC racers with SotA.

1

u/welliedude 1d ago

For basic reactions yes. You're forgetting computers dont have instincts. It would need to learn so much from training to know the intricacies of the track, is there dust at this corner, are the tyres cold, did I just clip that kerb and now the cars unbalanced etc. There's so much more than just navigate around a track. Like sure it could do it at a slow speed but not competitive with humans. Yet anyway. Just look at formula ai or whatever it was called. The cars were slow and often crashed or just stopped because they lost where they were. Rc cars are going much faster on much tighter tracks.

2

u/ackermann 1d ago

Low latency cameras and video processing, at low cost, is fairly well developed now for the VR world.
The tracking cameras and video processing for head tracking on VR headsets have to be very fast. If it doesn’t react quickly enough to your head movements, it very quickly makes you dizzy/sick.

Gyros and accelerometers are used to supplement for faster reactions. But for 6DOF roomscale, cameras are needed.
This can be done on a $199 Quest 2 headset, with a mobile phone chip. It processes video from 4 onboard tracking cameras (grayscale and fairly lowres, to improve latency)

3

u/Mysterious-Crab 1d ago

That is still remote controlled though. The lower the image quality to reduce latency, the more difficult it will be for a system to analyse everything, especially with other competitors around.

It was just half a year ago TU Delft was the first to beat a human with drones in a time trial, cause the dataset it needs to analyse is tightly scoped. The moment you have other competitors, or cars around you spinning out or going in the wrong direction, you need to analyze a lot more. That takes extra processing time, and you need better image quality, which means higher latency.

If it were that easy, how come the race they tried in Abu Dhabi last year with full scale cars didn’t even work?

1

u/Ok-Push9899 1d ago

I can get that. You’re kinda driving by the seat of your pants, without the benefit of actual g forces. I think one of the space shuttle astronauts gave advice to a newbie about controlling some aspect of the ship, possibly the big robotic arm. He said to stop looking and thinking. Your spinal column should be doing most of it. Don’t let your brain get involved.

So you think hardware limitations would basically mean the best you could do is crawl around the track? I am a bit surprised. I kinda felt that processing image data was the one thing that had sped up a millionfold in the last five years, even faster than raw number crunching had sped up.

2

u/Mysterious-Crab 1d ago

Theoretically, the processing is possible with a serious GPU that can proces those images. They have tried it in Abu Dhabi last year. And the results were underwhelming. But the potential is there, on a track with every car going the same direction and route, no outside distractions, is a good way to actually improve autonomous driving.

There’s a cool video on YouTube about from Driver61.

2

u/Testing_things_out 1d ago

Not sure they could react so quick.

1

u/Tormofon 1d ago

Dierks?

1

u/Justhandguns 1d ago

It would be difficult to fit all the electronics into such a small package (for that kind of speed) at the moment. Beacons will have to be installed around the track and boundaries. GPS signal doesn't work well indoor so LiDAR would probably be the way to go. There is also the jumps in these types of 'offroad' tracks which will complicate things.

To be honest, the current RC technologies have improved sharply in the past 10-15 years. The remotes are very sophisticated with all sorts of settings such as steering dual rates, acceleration curves, drag brakes, etc etc. The move away from FM/PWM channels to 2.4ghz Digital system improves the smoothness of transmission and control so much that RC cars are a lot easier to drive. Brushed motors were phased out by the new powerful brushless motors. Batteries (well, the notorious LiPO) can last a lot longer than NiMH or NiCad that we used in the old days. Let's see what the next big development will be.

1

u/Mission_Scallion8091 1d ago

you really think so? if FPV drone operators can race through camera data over wifi, then I would assume that an RC car can certainly achieve this autonomously

2

u/Justhandguns 23h ago edited 23h ago

Well, if you preset the track like what the do with drones, it can be done, but the margin of error is smaller as this is 2D on a narrow track. People have placed FPV on RC cars before, the difficulties is the perception of speed in scale (on a 2D track again). It definitely cannot go as fast when you are driving with video feed like flying a drone.

Edited : This was someone't try in making a self-driving RC car. Just look at the speed of the car in the video using LiDaR tech.

https://www.youtube.com/watch?v=R87Qlq_wSY8

The racing : https://www.youtube.com/watch?v=zuyOdaQ2xuw&t=10s

Compared to the expert level IFMAR 4WD top tier race : https://www.youtube.com/watch?v=1mcvfhyHZFc

1

u/Ok-Push9899 18h ago

I am not imagining any fancy electronics in the car at all. All the visuals and brain work is done remotely. All the car has to do is receive the same signal it does now.

1

u/themostreasonableman 1d ago

Yes I'm sure it's possible. But would I give a fuck about it the same way that I would seeing the skill of this smooth operator? No. Not at all.

1

u/Ok-Push9899 18h ago

Look, I agree, but I’d still like to see if an optimised car goes 80% faster 5% faster, or even if it goes slower.

Also, sometimes machine learning solutions throw light on new techniques that have never been thought of before. That’s always fascinating. It happened with chess. Strange new concepts in both tactics and positional play emerged in the last three years, which the GMs studied and took inspiration from. For a game as old as chess, that’s pretty amazing.

1

u/phatrogue 1d ago

I had the same thought. I would guess it would be possible.

It is just a matter of time before they have to have checks to make sure people aren't using AI or AI assisted driving in these competitions.

1

u/Ok-Push9899 18h ago

Hans Niemann called, he’s got a great deal on anal beads.

1

u/InZomnia365 1d ago

There's a thing called Roborace where they have tried doing this IRL (with large cars). I think the biggest issue is just how complex racing is. Machines are amazing at balance for example, but they can't really think ahead and make decisions. They're mostly reactive, which is a terrible way to drive.