You are browsing as a guest. Sign up (or log in) to start making projects!

Le Mans Ultimate team bot

  • 2 Devlogs
  • 6 Total hours

My goal is to make a bot, that makes it easier for teamates to see whats going on in the race, state of the race

Open comments for this post

5h 15m 26s logged

After
getting to know the library a bit I hooked up the sector times, and made it
collect the last sectors of the last 5 laps, and made it send the data to an
LLM through OpenRouter which tells me where I’m losing time. I added a  TTS with a filter to make it a bit more
belivable but that didn’t really work out. Still it was kinda cool to hear that
info automaticly

After that
I wanted to build a spotter — like “car left” “car right”
when someone’s alongside. this is where things got painful the shared memory
gives you every car’s position and orientation but figuring out the orientation
matrix with ZERO documentation was rough.

eventually
I looked at how TinyPedal (another open source project using the same system)
handles it, adopted their approach, added debouncing so it doesn’t scream LEFT
20 times a second. I tried everything but I couldn’t get it quite right so I
used ai to help me but I didn’t want  it
to write the code for, just to point me in the right direction and it was still
broken. So after a fair bit of playing around I finally got it sort of working

so current
state: I have an AI race engineer AND (kind of) a spotter… but neither is
connected to discord yet which is supposed to be the whole point. but I
actually understand the shared memory system now which was the goal. The
discord bot part is next ^_^

 

0
0
5
Open comments for this post

59m 44s logged

Soooo I play a lot of le mans ultimate, its an world endurance championship’s official game and I wanted to build something around it and I’ve came up with an idea to (maybe) make a discord bot that would give info about the state of the race to the rest of your team (in this game many players including me run endurance events which can last up to 24h so ussualy you run them with a group of ppl).

I’ve found this really nice repository called pyLMUSharedMemory it’s an open-source Python wrapper meant to hook into Le Mans Ultimate’s built-in shared memory interface the only problem was the lack of ducumentation…

so for this session I was mostly working on understanding how the library even works, which proved to be quite difficult since I dont have that much experience. so I decided to do something as simple as reading the car’s rpm ^_^.

0
0
42

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…