MATLAB SIMULINK 3D ANIMATION - S Uživatelská příručka Strana 415

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 490
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 414
vrjoystick
10-75
Method Description
close close(joy) closes and invalidates the joystick
object. The object cannot be used once it is closed.
force force(joy, n, f) applies force feedback to
joystick axis n. The n parameter can be a vector to
affect multiple axes. f values should be in range of -1
to 1, and the number of elements in f should either
match the number of elements of n, or f can be a
scalar to be applied to all the axes specified by n.
pov p = pov(joy, n) reads the status of joystick POV
(point of view) of control number n. pov is usually
returned in degrees, with -1 meaning "not selected."
n can be a vector to return multiple POVs.
read [axes, buttons, povs] = read(joy) reads the
status of axes, buttons, and POVs of the specified
joystick. [axes, buttons, povs] = read(joy,
forces) applies feedback forces, in addition, to a
force-feedback joystick.
where joy is the handle to the joystick object.
Zobrazit stránku 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 489 490

Komentáře k této Příručce

Žádné komentáře