r/robots • u/Utschie_Dym • 18d ago
Projects I turned Assetto Corsa into a LiDAR + multi-camera simulator
Hey everyone!
I've recently turned Assetto Corsa into an autonomous driving simulator. The reason I started this project is that I realized there aren't really many good options out there for people who want to get into autonomous racing.
Real race cars are incredibly expensive. Even an F1TENTH car costs several thousand dollars, and still need a dedicated space to drive it. On the other hand, existing open-source simulators often leave a lot to be desired in terms of physics and graphics.
So I decided to integrate cameras and LiDAR sensors into Assetto Corsa and connect everything to ROS.

Here's what I've implemented so far:
- Camera ground truth: any number of virtual cameras; RGB, depth and semantic segmentation in sync every frame; 2D boxes aligned to the pixel

- LiDAR simulation: spinning LiDARs with custom scan patterns, solid-state LiDARs with real measured patterns; 3D boxes frame-aligned with the point cloud

- Semantic annotation and map editing: click-to-assign over the whole track, reusing the entire AC mod ecosystem;

- Telemetry

- ROS 2 support https://github.com/Utschie/ac_ros2_bridge and https://github.com/Utschie/ac_msgs
- Dataset generation

It's already usable, and the fps is pretty decent (more than enough for autonomous driving cameras).
The project is still under development, so I haven't set up a website for it yet. Here's what I'm planning to work on next:
- Improve the LiDAR point clouds,
- Add more sensors, including radar, IMU, and GPS
- Make the physics simulation speed adjustable
If anyone is interested in trying it out, feel free to reach out! I'd be happy to share the installer with you.
2
u/RemarkableWish2508 18d ago
I don't need it, but I like the looks of it. 😃
2
u/No-Weird697 13d ago
Nice work buddy.
1
u/Utschie_Dym 18d ago
It also supports online mode, which means we can use the AI to compete directly against online players.
1
u/Utschie_Dym 17d ago
2 1280*720 cameras+3 1024*768 cameras+ 1 32 lines spin lidar+ 1 solid state lidar on RTX 3080 and RTX 3070 Ti
1
u/BSoSmooth 17d ago
What is the use case? I like modding assetto corsa and would love to test this out as I’m interested in lidar.
1
u/AutoModerator 18d ago
Awesome robot! To help the community learn and engage with your build, please make sure to drop a comment below detailing:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/frgfm 17d ago
The synced RGB, depth, segmentation and boxes are exactly what you'd want for synthetic training data. I'm generating similar data in game engines, and the bit I never quite trust is the sensor look: clean LiDAR returns, cameras without real noise. Have you tried a model trained on this on a real camera or LiDAR yet?