Features
This is a callback function that is called when user input features are used in the robot controller. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 50 msec) within the callback function should not be made.
Parameter
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
tInput |
struct.MESSAGE_INPUT |
- |
Refer to definition of structure |
Return
None.
Example
Python
void OnTpGetUserInputCB(LPMESSAGE_INPUT tInput)
{
// When tp user input command is called
}
int main()
{
Drfl.SetOnTpGetUserInput(OnTpGetUserInputCB);
}