How to read Joystick in vrep child script dans Linux 16.04
Posted: 25 Jan 2019, 16:23
Hi there
I'm new to vrep , i have finished a six wheels robot simulation controlled by a Joystick in an environment Windows, which has a good performance. For reading the information of the Joystick, I have used axes,buttons,rotAxes,slider,pov=simJoy.getData(0) to read the information of the Joystick and
numberOfJoyticks=simJoy.getCount() to count the number of the Joystick
Now I'am going to use the same child script in Linux, I got an error for these two functions [simJoy.getData, simJoy.getCount]. I don't know what should I use for replacing these functions in Linux.
Further, I have installed the driver of the Joystick in Linux, I tested with jstest-gtk and it works.
Forgive my english...
I'm new to vrep , i have finished a six wheels robot simulation controlled by a Joystick in an environment Windows, which has a good performance. For reading the information of the Joystick, I have used axes,buttons,rotAxes,slider,pov=simJoy.getData(0) to read the information of the Joystick and
numberOfJoyticks=simJoy.getCount() to count the number of the Joystick
Now I'am going to use the same child script in Linux, I got an error for these two functions [simJoy.getData, simJoy.getCount]. I don't know what should I use for replacing these functions in Linux.
Further, I have installed the driver of the Joystick in Linux, I tested with jstest-gtk and it works.
Forgive my english...