You're reading the documentation for an older, but still supported version
(GL013300).
For information on the latest version, please have a look at GL013301.
For information on the latest version, please have a look at GL013301.
get_control_mode
This is a function for checking the current control space.
Definition
DRFLEx.h within class CDRFLEx, public section (line 699)
CONTROL_MODE get_control_mode() { return _get_control_mode(_rbtCtrl); };
Parameter
None
Return
Value |
Description |
|---|---|
Refer to the Definition of Enumeration Type |
Example
CONTROL_MODE mode = drfl.get_control_mode();
cout << mode << endl;
This example obtains the robot’s current control mode and prints whether it is operating in joint or task space to the console.