Determine the current activity of the robot.
This command sends a request to the robot, which responds with its current activity:
The answer is a number 1, if the robot is executing a speed command, number 2, if the robot is executing a
position commands, number 3, if the robot is idle doing nothing, and -1 if there was a communication or another type of error.
- Source:
- robotdll/robotdll.h:685
- Author:
- Version:
- latest version
- Param:
- Returns:
- current robot activity
- See Also:
- robot_getvoltage, robot_getactivity, robot_isalive, robot_isdone
- Code:
public ROBOTDLL_API short robot_getactivity ( | short id ) |