Well, my coding is pretty much limited to arduino stuff, and some vbasic, but I can probably figure it out..
Initially what I was thinking would work best was if there was a way to output the lat/lon of a road, the all I would provide is speed (and maybe a lookup of the lat/lon). That way it will auto-track on the road, and the speed is all I am doing with the bike.
However, maybe I could modify my bike setup to include a method for turning. sensor on the handlebar that will measure it turning, or some allowance for slight lean and measurement therein.
That would almost be easier to code, as then I would not have to find a way to import Lat/Lon of various roads that I create. (Unless there is a way to just make the camera stick to the center of a road)
Going a step further, I could probably find a way to export the pitch of the terrain from outerra, then I could feed that into the arduino and have it set the resistance on the trainer. That would be taking this quite a bit further in complexity of course..