Hi. Im currently working on my robot, and Im thinking about having it remote controlled with my computer. I've gotten the bluetooth functioning and so on, and I am now working on the remote control software. Now I have a little problem. The robot is a hobby grade rc car, which I removed the rc part and just controlled it with the axon.
Now I want to steer the car like one does in for example computer games.
Im looking to steering the car with the letters W A S D, you know the setup. Typical gaming.
The thing is that I want to, for now, use hyperterminal to steer it. I want it center steering and reduce engine power to 0% when no controls are clicked, and center steering when neither a nor d is pressed. Now here's the problem, I want the person controlling the car to be able to press both forward and steering to one side simultaniously. I've managed to get the car going forward, backward and turning, and centering\stopping when no buttons are pushed, but I havent got turning and forward\backward at the same time. I am only able to do one at a time. Now thats pretty useless...
I think Im using the wrong concept here, anyone got a good example on how this can be done? Source code, pseudocode, anything?
(Will post my source code if necassary, but I really think my angle of approach is way off..)