API Change Notices
This document lists deprecated and obsolete SDK interfaces, the reasons for deprecation, and recommended alternatives.
Deprecated interfaces may remain available in the current version but may be removed in later releases. Migrate to the recommended alternatives as soon as possible.
API Overview
Deprecated Interfaces
disable_force_control
Note:
The following describes the current SDK client implementation. These interfaces return ERR_DEPRECATE (-9998) over gRPC; TCP retains the legacy compatibility calls.
API |
TCP Path |
gRPC Path and Migration Reference |
|---|---|---|
|
Legacy compatibility call retained |
Returns ERR_DEPRECATE; use zero_end_sensor |
set_ft_ctrl_frame and get_ft_ctrl_frame still forward communication requests; they are not interfaces that always return ERR_DEPRECATE. See each language’s interface page for parameters.
Obsolete Interfaces
set_error_handler
set_block_wait_timeout
set_status_data_update_time_interval
get_exist_traj_file_name
rename_traj_file_name
remove_traj_file
set_errorcode_file_path
set_debug_mode
static_Get_SDK_filepath
static_Set_SDK_filepath
Note:
The following interfaces always return ERR_OBSOLETE (-9999) in the current C++ implementation. Corresponding C/C# calls no longer perform their original operations. Consult the Python interface page for availability and return formats of same-name Python methods.
API |
Current Behavior and Migration Reference |
|---|---|
set_error_handler |
No longer registers callbacks. Check interface return values and query error status. The TCP implementation of get_robot_status still reads compressed status from port 10004; deprecating callbacks does not eliminate reads from that port. |
set_block_wait_timeout |
No longer changes the timeout. Blocking waits currently use the inpos flag, command queue, and related state. |
set_status_data_update_time_interval |
No longer sets the status update interval. |
get_exist_traj_file_name |
Use get_ftp_dir to query the trajectory directory. |
rename_traj_file_name |
Use rename_ftp_file to rename trajectory files. |
remove_traj_file |
Use del_ftp_file to delete trajectory files. |
set_errorcode_file_path |
The SDK uses error messages reported by the controller; see jkerr.h for SDK error codes. |
set_debug_mode |
Use set_SDK_log_config to configure SDK logging. |
static_Get_SDK_filepath |
Use get_SDK_filepath. |
static_Set_SDK_filepath |
Use set_SDK_filepath. |
generate_traj_exe_file still forwards generate_traj_script_file requests; it is not an interface that always returns ERR_OBSOLETE.