joywheel.comp - Joystick wheel processor

  • andronick83
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago #333863 by andronick83
joywheel.comp - Joystick wheel processor was created by andronick83

Code:
halcompile --install joywheel.comp
Code:
# Load Gamepad loadusr -W hal_input -KA +Logitech net joy-rx-pos            <= input.0.abs-z-position    # float [-1, 1] net joy-ry-pos            <= input.0.abs-rz-position    # float [-1, 1] # Load JoyWheel component loadrt joywheel            names=joywheel-z addf joywheel-z            servo-thread # Set axis jog parameters setp axis.z.jog-vel-mode 0 setp axis.z.jog-scale    0.01 net mode-manual            halui.mode.is-manual    => axis.z.jog-enable # Connect JoyWheel setp joywheel-z.deadband 0.90 net joy-rx-pos                                    => joywheel-z.in0 net joy-ry-pos                                    => joywheel-z.in1 net joywheel-z-scale    axis.z.jog-scale        => joywheel-z.scale net joywheel-z-out        joywheel-z.out            => axis.z.jog-counts

Please Log in or Create an account to join the conversation.

  • andronick83
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago - 1 year 2 months ago #333890 by andronick83
Replied by andronick83 on topic joywheel.comp - Joystick wheel processor
Added pins:
enable IN BIT - Enable joywheel
multiplier IN FLOAT - Output signal multiplier. For reverse: -1.0

[img
Last edit: 1 year 2 months ago by andronick83.
The following user(s) said Thank You: andypugh, tommylight

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #334122 by andypugh
Replied by andypugh on topic joywheel.comp - Joystick wheel processor
Imaginative idea.

Please Log in or Create an account to join the conversation.

Time to create page: 1.164 seconds
Powered by Kunena Forum