Hello everyone
I wanted to test the possibility of connecting a moving platform to the game. Is it possible to program something so that when I move the joystick the platform will also move according to the direction of the joystick?
Sure, joysticks are very often used to control the motion of moving platforms.
How do I do this in the DCS game? With Arduino?
Pick an Arduino board.
Design the hardware.
Write the code.
What does "DCS game" have to do with Arduino?
Doesn't have to be an Arduino
Any form of solution can help
how do i do it?
What is you knowledge and experience level in hardware and embedded firmware development?
The actual difficult part is BUILDING the platform with bearing and/or wheels that will support the platform and allow it to move. Build a prototype. Add a motor or what ever is necessary for movement. When all that works, add the Arduino to control the motors. Finally, add the joystick to allow manual control.
Like excavators and bulldozers.
A while back I was taking a ride on a high speed passenger ferry, when, all of a sudden, the ferry did a sharp U-turn.
The captain came on the PA system and explained that "knob fell off of the steering joystick".
I took a rest for an hour to watch a construction worker "joystick" his pavement rolling vehicle, the size of a folksvagen Beetle. Wow. This more-affordable, more transportable, robot, a little Starlink pack and some self-awareness, that pothole on Main (the one with the spray painted ring around it) might get filled (and rolled). Hope their motors are not using the L298N.
(internet photo)
I didn't explain myself well. There is a DCS aircraft computer game. A joystick is connected to the computer via USB. I want that when I move the joystick it will also move the platform for me. The platform cannot be connected directly to the joystick. It has to go through the computer.
I have knowledge of mechanics and building the platform. But I need help with programming
What programming?
I wanted to test the possibility of connecting a moving platform to the game. Is it possible to program something so that when I move the joystick the platform will also move according to the direction of the joystick?
Then your experience should tell you that the platform needs to be usable BEFORE any programing can be designed. You design a program to fit the situation, not fit the situation to match a program.
OK. So joking aside (although I did once interview for a company that made joysticks for heavy construction equipment), if the game has any external interfaces that you can get user input from, then it can work.
Otherwise, you'll have to find some way to tap into the joystick's internals to get signals out to your motion controls.
