Skip to content

Unclear "direction" definition #41

@barsk

Description

@barsk

Hello and very sorry to make this an issue. How do you even send a message to a github user?

I am using your excellent library for making a yoke (a flight control wheel with two axis). The wheel can move left and right (X-axis) and in and out (Y-axis). That is all and well, and I have the Joystick part set up and working fine. It tracks just as a joystick.

However, I have been struggling with setting up the FFB forces correctly and that is due to the lack of definition of what a "direction" as per the USB PID specifications mean. I have ended up with getting spring forces to work perfectly, i.e centering the device. But when used in a gaming scenario with MS Flight Simulator for instance (with the XPForce plugin to provide FFB) I get some mirrored effects on the Y-axis. I.e the yoke should pull itself forward because of the weight of the elevator when parked. But instead it get pulled out, which is totally wrong.

Now, this is NOT a bug in your code. I am merely trying to understand what the direction angle mean. There is an excellent free tool (ForceTester.exe) which I guess you are aware of that provides a way to test this with constant force + direction. Now, what way should the yoke go for the direction: 90, 270 (x-axis) Which is left and which is right? Same for y-axis. Direction 0, 180. What is toward you (yoke pulled out) and what is away from you (yoke pulled in)? I need to understand what the direction angles mean so I can correct the code properly.

Again, sorry to make an issue of this instead of a message or chat somewhere.! No idea how to reach you for this pretty fundamental and easy question.

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions