Manipulate#
- class rb_sdk.rb_sdk_cpp.MechMindClient#
Bases:
pybind11_object
- class rb_sdk.rb_sdk_cpp.MechMindPose#
Bases:
pybind11_object- property rx#
- property ry#
- property rz#
- property x#
- property y#
- property z#
- class rb_sdk.rb_sdk_cpp.MechMindVisionResponse#
Bases:
pybind11_object- property count#
- property poses#
- property raw_fields#
- property status_code#
- class rb_sdk.rb_sdk_cpp.PhotoneoClient#
Bases:
pybind11_object
- class rb_sdk.rb_sdk_cpp.PhotoneoObjectPoseResponse#
Bases:
pybind11_object- property error_code#
- property pose#
- class rb_sdk.rb_sdk_cpp.PhotoneoPose#
Bases:
pybind11_object- property rx#
- property ry#
- property rz#
- property x#
- property y#
- property z#
- class rb_sdk.rb_sdk_cpp.PhotoneoQuaternionPose#
Bases:
pybind11_object- property qw#
- property qx#
- property qy#
- property qz#
- property x#
- property y#
- property z#
- class rb_sdk.rb_sdk_cpp.PhotoneoSolutionResponse#
Bases:
pybind11_object- property error_code#
- property solution_id#
- class rb_sdk.rb_sdk_cpp.PhotoneoTrajectoryResponse#
Bases:
pybind11_object- property error_code#
- property info#
- property items#
- class rb_sdk.rb_sdk_cpp.PhotoneoTrajectorySegment#
Bases:
pybind11_object- class Kind#
Bases:
pybind11_objectMembers:
Cnt
Fine
- Cnt = <Kind.Cnt: 0>#
- Fine = <Kind.Fine: 1>#
- PhotoneoTrajectorySegment.Kind.name -> str
- property value#
- property kind#
- property waypoints#
- class rb_sdk.rb_sdk_cpp.PhotoneoWaypoint#
Bases:
pybind11_object- property checksum#
- property joints#
- property point_id#
- class rb_sdk.rb_sdk_cpp.PickitClient#
Bases:
pybind11_object
- class rb_sdk.rb_sdk_cpp.PickitObjectDetection#
Bases:
pybind11_object- property capture_to_send_delay_s#
- property height_mm#
- property length_mm#
- property model_id_or_type#
- property pose#
- property remaining_count#
- property status#
- property width_mm#
- class rb_sdk.rb_sdk_cpp.PickitPickPointData#
Bases:
pybind11_object- property grip_pose#
- property offset_pose#
- property reference_pick_point_id#
- property selected_pick_point_id#
- property status#
- class rb_sdk.rb_sdk_cpp.PickitPose#
Bases:
pybind11_object- property rx#
- property ry#
- property rz#
- property x#
- property y#
- property z#
- class rb_sdk.rb_sdk_cpp.Posture#
Bases:
pybind11_objectMembers:
ZERO
ONE
- ONE = <Posture.ONE: 1>#
- ZERO = <Posture.ZERO: 0>#
- Posture.name -> str
- property value#
- class rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_config_controlbox(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigControlBoxTD#
Requests the cobot’s full control-box configuration snapshot.
Returns the aggregate configuration written by this class’s various save_*/set_* control-box-related calls: side/ext digital I/O special function and filter settings, the 8 area configs, and the 8 user frame configs.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigControlBoxT containing the control box configuration snapshot.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_flangeoption(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigFlangeOptionTD#
Requests the cobot’s flange configuration options.
Returns the currently configured flange (end-effector mounting) option settings for the robot.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigFlangeOptionT containing the flange option configuration.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_globpinlist(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigGlobPinListTD#
Requests the cobot’s saved global pin list, including both pin joint (joint-space) and pin point (Cartesian-space) entries.
Returns each global pin’s name along with its joint-space (pin_j) and Cartesian-space (pin_l) target values (see
save_globpin_parameter).- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigGlobPinListT containing the global pin list.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_gripperattach(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigGripperAttachTD#
Requests the cobot’s gripper attach configuration.
Returns the currently configured default gripper attachment and the publish data types for the robot.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
attach_option: Default gripper attachment. -1 means not mounted; 0 or greater is the index in the gripper list of the Gripper function. - pubdata_type_0 ~ pubdata_type_3: Publish data types (0: Not assigned, 1: Position reference, 2: Position feedback, 3: Speed reference, 4: Speed feedback, 5: Force reference, 6: Force feedback).
- Return type:
IPC::Response_CallConfigGripperAttachT containing
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_network(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigNetworkTD#
Requests the cobot’s network configuration options.
Returns the currently configured network option settings for the robot.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigNetworkT containing the flange option configuration.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_robotarm(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigRobotArmTD#
Requests the cobot’s full robot-arm configuration snapshot.
Returns the aggregate configuration written by this class’s various save_*/set_* arm-related calls: out/self collision settings, gravity compensation, direct-teach sensitivity, tool-flange special function/filter settings, joint kinematic limits, and deflection compensation mode.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigRobotArmT containing the robot arm configuration snapshot.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_config_toollist(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigToolListTD#
Requests the cobot’s saved tool list configuration.
Returns up to 8 tool slots (per
save_tool_list_parameter),each with name, TCP offset, mass/center-of-mass, and bounding-box parameters.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigToolListT containing the tool list configuration.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_datalog_done(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Stops data logging for the robot.
Ends the data logging session previously started by call_datalog_start() and finalizes the recorded data.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the data logging stop request.
- Raises:
std::runtime_error – If the data logging fails to stop or the result cannot be retrieved.
See also
call_datalog_start
- call_datalog_start(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, names: list[str], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts data logging for the robot.
Begins recording the specified data items of the robot. Logging continues until the corresponding stop function is called.
- Parameters:
robot_model – Name of the robot model.
names – List of data item (variable) names to be logged.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the data logging start request.
- Raises:
std::runtime_error – If the data logging fails to start or the result cannot be retrieved.
- call_speedbar(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, alpha: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set its speed bar multiplier (range: 0.0–1.0), which is displayed as a percentage (%) in the UI (e.g., 1.0 = 100%).
- Parameters:
robot_model – Name of the robot model.
alpha – Speed bar value, 0.0-1.0. Multiplied against the robot’s final commanded speed: 0.0 means stop, 1.0 means the full intended speed.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_vibration_motion_off(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop motion-based vibration.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_vibration_motion_on(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, frame: int, x_mag: float, y_mag: float, z_mag: float, x_freq: float, y_freq: float, z_freq: float, x_phase: float, y_phase: float, z_phase: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start motion-based vibration.
- Parameters:
robot_model – Name of the robot model.
frame – Frame the vibration is expressed in: 0 Global, 1 Local, 2 User, 3 Target, 4 Active Local.
x_mag – Vibration magnitude along X, in mm.
y_mag – Vibration magnitude along Y, in mm.
z_mag – Vibration magnitude along Z, in mm.
x_freq – Vibration frequency along X, in Hz.
y_freq – Vibration frequency along Y, in Hz.
z_freq – Vibration frequency along Z, in Hz.
x_phase – Vibration phase along X, in degrees.
y_phase – Vibration phase along Y, in degrees.
z_phase – Vibration phase along Z, in degrees.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- pop_gravity_vector(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, gravity_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Retrieves the gravity vector of the robot.
Pops the gravity vector of the robot, either as measured or as currently configured, depending on the given option.
- Parameters:
robot_model – Name of the robot model.
gravity_option – Gravity vector source. 0: Measured, 1: Configured (set value).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the requested gravity vector.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- pub_realtime_index(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_index: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes the realtime index of the robot.
Publishes a message to change the realtime index of the specified robot model to
target_index.Unlike set_realtime_index(), this uses the publish/subscribe channel and does not wait for a response from the receiver.- Parameters:
robot_model – Name of the robot model.
target_index – Realtime index value to apply.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the message has been published.
- Returns:
IPC::Response_FunctionsT containing the result of the publish request.
- Raises:
std::runtime_error – If the message cannot be published.
- save_area_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, area_no: int, area_name: str, area_type: int, area_x: float, area_y: float, area_z: float, area_rx: float, area_ry: float, area_rz: float, area_para_0: float, area_para_1: float, area_para_2: float, area_purpose: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a restricted area’s parameters.
- Parameters:
robot_model – Name of the robot model.
area_no – Area slot number to save into, 0-7.
area_name – Display name for the area.
area_type – Area shape used to interpret
area_para_0througharea_para_2(same enum assave_tool_list_parameter'sbox_type): 0 None, 1 Sphere, 2 Capsule, 3 Box.area_x – Area origin offset along X, in mm.
area_y – Area origin offset along Y, in mm.
area_z – Area origin offset along Z, in mm.
area_rx – Area orientation offset around X, in degrees.
area_ry – Area orientation offset around Y, in degrees.
area_rz – Area orientation offset around Z, in degrees.
area_para_0 – Area shape parameter 0, interpreted according to
area_type.area_para_1 – Area shape parameter 1, interpreted according to
area_type.area_para_2 – Area shape parameter 2, interpreted according to
area_type.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
area_purpose – Purpose of the area: - 0: N/A - 1: Self collision detection - 2: PFL check area
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_basic_joint_impedance(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, basic_impedance_mode: int, basic_impedance_stiffness: list[float], basic_impedance_torqelimit: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save the basic joint impedance settings that are applied when the control box boots.
- Parameters:
robot_model – Name of the robot model.
basic_impedance_mode – Boot-up joint impedance mode. - 0: Not use - 1: Activate after Real-Mode
basic_impedance_stiffness – Per-joint stiffness values (normalized range: 0.0–1.0; shown as 0–100% in the UI).
basic_impedance_torqelimit – Per-joint torque limit values (normalized range: 0.0–1.0; shown as 0–100% in the UI).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the request fails or the result cannot be retrieved.
- save_collision_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, onoff: int, react: int, threshold: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its out collision detection parameters.
Persist-and-apply counterpart to
set_out_collision_para:writes to persistent storage and then applies it immediately, whereasset_out_collision_paraonly applies it for the current session (lost on restart). Same out_coll_onoff/out_coll_react/out_coll_limit fields reported bycall_config_robotarm.- Parameters:
robot_model – Name of the robot model.
onoff – Enables/disables collision detection: 0 Off, 1 On.
react – Reaction behavior when a collision is detected: 0 Pause Movement, 1 Evasion Stop.
threshold – Collision detection sensitivity threshold (clamped to 0–1 by the robot); lower values trigger a stop at weaker impacts.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_deflection_compensation(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its deflection compensation mode.
- Parameters:
robot_model – Name of the robot model.
mode – Compensation mode: 0 Off, 1 Adjust Deflection.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_direct_teach_sensitivity(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, sensitivity: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its direct-teach sensitivity.
- Parameters:
robot_model – Name of the robot model.
sensitivity – Per-joint direct-teach sensitivity values (range: 0.0–2.0).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_globpin_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, pin_num: int, pin_name: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to capture its current pose into a named global pin slot.
Saves the robot’s current joint values and Cartesian pose (at the moment this is called) into the given pin slot under
pin_name.call_move_home'shome_type = 3 +pin_nummoves the robot to this pin’s joint pose (Move-J) or Cartesian pose (Move-L).- Parameters:
robot_model – Name of the robot model.
pin_num – Global pin slot number, 0-15.
pin_name – Display name for the pin.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_gravity_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, gx: float, gy: float, gz: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its gravity compensation parameters.
Effectively sets the robot’s installation/mounting angle, expressed as the direction of gravitational acceleration relative to the Global coordinate system.
- Parameters:
robot_model – Name of the robot model.
mode – Gravity compensation mode: 0 Static, 1 Dynamic.
gx – Gravity direction vector X component (Global frame).
gy – Gravity direction vector Y component (Global frame).
gz – Gravity direction vector Z component (Global frame).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_gripper_attachment(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, attach_option: int, pubdata_type_0: int, pubdata_type_1: int, pubdata_type_2: int, pubdata_type_3: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save the gripper attachment settings.
Saves the default gripper attachment and the publish data types for the robot.
- Parameters:
robot_model – Name of the robot model.
attach_option – Default gripper attachment. - -1: Not mounted - 0 or greater: Index in the gripper list of the Gripper function
pubdata_type_0 – Publish data type for slot 0.
pubdata_type_1 – Publish data type for slot 1.
pubdata_type_2 – Publish data type for slot 2.
pubdata_type_3 – Publish data type for slot 3. The
pubdata_type_0~pubdata_type_3values are one of: - 0: Not assigned - 1: Position reference - 2: Position feedback - 3: Speed reference - 4: Speed feedback - 5: Force reference - 6: Force feedbackflow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the request fails or the result cannot be retrieved.
- save_joint_kinematic_limit(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, position_low: list[float], position_up: list[float], speed_limit: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its per-joint kinematic limits.
- Parameters:
robot_model – Name of the robot model.
position_low – Per-joint lower position limit, in degrees.
position_up – Per-joint upper position limit, in degrees.
speed_limit – Per-joint speed limit, in degrees/s.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_robot_code(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, code: int, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its robot model/hardware code.
- Parameters:
robot_model – Name of the robot model.
code – Robot model/hardware code to save. Takes effect only after the robot control program is restarted.
option – Accepted but currently unused by the robot firmware.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
Warning
codeidentifies which hardware/kinematics parameter set the robot loads. It is written to persistent storage but does NOT take effect until the next reboot (the firmware source marks this “NO ADJUST” — no live re-apply happens). Ifcodedoesn’t match a known robot model, the parameter set loaded on next boot can be invalid, and the robot control program can fail to initialize / crash immediately on restart. Do not call this with a value that isn’t a known, correct model code for this physical robot.
- save_selfcoll_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, dist_internal: float, dist_external: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save its self-collision detection parameters.
Persist-and-apply counterpart to
set_self_collision_para:writes to persistent storage and then applies it immediately, whereasset_self_collision_paraonly applies it for the current session (lost on restart). Same self_coll_mode/self_coll_distance_inter/self_coll_distance_exter fields reported bycall_config_robotarm.- Parameters:
robot_model – Name of the robot model.
mode – Self-collision detection mode: 0 stop just before self- collision, 1 control speed during self-collision.
dist_internal – Internal self-collision distance (mm) threshold, floored at 0 by the robot.
dist_external – External self-collision distance (mm) threshold, floored at 0 by the robot.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_tool_list_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, tool_no: int, tool_name: str, tcp_x: float, tcp_y: float, tcp_z: float, tcp_rx: float, tcp_ry: float, tcp_rz: float, mass_m: float, mass_x: float, mass_y: float, mass_z: float, box_type: int, box_para_0: float, box_para_1: float, box_para_2: float, box_para_3: float, box_para_4: float, box_para_5: float, box_para_6: float, box_para_7: float, box_para_8: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a tool’s parameters into its tool list.
- Parameters:
robot_model – Name of the robot model.
tool_no – Tool slot number to save into, 0-7.
tool_name – Display name for the tool.
tcp_x – TCP offset from the flange along X, in mm.
tcp_y – TCP offset from the flange along Y, in mm.
tcp_z – TCP offset from the flange along Z, in mm.
tcp_rx – TCP orientation offset from the flange around X, in degrees.
tcp_ry – TCP orientation offset from the flange around Y, in degrees.
tcp_rz – TCP orientation offset from the flange around Z, in degrees.
mass_m – Tool mass.
mass_x – Tool center-of-mass offset from the flange along X.
mass_y – Tool center-of-mass offset from the flange along Y.
mass_z – Tool center-of-mass offset from the flange along Z.
box_type – Bounding-box shape used to interpret
box_para_0throughbox_para_8:0 None, 1 Sphere, 2 Capsule, 3 Box.box_para_0 – Bounding-box parameter 0, interpreted according to
box_type.box_para_1 – Bounding-box parameter 1, interpreted according to
box_type.box_para_2 – Bounding-box parameter 2, interpreted according to
box_type.box_para_3 – Bounding-box parameter 3, interpreted according to
box_type.box_para_4 – Bounding-box parameter 4, interpreted according to
box_type.box_para_5 – Bounding-box parameter 5, interpreted according to
box_type.box_para_6 – Bounding-box parameter 6, interpreted according to
box_type.box_para_7 – Bounding-box parameter 7, interpreted according to
box_type.box_para_8 – Bounding-box parameter 8, interpreted according to
box_type.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_user_frame_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, userf_no: int, userf_name: str, userf_x: float, userf_y: float, userf_z: float, userf_rx: float, userf_ry: float, userf_rz: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a user frame’s parameters.
- Parameters:
robot_model – Name of the robot model.
userf_no – User frame slot number to save into, 0-7.
userf_name – Display name for the user frame.
userf_x – User frame origin offset along X, in mm.
userf_y – User frame origin offset along Y, in mm.
userf_z – User frame origin offset along Z, in mm.
userf_rx – User frame orientation offset around X, in degrees.
userf_ry – User frame orientation offset around Y, in degrees.
userf_rz – User frame orientation offset around Z, in degrees.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_ascii_functioncall(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, option: int, message: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run/queue an ASCII function call command.
- Parameters:
robot_model – Name of the robot model.
option – 0 Direct Execution, 1 Queue Message.
message – ASCII command message.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_din_function_mask(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, device: int, port_num: int, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/disable a digital input port’s special function.
- Parameters:
robot_model – Name of the robot model.
device – 0 Control Box I/O, 1 Extension I/O, 2 ToolFlange I/O.
port_num – Digital input port number, 0-15.
option – 0 Disable-Mask Off, 1 Disable-Mask On.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_dout_function_mask(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, device: int, port_num: int, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/disable a digital output port’s special function.
- Parameters:
robot_model – Name of the robot model.
device – 0 Control Box I/O, 1 Extension I/O, 2 ToolFlange I/O.
port_num – Digital output port number, 0-15.
option – 0 Disable-Mask Off, 1 Disable-Mask On.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_external_axis_sync(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/disable external axis synchronization.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Sync Off, 1 Sync On.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_fixed_speed(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_move: int, vel_option: int, vel_parameter: float, acc_option: int, acc_parameter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a fixed speed/acceleration override for a move type.
- Parameters:
robot_model – Name of the robot model.
target_move – Move type this override applies to: 0 J-Types, 1 L-Types (Position), 2 L-Types (Orientation).
vel_option – Velocity override mode: 0 Off, 1 Fixed mode (%), 2 Fixed mode (physical units).
vel_parameter – Velocity value, interpreted according to
vel_option.acc_option – Acceleration override mode: 0 Off, 1 Fixed mode (%), 2 Fixed mode (physical units).
acc_parameter – Acceleration value, interpreted according to
acc_option.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_freedrive(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, onoff: int, extra_force_frame: int, extra_force_fx: float, extra_force_fy: float, extra_force_fz: float, sensitivity: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/configure free-drive (hand guiding) mode.
- Parameters:
robot_model – Name of the robot model.
onoff – 0 Off, 1 On Free Drive, 2 On When Button Clicked.
extra_force_frame – Frame the additional force is expressed in: 0 Global Frame, 1 Local TCP Frame, 2 User Frame.
extra_force_fx – Additional force along X, in Nm.
extra_force_fy – Additional force along Y, in Nm.
extra_force_fz – Additional force along Z, in Nm.
sensitivity – Operation sensitivity, 0-1.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_jacob_speed_mode(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/disable Jacobian-based speed control.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Active (default), 1 De-active.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_joint_impedance(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, onoff: int, stiffness: list[float], torquelimit: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set per-joint impedance control parameters.
- Parameters:
robot_model – Name of the robot model.
onoff – 0 Off, 1 On Joint Impedance.
stiffness – Per-joint stiffness, each value 0-1.
torquelimit – Per-joint torque limit, each value 0-1.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_joint_reference_filter(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, filter_percent: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the joint reference filter mode and filter strength.
Configures the low-pass filter applied to joint reference (command) values, used to smooth joint motion commands before they are sent to the drives.
- Parameters:
robot_model – Name of the robot model.
mode – Filter mode. 0: Off (System default), 1: On.
filter_percent – Filter strength as a percentage (0.0 ~ 1.0). Only effective when
modeis 1.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_master_mode(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set its master (teleoperation) mode.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Off, 1 Reflected Joint Angle, 2 Synchronized Cartesian.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_move_break(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, stopping_time: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set move break/block behavior.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Off (release), 1 Continuous Block, 2 Break Once.
stopping_time – Stopping time, in seconds.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_oprange_check(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts or finishes the operation range check.
Configures the operation range check state of the robot.
- Parameters:
robot_model – Name of the robot model.
mode – Check mode. 0: Finish Check, 1: Start Check.
option – Data option. 0: Reference.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_out_collision_para(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, onoff: int, react_mode: int, threshold: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set its out collision detection parameters.
Applies immediately for the current session only — not written to persistent storage, unlike
save_collision_parameter(same fields), which also persists.- Parameters:
robot_model – Name of the robot model.
onoff – Enables/disables collision detection: 0 Off, 1 On.
react_mode – Reaction behavior when a collision is detected: 0 Pause Movement, 1 Evasion Stop.
threshold – Collision detection sensitivity threshold (clamped to 0–1 by the robot); lower values trigger a stop at weaker impacts.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_program_flow_manage(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target: int, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to control program flow (stop/pause/resume/reset collision).
- Parameters:
robot_model – Name of the robot model.
target – 0 All Robot Components, 1 This Component.
option – 0 Stop, 1 Pause, 2 Resume, 3 Reset Collision.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_realtime_index(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_index: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the realtime index of the robot.
Sends a request to change the realtime index of the specified robot model to
target_index.- Parameters:
robot_model – Name of the robot model.
target_index – Realtime index value to apply.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_remote_tcp(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, ref_setting: list[float], ref_runtime: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the remote TCP mode.
Configures the remote TCP (a TCP fixed in the robot’s external workspace rather than on the tool flange), so that motions are performed relative to that external point.
- Parameters:
robot_model – Name of the robot model.
mode – Remote TCP mode. 0: Disable, 1: Enable.
ref_setting – Reference pose used to configure the remote TCP (e.g. [x, y, z, rx, ry, rz, aa]).
ref_runtime – Reference pose applied at runtime while the remote TCP mode is active (e.g. [x, y, z, rx, ry, rz, aa]).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_self_collision_blind(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, time: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the self-collision detection blind time.
Configures the duration for which self-collision detection is temporarily disabled (blinded), used to suppress false-positive self- collision triggers during specific motions.
- Parameters:
robot_model – Name of the robot model.
time – Self-collision detection blind time, in seconds.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_self_collision_para(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, dist_int: float, dist_ext: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set its self-collision detection parameters.
Applies immediately for the current session only — not written to persistent storage, unlike
save_selfcoll_parameter(same fields), which also persists.- Parameters:
robot_model – Name of the robot model.
mode – Self-collision detection mode: 0 stop just before self- collision, 1 control speed during self-collision.
dist_int – Internal self-collision distance (mm) threshold.
dist_ext – External self-collision distance (mm) threshold.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_self_vibration_mode(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, time: float, frequency: float, magnitudes: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to enable/configure self-vibration.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Off, 1 On.
time – Vibration duration, in seconds.
frequency – Vibration frequency, in Hz.
magnitudes – Per-joint vibration magnitude, each value 0-1.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_shift(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, shift_no: int, shift_mode: int, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a target shift.
- Parameters:
robot_model – Name of the robot model.
shift_no – Target shift slot number.
shift_mode – Shift mode: 0 Off, 1 Adjust L-Move, 2 Adjust L,J-Move, 3 Adjust J-Move.
target – Shift target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_shift_landmark(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, shift_mode: int, tolerance: float, reference_point_1: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_point_2: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_point_3: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, present_point_1: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, present_point_2: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, present_point_3: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to compute and set a target shift from landmark points.
Computes the shift between a reference set of 3 points and the corresponding present set of 3 points (e.g. touched up after a workpiece moved), then applies it as a target shift. For every reference/present point, tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
- Parameters:
robot_model – Name of the robot model.
shift_mode – Shift mode: 0 Off, 1 Adjust L-Move, 2 Adjust L,J-Move, 3 Adjust J-Move.
tolerance – Match tolerance between the reference and present point sets.
reference_point_1 – First reference-set point.
reference_point_2 – Second reference-set point.
reference_point_3 – Third reference-set point.
present_point_1 – First present-set point, corresponding to
reference_point_1.present_point_2 – Second present-set point, corresponding to
reference_point_2.present_point_3 – Third present-set point, corresponding to
reference_point_3.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_tcp_speed_bound(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, mode: int, speed_parameter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a TCP speed bound.
- Parameters:
robot_model – Name of the robot model.
mode – 0 Bound Off (system default), 1 Bound On.
speed_parameter – TCP speed limit, in mm/s.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_timeconstraint(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, option: int, time_sec: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a move time constraint.
- Parameters:
robot_model – Name of the robot model.
option – 0 Off, 1 Unit Move Time-Constraint, 2 Multi Move Time- Constraint.
time_sec – Target time, in seconds.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_toollist_num(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_tool_num: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to select the active tool from its saved tool list.
- Parameters:
robot_model – Name of the robot model.
target_tool_num – Tool slot number to activate (see
call_config_toollist/save_tool_list_parameter).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_userframe_3points(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, user_frame_num: int, setting_option: int, order_option: int, point_1_x: float, point_1_y: float, point_1_z: float, point_2_x: float, point_2_y: float, point_2_z: float, point_3_x: float, point_3_y: float, point_3_z: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a user frame from 3 taught points.
- Parameters:
robot_model – Name of the robot model.
user_frame_num – User frame slot number, 0-7.
setting_option – 0 restores the previously saved frame, 1 applies the frame computed from the 3 points temporarily, 2 applies and permanently saves it.
order_option – How the 3 points define the frame’s axes: 0 Origin->X Axis->XY Plane, 1 Origin->Y Axis->YZ Plane, 2 Origin->Z Axis->ZX Plane.
point_1_x – First point’s X coordinate, in mm.
point_1_y – First point’s Y coordinate, in mm.
point_1_z – First point’s Z coordinate, in mm.
point_2_x – Second point’s X coordinate, in mm.
point_2_y – Second point’s Y coordinate, in mm.
point_2_z – Second point’s Z coordinate, in mm.
point_3_x – Third point’s X coordinate, in mm.
point_3_y – Third point’s Y coordinate, in mm.
point_3_z – Third point’s Z coordinate, in mm.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_userframe_6dof(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, user_frame_num: int, setting_option: int, target_frame: int, target_x: float, target_y: float, target_z: float, target_rx: float, target_ry: float, target_rz: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a user frame directly via a 6-DOF pose.
- Parameters:
robot_model – Name of the robot model.
user_frame_num – User frame slot number, 0-7.
setting_option – 0 restores the previously saved frame, 1 applies the given target temporarily, 2 applies and permanently saves the given target.
target_frame – Frame the given target is expressed in: 0 Global, 1 Local, 2 User.
target_x – Target position along X, in mm.
target_y – Target position along Y, in mm.
target_z – Target position along Z, in mm.
target_rx – Target orientation around X, in degrees.
target_ry – Target orientation around Y, in degrees.
target_rz – Target orientation around Z, in degrees.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_userframe_num(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_user_frame_num: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to select the active user frame.
- Parameters:
robot_model – Name of the robot model.
target_user_frame_num – User frame slot number to activate, 0-7 (see
save_user_frame_parameter).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_userframe_tcp(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, user_frame_num: int, setting_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a user frame from the current TCP pose.
- Parameters:
robot_model – Name of the robot model.
user_frame_num – User frame slot number, 0-7.
setting_option – 0 restores the previously saved frame, 1 applies the current TCP pose temporarily, 2 applies and permanently saves it.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- set_wrist_singularity_mode(self: rb_sdk.rb_sdk_cpp.RBManipulateConfigSDK, *, robot_model: str, target_mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the wrist singularity avoidance mode.
Configures how the robot handles wrist singularities during motion.
- Parameters:
robot_model – Name of the robot model.
target_mode – Wrist singularity mode. 0: Default (System default), 1: Avoid Singularity.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- class rb_sdk.rb_sdk_cpp.RBManipulateFlangeSDK(*args, **kwargs)#
Bases:
RBBaseSDK- save_flange_bootup_dc_voltage(self: rb_sdk.rb_sdk_cpp.RBManipulateFlangeSDK, *, robot_model: str, voltage_value: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the tool flange’s boot-up DC power output voltage.
Configures the DC voltage supplied through the tool flange when the controller boots up.
- Parameters:
robot_model – Name of the robot model.
voltage_value – Boot-up DC voltage setting (0: 0V, 1: 12V, 2: 24V).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_flange_bootup_mount_tool(self: rb_sdk.rb_sdk_cpp.RBManipulateFlangeSDK, *, robot_model: str, tool_num: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the tool number to be automatically mounted on the flange at boot-up.
Configures which tool (from the saved tool list) is automatically mounted on the flange when the controller boots up.
- Parameters:
robot_model – Name of the robot model.
tool_num – Tool number to mount at boot-up (0~7).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_flange_dt_button_role(self: rb_sdk.rb_sdk_cpp.RBManipulateFlangeSDK, *, robot_model: str, working_mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the role/usage setting of the tool flange’s direct teaching button.
Configures whether the direct teaching button mounted on the tool flange is enabled for use.
- Parameters:
robot_model – Name of the robot model.
working_mode – Usage setting (0: Use, 1: Not use).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_flange_vibration_sensor(self: rb_sdk.rb_sdk_cpp.RBManipulateFlangeSDK, *, robot_model: str, working_mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the usage setting of the tool flange’s vibration sensor.
Configures whether the vibration sensor mounted on the tool flange is enabled for use.
- Parameters:
robot_model – Name of the robot model.
working_mode – Usage setting (0: Use, 1: Not use).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- class rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_function(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, func: str, args: list[float | str | list[float] | list[str]] = [], kwargs: dict[str, float | str | list[float] | list[str]] = {}) float | str | list[float] | list[str] | None#
Calls a core-side function by name (PyFM
RB.func(...)).Sends one
Func_Callin aget_core_functionquery. Positionalargsand keywordkwargsare encoded asFunc_Argentries (a keyword argument carries its name inarg_name).- Parameters:
robot_model – Name of the robot model.
func – Core function name, e.g.
"sum".args – Positional arguments: each a float, a string, a list of floats, or a list of strings.
kwargs – Keyword arguments with the same value types.
- Returns:
The function’s return value (a float, a string, a list of floats, or a list of strings), or std::nullopt when the core returns no value.
- Raises:
std::runtime_error – If the core reports a nonzero execution_result. The message is the core’s execution_error_msg when it gives one, otherwise the function name and the result code (-1 unknown function, -2 argument count/type mismatch, -3 exception inside the function). Also thrown when the query itself fails (e.g. no reply) or the reply carries no
Func_Return.
- call_functions(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, calls: list[tuple[str, list[float | str | list[float] | list[str]], dict[str, float | str | list[float] | list[str]]]], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) list[tuple[str, float | str | list[float] | list[str] | None]]#
Calls several core-side functions in one
get_core_functionquery.Each entry of
callsbecomes oneFunc_Callitem; the core runs them independently and in order. Unlikecall_functionthis never throws for a core-reported failure: the failure is returned per item so the caller can raise it at the point where that value is used (PyFM batches everyRB.func(...)of one expression this way).- Parameters:
robot_model – Name of the robot model.
calls – (func, args, kwargs) per call, same value types as
call_function.flow_manager_args – Optional PyFM step context; done() is called once the reply has been received. If its args carry a “variable_name” (read raw, not substituted), the result is first stored under that name in the PyFM local variables: the value itself for a single call, a list of values for several calls (None for a call that returned no value). In that case a failed item throws its error instead of being stored.
- Returns:
One (error, value) per call, in call order.
erroris empty on success, otherwise the messagecall_functionwould have thrown (the core’s execution_error_msg, or the function name with the result code), andvalueis the return value or std::nullopt.- Raises:
std::runtime_error – If the query itself fails (e.g. no reply), or if an item failed while storing into “variable_name”.
- get_absolute_value(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, reference_value: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, move_type: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Get_Absolute_ValueTD#
Computes the absolute coordinate a reference target resolves to.
Used internally for absolute (non-relative) target resolution, e.g. by
set_pin_point_or_jointwhen no reference_target offset is given.reference_value'star_frame does not need to matchmove_type:the robot always converts it (forward/inverse kinematics as needed) to the frame matchingmove_type.This conversion can itself fail (e.g. an unreachable target), which surfaces as a nonzero calculated_result.- Parameters:
robot_model – Name of the robot model.
reference_value – Reference target and frame information. tar_values must resolve to exactly 7 elements — this SDK truncates it to at most 7, so supplying fewer than 7 will not be padded and the request will be rejected. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
move_type – Move type the result is computed for: 0 Move J / pin joint (joint-space), 1 Move L / pin point (Cartesian- space), 2 Move JB, 3 Move LB, 4 Move PB, 5 Move XB.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_Get_Absolute_ValueT with calculated_result (0 on success) and calculated_value (the computed absolute target). If tar_values doesn’t resolve to exactly 7 elements, the robot rejects the request before any calculation runs: calculated_result is nonzero and calculated_value is left unset.
- Raises:
std::runtime_error – If the query itself fails (e.g. no reply).
Note
This function does not throw on calculation failure — calculated_result nonzero must be checked by the caller.
- get_relative_value(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, relative_value: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, move_type: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Get_Relative_ValueTD#
Computes the coordinate a relative move would resolve to.
Given
reference_valueas the starting point, computes the absolute target that moving byrelative_valuefrom it resolves to. Used internally by the move-family functions’ relative-move calculation (e.g.call_move_j/call_move_l).relative_valueandreference_valuedo not need the same tar_frame: if one is Joint Space (tar_frame -1) and the other isn’t, the robot converts one to match the other (forward/inverse kinematics) before combining them, then converts the combined result again if needed to matchmove_type.This conversion can itself fail (e.g. an unreachable target), which surfaces as a nonzero calculated_result.- Parameters:
robot_model – Name of the robot model.
relative_value – Relative offset target and frame information. tar_values must have exactly 7 elements — this SDK passes it through unmodified, so callers must pad to 7 themselves (e.g. with 0 for a 6-axis model’s unused ArmAngle slot). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
reference_value – Reference target and frame information. tar_values must resolve to exactly 7 elements after this SDK truncates it to at most 7 — supplying fewer than 7 will not be padded and will fail the same way as an oversized/undersized
relative_value.tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.move_type – Move type the result is computed for: 0 Move J (joint- space), 1 Move L (Cartesian-space), 2 Move JB, 3 Move LB, 4 Move PB, 5 Move XB.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_Get_Relative_ValueT with calculated_result (0 on success) and calculated_value (the computed absolute target). If either tar_values doesn’t resolve to exactly 7 elements, the robot rejects the request before any calculation runs: calculated_result is nonzero and calculated_value is left unset.
- Raises:
std::runtime_error – If the query itself fails (e.g. no reply).
Note
This function does not throw on calculation failure — calculated_result nonzero must be checked by the caller (as the move-family functions do).
- get_variable(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, name: str) float | list[float] | str | None#
Looks up a named runtime variable/system value on the robot.
- Parameters:
robot_model – Name of the robot model.
name – Variable name to query.
- Returns:
The variable’s value as a float, a list of floats, or a string, depending on its reported type; std::nullopt if the response is invalid or the response’s type doesn’t match any of those. This matches the Python original.
- Raises:
std::runtime_error – If the query itself fails (e.g. no reply).
- get_variables(self: rb_sdk.rb_sdk_cpp.RBManipulateGetDataSDK, *, robot_model: str, names: list[str]) dict[str, float | list[float] | str | None]#
Reads several core variables in a single query.
Same as calling
get_variableonce per name, but sends oneget_core_data_multiquery instead of one query per name, so the values also come from the same moment in time.- Parameters:
robot_model – Name of the robot model.
names – Variable names to read.
- Returns:
A map from variable name to its value (a float, a list of floats, or a string, depending on its reported type). A name the robot reports as invalid maps to std::nullopt, and a name missing from the response is absent from the map.
- Raises:
std::runtime_error – If the query itself fails. A robot whose core does not serve
get_core_data_multianswers nothing, which surfaces as rb_zenoh::ZenohNoReply; fall back toget_variableper name in that case.
- class rb_sdk.rb_sdk_cpp.RBManipulateIOSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_ext_aout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_voltage: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set an extension board analog output.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board analog output port number (0-3). A negative value applies
desired_voltageto every extension board analog output port.desired_voltage – Desired output voltage. Unlike
call_flange_power,there is no bypass convention here — this value is applied as given.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_ext_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_out: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set an extension board digital output.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital output port number (0-15). A negative value applies
desired_outto every extension board digital output port.desired_out – Desired output value. A negative value is a no-op (the robot returns success without changing any output).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_ext_dout_bitcombination(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_start: int, port_end: int, desired_value: int, direction_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a range of extension board digital outputs at once.
Ports that have a special function assigned (see
save_ext_dout_function)are rejected — this call only works on plain digital output ports.- Parameters:
robot_model – Name of the robot model.
port_start – First port number in the range (inclusive).
port_end – Last port number in the range (inclusive), must be >=
port_start.desired_value – Bit pattern of output values to apply across the port range. Let N =
port_end-port_start+ 1 (number of ports in the range); valid range is 0 to (2^N - 1), one bit per port.direction_option – Direction to map bits to ports: 0 applies bit 0 to
port_start(normal), 1 applies bit 0 toport_end(inverse).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_ext_dout_pulse(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, block_mode: int, direction: int, time_1: float, time_2: float, time_3: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to pulse an extension board digital output on a timing schedule.
Ports that have a special function assigned (see
save_ext_dout_function)are rejected — this call only works on plain digital output ports.- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital output port number (0-15).
block_mode – 0 blocks until the pulse sequence finishes (up to a 10-second internal wait) before returning; 1 returns immediately without waiting. Any value other than 1 is treated as 0.
direction – Pulse waveform pattern across the 3 time segments: 0 for off/on/off, 1 for on/off/on. Any value other than 1 is treated as 0.
time_1 – First timing parameter, in seconds (valid range 0-3).
time_2 – Second timing parameter, in seconds (valid range 0-3).
time_3 – Third timing parameter, in seconds (valid range 0-3). Values below 0.003 are silently raised to 0.003 by the robot (unlike
time_1/time_2,which are used as given).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
Note
The query timeout may increase based on the sum of the requested pulse times (time_1, time_2, and time_3).
- call_ext_dout_toggle(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to toggle an extension board digital output.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital output port number (0-15). A negative value toggles every extension board digital output port.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_flange_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_out: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a flange (tool) digital output.
Only available while the robot is power-engaged.
- Parameters:
robot_model – Name of the robot model.
port_num – Flange digital output port number (0-1). A negative value applies
desired_outto every flange digital output port.desired_out – Desired output value: 1 is on, any other positive value is treated as 0 (off). A negative value bypasses — re-applies the port’s current state instead of changing it.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_flange_power(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, desired_voltage: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set the flange (tool) power voltage.
Only available while the robot is power-engaged.
- Parameters:
robot_model – Name of the robot model.
desired_voltage – Desired flange power voltage, in volts. Valid values are: - 0: power off - 12: 12V - 24: 24V - any negative value (e.g. -1): bypass — leaves the current voltage unchanged instead of setting a new one Any other positive value (e.g. 5) is rejected by the robot’s firmware and the call fails (return_value nonzero) rather than being coerced to one of the values above.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero (the exception message includes the numeric return_value code).
- call_multiple_ext_aout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, ext_aout_args: list[rb_schemas.fbs_types.ipc.Request_ExtAout_GeneralTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set multiple extension board analog outputs in order.
Applies
call_ext_aoutonce per entry inext_aout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
ext_aout_args – Extension board analog output requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
ext_aout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
ext_aout_argsfails.
- call_multiple_ext_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, ext_dout_args: list[rb_schemas.fbs_types.ipc.Request_ExtDout_GeneralTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set multiple extension board digital outputs in order.
Applies
call_ext_doutonce per entry inext_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
ext_dout_args – Extension board digital output requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
ext_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
ext_dout_argsfails.
- call_multiple_ext_dout_bitcombination(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, ext_dout_args: list[rb_schemas.fbs_types.ipc.Request_ExtDout_BitcombinationTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to apply multiple extension board digital output bit-combinations in order.
Applies
call_ext_dout_bitcombinationonce per entry inext_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
ext_dout_args – Extension board digital output bit-combination requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
ext_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
ext_dout_argsfails.
- call_multiple_ext_dout_pulse(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, ext_dout_args: list[rb_schemas.fbs_types.ipc.Request_ExtDout_PulseTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run multiple extension board digital output pulses in order.
Applies
call_ext_dout_pulseonce per entry inext_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
ext_dout_args – Extension board digital output pulse requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
ext_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
ext_dout_argsfails.
- call_multiple_ext_dout_toggle(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, ext_dout_args: list[rb_schemas.fbs_types.ipc.Request_ExtDout_ToggleTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to toggle multiple extension board digital outputs in order.
Applies
call_ext_dout_toggleonce per entry inext_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
ext_dout_args – Extension board digital output toggle requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
ext_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
ext_dout_argsfails.
- call_multiple_flange_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, flange_dout_args: list[rb_schemas.fbs_types.ipc.Request_Flange_Digital_OutTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set multiple flange (tool) digital outputs in order.
Applies
call_flange_doutonce per entry inflange_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
flange_dout_args – Flange digital output requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
flange_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
flange_dout_argsfails.
- call_multiple_side_aout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, side_aout_args: list[rb_schemas.fbs_types.ipc.Request_SideAout_GeneralTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set multiple side board analog outputs in order.
Applies
call_side_aoutonce per entry inside_aout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
side_aout_args – Side board analog output requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
side_aout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
side_aout_argsfails.
- call_multiple_side_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, side_dout_args: list[rb_schemas.fbs_types.ipc.Request_SideDout_GeneralTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set multiple side board digital outputs in order.
Applies
call_side_doutonce per entry inside_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
side_dout_args – Side board digital output requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
side_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
side_dout_argsfails.
- call_multiple_side_dout_bitcombination(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, side_dout_args: list[rb_schemas.fbs_types.ipc.Request_SideDout_BitcombinationTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to apply multiple side board digital output bit- combinations in order.
Applies
call_side_dout_bitcombinationonce per entry inside_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
side_dout_args – Side board digital output bit-combination requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
side_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
side_dout_argsfails.
- call_multiple_side_dout_pulse(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, side_dout_args: list[rb_schemas.fbs_types.ipc.Request_SideDout_PulseTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run multiple side board digital output pulses in order.
Applies
call_side_dout_pulseonce per entry inside_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
side_dout_args – Side board digital output pulse requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
side_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
side_dout_argsfails.
- call_multiple_side_dout_toggle(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, side_dout_args: list[rb_schemas.fbs_types.ipc.Request_SideDout_ToggleTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to toggle multiple side board digital outputs in order.
Applies
call_side_dout_toggleonce per entry inside_dout_args,in order; seecall_multiple_commonfor the fail-fast/completion semantics.- Parameters:
robot_model – Name of the robot model.
side_dout_args – Side board digital output toggle requests to apply in order.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every request has succeeded.
- Returns:
IPC::Response_FunctionsT with return_value 0 if
side_dout_argswas empty, otherwise the last request’s result.- Raises:
std::runtime_error – If any request in
side_dout_argsfails.
- call_side_aout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_voltage: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a side board analog output.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board analog output port number (0-3). A negative value applies
desired_voltageto every side analog output port.desired_voltage – Desired output voltage. Unlike
call_flange_power,there is no bypass convention here — this value is applied as given.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_side_dout(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_out: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a side board digital output.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital output port number (0-15). A negative value applies
desired_outto every side board digital output port.desired_out – Desired output value. A negative value is a no-op (the robot returns success without changing any output).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_side_dout_bitcombination(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_start: int, port_end: int, desired_value: int, direction_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a range of side board digital outputs at once.
Ports that have a special function assigned (see
save_side_dout_function)are rejected — this call only works on plain digital output ports.- Parameters:
robot_model – Name of the robot model.
port_start – First port number in the range (inclusive).
port_end – Last port number in the range (inclusive), must be >=
port_start.desired_value – Bit pattern of output values to apply across the port range. Let N =
port_end-port_start+ 1 (number of ports in the range); valid range is 0 to (2^N - 1), one bit per port.direction_option – Direction to map bits to ports: 0 applies bit 0 to
port_start(normal), 1 applies bit 0 toport_end(inverse).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_side_dout_pulse(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, block_mode: int, direction: int, time_1: float, time_2: float, time_3: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to pulse a side board digital output on a timing schedule.
Ports that have a special function assigned (see
save_side_dout_function)are rejected — this call only works on plain digital output ports.- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital output port number (0-15).
block_mode – 0 blocks until the pulse sequence finishes (up to a 10-second internal wait) before returning; 1 returns immediately without waiting. Any value other than 1 is treated as 0.
direction – Pulse waveform pattern across the 3 time segments: 0 for off/on/off, 1 for on/off/on. Any value other than 1 is treated as 0.
time_1 – First timing parameter, in seconds (valid range 0-3).
time_2 – Second timing parameter, in seconds (valid range 0-3).
time_3 – Third timing parameter, in seconds (valid range 0-3). Values below 0.003 are silently raised to 0.003 by the robot (unlike
time_1/time_2,which are used as given).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
Note
The query timeout may increase based on the sum of the requested pulse times (time_1, time_2, and time_3).
- call_side_dout_toggle(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to toggle a side board digital output.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital output port number (0-15). A negative value toggles every side board digital output port.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_after_action(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, after_no: int, after_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save an “after action” assignment.
- Parameters:
robot_model – Name of the robot model.
after_no – After-action slot number, 0-15, one of: 0 After System Boot, 1 After Servo On, 2 After Real Mode On, 3 After Simul Mode On, 4 After Arm DC Power On, 5 After Arm DC Power Off, 6 After Program Start, 7 After Program Stop, 8 After Direct Teaching On, 9 After Direct Teaching Off, 10 After Collision Occur, 11 After Collision Reset, 12 After Pause, 13 After Resume, 14 After Move Start, 15 After Move Done.
after_option – Action to run when the
after_noevent occurs: 0 (Do nothing), or 1-16 to run User Script 0 through User Script 15 respectively.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_ext_din_filter(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_count: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a debounce filter count for an extension board digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital input port number (0-15).
desired_count – Input signal delay (debounce) count for the port, 0-200.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_ext_din_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for an extension board digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital input port number (0-15).
desired_function – Special function to assign to the port; same 0-26 function list as
save_side_din_function.Out-of-range values are rejected.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_ext_dout_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for an extension board digital output port.
- Parameters:
robot_model – Name of the robot model.
port_num – Extension board digital output port number (0-15).
desired_function – Special function to assign to the port; same 0-31 function list as
save_side_dout_function.Out-of-range values are rejected.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_flange_din_filter(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_count: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a debounce filter count for a flange (tool) digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Flange digital input port number (0-5).
desired_count – Input signal delay (debounce) count for the port, 0-200.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_flange_din_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for a flange (tool) digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Flange digital input port number (0-5).
desired_function – Special function to assign to the port; same 0-26 function list as
save_side_din_function.Out-of-range values are rejected.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_flange_dout_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for a flange (tool) digital output port.
- Parameters:
robot_model – Name of the robot model.
port_num – Flange digital output port number (0-1).
desired_function – Special function to assign to the port; same 0-31 function list as
save_side_dout_function.Out-of-range values are rejected.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_network_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, static_vs_dhcp: int, addr_0: int, addr_1: int, addr_2: int, addr_3: int, mask_0: int, mask_1: int, mask_2: int, mask_3: int, gate_0: int, gate_1: int, gate_2: int, gate_3: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to configure its network settings.
- Parameters:
robot_model – Name of the robot model.
static_vs_dhcp – Network configuration mode (0: Static IP, 1: DHCP)
addr_0 – IP address, 1st octet.
addr_1 – IP address, 2nd octet.
addr_2 – IP address, 3rd octet.
addr_3 – IP address, 4th octet.
mask_0 – Subnet mask, 1st octet.
mask_1 – Subnet mask, 2nd octet.
mask_2 – Subnet mask, 3rd octet.
mask_3 – Subnet mask, 4th octet.
gate_0 – Gateway address, 1st octet.
gate_1 – Gateway address, 2nd octet.
gate_2 – Gateway address, 3rd octet.
gate_3 – Gateway address, 4th octet.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_side_din_filter(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_count: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a debounce filter count for a side board digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital input port number (0-15).
desired_count – Input signal delay (debounce) count for the port, 0-200.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_side_din_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for a side board digital input port.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital input port number (0-15).
desired_function – Special function to assign to the port (R=triggered on rising edge, F=triggered on falling edge): - 0: None - 1: R=Power On - 2: R=Power Off - 3: R=Servo On Robot - 4: R=Servo On Robot / F=Power Off - 5: R=Switch to Real Mode - 6: R=Switch to Simulation Mode - 7: R=Stop Move - 8: R=Pause Move - 9: R=Resume from Pause - 10: R=Pause Move / F=Resume Move - 11: R=Resume from Collision - 12: R=FreeDrive On / F=FreeDrive Off - 13: R=Load Default Program - 14: R=Stop Program - 15: R=Start Program - 16: R=Pause Program - 17: R=Resume Program - 18: R=Pause Program / F=Resume Program - 19: R=TCP 50mm/s / F=Release - 20: R=TCP 100mm/s / F=Release - 21: R=TCP 250mm/s / F=Release - 22: R=TCP 500mm/s / F=Release - 23: R=SpeedBar 0% / F=Recover - 24: R=SpeedBar 10% / F=Recover - 25: R=SpeedBar 20% / F=Recover - 26: R=SpeedBar 50% / F=Recover Out-of-range values are rejected.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_side_dout_function(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, port_num: int, desired_function: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a special-function assignment for a side board digital output port.
- Parameters:
robot_model – Name of the robot model.
port_num – Side board digital output port number (0-15).
desired_function – Special function to assign to the port (H=digital output signal is High, L=digital output signal is Low): - 0: None - 1: H=System Ready - 2: H=Heart Beat 1sec - 3: H=Bypass Dout # - 4: H=Is Power On State - 5: H=Is Robot Servo On State - 6: H=Is RealMode - 7: H=Is Real Mode + Idle - 8: H=Is Idle Move State - 9: H=Is Pause State - 10: H=Is Out Collision State - 11: H=Is Self Collision State - 12: H=Is Collision State (Out+Self) - 13: H=Is FreeDrive State - 14: H=Is Program Loaded - 15: H=Is Program Running - 16-31: H=Joints In-Position Pin 0-15 respectively Out-of-range values are rejected.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- save_user_script(self: rb_sdk.rb_sdk_cpp.RBManipulateIOSDK, *, robot_model: str, script_no: int, script_txt: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a user script.
- Parameters:
robot_model – Name of the robot model.
script_no – User script slot number to save into, 0-15.
script_txt – Script text/content to save.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- class rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_force_eater_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, time_sec: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to force the bleeder on for a given duration.
Forces the bleeder (regenerative-energy dissipation circuit) on regardless of its normal activation condition. The robot only reports success/failure of the request here.
- Parameters:
robot_model – Name of the robot model.
time_sec – Duration, in seconds, to keep the bleeder forced on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure.
- Raises:
std::runtime_error – If the request fails or the result cannot be retrieved.
- call_joint_bno_change(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, channel_no: int, board_no: int, target_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to change a joint board’s board-number assignment.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
channel_no – Channel the joint board is on.
board_no – Current joint board number. A negative value applies to every joint board.
target_no – New board number to assign.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- call_joint_brake(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, brake_optioin: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a joint board’s brake state.
If
brake_optioinis 1 (Open, Hard) or 2 (Weak), this powers the robot on first if it isn’t already powered.- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to control. A negative value applies to every joint board.
brake_optioin – Brake option: 0 (Close), 1 (Open, Hard), 2 (Weak), or 3 (Close only). (Parameter name matches the underlying wire field’s spelling, including its typo.)
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- call_joint_encoder_zero(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to zero a joint board’s encoder.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to zero. A negative value applies to every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- call_joint_sensor_reset(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run a joint board’s current-sensor calibration procedure.
This is a multi-stage physical calibration, not an instant reset: cycles the brake and runs DQ-axis alignment (3 tries), DQ save (2 tries), and current nulling (2 tries), with real delays between steps. Takes on the order of several seconds per joint. Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to calibrate. A negative value applies to every joint board (multiplying the total time).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- call_persist_joint_erase(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, target_angle: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Erases the cobot’s persisted last joint angle DB.
Clears the joint angles the robot has stored as its last known position for all joints at once, and resets the stored entries to
target_angle.- Parameters:
robot_model – Name of the robot model.
target_angle – Joint angles, in degrees, to store in place of the erased values. One value per joint, covering every joint.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure.
- Raises:
std::runtime_error – If the erase request fails or the result cannot be retrieved.
- call_send_can(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, channel: int, id: int, dlc: int, d0: int, d1: int, d2: int, d3: int, d4: int, d5: int, d6: int, d7: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sends a CAN message from the robot on the specified channel.
Transmits a single CAN frame built from the given channel, CAN ID, DLC and data bytes.
- Parameters:
robot_model – Name of the robot model.
channel – CAN channel to send on. 0: Ch 0, 1: Ch 1.
id – CAN identifier of the message.
dlc – Data length code (number of data bytes), 0 to 8.
d0 – Data byte 0 (0 to 255).
d1 – Data byte 1 (0 to 255).
d2 – Data byte 2 (0 to 255).
d3 – Data byte 3 (0 to 255).
d4 – Data byte 4 (0 to 255).
d5 – Data byte 5 (0 to 255).
d6 – Data byte 6 (0 to 255).
d7 – Data byte 7 (0 to 255). Only the first
dlcbytes (d0 to d(dlc-1)) are transmitted.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the send request (success/failure).
- Raises:
std::runtime_error – If the send request fails or the result cannot be retrieved.
- call_shortcircuit_check(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run a short-circuit check.
The robot only reports success/failure of the request here. Detailed check results are not returned through the SDK call.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no short-circuit check payload.
- Raises:
std::runtime_error – If the check request fails or the result cannot be retrieved.
- pop_can_message_check(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, range_optoin: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to run a CAN message check and log/broadcast the result.
This does not return the check result through the SDK call — the robot only reports success/failure here. The actual result is logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller).
- Parameters:
robot_model – Name of the robot model.
range_optoin – Scope of the CAN message check: - 0: Control box only - 1: Control box + robot
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no CAN message check payload.
- Raises:
std::runtime_error – If the check request fails or the result cannot be retrieved.
- pop_joint_big_input(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s big-error/input- error pulse thresholds.
Counterpart to
set_joint_big_input,but this does not return the threshold values through the SDK call — the robot only reports success/failure here. The actual values are logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no threshold payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pop_joint_dq_axis(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s DQ-axis encoder values.
This does not return the DQ-axis encoder values through the SDK call — the robot only reports success/failure here. The actual values are logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no DQ- axis encoder payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pop_joint_gain_cur(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s current-loop gains.
Counterpart to
set_joint_gain_cur,but this does not return the gain values through the SDK call — the robot only reports success/failure here. The actual gains are logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no gain payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pop_joint_gain_pos(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s position-loop gains.
Counterpart to
set_joint_gain_pos,but this does not return the gain values through the SDK call — the robot only reports success/failure here. The actual gains are logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no gain payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pop_joint_infos(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s info.
This does not return the joint info through the SDK call itself — the robot only reports success/failure here. The actual info is logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no joint info payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pop_joint_jam_over(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to log/broadcast a joint board’s jam/overcurrent error thresholds.
Counterpart to
set_joint_jam_over,but this does not return the threshold values through the SDK call — the robot only reports success/failure here. The actual values are logged and broadcast as a general message on the robot side (visible on the teach-pendant/UI, not returned to this caller). Also powers the robot on if it isn’t already.- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to query. A negative value queries every joint board.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing only success/failure — no threshold payload.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- pub_send_can(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, channel: int, id: int, dlc: int, d0: int, d1: int, d2: int, d3: int, d4: int, d5: int, d6: int, d7: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a CAN message from the robot on the specified channel without waiting for a response.
Fire-and-forget counterpart to call_send_can(): builds and transmits a single CAN frame the same way, but publishes the request (real-time priority, dropped under congestion) instead of querying, and does not report failures back to the caller.
- Parameters:
robot_model – Name of the robot model.
channel – CAN channel to send on. 0: Ch 0, 1: Ch 1.
id – CAN identifier of the message.
dlc – Data length code (number of data bytes), 0 to 8.
d0 – Data byte 0 (0 to 255).
d1 – Data byte 1 (0 to 255).
d2 – Data byte 2 (0 to 255).
d3 – Data byte 3 (0 to 255).
d4 – Data byte 4 (0 to 255).
d5 – Data byte 5 (0 to 255).
d6 – Data byte 6 (0 to 255).
d7 – Data byte 7 (0 to 255). Only the first
dlcbytes (d0 to d(dlc-1)) are transmitted.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
See also
call_send_can
- set_joint_big_input(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, bigerr: int, inputerr: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a joint board’s big-error/input-error pulse thresholds.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to configure. A negative value applies to every joint board.
bigerr – Big-error pulse threshold.
inputerr – Input-error pulse threshold.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- set_joint_gain_cur(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, pgain: int, igain: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a joint board’s current-loop gains.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to configure. A negative value applies to every joint board.
pgain – Proportional gain of the current control loop.
igain – Integral gain of the current control loop.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- set_joint_gain_pos(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, pgain: int, igain: int, dgain: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a joint board’s position-loop gains.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to configure. A negative value applies to every joint board.
pgain – Proportional gain of the position control loop.
igain – Integral gain of the position control loop.
dgain – Derivative gain of the position control loop.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- set_joint_jam_over(self: rb_sdk.rb_sdk_cpp.RBManipulateMaintenanceSDK, *, robot_model: str, board_no: int, jam_current: int, jam_time: int, ovr_current: int, ovr_time: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set a joint board’s jam/overcurrent error thresholds.
Powers the robot on first if it isn’t already powered.
- Parameters:
robot_model – Name of the robot model.
board_no – Joint board number to configure. A negative value applies to every joint board.
jam_current – Jam-error current limit, in mA.
jam_time – Jam-error duration threshold, in units of 0.1s.
ovr_current – Overcurrent-error current limit, in mA.
ovr_time – Overcurrent-error duration threshold, in units of 0.1s
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
board_nois out of range, or the result cannot be retrieved.
- class rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_admittance_force_change(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, frame: int, enable_x: int, enable_y: int, enable_z: int, enable_rx: int, enable_ry: int, enable_rz: int, target_x: float, target_y: float, target_z: float, target_rx: float, target_ry: float, target_rz: float, pgain_x: float, pgain_y: float, pgain_z: float, pgain_rx: float, pgain_ry: float, pgain_rz: float, igain_x: float, igain_y: float, igain_z: float, igain_rx: float, igain_ry: float, igain_rz: float, spdlim_x: float, spdlim_y: float, spdlim_z: float, spdlim_rx: float, spdlim_ry: float, spdlim_rz: float, max_dev_pos: float, max_dev_rot: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to change active admittance force control’s parameters.
Same fields as
call_admittance_force_onexcept sensor/contact- force settings, which cannot be changed while active.- Parameters:
robot_model – Name of the robot model.
frame – Target frame: 0 Global, 1 Local, 2 User, 3 Target.
enable_x – Enable X axis (0/1, default 0/unchecked).
enable_y – Enable Y axis (0/1, default 0/unchecked).
enable_z – Enable Z axis (0/1, default 0/unchecked).
enable_rx – Enable Rx axis (0/1, default 0/unchecked).
enable_ry – Enable Ry axis (0/1, default 0/unchecked).
enable_rz – Enable Rz axis (0/1, default 0/unchecked).
target_x – Target force/torque along X (default 0).
target_y – Target force/torque along Y (default 0).
target_z – Target force/torque along Z (default 0).
target_rx – Target force/torque around Rx (default 0).
target_ry – Target force/torque around Ry (default 0).
target_rz – Target force/torque around Rz (default 0).
pgain_x – X-axis P gain (default 1).
pgain_y – Y-axis P gain (default 1).
pgain_z – Z-axis P gain (default 1).
pgain_rx – Rx-axis P gain (default 1).
pgain_ry – Ry-axis P gain (default 1).
pgain_rz – Rz-axis P gain (default 1).
igain_x – X-axis I gain (default 0).
igain_y – Y-axis I gain (default 0).
igain_z – Z-axis I gain (default 0).
igain_rx – Rx-axis I gain (default 0).
igain_ry – Ry-axis I gain (default 0).
igain_rz – Rz-axis I gain (default 0).
spdlim_x – X-axis speed limit (default 0).
spdlim_y – Y-axis speed limit (default 0).
spdlim_z – Z-axis speed limit (default 0).
spdlim_rx – Rx-axis speed limit (default 0).
spdlim_ry – Ry-axis speed limit (default 0).
spdlim_rz – Rz-axis speed limit (default 0).
max_dev_pos – Position max deviation, in mm.
max_dev_rot – Rotation max deviation, in degrees.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_admittance_force_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop admittance force control.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_admittance_force_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, frame: int, enable_x: int, enable_y: int, enable_z: int, enable_rx: int, enable_ry: int, enable_rz: int, target_x: float, target_y: float, target_z: float, target_rx: float, target_ry: float, target_rz: float, pgain_x: float, pgain_y: float, pgain_z: float, pgain_rx: float, pgain_ry: float, pgain_rz: float, igain_x: float, igain_y: float, igain_z: float, igain_rx: float, igain_ry: float, igain_rz: float, spdlim_x: float, spdlim_y: float, spdlim_z: float, spdlim_rx: float, spdlim_ry: float, spdlim_rz: float, max_dev_pos: float, max_dev_rot: float, sensor_type: int, sensor_cutoffhz: float, sensor_handle: int, contact_force: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start admittance force control.
- Parameters:
robot_model – Name of the robot model.
frame – Target frame: 0 Global, 1 Local, 2 User, 3 Target.
enable_x – Enable X axis (0/1, default 0/unchecked).
enable_y – Enable Y axis (0/1, default 0/unchecked).
enable_z – Enable Z axis (0/1, default 0/unchecked).
enable_rx – Enable Rx axis (0/1, default 0/unchecked).
enable_ry – Enable Ry axis (0/1, default 0/unchecked).
enable_rz – Enable Rz axis (0/1, default 0/unchecked).
target_x – Target force/torque along X (default 0).
target_y – Target force/torque along Y (default 0).
target_z – Target force/torque along Z (default 0).
target_rx – Target force/torque around Rx (default 0).
target_ry – Target force/torque around Ry (default 0).
target_rz – Target force/torque around Rz (default 0).
pgain_x – X-axis P gain (default 1).
pgain_y – Y-axis P gain (default 1).
pgain_z – Z-axis P gain (default 1).
pgain_rx – Rx-axis P gain (default 1).
pgain_ry – Ry-axis P gain (default 1).
pgain_rz – Rz-axis P gain (default 1).
igain_x – X-axis I gain (default 0).
igain_y – Y-axis I gain (default 0).
igain_z – Z-axis I gain (default 0).
igain_rx – Rx-axis I gain (default 0).
igain_ry – Ry-axis I gain (default 0).
igain_rz – Rz-axis I gain (default 0).
spdlim_x – X-axis speed limit (default 0).
spdlim_y – Y-axis speed limit (default 0).
spdlim_z – Z-axis speed limit (default 0).
spdlim_rx – Rx-axis speed limit (default 0).
spdlim_ry – Ry-axis speed limit (default 0).
spdlim_rz – Rz-axis speed limit (default 0).
max_dev_pos – Position max deviation, in mm.
max_dev_rot – Rotation max deviation, in degrees.
sensor_type – Force/torque sensor source: 0 External F/T, 1 Internal F/T, 2-5 Analog Input 0-3, 6 Custom.
sensor_cutoffhz – Sensor low-pass filter, in Hz (default 20).
sensor_handle – Sensor signal option: 0 Auto Nulling, 1 Raw Value.
contact_force – Contact detection force, in N (default 5).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_approach_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start an Approach-J joint-space movement.
Sends the same underlying request shape as
call_move_j;the two are distinguished only by the calling context.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the movement result is received.
- Returns:
IPC::Response_FunctionsT containing the movement request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_approach_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start an Approach-L Cartesian-space movement.
Sends the same underlying request shape as
call_move_l;the two are distinguished only by the calling context.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the movement result is received.
- Returns:
IPC::Response_FunctionsT containing the movement request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_approach_stop(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, stop_time: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop an active Approach movement.
Sends the same underlying request shape as
call_smoothjog_stop;the two are distinguished only by the calling context.- Parameters:
robot_model – Name of the robot model.
stop_time – Deceleration time, in seconds, used to bring the movement to a stop.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the stop command is accepted.
- Returns:
IPC::Response_FunctionsT containing the stop request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_arc_sensing_change_gain(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, gain_dep_p: float, gain_dep_i: float, gain_dep_a: float, max_dep_dev: float, gain_sid_p: float, gain_sid_i: float, gain_sid_a: float, max_sid_dev: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to change active arc sensing’s gain parameters.
- Parameters:
robot_model – Name of the robot model.
gain_dep_p – Depth-direction P gain (default 0).
gain_dep_i – Depth-direction I gain (default 0).
gain_dep_a – Depth-direction anti-windup gain (default 0).
max_dep_dev – Depth-direction max deviation, in mm (default 10).
gain_sid_p – Weave-direction P gain (default 0).
gain_sid_i – Weave-direction I gain (default 0).
gain_sid_a – Weave-direction anti-windup gain (default 0).
max_sid_dev – Weave-direction max deviation, in mm (default 10).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_arc_sensing_change_target(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, t1: float, t2: float, dep_target_method: int, dep_target_a: float, sid_target_method: int, sid_target_a: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to change active arc sensing’s target parameters.
- Parameters:
robot_model – Name of the robot model.
t1 – T1 time, in seconds.
t2 – T2 time, in seconds.
dep_target_method – Depth-direction target method: 0 Desired Value, 1 Average between T1/T2 (default).
dep_target_a – Depth-direction desired value (default 0), interpreted when
dep_target_methodis 0.sid_target_method – Weave-direction target method: 0 Desired Value (default), 1 Average between T1/T2.
sid_target_a – Weave-direction desired value (default 0), interpreted when
sid_target_methodis 0.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_arc_sensing_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop arc sensing (weld seam tracking).
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_arc_sensing_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, control_type: int, data_grab_point: int, data_grab_saturation_mode: int, data_grab_saturation_L: float, data_grab_saturation_U: float, data_grab_filter_hz: float, data_grab_weighting_mode: int, t1: float, t2: float, dep_target_method: int, dep_target_a: float, sid_target_method: int, sid_target_a: float, gain_dep_p: float, gain_dep_i: float, gain_dep_a: float, max_dep_dev: float, gain_sid_p: float, gain_sid_i: float, gain_sid_a: float, max_sid_dev: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start arc sensing (weld seam tracking).
- Parameters:
robot_model – Name of the robot model.
control_type – Control mode: 0 RT (Full Cycle), 1 RT (Half Cycle), 2 Every Full Cycle, 3 Every Half Cycle.
data_grab_point – Sensing data source: 0-3 for Analog Input 0-3.
data_grab_saturation_mode – Sensing saturation mode: 0 No Saturation, 1 Saturation with Lower/Upper limit, 2 Saturation with hold.
data_grab_saturation_l – Sensing saturation lower limit.
data_grab_saturation_u – Sensing saturation upper limit.
data_grab_filter_hz – Sensing data low-pass filter, in Hz (default 20).
data_grab_weighting_mode – Sensing weighting mode: 0 Curve Weight (default), 1 Even Weight, 2 Linear Weight, 3 Reduced Linear Weight.
t1 – T1 time, in seconds.
t2 – T2 time, in seconds.
dep_target_method – Depth-direction target method: 0 Desired Value, 1 Average between T1/T2 (default).
dep_target_a – Depth-direction desired value (default 0), interpreted when
dep_target_methodis 0.sid_target_method – Weave-direction target method: 0 Desired Value (default), 1 Average between T1/T2.
sid_target_a – Weave-direction desired value (default 0), interpreted when
sid_target_methodis 0.gain_dep_p – Depth-direction P gain (default 0).
gain_dep_i – Depth-direction I gain (default 0).
gain_dep_a – Depth-direction anti-windup gain (default 0).
max_dep_dev – Depth-direction max deviation, in mm (default 10).
gain_sid_p – Weave-direction P gain (default 0).
gain_sid_i – Weave-direction I gain (default 0).
gain_sid_a – Weave-direction anti-windup gain (default 0).
max_sid_dev – Weave-direction max deviation, in mm (default 10).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_base_conveyor_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, stop_time_sec: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop base conveyor tracking.
- Parameters:
robot_model – Name of the robot model.
stop_time_sec – Deceleration time, in seconds.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_base_conveyor_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, conv_type: int, conv_speed: float, conv_acc_time_sec: float, conv_ref_points: list[Sequence[float]], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start base conveyor tracking.
- Parameters:
robot_model – Name of the robot model.
conv_type – 0 No Conveyor, 1 Linear Conveyor, 2 Circular Conveyor.
conv_speed – Conveyor speed, in mm/s.
conv_acc_time_sec – Speed adjustment time, in seconds.
conv_ref_points – Conveyor reference points; each point’s values are rounded to 3 decimal places and padded/truncated to 7 elements.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_base_conveyor_speed(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, conv_speed: float, conv_acc_time_sec: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to change the base conveyor’s tracking speed.
- Parameters:
robot_model – Name of the robot model.
conv_speed – Conveyor speed, in mm/s.
conv_acc_time_sec – Speed adjustment time, in seconds.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_align_tcp(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, target_frame: int, tolerance: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to align its TCP.
- Parameters:
robot_model – Name of the robot model.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
target_frame – Reference frame for alignment: 0 Global, 1 Local, or 2 User.
tolerance – Align tolerance angle, in degrees.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_cir_axis(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, center: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, axis: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, angle: float, mode: int, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, radius_option: int, radius_para: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to move in a circle defined by a center and rotation axis.
- Parameters:
robot_model – Name of the robot model.
center – Rotation center. Resolved through the same relative-value calculation as
get_relative_valuebefore being sent. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.axis – Rotation axis. Resolved the same way as
center.tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.angle – Rotation angle, in degrees.
mode – Orientation mode: 0 Sync, 1 Constant, 2 Intended.
speed – Movement speed parameters (same concept as move-L speed). spd_mode is 0 (%-based) or 1 (absolute/physical value).
radius_option – Radius option: 0 None, 1 Rate per revolution, 2 Size per revolution.
radius_para – Radius parameter, interpreted according to
radius_option.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, the center/axis relative- value calculation fails, or the result cannot be retrieved.
- call_move_cir_threepoint(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, via_p: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, goal_p: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, mode: int, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, radius_option: int, radius_para: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to move in a circle defined by a via point and a goal point.
- Parameters:
robot_model – Name of the robot model.
via_p – A point the circular path passes through. Resolved through the same relative-value calculation as
get_relative_valuebefore being sent. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.goal_p – The circular path’s end point. Resolved the same way as
via_p.tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.mode – Orientation mode: 0 Sync, 1 Constant, 2 Intended.
speed – Movement speed parameters (same concept as move-L speed). spd_mode is 0 (%-based) or 1 (absolute/physical value).
radius_option – Radius option: 0 None, 1 Rate per revolution, 2 Size per revolution.
radius_para – Radius parameter, interpreted according to
radius_option.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, the via/goal point relative-value calculation fails, or the result cannot be retrieved.
- call_move_home(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, home_type: int, move_type: int, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to move to a home position.
- Parameters:
robot_model – Name of the robot model.
home_type – Home position: 0 Top-Level (Main) Project, 1 Currently running (Sub) Project, 2 Zero Posture, or 3 + N (3-18) for Global Pin N (0-15, see
save_globpin_parameter).move_type – Movement type used to reach the home position: 0 Move-J, 1 Move-L.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: list[float] | None = None, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, ext_axis: list[float] | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start a J-type (joint-space) movement.
Supports J-type (joint-space) movement of the cobot: the target is given as a per-joint angle set, and each joint moves independently toward its target angle, so the resulting end-effector path is not constrained to a straight line (as opposed to L-type movement). If reference joint values are provided, the target is calculated as a relative movement from the reference position.
- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. When
reference_valueis provided, tar_values must have exactly 7 elements (the underlying relative-value calculation rejects any other length). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.reference_value – Optional reference joint values used for relative movement calculation. Must have exactly 7 elements when provided — e.g. [0, 0, 0, 0, 0, 0, 0].
speed – Optional movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager and completion is handled asynchronously.
- Returns:
IPC::Response_FunctionsT containing the movement request result.
- Raises:
std::runtime_error – If relative movement calculation fails, or if the movement result cannot be retrieved.
Note
If
speedis not provided, the default values are: spd_mode = 1 (absolute), spd_vel_para = 60, spd_acc_para = 120.Note
If
flow_manager_argsis provided, this function returns immediately after submitting the request; a background monitor waits for the actual motion-completion signal from the robot before invoking the flow manager’s completion callback. If args[“variable”] is set, the final joint_q_ref is stored in that variable before completion.
- call_move_jb_add(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: list[float] | None = None, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, blend_type: rb_schemas.fbs_types.ipc.MoveInput_TypeTD, ext_axis: list[float] | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to add a segment to the queued joint-blend movement sequence.
Appends one joint-space segment to the internal blend list built up across successive calls; the queued segments run together once
call_move_jb_runis invoked. If reference joint values are provided, the segment’s target is calculated as a relative movement from the reference position.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. When
reference_valueis provided, tar_values must have exactly 7 elements (the underlying relative-value calculation rejects any other length). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.reference_value – Optional reference joint values used for relative movement calculation. Must have exactly 7 elements when provided — e.g. [0, 0, 0, 0, 0, 0, 0].
speed – Optional movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
blend_type – Blend transition parameters. pnt_type is 0 (Percentage) or 1 (Distance); pnt_para is a percentage when pnt_type is 0, or millimeters when pnt_type is 1.
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, this segment is recorded for the blend sequence and completion is reported to the flow manager immediately (synchronous), unlike run commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the add request result.
- Raises:
std::runtime_error – If relative movement calculation fails, or if the add request result cannot be retrieved.
Note
If
speedis not provided, the default values are: spd_mode = 1 (absolute), spd_vel_para = 60, spd_acc_para = 120.
- call_move_jb_clr(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to clear its queued joint-blend movement commands.
Clears the internal list of joint-blend move segments previously accumulated via
call_move_jb_add,so a new joint-blend sequence can be started from scratch.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, the blend command list is cleared and completion is reported to the flow manager immediately (synchronous), unlike move commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the clear request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_jb_run(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to execute the queued joint-blend movement sequence.
Runs the sequence of joint-space segments previously accumulated via
call_move_jb_add.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the run request result.
- Raises:
std::runtime_error – If the query fails or the run request result cannot be retrieved.
- call_move_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: list[float] | None = None, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, ext_axis: list[float] | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start an L-type (linear/Cartesian-space) movement.
Supports L-type (linear/Cartesian-space) movement of the cobot: the target is given as a Cartesian pose, and the end-effector moves in a straight line to that pose (as opposed to J-type movement). If reference_value is provided, the target is calculated as a relative movement from the reference position.
- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). When
reference_valueis provided, tar_values must have exactly 7 elements regardless of axis count (pad with 0 for a 6-axis model’s unused aa slot) — the underlying relative-value calculation rejects any other length. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.reference_value – Optional reference target used for relative movement calculation, in the same [x, y, z, rx, ry, rz(, aa)] format as
target.Must have exactly 7 elements when provided, regardless of axis count.speed – Optional movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager and completion is handled asynchronously.
- Returns:
IPC::Response_FunctionsT containing the movement request result.
- Raises:
std::runtime_error – If relative movement calculation fails, or if the movement result cannot be retrieved.
Note
If
speedis not provided, the default values are: spd_mode = 1 (absolute), spd_vel_para = 60, spd_acc_para = 120.Note
If
flow_manager_argsis provided, this function returns immediately after submitting the request; a background monitor waits for the actual motion-completion signal from the robot before invoking the flow manager’s completion callback. If args[“variable”] is set, the final carte_x_ref is stored in that variable before completion.
- call_move_lb_add(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: list[float] | None = None, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, blend_type: rb_schemas.fbs_types.ipc.MoveInput_TypeTD, ext_axis: list[float] | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to add a segment to the queued linear-blend movement sequence.
Appends one Cartesian-space segment to the internal blend list built up across successive calls; the queued segments run together once
call_move_lb_runis invoked. If reference_value is provided, the segment’s target is calculated as a relative movement from the reference position.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). When
reference_valueis provided, tar_values must have exactly 7 elements regardless of axis count (pad with 0 for a 6-axis model’s unused aa slot) — the underlying relative-value calculation rejects any other length. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.reference_value – Optional reference target used for relative movement calculation, in the same [x, y, z, rx, ry, rz(, aa)] format as
target.Must have exactly 7 elements when provided, regardless of axis count.speed – Optional movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
blend_type – Blend transition parameters. pnt_type is 0 (Percentage), 1 (Distance), 2 (Linear Type), or 3 (Corner Type); pnt_para is a percentage when pnt_type is 0, or millimeters when pnt_type is 1.
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, this segment is recorded for the blend sequence and completion is reported to the flow manager immediately (synchronous), unlike run commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the add request result.
- Raises:
std::runtime_error – If relative movement calculation fails, or if the add request result cannot be retrieved.
Note
If
speedis not provided, the default values are: spd_mode = 1 (absolute), spd_vel_para = 60, spd_acc_para = 120.
- call_move_lb_clr(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to clear its queued linear-blend movement commands.
Clears the internal list of linear-blend (Cartesian-space) move segments previously accumulated via
call_move_lb_add,so a new linear-blend sequence can be started from scratch.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, the blend command list is cleared and completion is reported to the flow manager immediately (synchronous), unlike move commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the clear request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_lb_run(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, orientation: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to execute the queued linear-blend movement sequence.
Runs the sequence of Cartesian-space segments previously accumulated via
call_move_lb_add.- Parameters:
robot_model – Name of the robot model.
orientation – Orientation option for the blended path. (0: Intended, 1: Constant)
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the run request result.
- Raises:
std::runtime_error – If the query fails or the run request result cannot be retrieved.
- call_move_pb_add(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_value: list[float] | None = None, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, blend_type: rb_schemas.fbs_types.ipc.MoveInput_TypeTD, ext_axis: list[float] | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to add a point to the queued point-blend movement sequence.
Appends one Cartesian-space point to the internal point-blend list built up across successive calls; the queued points run together as a single blended path once
call_move_pb_runis invoked. If reference_value is provided, the point’s target is calculated as a relative movement from the reference position.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). When
reference_valueis provided, tar_values must have exactly 7 elements regardless of axis count (pad with 0 for a 6-axis model’s unused aa slot) — the underlying relative-value calculation rejects any other length. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.reference_value – Optional reference target used for relative movement calculation, in the same [x, y, z, rx, ry, rz(, aa)] format as
target.Must have exactly 7 elements when provided, regardless of axis count.speed – Optional movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
blend_type – Blend parameters applied at this point. pnt_type is 0 (Percentage), 1 (Distance), 2 (Linear Type), or 3 (Corner Type); pnt_para is a percentage when pnt_type is 0, or millimeters when pnt_type is 1.
ext_axis – Optional external axis values.
properties – Optional move property entries for this point.
flow_manager_args – Optional PyFM step context. If provided, this point is recorded for the point-blend sequence and completion is reported to the flow manager immediately (synchronous), unlike run commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the add request result.
- Raises:
std::runtime_error – If relative movement calculation fails, or if the add request result cannot be retrieved.
Note
If
speedis not provided, the default values are: spd_mode = 1 (absolute), spd_vel_para = 60, spd_acc_para = 120.
- call_move_pb_clr(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to clear its queued point-blend movement commands.
Clears the internal list of point-blend (Cartesian-space) move segments previously accumulated via
call_move_pb_add,so a new point-blend sequence can be started from scratch.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, the point-blend list is cleared and completion is reported to the flow manager immediately (synchronous), unlike move commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the clear request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_pb_run(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, orientation: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to execute the queued point-blend movement sequence.
Runs the sequence of Cartesian-space points previously accumulated via
call_move_pb_addas a single blended path.- Parameters:
robot_model – Name of the robot model.
orientation – Orientation option for the blended path. (0: Intended, 1: Constant)
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the run request result.
- Raises:
std::runtime_error – If the query fails or the run request result cannot be retrieved.
- call_move_wait(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, timeout_sec: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Move_WaitTD#
Requests the cobot to block until the current motion finishes.
Waits, on the robot side, until whatever motion is currently running reaches completion (or no motion is running, in which case this returns immediately).
- Parameters:
robot_model – Name of the robot model.
timeout_sec – Maximum time to wait, in seconds. A negative value (e.g. -1) waits indefinitely, with no timeout.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the response is received, provided its motion_result is 0; a nonzero motion_result raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_Move_WaitT whose motion_result field is 0 on success, -1 if the wait timed out, or another value giving the underlying motion’s execution result code.
- Raises:
std::runtime_error – If the query fails, the result cannot be retrieved, or (when
flow_manager_argsis not provided) motion_result is nonzero.
- call_move_xb_add(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, blend_type: rb_schemas.fbs_types.ipc.MoveInput_TypeTD, method: int = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to add a segment to the queued XB-type blend movement sequence.
Appends one segment to the internal blend list built up across successive calls; the queued segments run together once
call_move_xb_runis invoked.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
blend_type – Blend transition parameters. pnt_type is 0 (Percentage) or 1 (Distance); pnt_para is a percentage when pnt_type is 0, or millimeters when pnt_type is 1.
method – Motion (movement) type option (0: Joint movement, 1: Linear movement).
flow_manager_args – Optional PyFM step context. If provided, this segment is recorded for the blend sequence and completion is reported to the flow manager immediately (synchronous), unlike run commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the add request result.
- Raises:
std::runtime_error – If the add request result cannot be retrieved.
- call_move_xb_clr(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to clear its queued XB-type blend movement commands.
Clears the internal list of XB-type blend move segments previously accumulated via
call_move_xb_add,so a new blend sequence can be started from scratch.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, the blend command list is cleared and completion is reported to the flow manager immediately (synchronous), unlike move commands whose completion is tracked asynchronously.
- Returns:
IPC::Response_FunctionsT containing the clear request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_move_xb_run(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, running_mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to execute the queued XB-type blend movement sequence.
Runs the sequence of segments previously accumulated via
call_move_xb_add.- Parameters:
robot_model – Name of the robot model.
running_mode – Execution mode option for the blended run. (0: Velocity Blending, 1: Position Blending)
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the run request result.
- Raises:
std::runtime_error – If the query fails or the run request result cannot be retrieved.
- call_online_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to queue a joint-space online-tracking target.
Streaming/realtime joint control, intended to be called repeatedly (e.g. once per communication cycle) to keep feeding a moving target; if only one target is queued when the robot’s control loop next reads it, older undelivered targets are discarded and the latest one wins.
- Parameters:
robot_model – Name of the robot model.
target – Target joint position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters — spd_vel_para/spd_acc_para act as the max velocity/acceleration for this segment and must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds (range 0-10): if no new target is queued within this time after the last one was consumed, the motion is considered finished. Rule of thumb: (1 / your call rate) + a small margin — e.g. 0.02 for 100Hz, 0.01 for 200Hz. Too small a value can trigger a false finish from ordinary communication jitter.
filter – Output smoothing filter value.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, any input is non-finite or out of range, or the result cannot be retrieved.
- call_online_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to queue a Cartesian-space online-tracking target.
Streaming/realtime Cartesian control, intended to be called repeatedly (e.g. once per communication cycle) to keep feeding a moving target; if only one target is queued when the robot’s control loop next reads it, older undelivered targets are discarded and the latest one wins.
- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters — spd_vel_para/spd_acc_para act as the max velocity/acceleration for this segment and must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds (range 0-10): if no new target is queued within this time after the last one was consumed, the motion is considered finished. Rule of thumb: (1 / your call rate) + a small margin — e.g. 0.02 for 100Hz, 0.01 for 200Hz. Too small a value can trigger a false finish from ordinary communication jitter.
filter – Output smoothing filter value.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, any input is non-finite or out of range, or the result cannot be retrieved.
- call_servo_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, t1: float, t2: float, gain: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to queue a joint-space servo target segment.
Streaming/realtime joint control: each call queues one target segment to move smoothly toward from wherever the previous segment left off, rather than performing one discrete move. Intended to be called repeatedly (e.g. once per control tick) to stream a trajectory.
- Parameters:
robot_model – Name of the robot model.
target – Target joint position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
t1 – Time to move from the previous target to this one, in seconds (must be >= 0).
t2 – Additional hold/settle time after reaching the target, in seconds (valid range (0, 5]).
gain – Speed scaling gain applied to this segment (must be > 0).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
t1/t2/gainare out of their valid ranges, or the result cannot be retrieved.
- call_servo_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, t1: float, t2: float, gain: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to queue a Cartesian-space servo target segment.
Streaming/realtime Cartesian control: each call queues one target segment to move smoothly toward from wherever the previous segment left off, rather than performing one discrete move. Intended to be called repeatedly (e.g. once per control tick) to stream a trajectory.
- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
t1 – Time to move from the previous target to this one, in seconds (must be >= 0).
t2 – Additional hold/settle time after reaching the target, in seconds (must be > 0).
gain – Speed scaling gain applied to this segment (must be > 0).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
t1/t2/gainare out of their valid ranges, or the result cannot be retrieved.
- call_servo_t(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: list[float] | None, time_out: float, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start joint-space torque (compliance) control.
Unlike the position-based servo/online/timestamp motions above, this commands per-joint target torques directly rather than a target pose. The robot must be idle (no other motion in progress) when this is called, or the request is rejected.
- Parameters:
robot_model – Name of the robot model.
target – Target torque for each joint, in the same order as the robot’s joints. Must have exactly as many elements as the robot has joints, or the firmware rejects the request.
time_out – Maximum duration to hold this torque command, in seconds (valid range [0.0001, 10]).
option – Which compensation terms are combined with
target:0 Gravity + Friction feedforward + User target, 1 Gravity + User target, 2 Friction feedforward + User target, 3 User target only.flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If
targetis not provided, the query fails, or the result cannot be retrieved.
- call_smoothjog_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, ext_axis: list[float] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start continuous joint-space jog motion toward a target.
Starts jog-style motion in joint space toward
target;unlike a regular move command, motion continues until stopped viacall_smoothjog_stop.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the jog command is accepted.
- Returns:
IPC::Response_FunctionsT containing the jog request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_smoothjog_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start continuous Cartesian-space jog motion toward a target.
Starts jog-style motion in Cartesian space toward
target;unlike a regular move command, motion continues until stopped viacall_smoothjog_stop.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the jog command is accepted.
- Returns:
IPC::Response_FunctionsT containing the jog request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_smoothjog_stop(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, stop_time: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to decelerate and stop an active smooth-jog motion.
Stops motion previously started by
call_smoothjog_j/call_smoothjog_l.- Parameters:
robot_model – Name of the robot model.
stop_time – Deceleration time, in seconds, used to bring the jog motion to a stop.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the stop command is accepted.
- Returns:
IPC::Response_FunctionsT containing the stop request result.
- Raises:
std::runtime_error – If the query fails, no payload is returned, or the response’s return_value is nonzero.
- call_tcp_weaving_bezier_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop Bezier TCP weaving (Weaving 2).
Counterpart to
call_tcp_weaving_bezier_on.Has no effect on the classic pattern weaving started bycall_tcp_weaving_on;usecall_tcp_weaving_offfor that.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_tcp_weaving_bezier_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, axis_torch: int, axis_weave: int, plane_option: int, user_rx: float, user_ry: float, user_rz: float, points: list[rb_schemas.fbs_types.ipc.Weave_Bezier_PointTD], scale_rate: float = 1.0, offset_torch: float, offset_weave: float, swing_ang: float, smooth_delta: float = 0.30000001192092896, dir_update_dist: float = 0.5, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start Bezier TCP weaving (Weaving 2) on the current move.
Unlike
call_tcp_weaving_on,which picks one of the fixed patterns (sine, trapezoidal, …), this weaves along a free-form shape described by a cubic Bezier spline.pointsdefines one period of the shape in a 2D weave plane: x is the travel direction (along the base trajectory) and y is the weave (side-to-side) direction. The shape is repeated for as long as the robot keeps moving. Like the other wrapper functions (call_tcp_weaving_on,call_base_conveyor_on),it is layered on top of the main move, so call it before/while issuing the moves to weave along, and stop it withcall_tcp_weaving_bezier_off.- Parameters:
robot_model – Name of the robot model.
axis_torch – Torch direction axis: 0 TCP +X, 1 TCP +Y, 2 TCP +Z, 3 TCP -X, 4 TCP -Y, 5 TCP -Z. Must differ from
axis_weave(and not be its opposite).axis_weave – Weaving (side-to-side, y of
points)direction axis: 0 TCP +X, 1 TCP +Y, 2 TCP +Z, 3 TCP -X, 4 TCP -Y, 5 TCP -Z.plane_option – Weaving plane: 0 Present TCP Frame (the plane is fixed to the TCP frame at start), 1 Follow base- trajectory (the plane is re-oriented along the travel direction, updated every
dir_update_distmm).user_rx – User orientation Rx applied to the weave plane, in degrees.
user_ry – User orientation Ry applied to the weave plane, in degrees.
user_rz – User orientation Rz applied to the weave plane, in degrees.
points – One period of the weave shape, 2 to 64 Bezier points in order. Each point is {anchor_x, anchor_y, in_x, in_y, out_x, out_y, dwell}: anchor_x/anchor_y is the point the curve passes through (mm); in_x/in_y is the incoming handle and out_x/out_y the outgoing handle, both in absolute weave-plane coordinates (mm), not relative to the anchor (set a handle equal to its anchor for a sharp corner); dwell is the time to stay at the anchor, in seconds (ignored on the first point). The first anchor must be (0, 0) and the last anchor (L, 0) with 0 < L <= 100; L is the travel distance of one period. In Python, pass a list of dicts with these keys, e.g. [{“anchor_x”: 0, “anchor_y”: 0, “in_x”: 0, “in_y”: 0, “out_x”: 1, “out_y”: 3, “dwell”: 0}, …].
scale_rate – Weave scale multiplier (schema default 1.0). Applied to the width (y) only; the period length L is not scaled.
offset_torch – Constant offset along the torch direction, in mm.
offset_weave – Constant offset along the weaving direction, in mm.
swing_ang – Torch swing angle at the widest point, in degrees. The actual swing is proportional to y / Ymax, where Ymax is the largest |y| of the shape.
smooth_delta – Corner smoothing width, in mm (schema default 0.3). 0 disables smoothing.
dir_update_dist – Travel-direction update distance when
plane_optionis 1, in mm (schema default 0.5, minimum 0.05). Ignored whenplane_optionis 0.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
Note
Constraints on
points,dir_update_dist,and the axes are validated by the controller, not by this SDK; a rejected request comes back as a nonzero return_value.
- call_tcp_weaving_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop TCP weaving.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_tcp_weaving_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, type: int, axis_torch: int, axis_weave: int, plane_option: int, user_rx: float, user_ry: float, user_rz: float, magnitude_1: float, magnitude_2: float, phase_1: float, phase_2: float, time_1: float, time_2: float, time_3: float, time_4: float, time_5: float, time_6: float, time_7: float, time_8: float, scale_rate: float, offset_torch: float, offset_weave: float, swing_ang: float, distortion: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start TCP weaving on the current move.
- Parameters:
robot_model – Name of the robot model.
type – Weave pattern: 0 None, 1 Trapezoidal, 2 Sine wave, 3 Polynomial, 4 Ellipse, 5 8-Shape, 6 Lissajous, 7 C-Shape, 8 Diagonal.
axis_torch – Torch direction axis.
axis_weave – Weaving direction axis.
plane_option – Weaving plane: 0 Present TCP Frame, 1 Follow base- trajectory.
user_rx – User orientation Rx, in degrees.
user_ry – User orientation Ry, in degrees.
user_rz – User orientation Rz, in degrees.
magnitude_1 – First weave magnitude, in mm.
magnitude_2 – Second weave magnitude, in mm.
phase_1 – First weave phase.
phase_2 – Second weave phase.
time_1 – Time schedule segment 1, in seconds.
time_2 – Time schedule segment 2, in seconds.
time_3 – Time schedule segment 3, in seconds.
time_4 – Time schedule segment 4, in seconds.
time_5 – Time schedule segment 5, in seconds.
time_6 – Time schedule segment 6, in seconds.
time_7 – Time schedule segment 7, in seconds.
time_8 – Time schedule segment 8, in seconds.
scale_rate – Weave scale multiplier (default 1).
offset_torch – Offset along the torch direction, in mm.
offset_weave – Offset along the weaving direction, in mm.
swing_ang – Swing angle, in degrees.
distortion – Distortion angle, in degrees.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_tickjog_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, ext_axis: list[float] | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to move a single joint-space tick step toward a target.
Unlike
call_smoothjog_j'scontinuous motion, this moves the cobot by a single discrete tick increment in joint space towardtarget.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
ext_axis – Optional external axis values.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the tick-jog request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_tickjog_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to move a single Cartesian-space tick step toward a target.
Unlike
call_smoothjog_l'scontinuous motion, this moves the cobot by a single discrete tick increment in Cartesian space towardtarget.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_values is [x, y, z, rx, ry, rz, aa] for 7-axis models, or [x, y, z, rx, ry, rz] for 6-axis models (aa = ArmAngle). tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters. spd_mode is 0 (%-based) or 1 (absolute/physical value).
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the tick-jog request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_timestamp_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, j_ang: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, j_vel: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, j_acc: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, polynomial: int, timestamp: float, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to queue a keyframe-timed joint-space target.
Streaming/realtime joint control: each call queues one keyframe (angle, velocity, and acceleration) at a given
timestampalong a continuous internal timeline, and the robot interpolates a polynomial trajectory between consecutive keyframes. This differs fromcall_servo_j,which specifies each segment as a relative duration (t1)from wherever the previous segment left off — heretimestampis a point on an absolute, ever-accumulating clock, so keyframes must be queued with strictly increasing timestamps.- Parameters:
robot_model – Name of the robot model.
j_ang – Target joint angles for this keyframe.
j_vel – Target joint velocities for this keyframe. Ignored when
polynomialis 2 (linear).j_acc – Target joint accelerations for this keyframe. Only used when
polynomialis 1 (5th order).polynomial – Trajectory interpolation order between this keyframe and the previous one: 0 3rd order (uses
j_angandj_vel),1 5th order (usesj_ang,j_vel,andj_acc),2 1st order/linear (usesj_angonly).timestamp – Absolute time, in seconds on the internal motion timeline, at which this keyframe should be reached.
timeout – Communication-loss timeout, in seconds: if no new keyframe is queued within this time after the last one was reached, the motion is considered finished.
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, the movement result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the actual motion finishes, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_wrapper_online_l_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Disables online Cartesian offset mode.
Turns off the online offset mode enabled by call_wrapper_online_l_on() without waiting for its timeout to expire. After this call, new offsets are no longer applied to the base trajectory.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
See also
call_wrapper_online_l_on
- call_wrapper_online_l_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Enables online Cartesian offset mode and queues an offset to be added to the currently executing base trajectory.
Intended to be called repeatedly (e.g. once per communication cycle) to keep updating the offset. If multiple offsets are queued before the robot’s control loop reads them, only the latest one is applied and older ones are discarded.
- Parameters:
robot_model – Name of the robot model.
target – Offset added to the base trajectory (x, y, z, rx, ry, rz, (a)) and its frame information. tar_frame is 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Velocity/acceleration limits for changing the offset. spd_vel_para/spd_acc_para must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds, range (0, 10]. If no new offset is queued within this time after the last one, online offset mode is automatically turned off. Rule of thumb: (1 / your call rate) + a small margin, e.g. 0.02 for 100 Hz, 0.01 for 200 Hz. Too small a value can turn the mode off unexpectedly due to ordinary communication jitter.
filter – Output smoothing filter value, range [0, 1].
flow_manager_args – Optional PyFM step context. If provided, the request result is reported to the flow manager immediately, and a background monitor invokes its completion callback once the online offset mode ends, instead of blocking here until then.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails, any input is non-finite or out of range, or the result cannot be retrieved.
See also
call_wrapper_online_l_off
- call_wrapper_servo_l_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop wrapper-layer Cartesian servo tracking.
Stops the tracking started by
call_wrapper_servo_l_on.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_wrapper_servo_l_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, time_gap: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to start (or queue a target for) wrapper-layer Cartesian servo tracking.
Streaming/realtime Cartesian control, similar in purpose to
call_servo_l,but runs in the firmware’s separate “wrapper” motion layer (the same layer used bycall_tcp_weaving_on,call_admittance_force_on,andcall_base_conveyor_on)rather than the main move sequencer. Each call queues one target to move smoothly toward from wherever the previous target left off; intended to be called repeatedly (e.g. once per control tick) to stream a trajectory. Callcall_wrapper_servo_l_offto stop tracking.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
time_gap – Time to move from the previous target to this one, in seconds (valid range [0, 30]).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails,
time_gapis out of range, or the result cannot be retrieved.
- pub_online_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a joint-space online-tracking target without waiting for a response.
Fire-and-forget counterpart to
call_online_j:queues the target the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target joint position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters — spd_vel_para/spd_acc_para act as the max velocity/acceleration for this segment and must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds (range 0-10); see
call_online_jfor the full explanation.filter – Output smoothing filter value.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_online_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a Cartesian-space online-tracking target without waiting for a response.
Fire-and-forget counterpart to
call_online_l:queues the target the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Movement speed parameters — spd_vel_para/spd_acc_para act as the max velocity/acceleration for this segment and must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds (range 0-10); see
call_online_lfor the full explanation.filter – Output smoothing filter value.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_servo_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, t1: float, t2: float, gain: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a joint-space servo target segment without waiting for a response.
Fire-and-forget counterpart to
call_servo_j:queues one target segment the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target joint position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
t1 – Time to move from the previous target to this one, in seconds (must be >= 0).
t2 – Additional hold/settle time after reaching the target, in seconds (valid range (0, 5]).
gain – Speed scaling gain applied to this segment (must be > 0).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_servo_l(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, t1: float, t2: float, gain: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a Cartesian-space servo target segment without waiting for a response.
Fire-and-forget counterpart to
call_servo_l:queues one target segment the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
t1 – Time to move from the previous target to this one, in seconds (must be >= 0).
t2 – Additional hold/settle time after reaching the target, in seconds (must be > 0).
gain – Speed scaling gain applied to this segment (must be > 0).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_servo_t(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: list[float] | None, time_out: float, option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a joint-space torque (compliance) control target without waiting for a response.
Fire-and-forget counterpart to
call_servo_t:sends the same torque command, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target torque for each joint; see
call_servo_tfor the full explanation.time_out – Maximum duration to hold this torque command, in seconds (valid range [0.0001, 10]).
option – Which compensation terms are combined with
target;seecall_servo_tfor the full explanation.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- Raises:
std::runtime_error – If
targetis not provided.
- pub_timestamp_j(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, j_ang: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, j_vel: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, j_acc: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, polynomial: int, timestamp: float, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a keyframe-timed joint-space target without waiting for a response.
Fire-and-forget counterpart to
call_timestamp_j:queues one keyframe the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
j_ang – Target joint angles for this keyframe.
j_vel – Target joint velocities for this keyframe. Ignored when
polynomialis 2 (linear).j_acc – Target joint accelerations for this keyframe. Only used when
polynomialis 1 (5th order).polynomial – Trajectory interpolation order between this keyframe and the previous one; see
call_timestamp_jfor the full explanation.timestamp – Absolute time, in seconds on the internal motion timeline, at which this keyframe should be reached.
timeout – Communication-loss timeout, in seconds; see
call_timestamp_jfor the full explanation.filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_wrapper_online_l_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a request to disable online Cartesian offset mode without waiting for a response.
Fire-and-forget counterpart to call_wrapper_online_l_off(): turns off the online offset mode the same way, but publishes the request (real- time priority, dropped under congestion) instead of querying, and does not report failures back to the caller.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
See also
call_wrapper_online_l_off
See also
pub_wrapper_online_l_on
- pub_wrapper_online_l_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, timeout: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes an online Cartesian offset without waiting for a response.
Fire-and-forget counterpart to call_wrapper_online_l_on(): enables online offset mode and queues the offset the same way, but publishes it (real-time priority, dropped under congestion) instead of querying, and does not report failures back to the caller.
- Parameters:
robot_model – Name of the robot model.
target – Offset added to the base trajectory (x, y, z, rx, ry, rz, (a)) and its frame information. tar_frame is 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
speed – Velocity/acceleration limits for changing the offset. spd_vel_para/spd_acc_para must be positive (not near zero). spd_mode is 0 (%-based) or 1 (absolute/physical value).
timeout – Communication-loss timeout, in seconds, range (0, 10]. If no new offset is queued within this time after the last one, online offset mode is automatically turned off. See call_wrapper_online_l_on() for the full explanation.
filter – Output smoothing filter value, range [0, 1].
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
See also
call_wrapper_online_l_on
See also
call_wrapper_online_l_off
- pub_wrapper_servo_l_off(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a stop request for wrapper-layer Cartesian servo tracking without waiting for a response.
Fire-and-forget counterpart to
call_wrapper_servo_l_off.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- pub_wrapper_servo_l_on(self: rb_sdk.rb_sdk_cpp.RBManipulateMoveSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, time_gap: float, filter: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a wrapper-layer Cartesian servo target without waiting for a response.
Fire-and-forget counterpart to
call_wrapper_servo_l_on:queues one target the same way, but publishes it (real-time priority, dropping under congestion) instead of querying and does not report failures back to the caller.- Parameters:
robot_model – Name of the robot model.
target – Target position and frame information. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
time_gap – Time to move from the previous target to this one, in seconds (valid range [0, 30]).
filter – Output low-pass filter strength.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) right after publishing, without confirming the robot received or accepted it.
- class rb_sdk.rb_sdk_cpp.RBManipulatePointSDK(*args, **kwargs)#
Bases:
RBBaseSDK- set_point(self: rb_sdk.rb_sdk_cpp.RBManipulatePointSDK, *, robot_model: str, move_type: str, tar_frame_reference_point: list[float] | None = None, pnt_para: float | None = None, pnt_type: int | None = None, tar_frame: int, tar_unit: int, tar_values: list[float], spd_mode: int, spd_vel_para: float, spd_acc_para: float, ext_axis: list[float] | None = None, method: int | None = None, properties: list[rb_schemas.fbs_types.ipc.Move_Property_EntryTD] | None = None, tcp_num: int = -1, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Dispatches a single-point move request to the matching move function in RBManipulateMoveSDK, keyed by
move_type.This is a thin routing layer: it builds the shared target and speed structs from the flat parameter list below and forwards the call to
call_move_j,call_move_l,call_move_jb_add,call_move_lb_add,call_move_pb_add,orcall_move_xb_add,matchingmove_typeagainst the string constants inMoveType(J, L, JB, LB, PB, XB). See those functions’ docstrings for the full behavior of each move type (relative-move * handling, default speed, flow-manager completion semantics, etc.).- Parameters:
robot_model – Name of the robot model.
move_type – Move type selector; must be one of the
MoveTypeconstants: “J” (joint-space), “L” (linear/Cartesian- space), “JB” (joint-blend add), “LB” (linear-blend add), “PB” (point-blend add), or “XB” (XB-type blend add). Any other value is rejected.tar_frame_reference_point – Optional reference position used for relative movement calculation, forwarded as the reference_value argument to the J / L / JB / LB / PB routes. Not used for the XB route.
pnt_para – Blend parameter, interpreted according to
pnt_type.Required (together withpnt_type)for the JB, LB, PB, and XB routes; unused for J and L.pnt_type – Blend type: 0 (Percentage), 1 (Distance), 2 (Linear Type, LB/PB only), or 3 (Corner Type, LB/PB only); pnt_para is a percentage when pnt_type is 0, or millimeters when pnt_type is 1. Required (together with
pnt_para)for the JB, LB, PB, and XB routes; unused for J and L.tar_frame – Target coordinate frame: -1 Joint Space, 0 Global Frame, 1 Tool Frame, 2 User Frame, 3 Target Frame.
tar_unit – Target coordinate unit: 0 mm/degree, 1 meter/radian, 2 inch/degree.
tar_values – Target coordinate values, interpreted according to
tar_frameandtar_unit.spd_mode – Speed mode: 0 percentage-based, 1 absolute (physical) values.
spd_vel_para – Speed parameter: a percentage when
spd_modeis 0, or mm/s (L-type) / degree/s (J-type) whenspd_modeis 1.spd_acc_para – Acceleration parameter: a percentage when
spd_modeis 0, or mm/s^2 (L-type) / degree/s^2 (J-type) whenspd_modeis 1.ext_axis – Optional external axis values, forwarded to the J / L / JB / LB / PB routes. Not used for the XB route.
method – Blend method option (0: Joint movement, 1: Linear movement), required for the XB route only; unused for J, L, JB, LB, and PB.
tcp_num – Tool slot number to activate before issuing the move, via
set_toollist_num.-1 (default) leaves the currently active tool unchanged.flow_manager_args – Optional PyFM step context, forwarded unchanged to the underlying move function; see that function’s docstring for its completion semantics.
- Returns:
IPC::Response_FunctionsT containing the underlying move function’s request result.
- Raises:
std::runtime_error – If
move_typeis not one of theMoveTypeconstants, or ifpnt_para/pnt_typeis missing for the JB, LB, PB, or XB route.
Note
For the XB route,
methodis read via .value() without a null check; passingNoneformethodwhile using “XB” raises a different, less descriptive error than the explicit checks used forpnt_para/pnt_type.
- class rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_coredata_pub_frequency(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, frequency: float) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to set its core data publication frequency.
Sets how often the robot publishes its periodic core-data state stream on the {robot_model}/state_core topic (
IPC::State_Core— joint/ Cartesian refs, encoder values, etc.) that other parts of this SDK subscribe to (e.g.folder_finish_at).- Parameters:
robot_model – Name of the robot model.
frequency – Publication frequency, in Hz. The firmware clamps this to the range [0.1, 500.0] before applying it; the default rate before any call is 20 Hz.
- Returns:
IPC::Response_FunctionsT containing the request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_halt(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to stop motion entirely.
Fully stops in-progress motion, as opposed to
call_pause'stemporary pause (which can be continued viacall_resume).- Parameters:
robot_model – Name of the robot model.
- Returns:
IPC::Response_FunctionsT containing the halt request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_pause(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to pause motion.
Temporarily pauses in-progress motion; call
call_resumeafterward to continue from where it was paused.- Parameters:
robot_model – Name of the robot model.
- Returns:
IPC::Response_FunctionsT containing the pause request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- call_program_after(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, option: int) rb_schemas.fbs_types.ipc.Response_FunctionsTD | None#
Requests the cobot to run teardown after a program ends.
Called after a program finishes execution, pairing with
call_program_beforewhich runs beforehand. The firmware resumes any paused motion, stops all in-progress motion, restores the user- frame, area, out/self-collision, and TCP parameters that were in effect before the program ran, clears special DIN/DOUT masks, speed saturation, move-break, jacobian reflection mode, manual/landmark target shift, and fixed speed/time, and stops any running pattern.- Parameters:
robot_model – Name of the robot model.
option – Currently ignored by the firmware (received but cast away unused); no option values are assigned or documented anywhere in the request schema.
- Returns:
IPC::Response_FunctionsT containing the request result, or std::nullopt if the robot did not reply (or replied with an error) — that case is logged and swallowed so a silent robot does not block the program from finishing.
Note
Does not throw on a Zenoh no-reply or peer error response. Other runtime errors still propagate because they usually indicate local decode/SDK bugs rather than a silent robot.
- call_program_before(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, option: int, monitoring_name: list[str] | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD | None#
Requests the cobot to run setup before a program starts.
Called before a program begins execution: the firmware stops all in- progress motion, clears special DIN/DOUT masks, speed saturation, move-break, jacobian reflection mode, manual/landmark target shift, fixed speed/time, and arc-sensing/pattern state, resetting the robot to a clean state for the new program. Also registers the given system variables to monitor while the program runs.
- Parameters:
robot_model – Name of the robot model.
option – Currently ignored by the firmware (received but cast away unused); no option values are assigned or documented anywhere in the request schema.
monitoring_name – Names of the system variables to monitor.
- Returns:
IPC::Response_FunctionsT containing the request result, or std::nullopt if the robot did not reply (or replied with an error) — that case is logged and swallowed so a silent robot does not block the program from starting.
Note
Does not throw on a Zenoh no-reply or peer error response. Other runtime errors still propagate because they usually indicate local decode/SDK bugs rather than a silent robot.
Note
monitoring_nameis optional; when omitted it is sent as an empty listNote
The firmware requires the robot to be idle; if motion is still in progress it returns a warning result instead of performing the reset (this SDK call does not itself throw on that warning — only on a missing/failed response).
- call_resume(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to resume motion.
Resumes motion previously paused via
call_pause,so the in- progress move/program can continue from where it left off.- Parameters:
robot_model – Name of the robot model.
- Returns:
IPC::Response_FunctionsT containing the resume request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- folder_finish_at(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Starts background monitoring that breaks a Folder step’s children once its finish_at condition becomes true.
Used in PyFM: when a Folder step’s
flow_manager_argscarries a finish_at expression, this subscribes to the robot’s state_core topic and evaluates that expression against the PyFM context on every state update. As soon as it evaluates true, this callscall_smoothjog_stopwith the evaluated stop_time, then breaks the folder (via the context’s break_folder) at the depth captured on entry, terminating the moves underneath that folder. Monitoring also stops on its own once execution has already exited the target folder depth. This is a no-op ifflow_manager_argsis not provided, or if its args do not have a finish_at value set.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – PyFM step context. Expected args: - finish_at: expression evaluated on every state update; monitoring only starts if this is set to a non- empty value. - stop_time: expression evaluated for the deceleration time passed to
call_smoothjog_stoponce finish_at becomes true (defaults to 0.0 if not set).
Note
flow_manager_args.done()is called immediately once monitoring starts, before finish_at ever becomes true — the PyFM step itself completes right away (so children can proceed) while the finish_at watch continues running in the background.Note
Exceptions from the background monitor (e.g. from evaluating finish_at/stop_time) are caught and logged to stderr rather than propagated, since they run asynchronously in a subscription callback.
- position_home(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, move_type: str, posture: object, project: str, spd_vel_ratio: float, spd_acc_ratio: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Moves the robot back to the begin position previously captured by
set_begin.Reads the MANIPULATE_BEGIN_* / MAIN_MANIPULATE_BEGIN_* PyFM local variables set by
set_beginand issues acall_move_jorcall_move_lback to that pose, scaled by the speed ratio also captured byset_begin.If none of those local variables were ever set (i.e.set_beginnever ran successfully in this task), or if the specific pose requested byposture/move_type/projectis missing, this is a no-op that only calls flow_manager_args.done(). Apostureother than Posture::ZERO moves to the zero pose rather than to a captured one.- Parameters:
robot_model – Name of the robot model.
move_type – Move type:
MoveType::Jfor a joint-space move back to MANIPULATE_BEGIN_JOINTS, orMoveType::Lfor a Cartesian move back to MANIPULATE_BEGIN_CARTES.posture – Posture::ZERO (Project Home Posture) reads the captured begin position and performs the move described above. Any other value (Posture::ONE = Joint Zero Posture) moves to a seven-value zero pose instead, without consulting the captured begin variables.
project – Project::MAIN reads the MAIN_MANIPULATE_BEGIN_* / MAIN_MANIPULATE_BEGIN_SPEED_RATIO variables (the outermost task’s begin position); Project::SUB reads the plain MANIPULATE_BEGIN_* / MANIPULATE_BEGIN_SPEED_RATIO variables (the current task’s own begin position, main or sub).
spd_vel_ratio – Velocity scale factor, multiplied by the speed ratio captured by
set_begin(defaults to 1.0 if none was captured) to form the move’s spd_vel_para.spd_acc_ratio – Acceleration scale factor, multiplied by the same captured speed ratio to form the move’s spd_acc_para.
flow_manager_args – PyFM step context. Required: passing nullptr raises std::runtime_error, matching the RuntimeError the legacy Python implementation raises for the same case.
- Raises:
std::runtime_error – If
flow_manager_argsis not provided, or if the underlyingcall_move_j/call_move_lfails.
- set_begin(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, position: list[float] | None = None, speed_ratio: float | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD | None#
Captures the robot’s current pose into PyFM local variables as the task’s “begin” position.
Only operates within a PyFM step context: if
flow_manager_argsis not provided, this performs no action and immediately returns std::nullopt. Reads the robot’s current joint/Cartesian reference pose from the {robot_model}/state_core topic and stores it under MANIPULATE_BEGIN_JOINTS/MANIPULATE_BEGIN_CARTES in the PyFM local variables; if the current step is not inside a sub-task (its PyFM context has an empty sub_task_list), the same values are also stored under MAIN_MANIPULATE_BEGIN_JOINTS/MAIN_MANIPULATE_BEGIN_CARTES. Ifposition/speed_ratioare given, they override MANIPULATE_BEGIN_JOINTS / MANIPULATE_BEGIN_SPEED_RATIO (and, for a main task, the corresponding MAIN_* variant) instead of the values read from the robot. Finally registers the resulting joint pose with the robot as its home joint info (set_home_joint_info:home_type 0 for a main task, 1 otherwise) soposition_homecan later move back to it.- Parameters:
robot_model – Name of the robot model.
position – Optional joint-angle override for MANIPULATE_BEGIN_JOINTS (and MAIN_MANIPULATE_BEGIN_JOINTS for a main task); if omitted, the joint pose read from state_core is used.
speed_ratio – Optional override for MANIPULATE_BEGIN_SPEED_RATIO (and MAIN_MANIPULATE_BEGIN_SPEED_RATIO for a main task).
flow_manager_args – PyFM step context. Required in practice — despite the optional type, omitting it makes this function a no-op that returns std::nullopt.
- Returns:
IPC::Response_FunctionsT wrapping the set_home_joint_info result, or std::nullopt if
flow_manager_argswas not provided, or if reading state_core / setting the home joint info failed (in which case the begin-position local variables are instead reset to a seven-value zero pose).
Note
On failure (state_core read error or a failed set_home_joint_info result), MANIPULATE_BEGIN_JOINTS and MANIPULATE_BEGIN_CARTES are reset to seven zeros, the exception is caught and not re-thrown, and flow_manager_args.done() is still called so the PyFM step completes.
- set_pin_point_or_joint(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, target: rb_schemas.fbs_types.ipc.MoveInput_TargetTD, reference_target: list[float] | None = None, pin_type: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Get_ValueTD | None#
Computes and stores a pin’s target value into the PyFM execution context.
Only operates within a PyFM step context: if
flow_manager_argsis not provided, this performs no calculation and immediately returns std::nullopt. Whenreference_targetis given, the pin value is computed relative to it (via the SDK’s relative-value calculation); otherwise it is computed as an absolute value. Ifflow_manager_argscarries a “variable_name” entry in its args, the resulting tar_values are stored under that name in the PyFM local variables.- Parameters:
robot_model – Name of the robot model.
target – Target position/joint values and frame information used as the pin’s (relative) target. tar_frame is -1 Joint, 0 Global, 1 Tool, 2 User, or 3 Target frame; tar_unit is 0 mm/deg, 1 m/rad, or 2 inch/deg.
reference_target – Optional reference values used for relative calculation; if omitted, an absolute value is computed instead.
pin_type – Pin type: “POINT” for a Cartesian-space pin, or “JOINT” for a joint-space pin.
flow_manager_args – PyFM step context. Required in practice — despite the optional type, omitting it makes this function a no-op that returns std::nullopt.
- Returns:
IPC::Response_Get_ValueT containing the calculated value, or std::nullopt if
flow_manager_argswas not provided.- Raises:
std::runtime_error – If the relative or absolute value calculation fails.
- setting(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, option: str, out_collision: rb_schemas.fbs_types.ipc.Request_Set_Out_Collision_ParaTD | None = None, self_collision: rb_schemas.fbs_types.ipc.Request_Set_Self_Collision_ParaTD | None = None, user_frame_selection: rb_schemas.fbs_types.ipc.Request_Set_User_FrameTD | None = None, fixed_speed: rb_schemas.fbs_types.ipc.Request_Set_Fixed_Speed_ModeTD | None = None, target_shift: rb_schemas.fbs_types.ipc.Request_Set_ShiftTD | None = None, speed_bar: rb_schemas.fbs_types.ipc.Request_MotionSpeedBarTD | None = None, time_constraint: rb_schemas.fbs_types.ipc.Request_Set_TimeConstraintTD | None = None, ascii_function_call: rb_schemas.fbs_types.ipc.Request_Set_AsciiFunctionCallTD | None = None, joint_impedance: rb_schemas.fbs_types.ipc.Request_Set_Joint_ImpedanceTD | None = None, free_drive: rb_schemas.fbs_types.ipc.Request_Set_Free_DriveTD | None = None, master_mode: rb_schemas.fbs_types.ipc.Request_Set_Master_ModeTD | None = None, user_frame_6dof: rb_schemas.fbs_types.ipc.Request_Set_User_Frame_6DofTD | None = None, user_frame_tcp: rb_schemas.fbs_types.ipc.Request_Set_User_Frame_TCPTD | None = None, user_frame_3points: rb_schemas.fbs_types.ipc.Request_Set_User_Frame_3PointsTD | None = None, target_shift_landmark: rb_schemas.fbs_types.ipc.Request_Set_Shift_LandMarkTD | None = None, program_flow_manage: rb_schemas.fbs_types.ipc.Request_Set_ProgramFlowManageTD | None = None, din_function_mask: rb_schemas.fbs_types.ipc.Request_Set_DinFunctionMaskTD | None = None, dout_function_mask: rb_schemas.fbs_types.ipc.Request_Set_DoutFunctionMaskTD | None = None, jacobian_based_speed_control: rb_schemas.fbs_types.ipc.Request_Set_JacobSpeedModeTD | None = None, self_vibration_mode: rb_schemas.fbs_types.ipc.Request_Set_SelfVibrationModeTD | None = None, vibration_motion_based: rb_schemas.fbs_types.muscat.Request_Wrapper_VibrationMotionTD | None = None, external_axis_sync: rb_schemas.fbs_types.ipc.Request_Set_ExternalAxisSyncTD | None = None, tcp_speed_bound: rb_schemas.fbs_types.ipc.Request_Set_TcpSpeedBoundTD | None = None, move_break: rb_schemas.fbs_types.ipc.Request_Set_MoveBreakTD | None = None, joint_reference_filter: rb_schemas.fbs_types.ipc.Request_Set_JointRef_FilterTD | None = None, self_collision_blind: rb_schemas.fbs_types.ipc.Request_Set_SelfCollBlindTD | None = None, joint_origin_calibration: dict | None = None, wrist_singular_mode: rb_schemas.fbs_types.ipc.Request_Set_WristSingular_ModeTD | None = None, operation_range_check: rb_schemas.fbs_types.ipc.Request_Set_Range_CheckTD | None = None, extft_software_nulling: rb_schemas.fbs_types.ipc.Request_EXTFT_Software_NullingTD | None = None, save_datalog: rb_schemas.fbs_types.ipc.Request_Data_Log_StartTD | None = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Dispatches to the appropriate robot configuration setter based on
option.A single unified entry point for the many set_*/call_* configuration calls on
RBManipulateConfigSDK:pass one of the SettingOptions::* constants asoption,populate the single corresponding parameter below, and leave every other parameter unset. Throws if the parameter matchingoptionis not provided, or ifoptionmatches none of the known SettingOptions values.- Parameters:
robot_model – Name of the robot model.
option – One of the SettingOptions::* constants selecting which setter to invoke.
out_collision – Required when
optionis SettingOptions::OUT_COLLISION; forwarded toRBManipulateConfigSDK::set_out_collision_para.self_collision – Required when
optionis SettingOptions::SELF_COLLISION; forwarded toRBM anipulateConfigSDK::set_self_collision_para.user_frame_selection – Required when
optionis SettingOptions::USER_FRAME_SELECTION; forwarded toRBManipulateConfigSDK::set_us erframe_num.Both “user_frame_num” and the legacy program-args key “target_user_frame_num” are accepted; neither present throws rather than silently selecting user frame 0. That resolution runs in the dedicated type_caster at the pybind boundary (binding/glue/program_setting_caster.hpp); this function only sees the resolvedUserFrameSelectionArg.fixed_speed – Required when
optionis SettingOptions::FIXED_SPEED; forwarded toRBManipulateConfigSDK::set_fixed_speed.target_shift – Required when
optionis SettingOptions::TARGET_SHIFT; forwarded toRBManipulateConfigSDK::set_shift.speed_bar – Required when
optionis SettingOptions::SPEED_BAR; forwarded toRBManipulateConfigSDK::call_speedbar.time_constraint – Required when
optionis SettingOptions::TIME_CONSTRAINT; forwarded toRBManipulateConfigSDK::set_timeconstraint.ascii_function_call – Required when
optionis SettingOptions::ASCII_FUNCTION_CALL; forwarded toRBManipulateConfigSDK::set_asc ii_functioncall.joint_impedance – Required when
optionis SettingOptions::JOINT_IMPEDANCE; forwarded toRBManipulateConfigSDK::set_joint_impedance.free_drive – Required when
optionis SettingOptions::FREE_DRIVE; forwarded toRBManipulateConfigSDK::set_freedrive.master_mode – Required when
optionis SettingOptions::MASTER_MODE; forwarded toRBManipulateConfigSDK::set_master_mode.user_frame_6dof – Required when
optionis SettingOptions::USER_FRAME_6DOF; forwarded toRBManipulateConfigSDK::set_userframe_6dof.user_frame_tcp – Required when
optionis SettingOptions::USER_FRAME_TCP; forwarded toRBManipulateConfigSDK::set_userframe_tcp.user_frame_3points – Required when
optionis SettingOptions::USER_FRAME_3POINTS; forwarded toRBManipulateConfigSDK::set_userframe_3poi nts.target_shift_landmark – Required when
optionis SettingOptions::TARGET_SHIFT_LANDMARK; the 6 reference/present points are rounded to 3 decimal places and padded to 7 values before being forwarded toRBManipulateCon figSDK::set_shift_landmark.Each point may be either a MoveInput_Target dict or, as legacy program args store them, a bare list of coordinates (taken as frame 0 / unit 0); that discrimination and the null check run in the dedicated type_caster at the pybind boundary (binding/glue/program_setting_caster.hpp), so this function only sees the resolvedShiftLandMarkArg.program_flow_manage – Required when
optionis SettingOptions::PROGRAM_FLOW_MANAGE; forwarded toRBManipulateConfigSDK::set_pro gram_flow_manage.din_function_mask – Required when
optionis SettingOptions::DIN_FUNCTION_MASK; forwarded to ``RBManipulateConfigSDK::set_din_function_mask. ``dout_function_mask – Required when
optionis SettingOptions::DOUT_FUNCTION_MASK; forwarded toRBManipulateConfigSDK::set_dout_function_ mask.jacobian_based_speed_control – Required when
optionis SettingO ptions::JACOBIAN_BASED_SPEED_CONTROL ; forwarded toRBManipulateConfigS DK::set_jacob_speed_mode.self_vibration_mode – Required when
optionis SettingOptions::SELF_VIBRATION_MODE; forwarded toRBManipulateConfigSDK::set_sel f_vibration_mode.vibration_motion_based – Required when
optionis SettingOptions::VIBRATION_MOTION_BASED. Passed from Python as a flat dict {“onoff”: 1/0, “frame”:, “x_mag”:, …}, matching theRequest_Wrapper_VibrationMotionschema table and what the FE actually sends — not the wire request shape (Request_Wrapper_VibrationMotion_On/_Off,sent as two separate RPCs; “onoff” only selects which one to call). When onoff == 1, all 10 of frame/x_mag/y_mag/z_mag/x_freq/y_freq/ z_freq/x_phase/y_phase/z_phase must be present (each parsed viarb_glue::to_int/to_double,tolerating string-typed values from loosely-typed program args) or the request is rejected — the auto dict-to-struct caster would otherwise silently fill missing fields with 0. That validation runs in the dedicated type_caster at the pybind boundary (binding/glue/vibration_mo tion_caster.hpp); this function only sees the resolvedVibrationMotionBasedArg.Forwarded toRBManipulateConfigSDK::call _vibration_motion_on/call_vibration_motion_off.external_axis_sync – Required when
optionis SettingOptions::EXTERNAL_AXIS_SYNC; forwarded toRBManipulateConfigSDK::set_external_axis_ sync.tcp_speed_bound – Required when
optionis SettingOptions::TCP_SPEED_BOUND; forwarded toRBManipulateConfigSDK::set_tcp_speed_bound.move_break – Required when
optionis SettingOptions::MOVE_BREAK_BLOCK; forwarded toRBManipulateConfigSDK::set_move_break.joint_reference_filter – Required when
optionis SettingOptions::JOINT_REFERENCE_FILTER; forwarded toRBManipulateConfigSDK::set_ joint_reference_filter.self_collision_blind – Required when
optionis SettingOptions::SELF_COLL_DETECT_BLIND; forwarded toRBManipulateConfigSDK::set_se lf_collision_blind.joint_origin_calibration – Required when
optionis SettingOptio ns::JOINT_ORIGIN_CALIBRATION. The underlying dict’s “table_option” key (0: Clear, 1: Add, 2: Run (Calculate), 3: Reflect) selects which ofRBManipulate MaintenanceSDK::call_origin_calib_clr,call_origin_calib_add,call_origin_calib_run,orcall_origin_calib_reflectis invoked; missing “table_option” or a case’s own required fields throws. That resolution runs in the dedicated type_caster at the pybind boundary (bind ing/glue/program_setting_caster.hpp); this function only sees the resolvedJointOriginCalibArg.wrist_singular_mode – Required when
optionis SettingOptions::WRIST_SINGULARITY_MODE; forwarded toRBManipulateConfigSDK::set_wri st_singularity_mode.flow_manager_args – Optional PyFM step context, forwarded as-is to whichever underlying setter is invoked.
- Returns:
IPC::Response_FunctionsT containing the underlying setter’s result.
- Raises:
std::runtime_error – If the parameter matching
optionis not provided, ifoptionmatches no known SettingOptions value, or if the chosen setter’s own validation fails.
- tool_out(self: rb_sdk.rb_sdk_cpp.RBManipulateProgramSDK, *, robot_model: str, tool_voltage: int, tool_dout_args: list[rb_schemas.fbs_types.ipc.Request_Flange_Digital_OutTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD | None#
Sets the tool (flange) power voltage and digital outputs.
Only operates within a PyFM step context: if
flow_manager_argsis not provided, this performs no action and immediately returns std::nullopt.- Parameters:
robot_model – Name of the robot model.
tool_voltage – Desired flange power voltage, forwarded to
call_flange_power:0 power off, 12 12V, 24 24V, or a negative value to leave the current voltage unchanged.tool_dout_args – Digital output arguments to apply to the flange.
flow_manager_args – PyFM step context. Required in practice — despite the optional type, omitting it makes this function a no-op that returns std::nullopt. On success, completion is reported to the flow manager immediately (synchronous).
- Returns:
IPC::Response_FunctionsT containing the digital-out request result, or std::nullopt if
flow_manager_argswas not provided.- Raises:
std::runtime_error – If either underlying flange call fails; the original message is wrapped as “Tool Out failed: …”. The failure must propagate — swallowing it would leave the PyFM step waiting on a done() that never comes.
- class rb_sdk.rb_sdk_cpp.RBManipulateSDK(*args, **kwargs)#
Bases:
RBBaseSDKRainbow Robotics manipulate SDK aggregate.
Groups the manipulate domain’s program, motion, configuration, IO, data, point, service, maintenance, safety, flange, state, and vision SDKs under one root object while sharing the RBBaseSDK zenoh session lifecycle.
- before_close(self: rb_sdk.rb_sdk_cpp.RBManipulateSDK) None#
- property config#
Robot configuration and parameter SDK.
- connect(self: rb_sdk.rb_sdk_cpp.RBManipulateSDK, arg0: rb_sdk.rb_sdk_cpp.ConnectOptions) str | None#
- property flange#
Flange peripheral SDK.
- property get_data#
State and data lookup SDK.
- property io#
Digital/analog IO SDK.
- property maintenance#
Maintenance/admin settings SDK.
- property move#
Robot motion command SDK.
- move_finish_at_stop(self: rb_sdk.rb_sdk_cpp.RBManipulateSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Deprecated alias for program.folder_finish_at().
- property point#
Point and coordinate helper SDK.
- property program#
Program lifecycle and program-flow SDK.
- property safety#
Safety function SDK.
- property service#
Move mini-tab service SDK.
- property state#
State/data observation SDK.
- property vision#
Vendor vision integration SDK.
- class rb_sdk.rb_sdk_cpp.RBManipulateSafetySDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_config_safety(self: rb_sdk.rb_sdk_cpp.RBManipulateSafetySDK, *, robot_model: str, safety_addr: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigSafetyTD#
Requests the cobot’s safety configuration entries.
Pass a specific address in
safety_addrto fetch a single entry, or -1 to fetch all safety configuration entries. Reads go through the same register table thatsave_safety_parameterwrites to.- Parameters:
robot_model – Name of the robot model.
safety_addr – Safety config register address to query, or -1 to request all entries.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_CallConfigSafetyT containing parallel list_name/list_addr/list_value arrays: the name, address, and value of each matching safety configuration entry.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- save_safety_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateSafetySDK, *, robot_model: str, target_addr: int, target_value: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Requests the cobot to save a safety configuration parameter.
Writes
target_valueto the safety configuration register attarget_addr— the write counterpart tocall_config_safety'sread. The firmware writes the value out over RS485 and, once acknowledged, persists it into the safety register table immediately (no separate commit step).- Parameters:
robot_model – Name of the robot model.
target_addr – Safety config register address to write. The firmware rejects addresses at or beyond the total number of safety registers.
target_value – Value to write to that address.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the save request result.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- class rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_calib_tcp_orientation(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, frame_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Runs automatic TCP orientation calibration (Move > Calibration > TCP Orientation).
- Parameters:
robot_model – Name of the robot model.
frame_option – Alignment frame used for the calibration. 0 = Global frame, 1 = Local frame, 2 = User frame.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the calibration result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_calib_tcp_position(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, joints: list[rb_schemas.fbs_types.ipc.MoveInput_TargetTD], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Runs automatic TCP position calibration from a set of joint poses (Move > Calibration > TCP Position).
The robot is moved through the given joint poses and the TCP offset is computed from the resulting motion. Each entry in
jointsis rounded to 3 decimal places and padded/truncated to 7 values before being sent.- Parameters:
robot_model – Name of the robot model.
joints – Joint poses to calibrate from. Each target’s tar_frame must be Joint (-1) — the values are joint angles, not Cartesian coordinates.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the calibration result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_eipext(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the EtherNet/IP Explicit Messaging communication parameters (Settings > Devices > Communication > EtherNet/IP Explicit).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port). Explicit Messaging is EtherNet/IP’s request/response (TCP) channel, as opposed to the cyclic I/O channel configured bycall_communication_para_eipint.- Parameters:
robot_model – Name of the robot model.
mode – EtherNet/IP Explicit Messaging server mode. 0 = Off, 1 = On.
port – TCP port the EtherNet/IP Explicit Messaging server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_eipint(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the EtherNet/IP Implicit Messaging communication parameters (Settings > Devices > Communication > EtherNet/IP Implicit).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port). Implicit Messaging is EtherNet/IP’s cyclic I/O (UDP) channel, as opposed to the request/response channel configured bycall_communication_para_eipext.- Parameters:
robot_model – Name of the robot model.
mode – EtherNet/IP Implicit Messaging server mode. 0 = Off, 1 = On.
port – Port the EtherNet/IP Implicit Messaging server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_grpc(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the gRPC communication parameters (Settings > Devices > Communication > gRPC).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – gRPC server mode. 0 = Off, 1 = On.
port – Port the gRPC server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_mbus(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the Modbus communication parameters (Settings > Devices > Communication > Modbus TCP).
- Parameters:
robot_model – Name of the robot model.
mode – Modbus server mode. 0 = Off, 1 = On.
port – TCP port the Modbus server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_mqtt(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the MQTT communication parameters (Settings > Devices > Communication > MQTT).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – MQTT server mode. 0 = Off, 1 = On.
port – Port the MQTT server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
Note
The MQTT settings card is currently commented out in the robot’s settings UI; this SDK call and its firmware handler are still present and functional.
- call_communication_para_opcua(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the OPC-UA communication parameters (Settings > Devices > Communication > OPC-UA).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – OPC-UA server mode. 0 = Off, 1 = On.
port – Port the OPC-UA server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_pnet(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the PROFINET communication parameters (Settings > Devices > Communication > ProfiNET).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – PROFINET server mode. 0 = Off, 1 = On.
port – Port the PROFINET server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_restapi(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the REST API communication parameters (Settings > Devices > Communication > Rest API).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – REST API server mode. 0 = Off, 1 = On.
port – Port the REST API server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_rtde(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the RTDE communication parameters (Settings > Devices > Communication > RTDE).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port).- Parameters:
robot_model – Name of the robot model.
mode – RTDE server mode. 0 = Off, 1 = On.
port – Port the RTDE server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_tcpcmd(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the TCP ASCII Command channel communication parameters (Settings > Devices > Communication > TCP Ascii Command).
Same parameter shape as
call_communication_para_mbus(mode, port); this configures Rainbow’s own ASCII-text TCP command-and-control channel rather than a third-party fieldbus protocol.- Parameters:
robot_model – Name of the robot model.
mode – TCP ASCII Command server mode. 0 = Off, 1 = On.
port – TCP port the ASCII Command server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_tcpdatda(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the TCP ASCII Data channel communication parameters (Settings > Devices > Communication > TCP Ascii Data).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port). This configures Rainbow’s own ASCII-text TCP realtime-data streaming channel.- Parameters:
robot_model – Name of the robot model.
mode – TCP ASCII Data server mode. 0 = Off, 1 = On.
port – TCP port the ASCII Data server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_udpcmd(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the UDP ASCII Command channel communication parameters (Settings > Devices > Communication > UDP Ascii Command).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port). UDP counterpart ofcall_communication_para_tcpcmd.- Parameters:
robot_model – Name of the robot model.
mode – UDP ASCII Command server mode. 0 = Off, 1 = On.
port – UDP port the ASCII Command server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_communication_para_udpdatda(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, port: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the UDP ASCII Data channel communication parameters (Settings > Devices > Communication > UDP Ascii Data).
Same parameter shape as
call_communication_para_mbus:mode(0 = Off, 1 = On) andport(listen port). UDP counterpart ofcall_communication_para_tcpdatda.- Parameters:
robot_model – Name of the robot model.
mode – UDP ASCII Data server mode. 0 = Off, 1 = On.
port – UDP port the ASCII Data server listens on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_config_communication(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigCommunicationTD#
Reads the saved field-bus / fieldbus-like communication configuration for all 13 supported protocols (Settings > Devices > Communication).
Returns the on/off mode and port number currently saved for each of Modbus, TCP Command, TCP Data, UDP Command, UDP Data, EtherNet/IP External, EtherNet/IP Internal, PROFINET, OPC-UA, MQTT, REST API, RTDE, and gRPC.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_CallConfigCommunicationT containing the mode_* / port_* pair for each of the 13 protocols.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_config_extaxis(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigExtAxisTD#
Reads the saved external axis configuration for all 7 external axis slots (Settings > Devices > External Axis).
Every response field is a length-7 array indexed by external axis (joint) number, mirroring the basic parameters saved via
call_extaxis_para_basic.It additionally exposes internal kinematics fields (offset_x/y/z, axis_x/y/z, dummyaxis_x/y/z) not shown in the settings UI and not settable through this SDK’s external- axis functions.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_CallConfigExtAxisT containing the 7 saved external axis configurations (one entry per array index).
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_config_extft(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigEXTFTTD#
Reads the saved external F/T (force/torque) sensor configuration (Settings > Devices > External F/T).
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_CallConfigEXTFTT containing the saved external F/T sensor configuration.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_config_softplc(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigSoftPLCTD#
Reads the saved Software PLC rule table (Settings > Devices > Software PLC).
Returns the configuration of all 32 Software PLC rule slots. Each slot is a simple ladder-logic-style rule: “IF (Input A) [operator] (Input B) THEN (Output)”, evaluated while the slot’s mode condition holds — see
save_softplc_parameterfor field semantics. Every response field is a length-32 array indexed by PLC slot number.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_CallConfigSoftPLCT containing the 32 saved rule slots (one entry per array index).
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_config_weld(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_CallConfigWeldTD#
Reads the saved welding device configuration (Settings > Devices > Welding).
Returns the device I/O mapping and current/voltage conversion maps previously saved via
save_weld_parameter.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_CallConfigWeldT containing the saved welding device configuration.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_datalog_get(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Data_Log_GetTD#
Retrieves the data recorded by the data logging session.
Fetches the data items recorded between call_datalog_start() and call_datalog_done(). Each item is returned as a name paired with its recorded sample values.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received.
- Returns:
IPC::Response_Data_Log_GetT containing the recorded data. Each entry in
datasholds: -name:Name of the logged data item (variable). -data:Recorded sample values of the item in chronological order, sampled at 500 Hz (i.e., one sample every 2 ms).- Raises:
std::runtime_error – If the query fails or no payload is returned.
See also
call_datalog_start
See also
call_datalog_done
- call_extaxis_calib_add(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, joint_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Records the current position as a calibration sample point for an external axis (Move > Calibration > External Axis > Calibration Add+ Button).
Call once per sample point after
call_extaxis_calib_clr;call again for each additional point, then finish withcall_extaxis_calib_run.- Parameters:
robot_model – Name of the robot model.
joint_no – External axis slot being calibrated, in the range [0, 6].
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_extaxis_calib_clr(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, joint_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Clears accumulated calibration samples for an external axis, starting a new calibration sequence (Move > Calibration > External Axis > Calibration Start Button).
Call this first, then
call_extaxis_calib_addone or more times to record sample points, thencall_extaxis_calib_runto compute and apply the result.- Parameters:
robot_model – Name of the robot model.
joint_no – External axis slot to calibrate, in the range [0, 6].
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_extaxis_calib_run(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, joint_no: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Computes and applies the external axis calibration from the recorded sample points (Move > Calibration > External Axis > Calibration Finish Button).
Finishes the sequence started by
call_extaxis_calib_clrand continued with one or morecall_extaxis_calib_addcalls.- Parameters:
robot_model – Name of the robot model.
joint_no – External axis slot being calibrated, in the range [0, 6].
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the calibration result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_extaxis_para_basic(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, joint_no: int, type: int, device: int, max_a: float, max_v: float, min_p: float, max_p: float, jog_a: float, jog_v: float, encoder: float, reduction: float, can_id: int, can_ch: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the basic configuration for one external axis (Settings > Devices > External Axis).
- Parameters:
robot_model – Name of the robot model.
joint_no – External axis slot to configure, in the range [0, 6].
type – Axis type. 0 = No axis, 1 = Revolute, 2 = Linear.
device – Device driving the axis. 0 = RSauto.
max_a – Maximum acceleration.
max_v – Maximum velocity.
min_p – Minimum position limit.
max_p – Maximum position limit.
jog_a – Jog acceleration rate.
jog_v – Jog velocity rate.
encoder – Encoder resolution.
reduction – Gear reduction ratio.
can_id – CAN ID.
can_ch – CAN Channel.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_gripper_action(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, gripper_type: int, function_list: int, payload: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sends an Initialize command, plus any additional configured commands (e.g., Set-position, Action), to a configured gripper or end-of-arm tool.
A single generic entry point for all supported gripper models (Dynamixel, DH PG/CG/AG, Robotiq E-Pick/2F/Hand-E, Baumer LDS, OnRobot 2FG/RG/3FG/VG/VGC/MG/SoftGripper/VGP20/Sander, JRT JEG series, and others).
function_listis model-specific: index 0 is always Initialize, and later indices are model-specific actions (e.g. Set Goal Position, Set Goal Pos/Spd/Force, Reset, Suction). The meaning of eachpayloadslot depends on bothgripper_typeandfunction_list— each of the 23 supported gripper types has its own per-function payload layout (slot index, unit, and default value), too large to reproduce here in full; consult the gripper’s setup UI or vendor documentation for the exact slot mapping of the model in use.- Parameters:
robot_model – Name of the robot model.
gripper_type – Gripper/tool model selector. 0 = Dynamixel Motor, 1 = DH PG/CG Series, 2 = DH AG Series, 3 = Robotiq E-Pick, 4 = Robotiq 2F Series, 5 = Robotiq Hand-E Series, 6 = Baumer LDS, 7 = OnRobot 2FG7, 8 = OnRobot 2FG14, 9 = OnRobot RG2, 10 = OnRobot RG6, 11 = OnRobot 3FG15, 12 = OnRobot 3FG25, 13 = OnRobot VG10, 14 = OnRobot VGC10, 15 = OnRobot MG10, 16 = OnRobot SoftGripper, 17 = OnRobot VGP20, 18 = OnRobot Sander, 19 = JRT JEGB, 20 = JRT JEGG, 21 = JRT JEGC, 22 = JRT JEGH, 23 = AG2-P70.
function_list – Action to run for the selected
gripper_type.0 is Initialize for every model; the meaning of other indices is model-specific (see schema).payload – Positional argument list for the selected
gripper_type/function_listcombination (e.g. connection port, device ID, target position/speed/force). Layout is model- and function-specific — see schema.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_move_gcode(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, filename: str, gcodeframe: int, feed_spd_default: float, feed_spd_rapid: float, feed_spd_limit: float, feed_spd_rotation: float, default_plane: int, offset_x: float, offset_y: float, offset_z: float, will_const_sped: int, will_ignore_unknown: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Executes a G-code file as a robot motion program.
- Parameters:
robot_model – Name of the robot model.
filename – Name of the G-code file to run.
gcodeframe – Reference frame the G-code coordinates are interpreted in. 0 = Global, 1 = Local, 2 = User.
feed_spd_default – Default feed speed (mm/s).
feed_spd_rapid – Rapid (non-cutting) feed speed (mm/s).
feed_spd_limit – Maximum feed speed allowed (mm/s).
feed_spd_rotation – Feed rotation speed (deg/s).
default_plane – Default working plane. 0 = XY-Plane, 1 = ZX-Plane, 2 = YZ-Plane.
offset_x – X offset applied to all G-code coordinates (mm).
offset_y – Y offset applied to all G-code coordinates (mm).
offset_z – Z offset applied to all G-code coordinates (mm).
will_const_sped – Whether to run at constant speed. 0 = off, 1 = constant speed.
will_ignore_unknown – Whether to ignore unrecognized G-code commands instead of failing. 0 = off, 1 = ignore unknown code.
flow_manager_args – Optional PyFM step context. If provided, the run result is reported to the flow manager and completion is handled asynchronously.
- Returns:
IPC::Response_FunctionsT containing the run-start result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
Note
If
flow_manager_argsis provided, this function returns immediately after submitting the request; a background monitor waits for the actual motion-completion signal from the robot before invoking the flow manager’s completion callback.
- call_move_macro(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, type: int, corner_pnts: list[Sequence[float]], speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD | None = None, rotation_mode: int, gap_num: int, margin_h_1: float, margin_h_2: float, margin_w_1: float, margin_w_2: float, margin_over: float, margin_over_para: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Runs a Motion Macro: a pre-built multi-segment move pattern (flat surface / round / triangle / 3D round) derived from a small set of corner points.
Rounds each point in
corner_pntsto 3 decimal places, pads or truncates it to the 7-value tar_values format expected by the firmware, and forwards the request. The number of points required incorner_pntsdepends ontype:Flat Surface = 4, Round (R) = 6, Round (H) = 6, Triangle = 3, 3D Round = 9.- Parameters:
robot_model – Name of the robot model.
type – Motion Macro type. 0 = Flat Surface, 1 = Round (R), 2 = Round (H), 3 = Triangle, 4 = 3D Round.
corner_pnts – Corner points defining the macro shape, each a [x, y, z, rx, ry, rz, aa]-style value list (up to 7 elements; shorter lists are zero-padded). The number of points required depends on
type(see above).speed – Movement speed parameters used to run the macro.
rotation_mode – Orientation option. 0 = Intended, 1 = Constant.
gap_num – Gap number between macro segments.
margin_h_1 – Margin height 1 (mm).
margin_h_2 – Margin height 2 (mm).
margin_w_1 – Margin width 1 (mm).
margin_w_2 – Margin width 2 (mm).
margin_over – Margin over (mm).
margin_over_para – Margin over parameter, in the range [0, 1].
flow_manager_args – Optional PyFM step context. If provided, the macro’s motion result is reported to the flow manager and completion is handled asynchronously.
- Returns:
IPC::Response_FunctionsT containing the macro-start result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
Note
If
flow_manager_argsis provided, this function returns immediately after submitting the request; a background monitor waits for the actual motion-completion signal from the robot before invoking the flow manager’s completion callback.
- call_move_push(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, force_type: int, frame_type: int, sensitivity_x: float, sensitivity_y: float, sensitivity_z: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts force-based push motion of the cobot.
Moves the cobot in response to external force applied to it, using the selected force sensor and reference frame. Per-axis sensitivity scales how strongly the cobot reacts to the applied force.
- Parameters:
robot_model – Name of the robot model.
force_type – Force sensor used to detect the applied force. - 0: Internal joint sensor - 1: External F/T sensor
frame_type – Reference frame for the push motion. - 0: Global - 1: Local - 2: User
sensitivity_x – Push sensitivity along the X axis, in the range [0, 1] (shown as 0–100% in the UI).
sensitivity_y – Push sensitivity along the Y axis, in the range [0, 1] (shown as 0–100% in the UI).
sensitivity_z – Push sensitivity along the Z axis, in the range [0, 1] (shown as 0–100% in the UI).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the request fails or the result cannot be retrieved.
- call_pattern_off(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, id: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Stops an active repeating Pattern by ID.
- Parameters:
robot_model – Name of the robot model.
id – Pattern ID to stop, in the range [0, 29].
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_pattern_on(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, id: int, type: int, corner_pnts: list[Sequence[float]] | None = None, random_pnts: list[Sequence[float]] | None = None, count_x: int, count_y: int, count_z: int, anchor_pnt: Sequence[float], incremental: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts a repeating Pattern move: a grid or randomized sweep of points around an anchor point.
Builds the target point list from
corner_pnts(for Line / Plane / Cube patterns) orrandom_pnts(whentypeis 3, Random), rounding each point to 3 decimal places and padding/truncating it to the 7-value tar_values format. The number of points required incorner_pntsdepends ontype:Line (X) = 2, Plane (X-Y) = 4, Cube (X-Y-Z) = 8; Random patterns instead takerandom_pnts,whose point count is caller-defined. Callcall_pattern_offto stop.- Parameters:
robot_model – Name of the robot model.
id – Pattern ID to run, in the range [0, 29]. Running a new pattern on an ID already in use is expected to replace it.
type – Pattern type. 0 = Line (X), 1 = Plane (X-Y), 2 = Cube (X-Y-Z), 3 = Random.
corner_pnts – Corner points defining the pattern grid, each a [x, y, z, rx, ry, rz, aa]-style value list (up to 7 elements; shorter lists are zero-padded). Used when
typeis not 3 (Random); ignored otherwise.random_pnts – Explicit point list used only when
typeis 3 (Random), in the same per-point format ascorner_pnts.Ignored for the other pattern types.count_x – Number of points to generate along the X axis.
count_y – Number of points to generate along the Y axis.
count_z – Number of points to generate along the Z axis.
anchor_pnt – Reference point the pattern grid is built around, as a [x, y, z, rx, ry, rz, aa]-style value list (up to 7 elements; shorter lists are zero-padded).
incremental – Whether the pattern advances incrementally between activations (nonzero) or restarts from the first point each time (0).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the pattern-start result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_replay_motion_list(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_Replay_Motion_ListTD#
Lists the motion recording files saved on the robot.
- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) after the response is received.
- Returns:
IPC::Response_FunctionsT containing the query result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_replay_motion_rec_start(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, frequency: float, filename: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts recording the cobot’s motion to a file.
Captures the robot’s motion trajectory while recording is active, and stores it under the given file name. Call
call_replay_motion_rec_stopto end the recording,call_replay_motion_listto see saved files, andcall_replay_motion_runto play a recorded file back.- Parameters:
robot_model – Name of the robot model.
mode – Recording mode. 0 = No Save (record without persisting to disk), 1 = Real Time (save every sample at a fixed frequency), 2 = Mile Stone (save only at key waypoints).
frequency – Sampling frequency (Hz) used in Real Time / Mile Stone mode.
filename – Name of the file the recording is saved under.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the record-start result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_replay_motion_rec_stop(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Stops the currently active motion recording.
Ends a recording previously started by
call_replay_motion_rec_start.- Parameters:
robot_model – Name of the robot model.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the record-stop result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_replay_motion_run(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, filename: str, type: int, speed: rb_schemas.fbs_types.ipc.MoveInput_SpeedTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Replays a previously recorded motion file.
- Parameters:
robot_model – Name of the robot model.
filename – Name of the recorded motion file to replay (as listed by
call_replay_motion_list).type – Move type used during replay. 0 = J-type (joint motion), 1 = L-type (linear motion).
speed – Movement speed parameters used during replay.
flow_manager_args – Optional PyFM step context. If provided, the replay result is reported to the flow manager and completion is handled asynchronously.
- Returns:
IPC::Response_FunctionsT containing the replay-start result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
Note
If
flow_manager_argsis provided, this function returns immediately after submitting the request; a background monitor waits for the actual motion-completion signal from the robot before invoking the flow manager’s completion callback.
- call_timer_function(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, timer_no: int, reset_time: float, option_increase: int, option_action: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Resets/configures one of the robot’s 10 general-purpose program timers.
- Parameters:
robot_model – Name of the robot model.
timer_no – Timer index to configure, in the range [0, 9].
reset_time – Value the timer is reset to (sec).
option_increase – Timing option. 0 = Default, 1 = Sync with Speed Bar.
option_action – Action option. 0 = Default, 1 = Stop at Pause State.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_weld_arc_off(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, time_start: float, cond_mode: int, cond_option: int, cond_jobno: int, cond_current: float, cond_voltage: float, cond_feedrate: float, cond_arccontrol: float, cond_arclength: float, cond_para1: float, cond_para2: float, time_crator: float, time_ending: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Stops welding: runs the crater-fill sequence and turns the arc off.
Runs the counterpart shutdown sequence to
call_weld_arc_on:holds a crater condition fortime_cratorseconds, then turns the arc off and waitstime_endingseconds before returning.- Parameters:
robot_model – Name of the robot model.
time_start – Initial wait time before the crater sequence starts (sec).
cond_mode – Crater condition setting method. 0 = keep current condition, 1 = set current + voltage, 2 = set feed rate + voltage, 3 = call job number.
cond_option – Condition option (dropdown). 0 = N/A.
cond_jobno – Job number to call when
cond_modeis 3 (call job number).cond_current – Welding current to apply (A).
cond_voltage – Welding voltage to apply (V).
cond_feedrate – Wire feed rate (m/min).
cond_arccontrol – Arc control value.
cond_arclength – Arc length value.
cond_para1 – Welder-specific parameter 1.
cond_para2 – Welder-specific parameter 2.
time_crator – Crater (arc end point) holding time (sec).
time_ending – Follow-up time to hold position/state after the arc is turned off (sec).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the arc-off result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_weld_arc_on(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, time_start: float, robot_vel: float, robot_acc: float, cond_mode: int, cond_option: int, cond_jobno: int, cond_current: float, cond_voltage: float, cond_feedrate: float, cond_arccontrol: float, cond_arclength: float, cond_para1: float, cond_para2: float, time_pregas: float, detect_try_num: int, detect_timeout: float, detect_timegap: float, time_ending: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Starts welding: turns the arc on with the given condition and detection settings.
Runs the arc-start sequence: waits
time_start,moves at (robot_vel,robot_acc),applies the requested welding condition, purges gas fortime_pregas,then attempts to detect the arc signal (retrying up todetect_try_numtimes withdetect_timegapbetween attempts, each bounded bydetect_timeout),and finally waitstime_endingbefore returning. Callcall_weld_arc_offto end welding.- Parameters:
robot_model – Name of the robot model.
time_start – Initial wait time before the sequence starts (sec).
robot_vel – Robot movement speed during the arc-on motion (mm/s).
robot_acc – Robot movement acceleration during the arc-on motion (mm/s^2).
cond_mode – Welding condition setting method. 0 = keep current condition, 1 = set current + voltage, 2 = set feed rate + voltage, 3 = call job number.
cond_option – Condition option (dropdown). 0 = N/A.
cond_jobno – Job number to call when
cond_modeis 3 (call job number).cond_current – Welding current to apply (A).
cond_voltage – Welding voltage to apply (V).
cond_feedrate – Wire feed rate (m/min).
cond_arccontrol – Arc control value.
cond_arclength – Arc length value.
cond_para1 – Welder-specific parameter 1.
cond_para2 – Welder-specific parameter 2.
time_pregas – Pre-gas purge time before arc start (sec).
detect_try_num – Number of retry attempts for arc signal detection.
detect_timeout – Timeout duration for a single arc signal detection attempt (sec).
detect_timegap – Interval time between arc signal detection retries (sec).
time_ending – Follow-up time to hold position/state after the arc is confirmed on (sec).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the arc-on result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_weld_gas(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, gas_onoff: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Turns the welding shield gas purge on or off.
- Parameters:
robot_model – Name of the robot model.
gas_onoff – Gas purge state. 0 = off, 1 = on.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- call_weld_wire(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, direction: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Jogs the welding wire feeder forward or backward, or stops it.
- Parameters:
robot_model – Name of the robot model.
direction – Wire feed direction. -1 = backward, 0 = stop, 1 = forward.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the command result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- pub_gripper_action(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, gripper_type: int, function_list: int, payload: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Publishes a gripper action command.
Same request as call_gripper_action() (same
gripper_type,function_listandpayloadlayout), but sent over the publish/subscribe channel without waiting for a response from the receiver.- Parameters:
robot_model – Name of the robot model.
gripper_type – Gripper model selector (see call_gripper_action()).
function_list – Action to run for the selected
gripper_type.payload – Positional argument list for the selected
gripper_type/function_listcombination.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the message has been published.
- Raises:
std::runtime_error – If the message cannot be published.
- save_extft_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, dev_type: int, dev_mount_opt: int, dev_mount_rx: float, dev_mount_ry: float, dev_mount_rz: float, dev_filer_hz: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the external F/T (force/torque) sensor configuration (Settings > Devices > External F/T).
- Parameters:
robot_model – Name of the robot model.
dev_type – External F/T sensor model. 0 = No Sensor, 1 = AIDIN Standard, 2 = AIDIN AFT, 3 = Robotous 60HA01.
dev_mount_opt – Mounting option. 0 = Default Mount, 1 = Custom Mount.
dev_mount_rx – Custom mount rotation about X, relative to the flange (deg). Used when
dev_mount_optis Custom Mount.dev_mount_ry – Custom mount rotation about Y, relative to the flange (deg). Used when
dev_mount_optis Custom Mount.dev_mount_rz – Custom mount rotation about Z, relative to the flange (deg). Used when
dev_mount_optis Custom Mount.dev_filer_hz – Signal low-pass filter cutoff frequency (Hz).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- save_softplc_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, plcnum: int, mode: int, operation: int, input_a_type: int, input_a_select: int, input_b_type: int, input_b_select: int, output_type: int, output_select: int, output_value: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves one Software PLC rule slot (Settings > Devices > Software PLC).
Configures a ladder-logic-style rule: “IF (Input A) [operation] (Input B) THEN (Output)”, active while the
modecondition holds. The meaning ofinput_a_select/input_b_select/output_selectdepends on the pairedinput_a_type/input_b_type/output_type— see apps/web/nexus/src/constants/software-plc- opts.c.ts in the frontend repo for the full per-type option index tables (I/O signal numbers, system status/parameter indices, data field indices, output signal numbers, etc.).- Parameters:
robot_model – Name of the robot model.
plcnum – PLC rule slot to configure, in the range [0, 31].
mode – Condition under which the rule is active. 0 = Off, 1 = Always, 2 = Idle, 3 = Playing, 4 = Moving.
operation – Operator combining Input A and Input B. 0 = ==, 1 = !=, 2 = >, 3 = <, 4 = >=, 5 = <=, 6 = logical AND, 7 = logical OR, 8 = + (add), 9 = x (multiply), 10 = bitwise AND, 11 = bitwise OR.
input_a_type – Category of Input A. 0 = I/O Signal, 1 = System Status, 2 = System Parameter, 3 = Data Communication, 4 = Data Dummy, 5 = Signal Level, 6 = User Number (literal value).
input_a_select – Index within
input_a_type'soption list selecting Input A (or, wheninput_a_typeis 6, the literal value itself).input_b_type – Category of Input B, same encoding as
input_a_type.input_b_select – Index within
input_b_type'soption list selecting Input B (or the literal value, as withinput_a_select).output_type – Category of the rule’s Output. 0 = Signal Output, 1 = Ex System Function, 2 = Value Substitution, 3 = Value Direct Enter.
output_select – Index within
output_type'soption list selecting the output target.output_value – Literal value written to the output when
output_typeis 3 (Value Direct Enter).flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- save_weld_parameter(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, dev_id: int, dev_ip_0: int, dev_ip_1: int, dev_ip_2: int, dev_ip_3: int, dev_port: int, out_pno_arc: int, out_pno_touch: int, out_pno_gas: int, out_pno_inch: int, out_pno_reinch: int, out_pno_current: int, out_pno_voltage: int, in_pno_ready: int, in_pno_arc: int, in_pno_touch: int, in_pno_gas: int, in_pno_feeder: int, in_pno_error: int, in_pno_current: int, in_pno_voltage: int, hw_process_type: int, hw_wire_type: int, hw_wire_size: int, hw_gas_type: int, current_map_value: list[float], current_map_output: list[float], voltage_map_value: list[float], voltage_map_output: list[float], flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Saves the welding device configuration (Settings > Devices > Welding).
Configures which digital/analog I/O ports the welding device is wired to, and the current/voltage conversion maps used to translate a requested welding current/voltage into the corresponding raw analog output value (and vice versa for feedback). Read back with
call_config_weld.- Parameters:
robot_model – Name of the robot model.
dev_id – Welding device type. 0 = None, 1 = I/O Signal, 2 = Miller M.Bus, 3 = Aotai M.Bus.
dev_ip_0 – First octet of the welding device IP address.
dev_ip_1 – Second octet of the welding device IP address.
dev_ip_2 – Third octet of the welding device IP address.
dev_ip_3 – Fourth octet of the welding device IP address.
dev_port – Communication port of the welding device.
out_pno_arc – Digital output port number for the Arc On signal. -1 = none, 0-15 = Digital Output 0-15.
out_pno_touch – Digital output port number for the Touch On signal. -1 = none, 0-15 = Digital Output 0-15.
out_pno_gas – Digital output port number for the Gas On signal. -1 = none, 0-15 = Digital Output 0-15.
out_pno_inch – Digital output port number for the Wire Inch signal. -1 = none, 0-15 = Digital Output 0-15.
out_pno_reinch – Digital output port number for the Wire Re-Inch signal. -1 = none, 0-15 = Digital Output 0-15.
out_pno_current – Analog output port number for the current setting. -1 = none, 0-3 = Analog Output 0-3.
out_pno_voltage – Analog output port number for the voltage setting. -1 = none, 0-3 = Analog Output 0-3.
in_pno_ready – Digital input port number for the Welder Ready feedback signal. -1 = none, 0-15 = Digital Input 0-15.
in_pno_arc – Digital input port number for the Arc Generated feedback signal. -1 = none, 0-15 = Digital Input 0-15.
in_pno_touch – Digital input port number for the Touch Signal feedback. -1 = none, 0-15 = Digital Input 0-15.
in_pno_gas – Digital input port number for the Gas Signal feedback. -1 = none, 0-15 = Digital Input 0-15.
in_pno_feeder – Digital input port number for the Feeder Signal feedback. -1 = none, 0-15 = Digital Input 0-15.
in_pno_error – Digital input port number for the Welder Error signal. -1 = none, 0-15 = Digital Input 0-15.
in_pno_current – Analog input port number for the current feedback. -1 = none, 0-3 = Analog Input 0-3.
in_pno_voltage – Analog input port number for the voltage feedback. -1 = none, 0-3 = Analog Input 0-3.
current_map_value – Input (raw) value list for the welding current conversion map.
current_map_output – Output (converted) value list for the welding current conversion map, paired index-for-index with
current_map_value.voltage_map_value – Input (raw) value list for the welding voltage conversion map.
voltage_map_output – Output (converted) value list for the welding voltage conversion map, paired index-for-index with
voltage_map_value.flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronously) once the response is received, provided its return_value is 0; a nonzero return_value raises before flow_manager_args.done() is reached.
- Returns:
IPC::Response_FunctionsT containing the save result.
- Raises:
std::runtime_error – If the query fails or no payload is returned.
- set_extft_software_nulling(self: rb_sdk.rb_sdk_cpp.RBManipulateServiceSDK, *, robot_model: str, mode: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) rb_schemas.fbs_types.ipc.Response_FunctionsTD#
Sets the software nulling mode of the external F/T sensor.
Starts software nulling of the external F/T sensor, or restores its original (un-nulled) values.
- Parameters:
robot_model – Name of the robot model.
mode – Nulling mode. 0: Return to Original Value, 1: Start Software Nulling.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once the result is received.
- Returns:
IPC::Response_FunctionsT containing the result of the request.
- Raises:
std::runtime_error – If the query fails or the result cannot be retrieved.
- class rb_sdk.rb_sdk_cpp.RBManipulateStateSDK(*args, **kwargs)#
Bases:
RBBaseSDK- call_powercontrol(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str, power_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) list[rb_schemas.fbs_types.ipc.Response_FunctionsTD]#
Requests the cobot to turn its main power on or off.
robot_modelmay be a zenoh key-expression that matches more than one robot; each matching robot returns its own reply, so the result is a list with one entry per robot instead of a single response.- Parameters:
robot_model – Name of the robot model. May be a key-expression matching multiple robots.
power_option – Power state value. 0 = power off, 1 = power on (with the normal pre-power-on check), 2 = power on without that check (labeled “force on” in the operator UI). Any other value is treated as power off.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every matched robot has replied.
- Returns:
List of IPC::Response_FunctionsT, one per robot that replied.
- Raises:
std::runtime_error – If no robot replies before the timeout.
- call_referencecontrol(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str, reference_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) list[rb_schemas.fbs_types.ipc.Response_FunctionsTD]#
Requests the cobot to switch between simulation and real operation reference.
Turning the reference on requires the servo to already be fully on; the request is rejected otherwise. When turned on, the robot’s internal motion reference is re-initialized from the current encoder position of every joint.
robot_modelmay be a zenoh key-expression that matches more than one robot; each matching robot returns its own reply, so the result is a list with one entry per robot instead of a single response.- Parameters:
robot_model – Name of the robot model. May be a key-expression matching multiple robots.
reference_option – Robot operation reference value. 0 = Simulation (operates in simulation mode), 1 = Real (operates the actual robot).
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every matched robot has replied.
- Returns:
List of IPC::Response_FunctionsT, one per robot that replied.
- Raises:
std::runtime_error – If no robot replies before the timeout.
- call_servocontrol(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str, servo_option: int, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) list[rb_schemas.fbs_types.ipc.Response_FunctionsTD]#
Requests the cobot to turn its servo on.
Every accepted value of
servo_optionturns the servo on; there is no value that turns it off through this call (main power must be turned off viacall_powercontrolto de-energize the motors).robot_modelmay be a zenoh key-expression that matches more than one robot; each matching robot returns its own reply, so the result is a list with one entry per robot instead of a single response.- Parameters:
robot_model – Name of the robot model. May be a key-expression matching multiple robots.
servo_option – Servo-on mode. 0 = basic servo-on, 1 = basic servo- on plus reference-on, 2 = emergency teaching (hand guiding) mode. Any other value is treated as 0.
flow_manager_args – Optional PyFM step context. If provided, completion is reported to the flow manager immediately (synchronous) once every matched robot has replied.
- Returns:
List of IPC::Response_FunctionsT, one per robot that replied.
- Raises:
std::runtime_error – If no robot replies before the timeout.
- call_whoami(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) list[rb_schemas.fbs_types.ipc.Response_CallWhoamITD]#
Requests identification information from the robot.
Queries the robot for its category, model name, firmware version, and alias.
robot_modelmay be a zenoh key-expression that matches more than one robot (unlikestate_core,which rejects wildcards); each matching robot returns its own reply, so the result is a list with one entry per robot instead of a single response.- Parameters:
robot_model – Name of the robot model. May be a key-expression matching multiple robots.
flow_manager_args – Optional PyFM step context, accepted for API consistency with the other functions in this class; this function never reports completion through it (it always returns synchronously with the query result).
- Returns:
List of IPC::Response_CallWhoamIT, one per robot that replied.
- Raises:
std::runtime_error – If no robot replies before the timeout.
- publish_state_core(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str, state_core: rb_schemas.fbs_types.ipc.State_CoreTD) None#
Publishes a core state message on the robot’s state_core topic.
Publishes
state_coreto {robot_model}/state_core, the same topic thatstate_corereads from and thatcall_move_jand the other move functions in RBManipulateMoveSDK subscribe to for detecting motion completion. On a live robot this topic is normally published to periodically by the robot’s own firmware; calling this against a live robot’s topic competes with that periodic publish.- Parameters:
robot_model – Name of the robot model.
state_core – State snapshot to publish.
- state_core(self: rb_sdk.rb_sdk_cpp.RBManipulateStateSDK, *, robot_model: str) rb_schemas.fbs_types.ipc.State_CoreTD#
Retrieves the latest published core state snapshot of the robot.
Waits for and returns the most recent message on the robot’s state_core topic, which carries joint/Cartesian references and encoder readings, tool and I/O state, motion status, and force/torque data. This is the same topic that
call_move_jand the other move functions in RBManipulateMoveSDK subscribe to internally in order to detect motion completion viamotion_sub_indexandtimestamp_usec_mono.- Parameters:
robot_model – Name of the robot model. A single, non-wildcard model name is required.
- Returns:
IPC::State_CoreT containing the current state snapshot.
- Raises:
std::runtime_error – If
robot_modelcontains a wildcard (*) character.
- class rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK(*args, **kwargs)#
Bases:
RBBaseSDKSDK for Mech-Mind, Photoneo, and Pickit3D vendor vision integrations.
- before_close(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK) None#
- execute_mechmind_connect(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, module_name: str, data: rb_schemas.fbs_types.muscat.InterfaceMechMindPayloadTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.MechMindClient#
Connects to a MechMind vision server and registers the client under
module_name.Reads connection parameters from
data(server_ip, server_port, an optional timeout_sec defaulting to 10 seconds, an optional project_id defaulting to 1) and opens a MechMind TCP connection, storing the resulting client in the per-module connection registry so later calls (trigger, get_poses, …) can look it up by the samemodule_name.- Parameters:
module_name – Registry key for the connection, normally the PyFM task id resolved from
flow_manager_args.data – Connect payload. Must contain server_ip and server_port; timeout_sec and project_id are optional.
flow_manager_args – Optional PyFM step context. When provided, flow_manager_args.done() is called unconditionally once the connection attempt finishes, even if it failed.
alarm_fn – Optional (title, content) callback used only when
data'sresolve_option is “ASK”.
- Returns:
Pointer to the connected
mechmind::MechMindClient,owned by the SDK’s connection registry (do not delete it). May be null, or non-null but not connected, if the attempt failed.- Raises:
std::runtime_error – If server_ip or server_port is missing, or if resolve_option is invalid; and, if resolve_option is “STOP”, if the native connect call throws.
Note
If the native connect call fails without throwing (client non-null but not connected), that failure is only logged to stdout — it does not go through resolve_option’s SKIP/STOP/ASK handling, unlike an actual vendor exception.
Note
Calling this again with the same
module_nametransparently disconnects the previous client for that module before opening the new connection.
- execute_mechmind_get_poses(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.MechMindClient, project_id: int, return_variable_name: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.MechMindVisionResponse#
Reads the poses detected by the most recent MechMind trigger.
Standalone equivalent of function_code=2 (“Get Poses”) of the MechMind READ interface. Unlike
execute_mechmind_trigger_and_get_poses,this does not trigger a new capture — it only re-reads the result of whichever trigger (viaexecute_mechmind_triggerorexecute_mechmind_trigger_and_get_poses)ran most recently forproject_id.- Parameters:
client – Connected MechMind client.
project_id – MechMind project id to read poses for.
return_variable_name – PyFM variable name that will receive the detected poses as a list of [x, y, z, rx, ry, rz] entries.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a MechMind exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success,
return_variable_nameis written into its context and flow_manager_args.done() is called.alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
mechmind::VisionResponse with the detected poses. A default- constructed (empty) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_mechmind_set_recipe(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.MechMindClient, project_id: int, recipe_id: int, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Switches the active MechMind recipe for a project.
Standalone equivalent of function_code=3 (“Set Recipe”) of the MechMind WRITE interface.
- Parameters:
client – Connected MechMind client.
project_id – MechMind project id to switch the recipe on.
recipe_id – Recipe id to activate.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a MechMind exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_mechmind_trigger(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.MechMindClient, project_id: int, expected_count: int, position: str, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD | None = None, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Triggers a MechMind capture + recognition without reading the resulting poses.
Standalone equivalent of function_code=1 (“Trigger”) of the MechMind WRITE interface. Same
position/robot-pose-correctionrule asexecute_mechmind_trigger_and_get_poses:no robot pose is sent for “EYE_TO_HAND”, otherwise it is derived fromstat_core.Callexecute_mechmind_get_posesafterwards to read the detection result.- Parameters:
client – Connected MechMind client.
project_id – MechMind project id to trigger against.
expected_count – Expected number of objects to detect; passed through to the native trigger call.
position – “EYE_TO_HAND” or “EYE_IN_HEAD” — selects whether robot- pose correction is sent.
stat_core – Robot state snapshot used for pose correction. Required when
positionis not “EYE_TO_HAND”.resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a MechMind exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK” (the native call itself always returns true when it doesn’t throw).- Raises:
std::runtime_error – If
positionis not “EYE_TO_HAND” andstat_coreis not provided; and, under “STOP”, if the native call throws.
- execute_mechmind_trigger_and_get_poses(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.MechMindClient, project_id: int, position: str, return_variable_name: str, state_core: rb_schemas.fbs_types.ipc.State_CoreTD | None = None, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.MechMindVisionResponse#
Triggers a MechMind capture + recognition and reads the detected poses in one round-trip.
Standalone equivalent of function_code=0 (“Trigger And Get Poses”) of the MechMind READ interface. When
positionis “EYE_TO_HAND” the camera is fixed off the robot, so no robot-pose correction is sent. Otherwise (positionis “EYE_IN_HEAD”) the camera is mounted on the robot, so the current TCP pose, joint positions and tool TCP offset (all derived fromstate_core)are sent so the vendor can correct for the arm’s current pose.- Parameters:
client – Connected MechMind client, e.g. from
execute_mechmind_connect.project_id – MechMind project id to trigger against.
position – “EYE_TO_HAND” or “EYE_IN_HEAD” — selects whether robot- pose correction is sent, see above.
return_variable_name – PyFM variable name that will receive the detected poses as a list of [x, y, z, rx, ry, rz] entries.
state_core – Robot state snapshot used for pose correction. Required when
positionis not “EYE_TO_HAND”.resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a MechMind exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success,
return_variable_nameis written into its context and flow_manager_args.done() is called.alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
mechmind::VisionResponse with the detected poses. A default- constructed (empty) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – If
positionis not “EYE_TO_HAND” andstate_coreis not provided; and, under “STOP”, if the native call throws.
- execute_photoneo_connect(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, module_name: str, data: rb_schemas.fbs_types.muscat.InterfacePhotoneoPayloadTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoClient#
Connects to a Photoneo Bin Picking Studio (BPS) server and registers the client under
module_name.Reads connection parameters from
data(server_ip, server_port, an optional timeout_sec defaulting to 10 seconds) and opens a Photoneo TCP connection, storing the resulting client in the per-module connection registry so later calls (initialize, scan, …) can look it up by the samemodule_name.- Parameters:
module_name – Registry key for the connection, normally the PyFM task id resolved from
flow_manager_args.data – Connect payload. Must contain server_ip and server_port; timeout_sec is optional.
flow_manager_args – Optional PyFM step context. When provided, flow_manager_args.done() is called unconditionally once the connection attempt finishes, even if it failed.
alarm_fn – Optional (title, content) callback used only when
data'sresolve_option is “ASK”.
- Returns:
Pointer to the connected
photoneo::PhotoneoClient,owned by the SDK’s connection registry (do not delete it). May be null, or non-null but not connected, if the attempt failed.- Raises:
std::runtime_error – If server_ip or server_port is missing, or if resolve_option is invalid; and, if resolve_option is “STOP”, if the native connect call throws.
Note
If the native connect call fails without throwing (client non-null but not connected), that failure is only logged to stdout — it does not go through resolve_option’s SKIP/STOP/ASK handling, unlike an actual vendor exception.
Note
Calling this again with the same
module_nametransparently disconnects the previous client for that module before opening the new connection.
- execute_photoneo_get_object_pose(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, vision_system_id: int, point_variable_name: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoObjectPoseResponse#
Reads the object pose found by the most recent Photoneo scan.
Standalone equivalent of function_code=2 (“Get Object Pose”) of the Photoneo READ interface. Requires a prior successful scan (via
execute_photoneo_scan)onvision_system_id.- Parameters:
client – Connected Photoneo client.
vision_system_id – Photoneo vision system id to read the object pose from. 0 uses the client’s configured default.
point_variable_name – PyFM variable name that will receive the detected pose — a 6-element [x, y, z, rx, ry, rz] list for the Euler-family formalism, a 7-element [x, y, z, qx, qy, qz, qw] list for the Quaternion formalism, or None if no pose is available.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success,
point_variable_nameis written into its context and flow_manager_args.done() is called.alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::ObjectPoseResponse with the detected pose. A default- constructed (no pose) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_photoneo_get_trajectory(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, vision_system_id: int, trajectory_start_to_approach: str, trajectory_approach_to_grasp: str, trajectory_grasp_to_deapproach: str, trajectory_deapproach_to_end: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoTrajectoryResponse#
Reads the 4-stage pick trajectory computed by the most recent Photoneo scan.
Standalone equivalent of function_code=3 (“Get Trajectory”) of the Photoneo READ interface. Requires a prior successful scan (via
execute_photoneo_scan)onvision_system_id.The trajectory is split into exactly four stages — Start->Approach, Approach->Grasp, Grasp->Deapproach, Deapproach->End — and each stage’s joint waypoints are written into its own PyFM variable.- Parameters:
client – Connected Photoneo client.
vision_system_id – Photoneo vision system id to read the trajectory from. 0 uses the client’s configured default.
trajectory_start_to_approach – PyFM variable name that will receive the Start->Approach stage’s waypoints, each a list of joint values.
trajectory_approach_to_grasp – Same, for Approach->Grasp.
trajectory_grasp_to_deapproach – Same, for Grasp->Deapproach.
trajectory_deapproach_to_end – Same, for Deapproach->End.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the four stage variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::TrajectoryResponse with the raw response. A default- constructed (empty) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – If the response does not contain exactly 4 trajectory segments; and, under “STOP”, if the native call throws.
Note
Any gripper-action entries interleaved in the raw trajectory, and the AI Picking INFO values (target bounding-box dimensions), are not extracted by this function — only the 4 segments’ joint waypoints are exposed.
- execute_photoneo_initialize(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, vision_system_id: int, start_joint: rb_schemas.fbs_types.muscat.PhotoneoJointTargetTD, end_joint: rb_schemas.fbs_types.muscat.PhotoneoJointTargetTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoAckResponse#
Initializes a Photoneo vision system with its scan-approach start/end joint targets.
Standalone equivalent of function_code=0 (“Initialize”) of the Photoneo WRITE interface.
- Parameters:
client – Connected Photoneo client.
vision_system_id – Photoneo vision system id to initialize. 0 uses the client’s configured default.
start_joint – Joint target dict with a required “tar_values” entry (6 joint angles in degrees; 7-axis input is reduced to 6 by dropping the third element). If “input_method” is 1, the target actually used is instead the required “ref_point” entry (a resolved list of joint values, not a variable name — PyFM already substitutes it before this call); “tar_values” is still required to be present but is ignored in that case.
end_joint – Same shape as
start_joint,for the scan’s end joint target.resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::AckResponse. A default-constructed (error_code=0) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – If either joint dict is missing “tar_values” (or “ref_point” when input_method=1), or does not resolve to exactly 6 joint values; and, under “STOP”, if the native call throws.
- execute_photoneo_move_waypoints(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, waypoints: list[list[float]], robot_model: str, robot_axis_count: int, pnt_type: int, pnt_para: float, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) None#
Moves the robot through an already-resolved list of joint waypoints via a JB (joint-blend) move.
Unlike the vendor-facing
execute_photoneo_*functions above, this does not talk to a Photoneo client at all — it drives the robot itself throughwaypointsusingRBManipulateMoveSDK::call_move_jb_clr/ call_move_jb_add / call_move_jb_run (clear the pending blend queue, add each waypoint, then run). It is the execution half of function_code=8 (“Move (JB)”) of the Photoneo interface; callers that already have a resolved waypoint list (as opposed to a PyFM trajectory variable name) can call it directly instead of going throughvision().Each waypoint is converted from Photoneo’s fixed 6-axis trajectory format to the robot’s actual
robot_axis_count:reduced to 6 axes if given more (dropping the third element), then, if the robot has 7 or more axes, expanded back to 7 by inserting 0 at index 2.- Parameters:
waypoints – Non-empty list of joint-value sequences (a Python list/tuple or numpy 2D array is accepted), in Photoneo’s 6-axis trajectory order.
robot_model – Name of the robot model to move.
robot_axis_count – Number of axes the target robot actually has; controls the 6-to-N axis expansion described above.
pnt_type – Blend type for every waypoint: 0 = Percentage, 1 = Distance.
pnt_para – Blend parameter for every waypoint, in the unit implied by
pnt_type(percent, or millimeters).flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called once after the final move request (call_move_jb_run) is accepted — not after the robot physically finishes the move.
alarm_fn – Optional (title, content) callback fired, with title “Vision(Photoneo) Move Failed”, if any of the clr/add/run requests reports a nonzero return value.
- Raises:
std::runtime_error – If
waypointsis empty, or if any clr/add/run request reports a nonzero return value (the first such failure stops the sequence immediately — later waypoints are never sent).
Note
Every waypoint is sent with a fixed tar_frame=-1 (Joint Space) and tar_unit=0 (degree) — this is not currently configurable through this function.
Note
Unlike the vendor-facing execute_* functions, there is no resolve_option here: any move failure always raises (and fires
alarm_fn,if provided) rather than being SKIP/STOP/ASK-gated.
- execute_photoneo_scan(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, vision_system_id: int, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoAckResponse#
Triggers a Photoneo scan at the robot’s current pose.
Standalone equivalent of function_code=1 (“Scan”) of the Photoneo WRITE interface. This is a Hand-Eye scan: the robot’s current TCP pose and tool TCP offset (both derived from
stat_core)are sent so the vendor can compute the flange pose the scan was taken from.- Parameters:
client – Connected Photoneo client.
vision_system_id – Photoneo vision system id to scan with. 0 uses the client’s configured default.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::AckResponse. A default-constructed (error_code=0) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_photoneo_solution_ask(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, current_solution_id: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoSolutionResponse#
Reads the id of the currently running Photoneo solution.
Standalone equivalent of function_code=7 (“Solution Ask”) of the Photoneo READ interface.
- Parameters:
client – Connected Photoneo client.
current_solution_id – PyFM variable name that will receive the running solution’s id, or None if none is running.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success,
current_solution_idis written into its context and flow_manager_args.done() is called.alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::SolutionResponse with the running solution id. A default-constructed (no id) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_photoneo_solution_change(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, solution_id: int, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoAckResponse#
Switches the active Photoneo solution.
Standalone equivalent of function_code=4 (“Solution Change”) of the Photoneo WRITE interface.
- Parameters:
client – Connected Photoneo client.
solution_id – Solution id to switch to.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::AckResponse. A default-constructed (error_code=0) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_photoneo_solution_start(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, solution_id: int, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoAckResponse#
Starts the currently active Photoneo solution.
Standalone equivalent of function_code=5 (“Solution Start”) of the Photoneo WRITE interface.
- Parameters:
client – Connected Photoneo client.
solution_id – Solution id to start.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::AckResponse. A default-constructed (error_code=0) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_photoneo_solution_stop(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PhotoneoClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PhotoneoAckResponse#
Stops the currently running Photoneo solution.
Standalone equivalent of function_code=6 (“Solution Stop”) of the Photoneo WRITE interface.
- Parameters:
client – Connected Photoneo client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Photoneo exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
photoneo::AckResponse. A default-constructed (error_code=0) response if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_build_background(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Rebuilds Pickit3D’s background model from the current scene.
Standalone equivalent of function_code=17 (“Build Background”) of the Pickit WRITE interface. Used to (re)learn what counts as empty background so later detections can distinguish objects from it.
- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_capture_image(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Captures an image for the Pickit3D Eye-in-Hand detection workflow.
Standalone equivalent of function_code=10 (“Capture Image”) of the Pickit WRITE interface. Part of the Eye-in-Hand workflow: this only captures the image and reports a status code — call
execute_pickit_process_imageafterwards to actually run detection on it. The robot TCP pose and tool TCP offset (derived fromstat_core)are sent, same as the other detection calls.- Parameters:
client – Connected Pickit client.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws — which, unlike the other Pickit detection calls, includes the image genuinely not having been captured (NO_IMAGE_CAPTURED means failure here, not “nothing found” as it does for
execute_pickit_look_for_objects).
- execute_pickit_check_mode(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, pickit_mode: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) int#
Reads Pickit3D’s current operating mode.
Standalone equivalent of function_code=1 (“Check Mode”) of the Pickit READ interface.
- Parameters:
client – Connected Pickit client.
pickit_mode – PyFM variable name that will receive the raw mode code: 0 = Robot Mode, 1 = Idle Mode. This value is itself the information being requested, not a success/failure signal.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success,
pickit_modeis written into its context and flow_manager_args.done() is called.alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
The mode code (0 or 1). 0 if
clientis null, not connected, or the call failed under “SKIP”/”ASK” — which is numerically indistinguishable from a genuine Robot Mode reading; check the client/exception path if that matters.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_compute_calib(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Computes the Pickit3D robot-camera calibration from the poses collected so far.
Standalone equivalent of function_code=5 (“Compute Calib”) of the Pickit WRITE interface. Requires a prior
execute_pickit_configure_calib.- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_configure(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, setup_id: int, product_id: int, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Selects the active Pickit3D setup and product.
Standalone equivalent of function_code=13 (“Configure”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
setup_id – Setup id to activate. A negative value falls back to the client’s configured default setup id.
product_id – Product id to activate. A negative value falls back to the client’s configured default product id.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_configure_calib(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, calib_method: int, calib_camera_mount: int, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Configures the Pickit3D robot-camera calibration procedure.
Standalone equivalent of function_code=4 (“Configure Calib”) of the Pickit WRITE interface. The robot TCP pose and tool TCP offset (derived from
stat_core)are always sent, but are only meaningful to Pickit for the SINGLE_POSE/MANUAL calibration methods — other methods ignore them.- Parameters:
client – Connected Pickit client.
calib_method – Pickit calibration method id — see
pickit3d::CalibrationMethod(constants.hpp), payload[0] of the native RC_PICKIT_CONFIGURE_CALIB(11) command: 0=SINGLE_POSE, 1=MULTI_POSE, 2=MANUAL, 3=DEFAULT. The caller (program step) may also pass the matching label string (“SINGLE_POSE”, “MULTI_POSE”, “MANUAL”, “DEFAULT”) —rb_vision_util::get_calib_methodresolves it to this id before the call reaches here.calib_camera_mount – Camera mount id — 0=FIXED (Eye-to-Hand — camera fixed in the cell, sees the whole scene) or 1=ON_ROBOT (Eye-in-Hand — camera mounted on the robot flange, moves with it). The caller may also pass “EYE_TO_HAND”/ “FIXED” or “EYE_IN_HAND”/”ON_ROBOT” —
rb_vision_util::get_calib_camera_mountresolves the label to this id. Must match how the camera is physically mounted on this cell; this is the same setting that decides whether detection usesexecute_pickit_look_for_objects(FIXED) orexecute_pickit_capture_image+execute_pickit_process_image(ON_ROBOT).stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws a Pickit exception.
std::invalid_argument – If
calib_methodis SINGLE_POSE andcalib_camera_mountis ON_ROBOT (an unsupported combination). This is not a Pickit protocol exception, so it is not caught by the resolve_option handling above — it always propagates directly to the caller.
- execute_pickit_connect(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, module_name: str, data: rb_schemas.fbs_types.muscat.InterfacePickitPayloadTD, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitClient#
Connects to a Pickit3D vision server and registers the client under
module_name.Reads connection parameters from
data(server_ip, server_port, an optional timeout_sec defaulting to 10 seconds) and opens a Pickit3D TCP connection, storing the resulting client in the per-module connection registry so later calls (look_for_objects, configure, …) can look it up by the samemodule_name.- Parameters:
module_name – Registry key for the connection, normally the PyFM task id resolved from
flow_manager_args.data – Connect payload. Must contain server_ip and server_port; timeout_sec is optional.
flow_manager_args – Optional PyFM step context. When provided, flow_manager_args.done() is called unconditionally once the connection attempt finishes, even if it failed.
alarm_fn – Optional (title, content) callback used only when
data'sresolve_option is “ASK”.
- Returns:
Pointer to the connected
pickit3d::PickitClient,owned by the SDK’s connection registry (do not delete it). May be null, or non- null but not connected, if the attempt failed.- Raises:
std::runtime_error – If server_ip or server_port is missing, or if resolve_option is invalid; and, if resolve_option is “STOP”, if the native connect call throws.
Note
If the native connect call fails without throwing (client non-null but not connected), that failure is only logged to stdout — it does not go through resolve_option’s SKIP/STOP/ASK handling, unlike an actual vendor exception.
Note
Calling this again with the same
module_nametransparently disconnects the previous client for that module before opening the new connection.
- execute_pickit_find_calib_plate(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Locates the calibration plate for Pickit3D robot-camera calibration.
Standalone equivalent of function_code=3 (“Find Calib Plate”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_get_pick_point_data(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, gripper_pose_name: str, reference_pick_point_id_name: str, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitPickPointData#
Reads the gripper pose computed from the most recent Pickit3D detection.
Standalone equivalent of function_code=12 (“Get Pick Point Data”) of the Pickit READ interface. Takes no robot pose of its own — the client automatically reuses the detected object’s pose cached by the most recent successful
execute_pickit_look_for_objects,execute_pickit_look_for_objects_with_retries,execute_pickit_next_object,orexecute_pickit_process_imagecall. The gripper pose is computed by composing that cached detection pose with the response’s offset pose; if no detection pose is cached, the gripper pose is not available.- Parameters:
client – Connected Pickit client.
gripper_pose_name – PyFM variable name that will receive the computed gripper pose as a 6-element [x, y, z, rx, ry, rz] list, or None if no cached detection pose is available.
reference_pick_point_id_name – PyFM variable name that will receive the reference pick point id from the response.
stat_core – Robot state snapshot the tool TCP offset is derived from (no TCP pose is sent — see above).
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the two variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
pickit3d::PickPointData with the pick point result. A default- constructed (empty) result if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_look_for_objects(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, pick_point_name: str, remaining_count_name: str, model_id_or_type_name: str, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitObjectDetection#
Triggers a Pickit3D capture + object detection run.
Standalone equivalent of function_code=7 (“Look For Objects”) of the Pickit READ interface. The robot TCP pose and tool TCP offset (derived from
stat_core)are sent so Pickit can locate the object relative to the robot.- Parameters:
client – Connected Pickit client.
pick_point_name – PyFM variable name that will receive the detected object’s pose as a 6-element [x, y, z, rx, ry, rz] list.
remaining_count_name – PyFM variable name that will receive the number of remaining detectable objects.
model_id_or_type_name – PyFM variable name that will receive the detected object’s model id or type.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the three variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
pickit3d::ObjectDetection with the detection result. A default- constructed (empty) result if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_look_for_objects_with_retries(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, retry_count: int, pick_point_name: str, remaining_count_name: str, model_id_or_type_name: str, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitObjectDetection#
Triggers a Pickit3D capture + object detection run, retrying internally on empty results.
Standalone equivalent of function_code=8 (“Look For Objects With Retries”) of the Pickit READ interface. Same behavior as
execute_pickit_look_for_objects,except the native call retries up toretry_counttimes internally when the result is NO_OBJECTS (not when the search area is merely empty). Vendor documentation does not specify a delay between retries or an overall timeout.- Parameters:
client – Connected Pickit client.
retry_count – Maximum number of internal retries on NO_OBJECTS.
pick_point_name – PyFM variable name that will receive the detected object’s pose as a 6-element [x, y, z, rx, ry, rz] list.
remaining_count_name – PyFM variable name that will receive the number of remaining detectable objects.
model_id_or_type_name – PyFM variable name that will receive the detected object’s model id or type.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the three variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
pickit3d::ObjectDetection with the detection result. A default- constructed (empty) result if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_next_object(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, pick_point_name: str, remaining_count_name: str, model_id_or_type_name: str, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitObjectDetection#
Reads the next detected object from the most recent Pickit3D detection run.
Standalone equivalent of function_code=9 (“Next Object”) of the Pickit READ interface. Only valid after a prior
execute_pickit_look_for_objectsorexecute_pickit_look_for_objects_with_retriescall.- Parameters:
client – Connected Pickit client.
pick_point_name – PyFM variable name that will receive the detected object’s pose as a 6-element [x, y, z, rx, ry, rz] list.
remaining_count_name – PyFM variable name that will receive the number of remaining detectable objects.
model_id_or_type_name – PyFM variable name that will receive the detected object’s model id or type.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the three variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
pickit3d::ObjectDetection with the detection result. A default- constructed (empty) result if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_process_image(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, pick_point_name: str, remaining_count_name: str, model_id_or_type_name: str, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) rb_sdk.rb_sdk_cpp.PickitObjectDetection#
Runs Pickit3D object detection on the image captured by
execute_pickit_capture_image.Standalone equivalent of function_code=11 (“Process Image”) of the Pickit READ interface. The second half of the Eye-in-Hand workflow — this is where the actual detection result (object pose, dimensions, remaining count) comes from, not from
execute_pickit_capture_image(which only reports a status code). Takes no robot pose — the pose already sent toexecute_pickit_capture_imageis what the detection is based on.- Parameters:
client – Connected Pickit client.
pick_point_name – PyFM variable name that will receive the detected object’s pose as a 6-element [x, y, z, rx, ry, rz] list.
remaining_count_name – PyFM variable name that will receive the number of remaining detectable objects.
model_id_or_type_name – PyFM variable name that will receive the detected object’s model id or type.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, the three variables above are written into its context and flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
pickit3d::ObjectDetection with the detection result. A default- constructed (empty) result if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_save_active_product(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Persists the currently active Pickit3D product.
Standalone equivalent of function_code=16 (“Save Active Product”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_save_active_setup(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Persists the currently active Pickit3D setup.
Standalone equivalent of function_code=15 (“Save Active Setup”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_save_snapshot(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Saves a diagnostic snapshot of Pickit3D’s current scene.
Standalone equivalent of function_code=18 (“Save Snapshot”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_set_cylinder_dim(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, cylinder_length: float, cylinder_diameter: float, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Sets the expected cylinder dimensions for Pickit3D’s cylinder detection model.
Standalone equivalent of function_code=14 (“Set Cylinder Dim”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
cylinder_length – Expected cylinder length, in millimeters.
cylinder_diameter – Expected cylinder diameter, in millimeters.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_shutdown_system(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Shuts down the Pickit3D vision system.
Standalone equivalent of function_code=2 (“Shutdown System”) of the Pickit WRITE interface.
- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- execute_pickit_update_robot_pose(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, stat_core: rb_schemas.fbs_types.ipc.State_CoreTD, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Sends the robot’s current TCP pose to Pickit3D for connection-liveness and 3D-view display.
Standalone equivalent of function_code=0 (“Update Robot Pose”) of the Pickit WRITE interface. This is not required for detection accuracy (the detection calls below carry their own robot pose) — it is used by Pickit only for liveness detection and its web interface’s 3D view. It is safe to call periodically (Pickit’s own guidance is roughly 10 Hz) from a separate control loop.
- Parameters:
client – Connected Pickit client.
stat_core – Robot state snapshot the TCP pose and tool TCP offset are derived from.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true if the update either sent successfully or was skipped (see @note below); false only if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
Note
The native call itself can return false when a write from another thread (e.g. a concurrent detection call) is already in progress and this update was skipped for the cycle. That return value is intentionally ignored here and never treated as a failure — only an actual exception is.
- execute_pickit_validate_calib(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, client: rb_sdk.rb_sdk_cpp.PickitClient, resolve_option: str = 'SKIP', flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None, alarm_fn: Callable[[str, str], None] = None) bool#
Validates the most recently computed Pickit3D robot-camera calibration.
Standalone equivalent of function_code=6 (“Validate Calib”) of the Pickit WRITE interface. Requires a prior
execute_pickit_compute_calib.- Parameters:
client – Connected Pickit client.
resolve_option – How to handle a client-side failure — client not connected, or the native call throwing a Pickit exception: “SKIP” continues without effect, “STOP” raises immediately, “ASK” fires
alarm_fnand pauses the PyFM context (requiresflow_manager_args).Defaults to “SKIP”.flow_manager_args – Optional PyFM step context. On success, flow_manager_args.done() is called.
alarm_fn – Optional (title, content) callback used only when
resolve_optionis “ASK”.
- Returns:
true on success; false if
clientis null, not connected, or the call failed under “SKIP”/”ASK”.- Raises:
std::runtime_error – Under “STOP”, if the native call throws.
- vision(self: rb_sdk.rb_sdk_cpp.RBManipulateVisionSDK, *, robot_model: str, option: str, data: dict, alarm_fn: Callable[[str, str], None] = None, flow_manager_args: rb_schemas.sdk.FlowManagerArgs | None = None) None#
Single dispatch entry point for all MechMind / Photoneo / Pickit3D vision interface calls.
This is the function a PyFM vision-interface step actually calls; every function above (connect / execute_* / trigger / etc.) is one of this function’s dispatch targets and can also be called directly by SDK users who already hold a client and don’t need the
data-drivendispatch. Which sub-function runs is chosen byoptionand, for Photoneo/Pickit, a “function_code” field insidedata(MechMind instead uses a “type” field, see below):“MECHMIND_INTERFACE”:
data["type"]selects “CONNECT” (execute_mechmind_connect),“READ” (function_code 0 = Trigger And Get Poses viaexecute_mechmind_trigger_and_get_poses,2 = Get Poses viaexecute_mechmind_get_poses),or “WRITE” (function_code 1 = Trigger viaexecute_mechmind_trigger,3 = Set Recipe viaexecute_mechmind_set_recipe).“PHOTONEO_INTERFACE”:
data["function_code"]selects 99 = Create Connection (execute_photoneo_connect),0/1/4/5/6 = Initialize / Scan / Solution Change / Solution Start / Solution Stop (WRITE), 2/3/7 = Get Object Pose / Get Trajectory / Solution Ask (READ), or 8 = Move (JB) through a stored trajectory (execute_photoneo_move_waypoints,resolving the trajectory by PyFM variable name or an inline waypoint list).“PICKIT_INTERFACE”:
data["function_code"]selects 99 = Create Connection (execute_pickit_connect),one of 0/2/3/4/5/6/10/13/14/15/16/17/18 for the WRITE-family calls (update robot pose, shutdown, calibration, configure, capture image, …), or one of 1/7/8/9/11/12 for the READ-family calls (check mode, look for objects (with retries), next object, process image, get pick point data).
See each dispatch target’s own docstring above for its payload fields, return value and failure handling — this function only picks which one runs and supplies it with the connection’s client, plus a robot state snapshot for calls that need pose correction.
- Parameters:
robot_model (str) – Name of the robot model whose state and vision connection this call applies to.
option (str) – Vision vendor: “MECHMIND_INTERFACE”, “PHOTONEO_INTERFACE”, or “PICKIT_INTERFACE”.
data (rb_schemas.fbs_types.muscat.InterfaceMechMindPayloadTD | rb_schemas.fbs_types.muscat.InterfacePhotoneoPayloadTD | rb_schemas.fbs_types.muscat.InterfacePickitPayloadTD) – Interface payload; its shape depends on
optionand the selected type/function_code, see above.alarm_fn (Callable[[str, str], None] | None) – Optional (title, content) callback used by any dispatch target whose resolve_option is “ASK”.
flow_manager_args (rb_schemas.sdk.FlowManagerArgs | None) – Optional PyFM step context. Required for this call to do anything — if omitted, returns immediately without dispatching to any target (unlike the individual execute_* functions below, which work standalone; call one of those directly instead of vision() if PyFM isn’t in play). When provided, it’s forwarded as-is to the selected dispatch target.
- Raises:
std::runtime_error – If
data["server_ip"]is falsy/missing (required for every call, not just CONNECT — see @note below), ifoptionis not one of the three vendors, or if the selected type/function_code is not recognized; and whatever the selected dispatch target itself throws.
Note
data["server_ip"]is required and validated even for calls that reuse an already-open connection (READ/WRITE/etc.) and never use its value — this matches the Python original’s behavior, not a porting oversight.Note
If
alarm_fnis not provided andflow_manager_argsis, this function resolves it by looking up “rb_program_sdk.alarm” in the PyFM context’s SDK function registry. If that lookup also fails, orflow_manager_argsis not provided either, any “ASK” resolve_option downstream effectively behaves like “SKIP” (no alarm is fired, sincealarm_fnstays null).