Pilot Joystick All
R2026bProvide joystick interface in All Outputs configuration
Libraries:
Aerospace Blockset /
Animation /
Animation Support Utilities
Alternative Configurations of Pilot Joystick All Block:
Pilot Joystick
Description
The Pilot Joystick All block provides a pilot joystick interface. Roll, pitch, yaw, and throttle are mapped to the joystick X, Y, R, and Z channels respectively.
The Pilot Joystick and Pilot Joystick All blocks are alternative configurations of the same block.
Pilot Joystick — Outputs four axes.
Pilot Joystick All — Outputs all channels.
Examples
Limitations
The Pilot Joystick All block is not supported in Simulink Online.
If the joystick does not support an R (rudder or twist) channel, yaw output is set to zero. Outputs are of type double, except when Joystick ID is set to
AllOutputsmode, which is auint32flagword of bits. On non Microsoft® platforms, this block outputs zeros.Pitch value has the opposite sense as that delivered by the FlightGear joystick interface.
Platform Limitations
Microsoft
Supports Microsoft Xbox® controllers.
Linux®
Does not support Microsoft Xbox® controllers.
Order of axes outputs are not guaranteed.
Joystick IDs might differ or be offset depending on the system. If the block outputs are not as expected, check the joystick IDs.
Yaw and throttle might be flipped for some joysticks and game controllers.
Mac OS X
Does not support Microsoft Xbox® controllers.

