First of all, I'm not sure if this post should be here, so don't blame me, I'll change it if it's wrong. I want to automate the super Gnat to have autopilot, among other things and vehicles, and I can't figure out how to do it. I know some C++ so I thought to send the data to an Arduino and then send data back, and also Lua, so I thought about a mod, but I can't find any and I don't know how to do them. I've read about BeamNG.tech, but I don't know how to set it up. Can someone give me some help? I can't afford buying real vehicles to try things on them, so BeamNG is my only option. Btw, I use GMT+2 timezone, so I may take a while to answer.
I have no idea what a super gnat is but as for the communication, you will need to make a mod that can read/send data from and to localhostort and then with your arduino, you'll just do the same thing there. As for making a mod, check out KissMP or just look for any other mod that's not a vehicle or UI app