Myo Scol plugin
|
Functions | |
int | _CRmyoDevice (mmachine m) |
_CRmyoDevice : This function create a MYO object More... | |
int | _DSmyoDevice (mmachine m) |
_DSmyoDevice : Destroy MYO object More... | |
int | _VibrateMyoDevice (mmachine m) |
_VibrateMyoDevice : Set a vibration period on MYO object More... | |
int | _IsMyoDeviceTrained (mmachine m) |
_IsMyoDeviceTrained : Get the trained state of the MYO object (Deprecated) always return 1 More... | |
int | _GetMyoArmDirection (mmachine m) |
_GetMyoArmDirection : Get the myo direction on the arm More... | |
int | _CBMyoOrientation (mmachine m) |
_CBMyoOrientation : Called on a Orientation data More... | |
int | _CBMyoAccel (mmachine m) |
_CBMyoAccel : Called on Acceleration data More... | |
int | _CBMyoPose (mmachine m) |
_CBMyoPose : Called on a pose gesture More... | |
int | _CBMyoArmRecognized (mmachine m) |
_CBMyoArmRecognized : Called on when the myo is positionned on the arm More... | |
int | _CBMyoArmLost (mmachine m) |
_CBMyoArmLost : Called on when the myo is removed from the arm More... | |
Scol functions definition
int _CBMyoAccel | ( | mmachine | m | ) |
_CBMyoAccel : Called on Acceleration data
fun [ObjMyo fun [ObjMyo u0 [F F F]] u1 u0] ObjMyo
ObjMyo | : MYO Object |
fun | [ObjMyo u0 [F F F]] u1 : SCOL CallBack function to call |
- | [F F F] : acceleration vector |
u0 | : user parameter |
Definition at line 373 of file scolplugin.cpp.
int _CBMyoArmLost | ( | mmachine | m | ) |
_CBMyoArmLost : Called on when the myo is removed from the arm
fun [ObjMyo fun [ObjMyo u0] u1 u0] ObjMyo
ObjMyo | : MYO Object |
fun | [ObjMyo u0] u1 : SCOL CallBack function to call |
u0 | : user parameter |
Definition at line 536 of file scolplugin.cpp.
int _CBMyoArmRecognized | ( | mmachine | m | ) |
_CBMyoArmRecognized : Called on when the myo is positionned on the arm
fun [ObjMyo fun [ObjMyo u0 I] u1 u0] ObjMyo
ObjMyo | : MYO Object |
fun | [ObjMyo u0 I] u1 : SCOL CallBack function to call |
u0 | : user parameter |
I | : 1 for Left arm, 0 for Right arm |
Definition at line 504 of file scolplugin.cpp.
int _CBMyoOrientation | ( | mmachine | m | ) |
_CBMyoOrientation : Called on a Orientation data
fun [ObjMyo fun [ObjMyo u0 [F F F F]] u1 u0] ObjMyo
ObjMyo | : MYO Object |
fun | [ObjMyo u0 [F F F F]] u1 : SCOL CallBack function to call |
- | [F F F F] : Quaternion |
u0 | : user parameter |
Definition at line 321 of file scolplugin.cpp.
int _CBMyoPose | ( | mmachine | m | ) |
_CBMyoPose : Called on a pose gesture
fun [ObjMyo fun [ObjMyo u0 I] u1 u0] ObjMyo
ObjMyo | : MYO Object |
fun | [ObjMyo u0 I] u1 : SCOL CallBack function to call |
- | I : Pose type |
u0 | : user parameter |
Definition at line 424 of file scolplugin.cpp.
int _CRmyoDevice | ( | mmachine | m | ) |
_CRmyoDevice : This function create a MYO object
Prototype: fun [Chn fun [ObjMyo u0] u1 u0 fun [ObjMyo u0] u1 u0] ObjMyo
Chn | : channel |
fun | [ObjMyo u0] u1 : callback on connected |
u0 | : connected callback parameter |
fun | [ObjMyo u0] u1 : callback on disconnected |
u0 | : disconnected callback parameter |
Definition at line 117 of file scolplugin.cpp.
int _DSmyoDevice | ( | mmachine | m | ) |
_DSmyoDevice : Destroy MYO object
fun [ObjMyo] I
ObjMyo | : MYO Object to destroy |
Definition at line 181 of file scolplugin.cpp.
int _GetMyoArmDirection | ( | mmachine | m | ) |
_GetMyoArmDirection : Get the myo direction on the arm
fun [ObjMyo] I
ObjMyo | : MYO Object |
Definition at line 279 of file scolplugin.cpp.
int _IsMyoDeviceTrained | ( | mmachine | m | ) |
_IsMyoDeviceTrained : Get the trained state of the MYO object (Deprecated) always return 1
fun [ObjMyo] I
ObjMyo | : MYO Object |
Definition at line 250 of file scolplugin.cpp.
int _VibrateMyoDevice | ( | mmachine | m | ) |
_VibrateMyoDevice : Set a vibration period on MYO object
fun [ObjMyo I] I
ObjMyo | : MYO Object |
I | : Vibration period, 0 short, 1 medium, 2 long |
Definition at line 211 of file scolplugin.cpp.