M-File Help: joy2tr | View code for joy2tr |
Update transform from joystick
T = joy2tr(T, options) updates the SE(3) homogeneous transform (4x4) according to spatial velocities sourced from a connected joystick device.
'delay', D | Pause for D seconds after reading (default 0.1) |
'scale', S | A 2-vector which scales joystick translational and rotational to rates (default [0.5m/s, 0.25rad/s]) |
'world' | Joystick motion is in the world frame |
'tool' | Joystick motion is in the tool frame (default) |
'rotate', R | Index of the button used to enable rotation (default 7) |
© 1990-2014 Peter Corke.