wandelbots-api-client 25.11.0.dev27__py3-none-any.whl → 26.1.0.dev42__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wandelbots_api_client/__init__.py +2 -2
- wandelbots_api_client/api/application_api.py +1 -1
- wandelbots_api_client/api/cell_api.py +1 -1
- wandelbots_api_client/api/controller_api.py +1 -1
- wandelbots_api_client/api/controller_ios_api.py +1 -1
- wandelbots_api_client/api/coordinate_systems_api.py +1 -1
- wandelbots_api_client/api/device_configuration_api.py +1 -1
- wandelbots_api_client/api/library_program_api.py +1 -1
- wandelbots_api_client/api/library_program_metadata_api.py +1 -1
- wandelbots_api_client/api/library_recipe_api.py +1 -1
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -1
- wandelbots_api_client/api/license_api.py +1 -1
- wandelbots_api_client/api/motion_api.py +4 -4
- wandelbots_api_client/api/motion_group_api.py +1 -1
- wandelbots_api_client/api/motion_group_infos_api.py +1 -1
- wandelbots_api_client/api/motion_group_jogging_api.py +1 -1
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -1
- wandelbots_api_client/api/program_api.py +1 -1
- wandelbots_api_client/api/program_operator_api.py +1 -1
- wandelbots_api_client/api/program_values_api.py +1 -1
- wandelbots_api_client/api/store_collision_components_api.py +1 -1
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -1
- wandelbots_api_client/api/store_object_api.py +1 -1
- wandelbots_api_client/api/system_api.py +1 -1
- wandelbots_api_client/api/version_api.py +1 -1
- wandelbots_api_client/api/virtual_robot_api.py +1 -1
- wandelbots_api_client/api/virtual_robot_behavior_api.py +1 -1
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -1
- wandelbots_api_client/api/virtual_robot_setup_api.py +1 -1
- wandelbots_api_client/api_client.py +2 -2
- wandelbots_api_client/configuration.py +3 -3
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +1 -1
- wandelbots_api_client/models/abb_controller.py +1 -1
- wandelbots_api_client/models/abb_controller_egm_server.py +1 -1
- wandelbots_api_client/models/activate_license_request.py +1 -1
- wandelbots_api_client/models/add_request.py +1 -1
- wandelbots_api_client/models/all_joint_positions_request.py +1 -1
- wandelbots_api_client/models/all_joint_positions_response.py +1 -1
- wandelbots_api_client/models/api_version.py +1 -1
- wandelbots_api_client/models/app.py +1 -1
- wandelbots_api_client/models/array_input.py +1 -1
- wandelbots_api_client/models/array_output.py +1 -1
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +1 -1
- wandelbots_api_client/models/blending_position.py +1 -1
- wandelbots_api_client/models/box.py +1 -1
- wandelbots_api_client/models/box2.py +1 -1
- wandelbots_api_client/models/box3.py +1 -1
- wandelbots_api_client/models/capsule.py +1 -1
- wandelbots_api_client/models/capsule2.py +1 -1
- wandelbots_api_client/models/capsule3.py +1 -1
- wandelbots_api_client/models/capture.py +1 -1
- wandelbots_api_client/models/cell.py +1 -1
- wandelbots_api_client/models/circle.py +1 -1
- wandelbots_api_client/models/code_with_arguments.py +1 -1
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +1 -1
- wandelbots_api_client/models/collider_input.py +1 -1
- wandelbots_api_client/models/collider_output.py +1 -1
- wandelbots_api_client/models/collider_output_shape.py +1 -1
- wandelbots_api_client/models/collider_shape.py +1 -1
- wandelbots_api_client/models/collision.py +1 -1
- wandelbots_api_client/models/collision_contact.py +1 -1
- wandelbots_api_client/models/collision_motion_group.py +1 -1
- wandelbots_api_client/models/collision_motion_group_assembly.py +1 -1
- wandelbots_api_client/models/collision_robot_configuration_input.py +1 -1
- wandelbots_api_client/models/collision_robot_configuration_output.py +1 -1
- wandelbots_api_client/models/collision_scene.py +1 -1
- wandelbots_api_client/models/collision_scene_assembly.py +1 -1
- wandelbots_api_client/models/command.py +1 -1
- wandelbots_api_client/models/command_settings.py +1 -1
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +1 -1
- wandelbots_api_client/models/container_environment_inner.py +1 -1
- wandelbots_api_client/models/container_image.py +1 -1
- wandelbots_api_client/models/container_image_secrets_inner.py +1 -1
- wandelbots_api_client/models/container_resources.py +1 -1
- wandelbots_api_client/models/container_storage.py +1 -1
- wandelbots_api_client/models/controller_capabilities.py +1 -1
- wandelbots_api_client/models/controller_instance.py +1 -1
- wandelbots_api_client/models/controller_instance_list.py +1 -1
- wandelbots_api_client/models/convex_hull.py +1 -1
- wandelbots_api_client/models/convex_hull2.py +1 -1
- wandelbots_api_client/models/convex_hull3.py +1 -1
- wandelbots_api_client/models/coordinate_system.py +1 -1
- wandelbots_api_client/models/coordinate_systems.py +1 -1
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +1 -1
- wandelbots_api_client/models/create_program_run_request.py +1 -1
- wandelbots_api_client/models/create_trigger200_response.py +1 -1
- wandelbots_api_client/models/create_trigger_request.py +1 -1
- wandelbots_api_client/models/cubic_spline.py +1 -1
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +1 -1
- wandelbots_api_client/models/cubic_spline_parameter.py +1 -1
- wandelbots_api_client/models/cycle_time.py +1 -1
- wandelbots_api_client/models/cylinder.py +1 -1
- wandelbots_api_client/models/cylinder2.py +1 -1
- wandelbots_api_client/models/cylinder3.py +1 -1
- wandelbots_api_client/models/dh_parameter.py +1 -1
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +1 -1
- wandelbots_api_client/models/error.py +1 -1
- wandelbots_api_client/models/execute_trajectory_request.py +1 -1
- wandelbots_api_client/models/execute_trajectory_response.py +1 -1
- wandelbots_api_client/models/execution_result.py +1 -1
- wandelbots_api_client/models/external_joint_stream_datapoint.py +1 -1
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +1 -1
- wandelbots_api_client/models/fanuc_controller.py +1 -1
- wandelbots_api_client/models/feedback_collision.py +1 -1
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +1 -1
- wandelbots_api_client/models/feedback_out_of_workspace.py +1 -1
- wandelbots_api_client/models/feedback_singularity.py +1 -1
- wandelbots_api_client/models/flag.py +1 -1
- wandelbots_api_client/models/force_vector.py +1 -1
- wandelbots_api_client/models/geometry.py +1 -1
- wandelbots_api_client/models/get_all_program_runs200_response.py +1 -1
- wandelbots_api_client/models/get_all_triggers200_response.py +1 -1
- wandelbots_api_client/models/get_mode_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_sample_response.py +1 -1
- wandelbots_api_client/models/google_protobuf_any.py +1 -1
- wandelbots_api_client/models/http_exception_response.py +1 -1
- wandelbots_api_client/models/http_validation_error.py +1 -1
- wandelbots_api_client/models/http_validation_error2.py +1 -1
- wandelbots_api_client/models/image_credentials.py +1 -1
- wandelbots_api_client/models/info_service_capabilities.py +1 -1
- wandelbots_api_client/models/initialize_movement_request.py +1 -1
- wandelbots_api_client/models/initialize_movement_response.py +1 -1
- wandelbots_api_client/models/initialize_movement_response_init_response.py +1 -1
- wandelbots_api_client/models/io.py +1 -1
- wandelbots_api_client/models/io_description.py +1 -1
- wandelbots_api_client/models/io_value.py +1 -1
- wandelbots_api_client/models/ios.py +1 -1
- wandelbots_api_client/models/jogging_response.py +1 -1
- wandelbots_api_client/models/jogging_service_capabilities.py +1 -1
- wandelbots_api_client/models/joint_jogging_request.py +1 -1
- wandelbots_api_client/models/joint_limit.py +1 -1
- wandelbots_api_client/models/joint_limit_exceeded.py +1 -1
- wandelbots_api_client/models/joint_position_request.py +1 -1
- wandelbots_api_client/models/joint_trajectory.py +1 -1
- wandelbots_api_client/models/joints.py +1 -1
- wandelbots_api_client/models/kinematic_service_capabilities.py +1 -1
- wandelbots_api_client/models/kuka_controller.py +1 -1
- wandelbots_api_client/models/kuka_controller_rsi_server.py +1 -1
- wandelbots_api_client/models/license.py +1 -1
- wandelbots_api_client/models/license_status.py +1 -1
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +1 -1
- wandelbots_api_client/models/limits_override.py +1 -1
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +1 -1
- wandelbots_api_client/models/list_io_values_response.py +1 -1
- wandelbots_api_client/models/list_payloads_response.py +1 -1
- wandelbots_api_client/models/list_program_metadata_response.py +1 -1
- wandelbots_api_client/models/list_recipe_metadata_response.py +1 -1
- wandelbots_api_client/models/list_response.py +1 -1
- wandelbots_api_client/models/list_tcps_response.py +1 -1
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +1 -1
- wandelbots_api_client/models/motion_command.py +1 -1
- wandelbots_api_client/models/motion_command_blending.py +1 -1
- wandelbots_api_client/models/motion_command_path.py +1 -1
- wandelbots_api_client/models/motion_group_behavior_getter.py +1 -1
- wandelbots_api_client/models/motion_group_info.py +1 -1
- wandelbots_api_client/models/motion_group_infos.py +1 -1
- wandelbots_api_client/models/motion_group_instance.py +1 -1
- wandelbots_api_client/models/motion_group_instance_list.py +1 -1
- wandelbots_api_client/models/motion_group_joints.py +1 -1
- wandelbots_api_client/models/motion_group_physical.py +1 -1
- wandelbots_api_client/models/motion_group_specification.py +1 -1
- wandelbots_api_client/models/motion_group_state.py +1 -1
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/models/motion_group_state_response.py +1 -1
- wandelbots_api_client/models/motion_id.py +1 -1
- wandelbots_api_client/models/motion_ids_list_response.py +1 -1
- wandelbots_api_client/models/motion_vector.py +1 -1
- wandelbots_api_client/models/mounting.py +1 -1
- wandelbots_api_client/models/move_request.py +1 -1
- wandelbots_api_client/models/move_response.py +1 -1
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +1 -1
- wandelbots_api_client/models/movement.py +1 -1
- wandelbots_api_client/models/movement_error.py +1 -1
- wandelbots_api_client/models/movement_error_error.py +1 -1
- wandelbots_api_client/models/movement_movement.py +1 -1
- wandelbots_api_client/models/op_mode.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +1 -1
- wandelbots_api_client/models/out_of_workspace.py +1 -1
- wandelbots_api_client/models/path.py +1 -1
- wandelbots_api_client/models/path_cartesian_ptp.py +1 -1
- wandelbots_api_client/models/path_circle.py +1 -1
- wandelbots_api_client/models/path_cubic_spline.py +1 -1
- wandelbots_api_client/models/path_joint_ptp.py +1 -1
- wandelbots_api_client/models/path_line.py +1 -1
- wandelbots_api_client/models/pause_movement_request.py +1 -1
- wandelbots_api_client/models/pause_movement_response.py +1 -1
- wandelbots_api_client/models/pause_movement_response_pause_response.py +1 -1
- wandelbots_api_client/models/pause_on_io.py +1 -1
- wandelbots_api_client/models/payload.py +1 -1
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +1 -1
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +1 -1
- wandelbots_api_client/models/plan_failed_response.py +1 -1
- wandelbots_api_client/models/plan_request.py +1 -1
- wandelbots_api_client/models/plan_response.py +1 -1
- wandelbots_api_client/models/plan_successful_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_failed_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +1 -1
- wandelbots_api_client/models/plan_trajectory_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +1 -1
- wandelbots_api_client/models/plane3.py +1 -1
- wandelbots_api_client/models/planned_motion.py +1 -1
- wandelbots_api_client/models/planner_pose.py +1 -1
- wandelbots_api_client/models/planning_limits.py +1 -1
- wandelbots_api_client/models/planning_limits_limit_range.py +1 -1
- wandelbots_api_client/models/playback_speed_request.py +1 -1
- wandelbots_api_client/models/playback_speed_response.py +1 -1
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +1 -1
- wandelbots_api_client/models/point_cloud.py +1 -1
- wandelbots_api_client/models/pose.py +1 -1
- wandelbots_api_client/models/pose2.py +1 -1
- wandelbots_api_client/models/program_metadata.py +1 -1
- wandelbots_api_client/models/program_run.py +1 -1
- wandelbots_api_client/models/program_run_object.py +1 -1
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +1 -1
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +1 -1
- wandelbots_api_client/models/quaternion.py +1 -1
- wandelbots_api_client/models/recipe_metadata.py +1 -1
- wandelbots_api_client/models/rectangle.py +1 -1
- wandelbots_api_client/models/rectangle2.py +1 -1
- wandelbots_api_client/models/rectangle3.py +1 -1
- wandelbots_api_client/models/rectangular_capsule.py +1 -1
- wandelbots_api_client/models/rectangular_capsule2.py +1 -1
- wandelbots_api_client/models/rectangular_capsule3.py +1 -1
- wandelbots_api_client/models/release_channel.py +1 -1
- wandelbots_api_client/models/request.py +1 -1
- wandelbots_api_client/models/request1.py +1 -1
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
- wandelbots_api_client/models/robot_controller.py +1 -1
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +1 -1
- wandelbots_api_client/models/robot_link_geometry.py +1 -1
- wandelbots_api_client/models/robot_state.py +1 -1
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +1 -1
- wandelbots_api_client/models/robot_tcps.py +1 -1
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +1 -1
- wandelbots_api_client/models/safety_configuration.py +1 -1
- wandelbots_api_client/models/safety_setup.py +1 -1
- wandelbots_api_client/models/safety_setup_safety_settings.py +1 -1
- wandelbots_api_client/models/safety_setup_safety_zone.py +1 -1
- wandelbots_api_client/models/safety_zone.py +1 -1
- wandelbots_api_client/models/safety_zone_limits.py +1 -1
- wandelbots_api_client/models/safety_zone_violation.py +1 -1
- wandelbots_api_client/models/service_status.py +1 -1
- wandelbots_api_client/models/service_status_phase.py +1 -1
- wandelbots_api_client/models/service_status_severity.py +1 -1
- wandelbots_api_client/models/service_status_status.py +1 -1
- wandelbots_api_client/models/set_io.py +1 -1
- wandelbots_api_client/models/set_playback_speed.py +1 -1
- wandelbots_api_client/models/single_joint_limit.py +1 -1
- wandelbots_api_client/models/singularity.py +1 -1
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +1 -1
- wandelbots_api_client/models/sphere2.py +1 -1
- wandelbots_api_client/models/sphere3.py +1 -1
- wandelbots_api_client/models/standstill.py +1 -1
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +1 -1
- wandelbots_api_client/models/start_movement_request.py +1 -1
- wandelbots_api_client/models/start_on_io.py +1 -1
- wandelbots_api_client/models/status.py +1 -1
- wandelbots_api_client/models/stop_response.py +1 -1
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +1 -1
- wandelbots_api_client/models/stream_move_forward.py +1 -1
- wandelbots_api_client/models/stream_move_playback_speed.py +1 -1
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +1 -1
- wandelbots_api_client/models/stream_move_to_trajectory.py +1 -1
- wandelbots_api_client/models/stream_stop.py +1 -1
- wandelbots_api_client/models/tcp_pose.py +1 -1
- wandelbots_api_client/models/tcp_pose_request.py +1 -1
- wandelbots_api_client/models/tool_geometry.py +1 -1
- wandelbots_api_client/models/trajectory_sample.py +1 -1
- wandelbots_api_client/models/trigger_object.py +1 -1
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +1 -1
- wandelbots_api_client/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/models/update_program_metadata_request.py +1 -1
- wandelbots_api_client/models/update_recipe_metadata_request.py +1 -1
- wandelbots_api_client/models/update_trigger_request.py +1 -1
- wandelbots_api_client/models/validation_error.py +1 -1
- wandelbots_api_client/models/validation_error2.py +1 -1
- wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
- wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
- wandelbots_api_client/models/value.py +1 -1
- wandelbots_api_client/models/vector3d.py +1 -1
- wandelbots_api_client/models/version_number.py +1 -1
- wandelbots_api_client/models/virtual_controller.py +1 -1
- wandelbots_api_client/models/virtual_controller_types.py +1 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +1 -1
- wandelbots_api_client/models/yaskawa_controller.py +1 -1
- wandelbots_api_client/rest.py +1 -1
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/jogging_api.py +1 -1
- wandelbots_api_client/v2/api/motion_group_models_api.py +530 -2
- wandelbots_api_client/v2/api/trajectory_execution_api.py +1 -1
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +2 -0
- wandelbots_api_client/v2/models/blending_auto.py +1 -1
- wandelbots_api_client/v2/models/blending_position.py +15 -1
- wandelbots_api_client/v2/models/blending_space.py +37 -0
- wandelbots_api_client/v2_pydantic/__init__.py +1 -1
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +1 -1
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +536 -2
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +1 -1
- wandelbots_api_client/v2_pydantic/api_client.py +1 -1
- wandelbots_api_client/v2_pydantic/configuration.py +1 -1
- wandelbots_api_client/v2_pydantic/models.py +397 -375
- {wandelbots_api_client-25.11.0.dev27.dist-info → wandelbots_api_client-26.1.0.dev42.dist-info}/METADATA +3 -3
- {wandelbots_api_client-25.11.0.dev27.dist-info → wandelbots_api_client-26.1.0.dev42.dist-info}/RECORD +347 -346
- {wandelbots_api_client-25.11.0.dev27.dist-info → wandelbots_api_client-26.1.0.dev42.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.11.0.dev27.dist-info → wandelbots_api_client-26.1.0.dev42.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.11.0.dev27.dist-info → wandelbots_api_client-26.1.0.dev42.dist-info}/top_level.txt +0 -0
|
@@ -22,8 +22,8 @@ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, U
|
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from urllib.parse import quote
|
|
24
24
|
|
|
25
|
-
from pydantic import Field, StrictStr
|
|
26
|
-
from typing import Dict, List
|
|
25
|
+
from pydantic import Field, StrictBytes, StrictStr
|
|
26
|
+
from typing import Dict, List, Tuple, Union
|
|
27
27
|
from typing_extensions import Annotated
|
|
28
28
|
from wandelbots_api_client.v2.models.collider import Collider
|
|
29
29
|
|
|
@@ -307,6 +307,270 @@ class MotionGroupModelsApi:
|
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
|
|
310
|
+
@validate_call
|
|
311
|
+
async def get_motion_group_glb_model(
|
|
312
|
+
self,
|
|
313
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
314
|
+
_request_timeout: Union[
|
|
315
|
+
None,
|
|
316
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
317
|
+
Tuple[
|
|
318
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
319
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
320
|
+
]
|
|
321
|
+
] = None,
|
|
322
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
323
|
+
_content_type: Optional[StrictStr] = None,
|
|
324
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
325
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
326
|
+
) -> bytearray:
|
|
327
|
+
"""Download GLB Model
|
|
328
|
+
|
|
329
|
+
Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
330
|
+
|
|
331
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
332
|
+
:type motion_group_model: str
|
|
333
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
334
|
+
number provided, it will be total request
|
|
335
|
+
timeout. It can also be a pair (tuple) of
|
|
336
|
+
(connection, read) timeouts.
|
|
337
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
338
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
339
|
+
request; this effectively ignores the
|
|
340
|
+
authentication in the spec for a single request.
|
|
341
|
+
:type _request_auth: dict, optional
|
|
342
|
+
:param _content_type: force content-type for the request.
|
|
343
|
+
:type _content_type: str, Optional
|
|
344
|
+
:param _headers: set to override the headers for a single
|
|
345
|
+
request; this effectively ignores the headers
|
|
346
|
+
in the spec for a single request.
|
|
347
|
+
:type _headers: dict, optional
|
|
348
|
+
:param _host_index: set to override the host_index for a single
|
|
349
|
+
request; this effectively ignores the host_index
|
|
350
|
+
in the spec for a single request.
|
|
351
|
+
:type _host_index: int, optional
|
|
352
|
+
:return: Returns the result object.
|
|
353
|
+
""" # noqa: E501
|
|
354
|
+
|
|
355
|
+
_param = self._get_motion_group_glb_model_serialize(
|
|
356
|
+
motion_group_model=motion_group_model,
|
|
357
|
+
_request_auth=_request_auth,
|
|
358
|
+
_content_type=_content_type,
|
|
359
|
+
_headers=_headers,
|
|
360
|
+
_host_index=_host_index
|
|
361
|
+
)
|
|
362
|
+
|
|
363
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
364
|
+
'200': "bytearray",
|
|
365
|
+
'404': None,
|
|
366
|
+
'500': None,
|
|
367
|
+
}
|
|
368
|
+
response_data = await self.api_client.call_api(
|
|
369
|
+
*_param,
|
|
370
|
+
_request_timeout=_request_timeout
|
|
371
|
+
)
|
|
372
|
+
await response_data.read()
|
|
373
|
+
return self.api_client.response_deserialize(
|
|
374
|
+
response_data=response_data,
|
|
375
|
+
response_types_map=_response_types_map,
|
|
376
|
+
).data
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
@validate_call
|
|
380
|
+
async def get_motion_group_glb_model_with_http_info(
|
|
381
|
+
self,
|
|
382
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
383
|
+
_request_timeout: Union[
|
|
384
|
+
None,
|
|
385
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
386
|
+
Tuple[
|
|
387
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
388
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
389
|
+
]
|
|
390
|
+
] = None,
|
|
391
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
392
|
+
_content_type: Optional[StrictStr] = None,
|
|
393
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
394
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
395
|
+
) -> ApiResponse[bytearray]:
|
|
396
|
+
"""Download GLB Model
|
|
397
|
+
|
|
398
|
+
Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
399
|
+
|
|
400
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
401
|
+
:type motion_group_model: str
|
|
402
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
403
|
+
number provided, it will be total request
|
|
404
|
+
timeout. It can also be a pair (tuple) of
|
|
405
|
+
(connection, read) timeouts.
|
|
406
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
407
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
408
|
+
request; this effectively ignores the
|
|
409
|
+
authentication in the spec for a single request.
|
|
410
|
+
:type _request_auth: dict, optional
|
|
411
|
+
:param _content_type: force content-type for the request.
|
|
412
|
+
:type _content_type: str, Optional
|
|
413
|
+
:param _headers: set to override the headers for a single
|
|
414
|
+
request; this effectively ignores the headers
|
|
415
|
+
in the spec for a single request.
|
|
416
|
+
:type _headers: dict, optional
|
|
417
|
+
:param _host_index: set to override the host_index for a single
|
|
418
|
+
request; this effectively ignores the host_index
|
|
419
|
+
in the spec for a single request.
|
|
420
|
+
:type _host_index: int, optional
|
|
421
|
+
:return: Returns the result object.
|
|
422
|
+
""" # noqa: E501
|
|
423
|
+
|
|
424
|
+
_param = self._get_motion_group_glb_model_serialize(
|
|
425
|
+
motion_group_model=motion_group_model,
|
|
426
|
+
_request_auth=_request_auth,
|
|
427
|
+
_content_type=_content_type,
|
|
428
|
+
_headers=_headers,
|
|
429
|
+
_host_index=_host_index
|
|
430
|
+
)
|
|
431
|
+
|
|
432
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
433
|
+
'200': "bytearray",
|
|
434
|
+
'404': None,
|
|
435
|
+
'500': None,
|
|
436
|
+
}
|
|
437
|
+
response_data = await self.api_client.call_api(
|
|
438
|
+
*_param,
|
|
439
|
+
_request_timeout=_request_timeout
|
|
440
|
+
)
|
|
441
|
+
await response_data.read()
|
|
442
|
+
return self.api_client.response_deserialize(
|
|
443
|
+
response_data=response_data,
|
|
444
|
+
response_types_map=_response_types_map,
|
|
445
|
+
)
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
@validate_call
|
|
449
|
+
async def get_motion_group_glb_model_without_preload_content(
|
|
450
|
+
self,
|
|
451
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
452
|
+
_request_timeout: Union[
|
|
453
|
+
None,
|
|
454
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
455
|
+
Tuple[
|
|
456
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
457
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
458
|
+
]
|
|
459
|
+
] = None,
|
|
460
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
461
|
+
_content_type: Optional[StrictStr] = None,
|
|
462
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
463
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
464
|
+
) -> RESTResponseType:
|
|
465
|
+
"""Download GLB Model
|
|
466
|
+
|
|
467
|
+
Returns the GLB asset for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
468
|
+
|
|
469
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
470
|
+
:type motion_group_model: str
|
|
471
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
472
|
+
number provided, it will be total request
|
|
473
|
+
timeout. It can also be a pair (tuple) of
|
|
474
|
+
(connection, read) timeouts.
|
|
475
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
476
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
477
|
+
request; this effectively ignores the
|
|
478
|
+
authentication in the spec for a single request.
|
|
479
|
+
:type _request_auth: dict, optional
|
|
480
|
+
:param _content_type: force content-type for the request.
|
|
481
|
+
:type _content_type: str, Optional
|
|
482
|
+
:param _headers: set to override the headers for a single
|
|
483
|
+
request; this effectively ignores the headers
|
|
484
|
+
in the spec for a single request.
|
|
485
|
+
:type _headers: dict, optional
|
|
486
|
+
:param _host_index: set to override the host_index for a single
|
|
487
|
+
request; this effectively ignores the host_index
|
|
488
|
+
in the spec for a single request.
|
|
489
|
+
:type _host_index: int, optional
|
|
490
|
+
:return: Returns the result object.
|
|
491
|
+
""" # noqa: E501
|
|
492
|
+
|
|
493
|
+
_param = self._get_motion_group_glb_model_serialize(
|
|
494
|
+
motion_group_model=motion_group_model,
|
|
495
|
+
_request_auth=_request_auth,
|
|
496
|
+
_content_type=_content_type,
|
|
497
|
+
_headers=_headers,
|
|
498
|
+
_host_index=_host_index
|
|
499
|
+
)
|
|
500
|
+
|
|
501
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
502
|
+
'200': "bytearray",
|
|
503
|
+
'404': None,
|
|
504
|
+
'500': None,
|
|
505
|
+
}
|
|
506
|
+
response_data = await self.api_client.call_api(
|
|
507
|
+
*_param,
|
|
508
|
+
_request_timeout=_request_timeout
|
|
509
|
+
)
|
|
510
|
+
return response_data.response
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
def _get_motion_group_glb_model_serialize(
|
|
514
|
+
self,
|
|
515
|
+
motion_group_model,
|
|
516
|
+
_request_auth,
|
|
517
|
+
_content_type,
|
|
518
|
+
_headers,
|
|
519
|
+
_host_index,
|
|
520
|
+
) -> RequestSerialized:
|
|
521
|
+
|
|
522
|
+
_host = None
|
|
523
|
+
|
|
524
|
+
_collection_formats: Dict[str, str] = {
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
_path_params: Dict[str, str] = {}
|
|
528
|
+
_query_params: List[Tuple[str, str]] = []
|
|
529
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
530
|
+
_form_params: List[Tuple[str, str]] = []
|
|
531
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
532
|
+
_body_params: Optional[bytes] = None
|
|
533
|
+
|
|
534
|
+
# process the path parameters
|
|
535
|
+
if motion_group_model is not None:
|
|
536
|
+
_path_params['motion-group-model'] = motion_group_model
|
|
537
|
+
# process the query parameters
|
|
538
|
+
# process the header parameters
|
|
539
|
+
# process the form parameters
|
|
540
|
+
# process the body parameter
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
# set the HTTP header `Accept`
|
|
544
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
545
|
+
[
|
|
546
|
+
'application/octet-stream'
|
|
547
|
+
]
|
|
548
|
+
)
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
# authentication setting
|
|
552
|
+
_auth_settings: List[str] = [
|
|
553
|
+
'BasicAuth',
|
|
554
|
+
'BearerAuth'
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
return self.api_client.param_serialize(
|
|
558
|
+
method='GET',
|
|
559
|
+
resource_path='/motion-group-models/{motion-group-model}/glb',
|
|
560
|
+
path_params=_path_params,
|
|
561
|
+
query_params=_query_params,
|
|
562
|
+
header_params=_header_params,
|
|
563
|
+
body=_body_params,
|
|
564
|
+
post_params=_form_params,
|
|
565
|
+
files=_files,
|
|
566
|
+
auth_settings=_auth_settings,
|
|
567
|
+
collection_formats=_collection_formats,
|
|
568
|
+
_host=_host,
|
|
569
|
+
_request_auth=_request_auth
|
|
570
|
+
)
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
310
574
|
@validate_call
|
|
311
575
|
async def get_motion_group_models(
|
|
312
576
|
self,
|
|
@@ -555,3 +819,267 @@ class MotionGroupModelsApi:
|
|
|
555
819
|
)
|
|
556
820
|
|
|
557
821
|
|
|
822
|
+
|
|
823
|
+
@validate_call
|
|
824
|
+
async def get_motion_group_usd_model(
|
|
825
|
+
self,
|
|
826
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
827
|
+
_request_timeout: Union[
|
|
828
|
+
None,
|
|
829
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
830
|
+
Tuple[
|
|
831
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
832
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
833
|
+
]
|
|
834
|
+
] = None,
|
|
835
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
836
|
+
_content_type: Optional[StrictStr] = None,
|
|
837
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
838
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
839
|
+
) -> bytearray:
|
|
840
|
+
"""Download USD Model
|
|
841
|
+
|
|
842
|
+
Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
843
|
+
|
|
844
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
845
|
+
:type motion_group_model: str
|
|
846
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
847
|
+
number provided, it will be total request
|
|
848
|
+
timeout. It can also be a pair (tuple) of
|
|
849
|
+
(connection, read) timeouts.
|
|
850
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
851
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
852
|
+
request; this effectively ignores the
|
|
853
|
+
authentication in the spec for a single request.
|
|
854
|
+
:type _request_auth: dict, optional
|
|
855
|
+
:param _content_type: force content-type for the request.
|
|
856
|
+
:type _content_type: str, Optional
|
|
857
|
+
:param _headers: set to override the headers for a single
|
|
858
|
+
request; this effectively ignores the headers
|
|
859
|
+
in the spec for a single request.
|
|
860
|
+
:type _headers: dict, optional
|
|
861
|
+
:param _host_index: set to override the host_index for a single
|
|
862
|
+
request; this effectively ignores the host_index
|
|
863
|
+
in the spec for a single request.
|
|
864
|
+
:type _host_index: int, optional
|
|
865
|
+
:return: Returns the result object.
|
|
866
|
+
""" # noqa: E501
|
|
867
|
+
|
|
868
|
+
_param = self._get_motion_group_usd_model_serialize(
|
|
869
|
+
motion_group_model=motion_group_model,
|
|
870
|
+
_request_auth=_request_auth,
|
|
871
|
+
_content_type=_content_type,
|
|
872
|
+
_headers=_headers,
|
|
873
|
+
_host_index=_host_index
|
|
874
|
+
)
|
|
875
|
+
|
|
876
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
877
|
+
'200': "bytearray",
|
|
878
|
+
'404': None,
|
|
879
|
+
'500': None,
|
|
880
|
+
}
|
|
881
|
+
response_data = await self.api_client.call_api(
|
|
882
|
+
*_param,
|
|
883
|
+
_request_timeout=_request_timeout
|
|
884
|
+
)
|
|
885
|
+
await response_data.read()
|
|
886
|
+
return self.api_client.response_deserialize(
|
|
887
|
+
response_data=response_data,
|
|
888
|
+
response_types_map=_response_types_map,
|
|
889
|
+
).data
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
@validate_call
|
|
893
|
+
async def get_motion_group_usd_model_with_http_info(
|
|
894
|
+
self,
|
|
895
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
896
|
+
_request_timeout: Union[
|
|
897
|
+
None,
|
|
898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
899
|
+
Tuple[
|
|
900
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
901
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
902
|
+
]
|
|
903
|
+
] = None,
|
|
904
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
905
|
+
_content_type: Optional[StrictStr] = None,
|
|
906
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
907
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
908
|
+
) -> ApiResponse[bytearray]:
|
|
909
|
+
"""Download USD Model
|
|
910
|
+
|
|
911
|
+
Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
912
|
+
|
|
913
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
914
|
+
:type motion_group_model: str
|
|
915
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
916
|
+
number provided, it will be total request
|
|
917
|
+
timeout. It can also be a pair (tuple) of
|
|
918
|
+
(connection, read) timeouts.
|
|
919
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
920
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
921
|
+
request; this effectively ignores the
|
|
922
|
+
authentication in the spec for a single request.
|
|
923
|
+
:type _request_auth: dict, optional
|
|
924
|
+
:param _content_type: force content-type for the request.
|
|
925
|
+
:type _content_type: str, Optional
|
|
926
|
+
:param _headers: set to override the headers for a single
|
|
927
|
+
request; this effectively ignores the headers
|
|
928
|
+
in the spec for a single request.
|
|
929
|
+
:type _headers: dict, optional
|
|
930
|
+
:param _host_index: set to override the host_index for a single
|
|
931
|
+
request; this effectively ignores the host_index
|
|
932
|
+
in the spec for a single request.
|
|
933
|
+
:type _host_index: int, optional
|
|
934
|
+
:return: Returns the result object.
|
|
935
|
+
""" # noqa: E501
|
|
936
|
+
|
|
937
|
+
_param = self._get_motion_group_usd_model_serialize(
|
|
938
|
+
motion_group_model=motion_group_model,
|
|
939
|
+
_request_auth=_request_auth,
|
|
940
|
+
_content_type=_content_type,
|
|
941
|
+
_headers=_headers,
|
|
942
|
+
_host_index=_host_index
|
|
943
|
+
)
|
|
944
|
+
|
|
945
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
946
|
+
'200': "bytearray",
|
|
947
|
+
'404': None,
|
|
948
|
+
'500': None,
|
|
949
|
+
}
|
|
950
|
+
response_data = await self.api_client.call_api(
|
|
951
|
+
*_param,
|
|
952
|
+
_request_timeout=_request_timeout
|
|
953
|
+
)
|
|
954
|
+
await response_data.read()
|
|
955
|
+
return self.api_client.response_deserialize(
|
|
956
|
+
response_data=response_data,
|
|
957
|
+
response_types_map=_response_types_map,
|
|
958
|
+
)
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
@validate_call
|
|
962
|
+
async def get_motion_group_usd_model_without_preload_content(
|
|
963
|
+
self,
|
|
964
|
+
motion_group_model: Annotated[StrictStr, Field(description="Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). ")],
|
|
965
|
+
_request_timeout: Union[
|
|
966
|
+
None,
|
|
967
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
968
|
+
Tuple[
|
|
969
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
970
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
971
|
+
]
|
|
972
|
+
] = None,
|
|
973
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
974
|
+
_content_type: Optional[StrictStr] = None,
|
|
975
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
976
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
977
|
+
) -> RESTResponseType:
|
|
978
|
+
"""Download USD Model
|
|
979
|
+
|
|
980
|
+
Returns the USD scene model for the specified motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported identifiers.
|
|
981
|
+
|
|
982
|
+
:param motion_group_model: Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration). (required)
|
|
983
|
+
:type motion_group_model: str
|
|
984
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
985
|
+
number provided, it will be total request
|
|
986
|
+
timeout. It can also be a pair (tuple) of
|
|
987
|
+
(connection, read) timeouts.
|
|
988
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
989
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
990
|
+
request; this effectively ignores the
|
|
991
|
+
authentication in the spec for a single request.
|
|
992
|
+
:type _request_auth: dict, optional
|
|
993
|
+
:param _content_type: force content-type for the request.
|
|
994
|
+
:type _content_type: str, Optional
|
|
995
|
+
:param _headers: set to override the headers for a single
|
|
996
|
+
request; this effectively ignores the headers
|
|
997
|
+
in the spec for a single request.
|
|
998
|
+
:type _headers: dict, optional
|
|
999
|
+
:param _host_index: set to override the host_index for a single
|
|
1000
|
+
request; this effectively ignores the host_index
|
|
1001
|
+
in the spec for a single request.
|
|
1002
|
+
:type _host_index: int, optional
|
|
1003
|
+
:return: Returns the result object.
|
|
1004
|
+
""" # noqa: E501
|
|
1005
|
+
|
|
1006
|
+
_param = self._get_motion_group_usd_model_serialize(
|
|
1007
|
+
motion_group_model=motion_group_model,
|
|
1008
|
+
_request_auth=_request_auth,
|
|
1009
|
+
_content_type=_content_type,
|
|
1010
|
+
_headers=_headers,
|
|
1011
|
+
_host_index=_host_index
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1015
|
+
'200': "bytearray",
|
|
1016
|
+
'404': None,
|
|
1017
|
+
'500': None,
|
|
1018
|
+
}
|
|
1019
|
+
response_data = await self.api_client.call_api(
|
|
1020
|
+
*_param,
|
|
1021
|
+
_request_timeout=_request_timeout
|
|
1022
|
+
)
|
|
1023
|
+
return response_data.response
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
def _get_motion_group_usd_model_serialize(
|
|
1027
|
+
self,
|
|
1028
|
+
motion_group_model,
|
|
1029
|
+
_request_auth,
|
|
1030
|
+
_content_type,
|
|
1031
|
+
_headers,
|
|
1032
|
+
_host_index,
|
|
1033
|
+
) -> RequestSerialized:
|
|
1034
|
+
|
|
1035
|
+
_host = None
|
|
1036
|
+
|
|
1037
|
+
_collection_formats: Dict[str, str] = {
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
_path_params: Dict[str, str] = {}
|
|
1041
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1042
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1043
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1044
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1045
|
+
_body_params: Optional[bytes] = None
|
|
1046
|
+
|
|
1047
|
+
# process the path parameters
|
|
1048
|
+
if motion_group_model is not None:
|
|
1049
|
+
_path_params['motion-group-model'] = motion_group_model
|
|
1050
|
+
# process the query parameters
|
|
1051
|
+
# process the header parameters
|
|
1052
|
+
# process the form parameters
|
|
1053
|
+
# process the body parameter
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
# set the HTTP header `Accept`
|
|
1057
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1058
|
+
[
|
|
1059
|
+
'application/octet-stream'
|
|
1060
|
+
]
|
|
1061
|
+
)
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
# authentication setting
|
|
1065
|
+
_auth_settings: List[str] = [
|
|
1066
|
+
'BasicAuth',
|
|
1067
|
+
'BearerAuth'
|
|
1068
|
+
]
|
|
1069
|
+
|
|
1070
|
+
return self.api_client.param_serialize(
|
|
1071
|
+
method='GET',
|
|
1072
|
+
resource_path='/motion-group-models/{motion-group-model}/usd',
|
|
1073
|
+
path_params=_path_params,
|
|
1074
|
+
query_params=_query_params,
|
|
1075
|
+
header_params=_header_params,
|
|
1076
|
+
body=_body_params,
|
|
1077
|
+
post_params=_form_params,
|
|
1078
|
+
files=_files,
|
|
1079
|
+
auth_settings=_auth_settings,
|
|
1080
|
+
collection_formats=_collection_formats,
|
|
1081
|
+
_host=_host,
|
|
1082
|
+
_request_auth=_request_auth
|
|
1083
|
+
)
|
|
1084
|
+
|
|
1085
|
+
|
|
@@ -47,7 +47,7 @@ class TrajectoryExecutionApi:
|
|
|
47
47
|
async def execute_trajectory(self, cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")], controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")], client_request_generator: Callable[[AsyncGenerator[ExecuteTrajectoryResponse, None]], AsyncGenerator[ExecuteTrajectoryRequest, None]]) -> None: # noqa: E501
|
|
48
48
|
"""Execute Trajectory # noqa: E501
|
|
49
49
|
|
|
50
|
-
<!-- theme: success --> > Websocket endpoint Provides execution control over a previously [planned trajectory](planTrajectory). Enables the caller to attach input/output actions to the trajectory. ### Movement behavior | Virtual controller | Physical controller | |------------------|-------------------| | Desired joint configurations are commanded to each motion group and **applied immediately** | Move to desired **actual joint configuration**, **if possible** | ### Concept of location - The location or path parameter specifies the exact position along a trajectory. - The location is a scalar value that ranges from 0 to `n`, where `n` denotes the number of motion commands, or trajectory segments, e.g., line, p2p, etc. See [planTrajectory](planTrajectory). - Each integer value of the location corresponds to one motion command, e.g., 3.0 to 3.999 could be a line. ### Preconditions - The motion group's control mode is not claimed by any other endpoint. - The motion group's joint position are at start location specified with `InitializeMovementRequest`. - Use [executeToTrajectory](executeToTrajectory) to move the robot to the start location. ### Requests #### 1. Send `InitializeMovementRequest` to lock the trajectory to this connection The following actions are executed: - Sets robot controller mode to control mode, - Sets start location of the execution Keep in mind that only a single trajectory can be locked to a websocket connection at a time
|
|
50
|
+
<!-- theme: success --> > Websocket endpoint Provides execution control over a previously [planned trajectory](planTrajectory). Enables the caller to attach input/output actions to the trajectory. ### Movement behavior | Virtual controller | Physical controller | |------------------|-------------------| | Desired joint configurations are commanded to each motion group and **applied immediately** | Move to desired **actual joint configuration**, **if possible** | ### Concept of location - The location or path parameter specifies the exact position along a trajectory. - The location is a scalar value that ranges from 0 to `n`, where `n` denotes the number of motion commands, or trajectory segments, e.g., line, p2p, etc. See [planTrajectory](planTrajectory). - Each integer value of the location corresponds to one motion command, e.g., 3.0 to 3.999 could be a line. ### Preconditions - The motion group's control mode is not claimed by any other endpoint. - The motion group's joint position are at start location specified with `InitializeMovementRequest`. - Use [executeToTrajectory](executeToTrajectory) to move the robot to the start location. ### Requests #### 1. Send `InitializeMovementRequest` to lock the trajectory to this connection The following actions are executed: - Sets robot controller mode to control mode, - Sets start location of the execution Keep in mind that only a single trajectory can be locked to a websocket connection at a time. Pausing the current movement enables you to send another `InitializeMovementRequest` to execute another trajectory on the same connection. #### 2. Send `StartMovementRequest` to start the movement Sets direction of movement, default is forward. #### **Optional** - To pause, send `PauseMovementRequest` before the movement has reached its end location. - Change the movement's velocity with `PlaybackSpeedRequest` after initializing the movement with `InitializeMovementRequest`. ### Responses To monitor the state of the movement, listen to the [state stream](streamMotionGroupState). The state is published via nats as well. Field `execute` in the `MotionGroupState` indicates whether a movement is ongoing and carries execution details. Each request has a corresponding acknowledgment response. They signal success or failure of the request. Especially for `PauseMovementResponse`, it does not signal the end of the movement. Additionally, `MovementError` messages can be sent in case of unexpected errors during the execution, e.g., controller disconnects during movement. ### Tips and Tricks - A movement can be paused and resumed by sending `PauseMovementRequest` and `StartMovementRequest`. - Send `PlaybackSpeedRequest` before `StartMovementRequest` to reduce the velocity of the movement before it starts. - Send `PlaybackSpeedRequest` repeatedly to implement a slider. The velocity of the motion group can be adjusted with each controller step. Therefore, if your app needs a slider-like UI to alter the velocity of a currently running movement, you can send `PlaybackSpeedRequest` with different speed values repeatedly during the movement. - A closed trajectory (end and start joint position are equal) can be repeated by sending `StartMovementRequest` after the movement has finished. # noqa: E501
|
|
51
51
|
:param client_request_generator: An AsyncGenerator that yields request of type ExecuteTrajectoryRequest and takes an AsyncGenerator of ExecuteTrajectoryResponse as an input argument (required)
|
|
52
52
|
:info All responses from the server will be yielded to client_request_generator through the (AsyncGenerator[ExecuteTrajectoryResponse, None])
|
|
53
53
|
:type AsyncGenerator[ExecuteTrajectoryRequest, None]
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'Wandelbots-Nova-API-Python-Client/
|
|
94
|
+
self.user_agent = 'Wandelbots-Nova-API-Python-Client/26.1.0.dev42'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
async def __aenter__(self):
|
|
@@ -535,7 +535,7 @@ conf = wandelbots_api_client.v2.Configuration(
|
|
|
535
535
|
"OS: {env}\n"\
|
|
536
536
|
"Python Version: {pyversion}\n"\
|
|
537
537
|
"Version of the API: 2.1.0 dev\n"\
|
|
538
|
-
"SDK Package Version:
|
|
538
|
+
"SDK Package Version: 26.1.0.dev42".\
|
|
539
539
|
format(env=sys.platform, pyversion=sys.version)
|
|
540
540
|
|
|
541
541
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -25,6 +25,7 @@ from .app import App
|
|
|
25
25
|
from .behavior import Behavior
|
|
26
26
|
from .blending_auto import BlendingAuto
|
|
27
27
|
from .blending_position import BlendingPosition
|
|
28
|
+
from .blending_space import BlendingSpace
|
|
28
29
|
from .boolean_value import BooleanValue
|
|
29
30
|
from .box import Box
|
|
30
31
|
from .bus_io_description import BusIODescription
|
|
@@ -271,6 +272,7 @@ __all__ = [
|
|
|
271
272
|
"Behavior",
|
|
272
273
|
"BlendingAuto",
|
|
273
274
|
"BlendingPosition",
|
|
275
|
+
"BlendingSpace",
|
|
274
276
|
"BooleanValue",
|
|
275
277
|
"Box",
|
|
276
278
|
"BusIODescription",
|
|
@@ -27,7 +27,7 @@ class BlendingAuto(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
BlendingAuto
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
min_velocity_in_percent: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Auto-blending is used to keep a constant velocity when blending between two motion commands. It changes the TCP path around the target point of the motion command. The value represents the percentage of the original velocity. ")
|
|
30
|
+
min_velocity_in_percent: Optional[Annotated[int, Field(le=100, strict=True, ge=0)]] = Field(default=None, description="Auto-blending is used to keep a constant velocity when blending between two motion commands. To use auto-blending, the TCP velocity limit must be set. It changes the TCP path around the target point of the motion command. The value represents the percentage of the original velocity. Auto-blending is always performed in cartesian space. ")
|
|
31
31
|
blending_name: str = "BlendingAuto"
|
|
32
32
|
__properties: ClassVar[List[str]] = ["min_velocity_in_percent", "blending_name"]
|
|
33
33
|
|
|
@@ -19,6 +19,8 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from wandelbots_api_client.v2.models.blending_space import BlendingSpace
|
|
22
24
|
from typing import Optional, Set
|
|
23
25
|
from typing_extensions import Self
|
|
24
26
|
|
|
@@ -27,8 +29,14 @@ class BlendingPosition(BaseModel):
|
|
|
27
29
|
BlendingPosition
|
|
28
30
|
""" # noqa: E501
|
|
29
31
|
position_zone_radius: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Specifies the maximum radius in [mm] around the motion command's target point where the TCP path can be altered to blend the motion command into the following one. If auto-blending blends too much of the resulting trajectory, use position-blending to restrict the blending zone radius. ")
|
|
32
|
+
position_zone_percentage: Optional[Union[Annotated[float, Field(le=100, strict=True, ge=0)], Annotated[int, Field(le=100, strict=True, ge=0)]]] = Field(default=None, description="Specifies the maximum blending percentage based on the trajectory length in position space around the motion command's target point. Percentage indicated in 0.0 - 100.0. ")
|
|
33
|
+
orientation_zone_radius: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Specifies the maximum radius in [rad] for orientation blending around the motion command's target orientation. At the target's orientation, the TCP orientation can be altered to blend into the following motion. ")
|
|
34
|
+
orientation_zone_percentage: Optional[Union[Annotated[float, Field(le=100, strict=True, ge=0)], Annotated[int, Field(le=100, strict=True, ge=0)]]] = Field(default=None, description="Specifies the maximum blending percentage for orientation blending based on the trajectory length in orientation space. Percentage indicated in 0.0 - 100.0. ")
|
|
35
|
+
joints_zone_radius: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Specifies the maximum radius in [rad] for joint space blending around the motion command's target joint configuration. At the target joint configuration, the joint path can be altered to blend into the following motion. ")
|
|
36
|
+
joints_zone_percentage: Optional[Union[Annotated[float, Field(le=100, strict=True, ge=0)], Annotated[int, Field(le=100, strict=True, ge=0)]]] = Field(default=None, description="Specifies the maximum blending percentage for joint space blending based on the trajectory length in joint space. Percentage indicated in 0.0 to 100.0. ")
|
|
37
|
+
space: Optional[BlendingSpace] = Field(default=None, description="Defines the space in which blending is performed. ")
|
|
30
38
|
blending_name: str = "BlendingPosition"
|
|
31
|
-
__properties: ClassVar[List[str]] = ["position_zone_radius", "blending_name"]
|
|
39
|
+
__properties: ClassVar[List[str]] = ["position_zone_radius", "position_zone_percentage", "orientation_zone_radius", "orientation_zone_percentage", "joints_zone_radius", "joints_zone_percentage", "space", "blending_name"]
|
|
32
40
|
|
|
33
41
|
@field_validator('blending_name')
|
|
34
42
|
def blending_name_validate_enum(cls, value):
|
|
@@ -93,6 +101,12 @@ class BlendingPosition(BaseModel):
|
|
|
93
101
|
|
|
94
102
|
_obj = cls.model_validate({
|
|
95
103
|
"position_zone_radius": obj.get("position_zone_radius"),
|
|
104
|
+
"position_zone_percentage": obj.get("position_zone_percentage"),
|
|
105
|
+
"orientation_zone_radius": obj.get("orientation_zone_radius"),
|
|
106
|
+
"orientation_zone_percentage": obj.get("orientation_zone_percentage"),
|
|
107
|
+
"joints_zone_radius": obj.get("joints_zone_radius"),
|
|
108
|
+
"joints_zone_percentage": obj.get("joints_zone_percentage"),
|
|
109
|
+
"space": obj.get("space"),
|
|
96
110
|
"blending_name": obj.get("blending_name")
|
|
97
111
|
})
|
|
98
112
|
return _obj
|