Reading joystick motion
Hello everyone,
One of my students developed in FP's SDK an application for editing pose data (from robtargets, workobjects, etc.) by showing two reference frame sharing the same origin. Using three pairs of "+" "-" buttons, one can rotate the moving frame about either the x_fixed, y_fixed, or z_fixed axis or the x_moving, y_moving, or z_moving axis (http://www.gpa.etsmtl.ca/cours/gpa546/Images/screenshot.jpg).
Instead of using the "+" and "-" buttons, I would like to use the joystick. Is there any way to read the motion of the joystick (without jogging the robot, of course), or the joystick is reserved solely for jogging the robot?
Thanks,
Ilian
0
Comments
-
Hi Ilian,unfortunately it is not possible to access the joystick from FlexPendant SDK.Nice application you have done, but you have to stick with the "+/-" buttons.0
-
Hi, only thing what comes in mind, is that, if the + or - button was hold longer then X seconds, then x_fixed := x_fixed +5, if longer then X+0.1 seconds, then x_fixed := x_fixed +10. Of course constants will be different, and moving frame still will not move with joystick precision. But if you test it a while, eventually you will find best constants and result should close enough to real joystick0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings