Best way to interface a home made cab with OR ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Moze
    New Member
    • Mar 2020
    • 1

    #1

    Best way to interface a home made cab with OR ?

    Hi,
    I build a a home made cab console, currently controlling a model railroad. The cab is a mix of different electric loco of national french railroad. It include buttons, levelers, dial, meters, lights and sticks. Its run with several arduino and control models digital box by CAN bus. Actually is more than just a cab but include also simulation of brakes, pressures and so.
    202942_cropped.jpg
    Now I would like to drop simulation parts and interface it with a PC train simulator. I choose OR as it is a freeware and sources are available.
    I would like to perform what is done in the cab rendering regarding control of the train and feedback from simulation for pressure, speed, lights..... and just keep the PC monitor for outside cab view.

    Have you an idea what is the best way to get it : action control and dial/gauge feedback ? Is there already a standard way ? I thought for control to use keyboard simulation and joystick simulation but some part action are toggle on keyboard and leveler in reality. And what about the feedback to consol.
    I saw two ways : one is to hardcode using sources an interface to it. Second is to use Multiplayer interface but I'm not sure I can do everything.
    Thanks for any feedback.
    PS: The photo is not actual but in progress (no power control and so)
Working...