My Project
Loading...
Searching...
No Matches
Function Return Status Codes

Enumerations

enum  FXFuncReturn {
  FUNC_RET_SUCCESS = 0 , FUNC_RET_OPERATION_FAILED = -1 , FUNC_RET_LINK_FAILED = -2 , FUNC_RET_LINK_NO_RESPONSE = -3 ,
  FUNC_RET_VERSION_INCOMPATIABLE = -4 , FUNC_RET_INVALID_INPUT_ARG = -5 , FUNC_RET_INVALID_CONDITION = -6 , FUNC_RET_SEND_FILE_FAILED = -7 ,
  FUNC_RET_RECV_FILE_FAILED = -8 , FUNC_RET_INVALID_OBJ = -9 , FUNC_RET_OPERATION_TIMEOUT = -10 , FUNC_RET_SET_PARAM_FAILED = -11 ,
  FUNC_RET_GET_PARAM_FAILED = -12 , FUNC_RET_SAVE_PARAM_FAILED = -13 , FUNC_RET_INVALID_TERMINAL = -14 , FUNC_RET_INVALID_PARAM_SETTING = -15 ,
  FUNC_RET_COMM_WAIT_READY_TIMEOUT = -16 , FUNC_RET_COMM_SEND_FAILED = -17 , FUNC_RET_COMM_WAIT_REPLY_TIMEOUT = -18 , FUNC_RET_FORMAT_CMD_FAILED = -19 ,
  FUNC_RET_INVALID_ROBOT_TYPE = -20 , FUNC_RET_INVALID_HAND_TYPE = -21 , FUNC_RET_LINK_REJECTED = -22 , FUNC_RET_INVALID_THREAD_ID = -23 ,
  FUNC_RET_TOO_MANY_USER_DATA_ITEM = -24 , FUNC_RET_INVALID_USER_DATA_ITEM = -25 , FUNC_RET_INVALID_USER_DATA_LEN = -26 , FUNC_RET_KINE_NOT_INITIALIZED = -1000 ,
  FUNC_RET_KINE_INIT_FAILED = -1001 , FUNC_RET_KINE_TOOL_FAILED = -1002 , FUNC_RET_KINE_IK_UNREACHABLE = -1010 , FUNC_RET_KINE_IK_JOINT_LIMIT_EXCEEDED = -1011 ,
  FUNC_RET_KINE_PLAN_FAILED = -1020 , FUNC_RET_KINE_PLAN_JOINT_LIMIT = -1021 , FUNC_RET_KINE_PLAN_UNREACHABLE = -1022 , FUNC_RET_KINE_TRAJ_POINT_OVERFLOW = -1023 ,
  FUNC_RET_KINE_SYNC_POINT_MISMATCH = -1024 , FUNC_RET_KINE_DYNAMICS_IDENT_FAILED = -1030 , FUNC_RET_KINE_INTERNAL_ERROR = -1099
}
 Return status codes for FX SDK functions. More...

Detailed Description

Standardized return values for SDK API calls.

Enumeration Type Documentation

◆ FXFuncReturn

Return status codes for FX SDK functions.

This enumeration defines common return values used by most API functions to indicate success, generic failures, or specific error conditions.

Enumerator
FUNC_RET_SUCCESS 

Operation completed successfully.

FUNC_RET_OPERATION_FAILED 

Generic operation failure.

FUNC_RET_LINK_FAILED 

Communication link establishment failed.

FUNC_RET_LINK_NO_RESPONSE 

No response received from remote endpoint.

FUNC_RET_VERSION_INCOMPATIABLE 

Version mismatch detected.

FUNC_RET_INVALID_INPUT_ARG 

Invalid input argument provided.

FUNC_RET_INVALID_CONDITION 

Preconditions for operation not satisfied.

FUNC_RET_SEND_FILE_FAILED 

File transmission failed.

FUNC_RET_RECV_FILE_FAILED 

File reception failed.

FUNC_RET_INVALID_OBJ 

Invalid object type specified.

FUNC_RET_OPERATION_TIMEOUT 

Operation exceeded allowed time limit.

FUNC_RET_SET_PARAM_FAILED 

Failed to set parameter.

FUNC_RET_GET_PARAM_FAILED 

Failed to retrieve parameter.

FUNC_RET_SAVE_PARAM_FAILED 

Failed to save parameter to storage.

FUNC_RET_INVALID_TERMINAL 

Invalid terminal identifier.

FUNC_RET_INVALID_PARAM_SETTING 

Invalid parameter configuration.

FUNC_RET_COMM_WAIT_READY_TIMEOUT 

Timeout waiting for communication ready state.

FUNC_RET_COMM_SEND_FAILED 

Data transmission failed.

FUNC_RET_COMM_WAIT_REPLY_TIMEOUT 

Timeout waiting for command reply.

FUNC_RET_FORMAT_CMD_FAILED 

Command formatting or construction failed.

FUNC_RET_INVALID_ROBOT_TYPE 

Invalid robot type to support.

FUNC_RET_INVALID_HAND_TYPE 

Invalid hand type to support.

FUNC_RET_LINK_REJECTED 

Controller has already linked by other client.

FUNC_RET_INVALID_THREAD_ID 

Invalid thread ID for runtime APIs.

FUNC_RET_TOO_MANY_USER_DATA_ITEM 

Too many sample data item registed.

FUNC_RET_INVALID_USER_DATA_ITEM 

Invalid sample data item.

FUNC_RET_INVALID_USER_DATA_LEN 

Invalid sample data length.

FUNC_RET_KINE_NOT_INITIALIZED 

Kinematics context or arm environment is not initialized.

FUNC_RET_KINE_INIT_FAILED 

Kinematics environment initialization failed.

FUNC_RET_KINE_TOOL_FAILED 

Tool transform update failed.

FUNC_RET_KINE_IK_UNREACHABLE 

Inverse kinematics target is unreachable or singular.

FUNC_RET_KINE_IK_JOINT_LIMIT_EXCEEDED 

Inverse kinematics result exceeds joint limits.

FUNC_RET_KINE_PLAN_FAILED 

Motion planning failed for an unspecified kinematics reason.

FUNC_RET_KINE_PLAN_JOINT_LIMIT 

Planned motion exceeds joint limits.

FUNC_RET_KINE_PLAN_UNREACHABLE 

Planned Cartesian target is unreachable.

FUNC_RET_KINE_TRAJ_POINT_OVERFLOW 

Planned trajectory exceeds the maximum point count.

FUNC_RET_KINE_SYNC_POINT_MISMATCH 

Dual-arm synchronized plan produced mismatched point counts.

FUNC_RET_KINE_DYNAMICS_IDENT_FAILED 

Dynamics identification failed.

FUNC_RET_KINE_INTERNAL_ERROR 

Internal kinematics or planning error.