Skip to main content

NRC_getConnectServoTypeList(int nameType)

Get the list of connected servo types

Type

std::vector< std::string> =>Get the list of connected servo types

Return valueDescription
Servo name list

Parameter Option

ParameterTypeDescription
nameTypeintServo 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