How can I improve the sensitivity of my joystick used in Simulink?

Illustration
riya_sharma - 2021-08-19T13:02:37+00:00
Question: How can I improve the sensitivity of my joystick used in Simulink?

I am using a Joystick Input block from the Virtual Reality Toolbox in Simulink. I am using the joystick to navigate around my virtual world however the smallest step I can make with the joystick is too far. Can I somehow improve the sensitivity of my joystick?  

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

You can use a Gain block to tune the joystick's sensitivity. There is an example of using a gain block in series with a joystick in the "vrcrane_joystick" demo.
 
1. Open up this demo model by typing the following at the MATLAB command prompt:
 
vrcrane_joystick

2. Look in the subsystem "vrcrane_joystick/Setting the SetPoint using Joystick".

a. The block "Sensitivity / Inverting Y" in this subsystem is a Gain block for adjusting the sensitivity of the joystick.

b. The block "Joystick 0 Tolerance" is a Dead Zone block.  This is necessary because joysticks usually have an uncertainty around zero and is especially important if the joystick position is integrated to get speed or position.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!