NRC_getConnectServoTypeList(int nameType)
Get the list of connected servo types
Type
std::vector< std::string> =>Get the list of connected servo types
Return value | Description |
---|---|
Servo name list |
Parameter Option
Parameter | Type | Description |
---|---|---|
nameType | int | Servo name type; 0: English name, 1: Chinese name |
Sample code
std::vector<std::string> list = NRC_getConnectServoTypeList(0);
//Get the English list of connected servo types