wandelbots-api-client 25.9.1__py3-none-any.whl → 25.11.0.dev16__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 -3
- wandelbots_api_client/api/__init__.py +2 -0
- wandelbots_api_client/api/application_api.py +1 -2
- wandelbots_api_client/api/cell_api.py +1 -2
- wandelbots_api_client/api/controller_api.py +1 -2
- wandelbots_api_client/api/controller_ios_api.py +1 -2
- wandelbots_api_client/api/coordinate_systems_api.py +1 -2
- wandelbots_api_client/api/device_configuration_api.py +1 -2
- wandelbots_api_client/api/library_program_api.py +1 -2
- wandelbots_api_client/api/library_program_metadata_api.py +1 -2
- wandelbots_api_client/api/library_recipe_api.py +1 -2
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
- wandelbots_api_client/api/license_api.py +1 -2
- wandelbots_api_client/api/motion_api.py +1 -2
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +1 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +1 -2
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
- wandelbots_api_client/api/program_api.py +1 -2
- wandelbots_api_client/api/program_operator_api.py +1 -2
- wandelbots_api_client/api/program_values_api.py +1 -2
- wandelbots_api_client/api/store_collision_components_api.py +10 -8
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
- wandelbots_api_client/api/store_object_api.py +1 -2
- wandelbots_api_client/api/system_api.py +1 -2
- wandelbots_api_client/api/version_api.py +284 -0
- wandelbots_api_client/api/virtual_robot_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_behavior_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +1 -2
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/configuration.py +18 -7
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -4
- 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 +91 -0
- 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 +5 -4
- 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 -41
- 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 +5 -4
- wandelbots_api_client/models/collision_motion_group_assembly.py +5 -4
- wandelbots_api_client/models/collision_robot_configuration_input.py +9 -7
- wandelbots_api_client/models/collision_robot_configuration_output.py +9 -7
- wandelbots_api_client/models/collision_scene.py +9 -7
- wandelbots_api_client/models/collision_scene_assembly.py +9 -7
- 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 +4 -4
- 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 +5 -4
- 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 +5 -4
- 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 +5 -4
- 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 +9 -7
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +9 -7
- 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 +4 -4
- 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 +4 -4
- 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 +9 -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 +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +2 -3
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api/cell_api.py +2 -3
- wandelbots_api_client/v2/api/controller_api.py +5 -6
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api/jogging_api.py +2 -3
- wandelbots_api_client/v2/api/kinematics_api.py +2 -3
- wandelbots_api_client/v2/api/license_api.py +2 -3
- wandelbots_api_client/v2/api/motion_group_api.py +4 -5
- wandelbots_api_client/v2/api/motion_group_models_api.py +2 -3
- wandelbots_api_client/v2/api/program_api.py +14 -15
- wandelbots_api_client/v2/api/store_collision_components_api.py +2 -3
- wandelbots_api_client/v2/api/store_collision_setups_api.py +2 -3
- wandelbots_api_client/v2/api/store_object_api.py +2 -3
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +2 -3
- wandelbots_api_client/v2/api/trajectory_execution_api.py +2 -3
- wandelbots_api_client/v2/api/trajectory_planning_api.py +2 -3
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +17 -3
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +8 -3
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api_client.py +15 -8
- wandelbots_api_client/v2/configuration.py +19 -8
- wandelbots_api_client/v2/exceptions.py +2 -2
- wandelbots_api_client/v2/models/__init__.py +4 -3
- wandelbots_api_client/v2/models/abb_controller.py +2 -2
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/v2/models/activate_license_request.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_error.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +2 -2
- wandelbots_api_client/v2/models/behavior.py +2 -2
- wandelbots_api_client/v2/models/blending_auto.py +5 -4
- wandelbots_api_client/v2/models/blending_position.py +2 -2
- wandelbots_api_client/v2/models/boolean_value.py +2 -2
- wandelbots_api_client/v2/models/box.py +2 -2
- wandelbots_api_client/v2/models/bus_io_description.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +2 -2
- wandelbots_api_client/v2/models/bus_io_type.py +2 -27
- wandelbots_api_client/v2/models/bus_ios_state.py +2 -2
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +2 -2
- wandelbots_api_client/v2/models/cartesian_limits.py +2 -2
- wandelbots_api_client/v2/models/cell.py +2 -2
- wandelbots_api_client/v2/models/collider.py +2 -2
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +2 -2
- wandelbots_api_client/v2/models/collision_contact.py +2 -2
- wandelbots_api_client/v2/models/collision_error.py +2 -2
- wandelbots_api_client/v2/models/collision_free_algorithm.py +3 -3
- wandelbots_api_client/v2/models/collision_setup.py +10 -8
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +2 -2
- wandelbots_api_client/v2/models/configuration_resource.py +2 -2
- wandelbots_api_client/v2/models/container_environment_inner.py +2 -2
- wandelbots_api_client/v2/models/container_image.py +2 -2
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/v2/models/container_resources.py +2 -2
- wandelbots_api_client/v2/models/container_storage.py +2 -2
- wandelbots_api_client/v2/models/controller_description.py +2 -2
- wandelbots_api_client/v2/models/convex_hull.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system_data.py +2 -2
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +2 -2
- wandelbots_api_client/v2/models/dh_parameter.py +2 -2
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +2 -2
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +2 -2
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +4 -3
- wandelbots_api_client/v2/models/error_joint_position_collision.py +2 -2
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +2 -2
- wandelbots_api_client/v2/models/execute.py +2 -2
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +2 -27
- wandelbots_api_client/v2/models/execute_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +2 -27
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/v2/models/external_joint_stream_request.py +2 -2
- wandelbots_api_client/v2/models/fanuc_controller.py +2 -2
- wandelbots_api_client/v2/models/feedback_collision.py +2 -2
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +5 -4
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +2 -2
- wandelbots_api_client/v2/models/feedback_singularity.py +2 -2
- wandelbots_api_client/v2/models/flag.py +2 -2
- wandelbots_api_client/v2/models/float_value.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_request.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_response.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +2 -2
- wandelbots_api_client/v2/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/http_validation_error.py +2 -2
- wandelbots_api_client/v2/models/image_credentials.py +2 -2
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +2 -2
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +2 -2
- wandelbots_api_client/v2/models/initialize_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/initialize_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/v2/models/integer_value.py +2 -2
- wandelbots_api_client/v2/models/invalid_dof_error.py +2 -2
- wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -5
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +2 -2
- wandelbots_api_client/v2/models/io_boundary.py +2 -17
- wandelbots_api_client/v2/models/io_description.py +2 -2
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +2 -2
- wandelbots_api_client/v2/models/io_integer_value.py +2 -2
- wandelbots_api_client/v2/models/io_origin.py +2 -2
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +2 -2
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +5 -4
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +2 -2
- wandelbots_api_client/v2/models/jogging_running.py +2 -2
- wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +2 -2
- wandelbots_api_client/v2/models/joint_limits.py +2 -2
- wandelbots_api_client/v2/models/joint_trajectory.py +2 -2
- wandelbots_api_client/v2/models/joint_velocity_request.py +2 -2
- wandelbots_api_client/v2/models/joint_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/v2/models/license.py +2 -2
- wandelbots_api_client/v2/models/license_status.py +2 -2
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +2 -2
- wandelbots_api_client/v2/models/limit_set.py +2 -2
- wandelbots_api_client/v2/models/limits_override.py +2 -2
- wandelbots_api_client/v2/models/list_trajectories_response.py +2 -2
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +2 -2
- wandelbots_api_client/v2/models/modbus_io.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_area.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_data.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/motion_command.py +2 -2
- wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
- wandelbots_api_client/v2/models/motion_command_path.py +2 -2
- wandelbots_api_client/v2/models/motion_group_description.py +21 -16
- wandelbots_api_client/v2/models/motion_group_info.py +5 -4
- wandelbots_api_client/v2/models/motion_group_joints.py +2 -2
- wandelbots_api_client/v2/models/motion_group_setup.py +9 -7
- wandelbots_api_client/v2/models/motion_group_state.py +4 -3
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/v2/models/movement_error_response.py +2 -2
- wandelbots_api_client/v2/models/nan_value_error.py +2 -2
- wandelbots_api_client/v2/models/nan_value_error_nan_value.py +2 -2
- wandelbots_api_client/v2/models/op_mode.py +2 -2
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +2 -2
- wandelbots_api_client/v2/models/operation_mode.py +2 -2
- wandelbots_api_client/v2/models/orientation_type.py +2 -2
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_circle.py +2 -2
- wandelbots_api_client/v2/models/path_cubic_spline.py +2 -2
- wandelbots_api_client/v2/models/path_joint_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_line.py +2 -2
- wandelbots_api_client/v2/models/pause_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/pause_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_request.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_response.py +2 -2
- wandelbots_api_client/v2/models/pause_on_io.py +2 -2
- wandelbots_api_client/v2/models/payload.py +2 -2
- wandelbots_api_client/v2/models/plan422_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_request.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +2 -2
- wandelbots_api_client/v2/models/playback_speed_request.py +5 -4
- wandelbots_api_client/v2/models/playback_speed_response.py +2 -2
- wandelbots_api_client/v2/models/pose.py +2 -2
- wandelbots_api_client/v2/models/profinet_description.py +2 -2
- wandelbots_api_client/v2/models/profinet_input_output_config.py +4 -4
- wandelbots_api_client/v2/models/profinet_io.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_data.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_direction.py +2 -2
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +4 -4
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +2 -2
- wandelbots_api_client/v2/models/program_run.py +2 -2
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +2 -2
- wandelbots_api_client/v2/models/rectangle.py +2 -2
- wandelbots_api_client/v2/models/rectangular_capsule.py +2 -2
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +6 -5
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp_data.py +2 -2
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +2 -2
- wandelbots_api_client/v2/models/safety_state_type.py +2 -2
- wandelbots_api_client/v2/models/service_group.py +2 -2
- wandelbots_api_client/v2/models/service_status.py +2 -2
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +2 -2
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +2 -2
- wandelbots_api_client/v2/models/set_io.py +2 -2
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
- wandelbots_api_client/v2/models/sphere.py +2 -2
- wandelbots_api_client/v2/models/start_movement_request.py +2 -2
- wandelbots_api_client/v2/models/start_movement_response.py +2 -2
- wandelbots_api_client/v2/models/start_on_io.py +2 -2
- wandelbots_api_client/v2/models/stream_io_values_response.py +5 -4
- wandelbots_api_client/v2/models/tcp_offset.py +2 -2
- wandelbots_api_client/v2/models/tcp_required_error.py +2 -2
- wandelbots_api_client/v2/models/tcp_velocity_request.py +2 -2
- wandelbots_api_client/v2/models/tcp_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/torque_exceeded_error.py +2 -2
- wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +2 -2
- wandelbots_api_client/v2/models/trajectory_data.py +2 -2
- wandelbots_api_client/v2/models/trajectory_details.py +2 -2
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +2 -2
- wandelbots_api_client/v2/models/trajectory_id.py +2 -2
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +2 -2
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +2 -2
- wandelbots_api_client/v2/models/trajectory_running.py +5 -4
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +2 -2
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +2 -2
- wandelbots_api_client/v2/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/v2/models/validation_error.py +2 -2
- wandelbots_api_client/v2/models/validation_error2.py +2 -2
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller_types.py +10 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +2 -2
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +2 -2
- wandelbots_api_client/v2/models/yaskawa_controller.py +2 -2
- wandelbots_api_client/v2/rest.py +4 -3
- wandelbots_api_client/v2_pydantic/__init__.py +50 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
- wandelbots_api_client/v2_pydantic/api_client.py +809 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +606 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4561 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +213 -0
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/METADATA +17 -16
- wandelbots_api_client-25.11.0.dev16.dist-info/RECORD +640 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client-25.9.1.dist-info/RECORD +0 -606
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1508 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from furl import furl
|
|
15
|
+
import json
|
|
16
|
+
import humps
|
|
17
|
+
import re
|
|
18
|
+
import warnings
|
|
19
|
+
import websockets
|
|
20
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
21
|
+
from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from urllib.parse import quote
|
|
24
|
+
|
|
25
|
+
from pydantic import Field, StrictStr
|
|
26
|
+
from typing_extensions import Annotated
|
|
27
|
+
from wandelbots_api_client.v2_pydantic.models import AddTrajectoryRequest
|
|
28
|
+
from wandelbots_api_client.v2_pydantic.models import AddTrajectoryResponse
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.models import GetTrajectoryResponse
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.models import ListTrajectoriesResponse
|
|
31
|
+
|
|
32
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
33
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
34
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
35
|
+
|
|
36
|
+
class TrajectoryCachingApi:
|
|
37
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
38
|
+
Ref: https://openapi-generator.tech
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def __init__(self, api_client=None) -> None:
|
|
44
|
+
if api_client is None:
|
|
45
|
+
api_client = ApiClient.get_default()
|
|
46
|
+
self.api_client = api_client
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
async def add_trajectory(
|
|
50
|
+
self,
|
|
51
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
52
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
53
|
+
add_trajectory_request: AddTrajectoryRequest,
|
|
54
|
+
_request_timeout: Union[
|
|
55
|
+
None,
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Tuple[
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
60
|
+
]
|
|
61
|
+
] = None,
|
|
62
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_content_type: Optional[StrictStr] = None,
|
|
64
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
66
|
+
) -> AddTrajectoryResponse:
|
|
67
|
+
"""Add Trajectory
|
|
68
|
+
|
|
69
|
+
Loads and validates the data of a trajectory into the execution cache, rendering the trajectory executable. <!-- theme: info --> > #### NOTE > > Using the trajectory cache is an optional performance optimization. It is not necessary to use the cache to execute trajectories. The response contains the result of the validation of the trajectory. Validation can lead to three different results: - Fully valid: The whole trajectory can be executed from start to end. The response will contain an unique identifier which is used to move the robot. - Partially valid: Only parts of the trajectory can be executed. The response will contain an unique identifier to move the robot and information about the failure for the part that is not executable. - Invalid: The trajectory can not be executed. The response will tell you the reason of failure. If the trajectory is at least partially valid, the parts of the trajectory that are valid can be executed using the [executeTrajectory](executeTrajectory) endpoint. The workflow is as follows: - Generate a trajectory with [planTrajectory](planTrajectory) or your own motion planner, - Send the trajectory to this endpoint to validate it and get a unique identifier for it, - The unique identifier will appear in the list of available trajectories, see [listTrajectories](listTrajectories) endpoint, if it is at least partially executable. - Execute your trajectory using the [executeTrajectory](executeTrajectory) endpoint.
|
|
70
|
+
|
|
71
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
72
|
+
:type cell: str
|
|
73
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
74
|
+
:type controller: str
|
|
75
|
+
:param add_trajectory_request: (required)
|
|
76
|
+
:type add_trajectory_request: AddTrajectoryRequest
|
|
77
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
78
|
+
number provided, it will be total request
|
|
79
|
+
timeout. It can also be a pair (tuple) of
|
|
80
|
+
(connection, read) timeouts.
|
|
81
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
82
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
83
|
+
request; this effectively ignores the
|
|
84
|
+
authentication in the spec for a single request.
|
|
85
|
+
:type _request_auth: dict, optional
|
|
86
|
+
:param _content_type: force content-type for the request.
|
|
87
|
+
:type _content_type: str, Optional
|
|
88
|
+
:param _headers: set to override the headers for a single
|
|
89
|
+
request; this effectively ignores the headers
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _headers: dict, optional
|
|
92
|
+
:param _host_index: set to override the host_index for a single
|
|
93
|
+
request; this effectively ignores the host_index
|
|
94
|
+
in the spec for a single request.
|
|
95
|
+
:type _host_index: int, optional
|
|
96
|
+
:return: Returns the result object.
|
|
97
|
+
""" # noqa: E501
|
|
98
|
+
|
|
99
|
+
_param = self._add_trajectory_serialize(
|
|
100
|
+
cell=cell,
|
|
101
|
+
controller=controller,
|
|
102
|
+
add_trajectory_request=add_trajectory_request,
|
|
103
|
+
_request_auth=_request_auth,
|
|
104
|
+
_content_type=_content_type,
|
|
105
|
+
_headers=_headers,
|
|
106
|
+
_host_index=_host_index
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
|
+
'200': "AddTrajectoryResponse",
|
|
111
|
+
'400': "Error",
|
|
112
|
+
'404': "Error",
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
response_data = await self.api_client.call_api(
|
|
116
|
+
*_param,
|
|
117
|
+
_request_timeout=_request_timeout
|
|
118
|
+
)
|
|
119
|
+
await response_data.read()
|
|
120
|
+
return self.api_client.response_deserialize(
|
|
121
|
+
response_data=response_data,
|
|
122
|
+
response_types_map=_response_types_map,
|
|
123
|
+
).data
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@validate_call
|
|
127
|
+
async def add_trajectory_with_http_info(
|
|
128
|
+
self,
|
|
129
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
130
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
131
|
+
add_trajectory_request: AddTrajectoryRequest,
|
|
132
|
+
_request_timeout: Union[
|
|
133
|
+
None,
|
|
134
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
135
|
+
Tuple[
|
|
136
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
138
|
+
]
|
|
139
|
+
] = None,
|
|
140
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
141
|
+
_content_type: Optional[StrictStr] = None,
|
|
142
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
143
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
144
|
+
) -> ApiResponse[AddTrajectoryResponse]:
|
|
145
|
+
"""Add Trajectory
|
|
146
|
+
|
|
147
|
+
Loads and validates the data of a trajectory into the execution cache, rendering the trajectory executable. <!-- theme: info --> > #### NOTE > > Using the trajectory cache is an optional performance optimization. It is not necessary to use the cache to execute trajectories. The response contains the result of the validation of the trajectory. Validation can lead to three different results: - Fully valid: The whole trajectory can be executed from start to end. The response will contain an unique identifier which is used to move the robot. - Partially valid: Only parts of the trajectory can be executed. The response will contain an unique identifier to move the robot and information about the failure for the part that is not executable. - Invalid: The trajectory can not be executed. The response will tell you the reason of failure. If the trajectory is at least partially valid, the parts of the trajectory that are valid can be executed using the [executeTrajectory](executeTrajectory) endpoint. The workflow is as follows: - Generate a trajectory with [planTrajectory](planTrajectory) or your own motion planner, - Send the trajectory to this endpoint to validate it and get a unique identifier for it, - The unique identifier will appear in the list of available trajectories, see [listTrajectories](listTrajectories) endpoint, if it is at least partially executable. - Execute your trajectory using the [executeTrajectory](executeTrajectory) endpoint.
|
|
148
|
+
|
|
149
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
150
|
+
:type cell: str
|
|
151
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
152
|
+
:type controller: str
|
|
153
|
+
:param add_trajectory_request: (required)
|
|
154
|
+
:type add_trajectory_request: AddTrajectoryRequest
|
|
155
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
156
|
+
number provided, it will be total request
|
|
157
|
+
timeout. It can also be a pair (tuple) of
|
|
158
|
+
(connection, read) timeouts.
|
|
159
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
160
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
161
|
+
request; this effectively ignores the
|
|
162
|
+
authentication in the spec for a single request.
|
|
163
|
+
:type _request_auth: dict, optional
|
|
164
|
+
:param _content_type: force content-type for the request.
|
|
165
|
+
:type _content_type: str, Optional
|
|
166
|
+
:param _headers: set to override the headers for a single
|
|
167
|
+
request; this effectively ignores the headers
|
|
168
|
+
in the spec for a single request.
|
|
169
|
+
:type _headers: dict, optional
|
|
170
|
+
:param _host_index: set to override the host_index for a single
|
|
171
|
+
request; this effectively ignores the host_index
|
|
172
|
+
in the spec for a single request.
|
|
173
|
+
:type _host_index: int, optional
|
|
174
|
+
:return: Returns the result object.
|
|
175
|
+
""" # noqa: E501
|
|
176
|
+
|
|
177
|
+
_param = self._add_trajectory_serialize(
|
|
178
|
+
cell=cell,
|
|
179
|
+
controller=controller,
|
|
180
|
+
add_trajectory_request=add_trajectory_request,
|
|
181
|
+
_request_auth=_request_auth,
|
|
182
|
+
_content_type=_content_type,
|
|
183
|
+
_headers=_headers,
|
|
184
|
+
_host_index=_host_index
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
188
|
+
'200': "AddTrajectoryResponse",
|
|
189
|
+
'400': "Error",
|
|
190
|
+
'404': "Error",
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
response_data = await self.api_client.call_api(
|
|
194
|
+
*_param,
|
|
195
|
+
_request_timeout=_request_timeout
|
|
196
|
+
)
|
|
197
|
+
await response_data.read()
|
|
198
|
+
return self.api_client.response_deserialize(
|
|
199
|
+
response_data=response_data,
|
|
200
|
+
response_types_map=_response_types_map,
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
@validate_call
|
|
205
|
+
async def add_trajectory_without_preload_content(
|
|
206
|
+
self,
|
|
207
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
208
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
209
|
+
add_trajectory_request: AddTrajectoryRequest,
|
|
210
|
+
_request_timeout: Union[
|
|
211
|
+
None,
|
|
212
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
213
|
+
Tuple[
|
|
214
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
215
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
216
|
+
]
|
|
217
|
+
] = None,
|
|
218
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
219
|
+
_content_type: Optional[StrictStr] = None,
|
|
220
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
221
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
222
|
+
) -> RESTResponseType:
|
|
223
|
+
"""Add Trajectory
|
|
224
|
+
|
|
225
|
+
Loads and validates the data of a trajectory into the execution cache, rendering the trajectory executable. <!-- theme: info --> > #### NOTE > > Using the trajectory cache is an optional performance optimization. It is not necessary to use the cache to execute trajectories. The response contains the result of the validation of the trajectory. Validation can lead to three different results: - Fully valid: The whole trajectory can be executed from start to end. The response will contain an unique identifier which is used to move the robot. - Partially valid: Only parts of the trajectory can be executed. The response will contain an unique identifier to move the robot and information about the failure for the part that is not executable. - Invalid: The trajectory can not be executed. The response will tell you the reason of failure. If the trajectory is at least partially valid, the parts of the trajectory that are valid can be executed using the [executeTrajectory](executeTrajectory) endpoint. The workflow is as follows: - Generate a trajectory with [planTrajectory](planTrajectory) or your own motion planner, - Send the trajectory to this endpoint to validate it and get a unique identifier for it, - The unique identifier will appear in the list of available trajectories, see [listTrajectories](listTrajectories) endpoint, if it is at least partially executable. - Execute your trajectory using the [executeTrajectory](executeTrajectory) endpoint.
|
|
226
|
+
|
|
227
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
228
|
+
:type cell: str
|
|
229
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
230
|
+
:type controller: str
|
|
231
|
+
:param add_trajectory_request: (required)
|
|
232
|
+
:type add_trajectory_request: AddTrajectoryRequest
|
|
233
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
234
|
+
number provided, it will be total request
|
|
235
|
+
timeout. It can also be a pair (tuple) of
|
|
236
|
+
(connection, read) timeouts.
|
|
237
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
238
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
239
|
+
request; this effectively ignores the
|
|
240
|
+
authentication in the spec for a single request.
|
|
241
|
+
:type _request_auth: dict, optional
|
|
242
|
+
:param _content_type: force content-type for the request.
|
|
243
|
+
:type _content_type: str, Optional
|
|
244
|
+
:param _headers: set to override the headers for a single
|
|
245
|
+
request; this effectively ignores the headers
|
|
246
|
+
in the spec for a single request.
|
|
247
|
+
:type _headers: dict, optional
|
|
248
|
+
:param _host_index: set to override the host_index for a single
|
|
249
|
+
request; this effectively ignores the host_index
|
|
250
|
+
in the spec for a single request.
|
|
251
|
+
:type _host_index: int, optional
|
|
252
|
+
:return: Returns the result object.
|
|
253
|
+
""" # noqa: E501
|
|
254
|
+
|
|
255
|
+
_param = self._add_trajectory_serialize(
|
|
256
|
+
cell=cell,
|
|
257
|
+
controller=controller,
|
|
258
|
+
add_trajectory_request=add_trajectory_request,
|
|
259
|
+
_request_auth=_request_auth,
|
|
260
|
+
_content_type=_content_type,
|
|
261
|
+
_headers=_headers,
|
|
262
|
+
_host_index=_host_index
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
266
|
+
'200': "AddTrajectoryResponse",
|
|
267
|
+
'400': "Error",
|
|
268
|
+
'404': "Error",
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
response_data = await self.api_client.call_api(
|
|
272
|
+
*_param,
|
|
273
|
+
_request_timeout=_request_timeout
|
|
274
|
+
)
|
|
275
|
+
return response_data.response
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
def _add_trajectory_serialize(
|
|
279
|
+
self,
|
|
280
|
+
cell,
|
|
281
|
+
controller,
|
|
282
|
+
add_trajectory_request,
|
|
283
|
+
_request_auth,
|
|
284
|
+
_content_type,
|
|
285
|
+
_headers,
|
|
286
|
+
_host_index,
|
|
287
|
+
) -> RequestSerialized:
|
|
288
|
+
|
|
289
|
+
_host = None
|
|
290
|
+
|
|
291
|
+
_collection_formats: Dict[str, str] = {
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
_path_params: Dict[str, str] = {}
|
|
295
|
+
_query_params: List[Tuple[str, str]] = []
|
|
296
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
297
|
+
_form_params: List[Tuple[str, str]] = []
|
|
298
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
299
|
+
_body_params: Optional[bytes] = None
|
|
300
|
+
|
|
301
|
+
# process the path parameters
|
|
302
|
+
if cell is not None:
|
|
303
|
+
_path_params['cell'] = cell
|
|
304
|
+
if controller is not None:
|
|
305
|
+
_path_params['controller'] = controller
|
|
306
|
+
# process the query parameters
|
|
307
|
+
# process the header parameters
|
|
308
|
+
# process the form parameters
|
|
309
|
+
# process the body parameter
|
|
310
|
+
if add_trajectory_request is not None:
|
|
311
|
+
_body_params = add_trajectory_request
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
# set the HTTP header `Accept`
|
|
315
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
316
|
+
[
|
|
317
|
+
'application/json'
|
|
318
|
+
]
|
|
319
|
+
)
|
|
320
|
+
|
|
321
|
+
# set the HTTP header `Content-Type`
|
|
322
|
+
if _content_type:
|
|
323
|
+
_header_params['Content-Type'] = _content_type
|
|
324
|
+
else:
|
|
325
|
+
_default_content_type = (
|
|
326
|
+
self.api_client.select_header_content_type(
|
|
327
|
+
[
|
|
328
|
+
'application/json'
|
|
329
|
+
]
|
|
330
|
+
)
|
|
331
|
+
)
|
|
332
|
+
if _default_content_type is not None:
|
|
333
|
+
_header_params['Content-Type'] = _default_content_type
|
|
334
|
+
|
|
335
|
+
# authentication setting
|
|
336
|
+
_auth_settings: List[str] = [
|
|
337
|
+
'BasicAuth',
|
|
338
|
+
'BearerAuth'
|
|
339
|
+
]
|
|
340
|
+
|
|
341
|
+
return self.api_client.param_serialize(
|
|
342
|
+
method='POST',
|
|
343
|
+
resource_path='/cells/{cell}/controllers/{controller}/trajectories',
|
|
344
|
+
path_params=_path_params,
|
|
345
|
+
query_params=_query_params,
|
|
346
|
+
header_params=_header_params,
|
|
347
|
+
body=_body_params,
|
|
348
|
+
post_params=_form_params,
|
|
349
|
+
files=_files,
|
|
350
|
+
auth_settings=_auth_settings,
|
|
351
|
+
collection_formats=_collection_formats,
|
|
352
|
+
_host=_host,
|
|
353
|
+
_request_auth=_request_auth
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
@validate_call
|
|
359
|
+
async def clear_trajectories(
|
|
360
|
+
self,
|
|
361
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
362
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
363
|
+
_request_timeout: Union[
|
|
364
|
+
None,
|
|
365
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
366
|
+
Tuple[
|
|
367
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
368
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
369
|
+
]
|
|
370
|
+
] = None,
|
|
371
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
372
|
+
_content_type: Optional[StrictStr] = None,
|
|
373
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
374
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
375
|
+
) -> None:
|
|
376
|
+
"""Clear Trajectories
|
|
377
|
+
|
|
378
|
+
Clear the trajectory cache.
|
|
379
|
+
|
|
380
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
381
|
+
:type cell: str
|
|
382
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
383
|
+
:type controller: str
|
|
384
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
385
|
+
number provided, it will be total request
|
|
386
|
+
timeout. It can also be a pair (tuple) of
|
|
387
|
+
(connection, read) timeouts.
|
|
388
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
389
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
390
|
+
request; this effectively ignores the
|
|
391
|
+
authentication in the spec for a single request.
|
|
392
|
+
:type _request_auth: dict, optional
|
|
393
|
+
:param _content_type: force content-type for the request.
|
|
394
|
+
:type _content_type: str, Optional
|
|
395
|
+
:param _headers: set to override the headers for a single
|
|
396
|
+
request; this effectively ignores the headers
|
|
397
|
+
in the spec for a single request.
|
|
398
|
+
:type _headers: dict, optional
|
|
399
|
+
:param _host_index: set to override the host_index for a single
|
|
400
|
+
request; this effectively ignores the host_index
|
|
401
|
+
in the spec for a single request.
|
|
402
|
+
:type _host_index: int, optional
|
|
403
|
+
:return: Returns the result object.
|
|
404
|
+
""" # noqa: E501
|
|
405
|
+
|
|
406
|
+
_param = self._clear_trajectories_serialize(
|
|
407
|
+
cell=cell,
|
|
408
|
+
controller=controller,
|
|
409
|
+
_request_auth=_request_auth,
|
|
410
|
+
_content_type=_content_type,
|
|
411
|
+
_headers=_headers,
|
|
412
|
+
_host_index=_host_index
|
|
413
|
+
)
|
|
414
|
+
|
|
415
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
416
|
+
'200': None,
|
|
417
|
+
'400': "Error",
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
response_data = await self.api_client.call_api(
|
|
421
|
+
*_param,
|
|
422
|
+
_request_timeout=_request_timeout
|
|
423
|
+
)
|
|
424
|
+
await response_data.read()
|
|
425
|
+
return self.api_client.response_deserialize(
|
|
426
|
+
response_data=response_data,
|
|
427
|
+
response_types_map=_response_types_map,
|
|
428
|
+
).data
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
@validate_call
|
|
432
|
+
async def clear_trajectories_with_http_info(
|
|
433
|
+
self,
|
|
434
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
435
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
436
|
+
_request_timeout: Union[
|
|
437
|
+
None,
|
|
438
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
439
|
+
Tuple[
|
|
440
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
441
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
442
|
+
]
|
|
443
|
+
] = None,
|
|
444
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
445
|
+
_content_type: Optional[StrictStr] = None,
|
|
446
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
447
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
448
|
+
) -> ApiResponse[None]:
|
|
449
|
+
"""Clear Trajectories
|
|
450
|
+
|
|
451
|
+
Clear the trajectory cache.
|
|
452
|
+
|
|
453
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
454
|
+
:type cell: str
|
|
455
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
456
|
+
:type controller: str
|
|
457
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
458
|
+
number provided, it will be total request
|
|
459
|
+
timeout. It can also be a pair (tuple) of
|
|
460
|
+
(connection, read) timeouts.
|
|
461
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
462
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
463
|
+
request; this effectively ignores the
|
|
464
|
+
authentication in the spec for a single request.
|
|
465
|
+
:type _request_auth: dict, optional
|
|
466
|
+
:param _content_type: force content-type for the request.
|
|
467
|
+
:type _content_type: str, Optional
|
|
468
|
+
:param _headers: set to override the headers for a single
|
|
469
|
+
request; this effectively ignores the headers
|
|
470
|
+
in the spec for a single request.
|
|
471
|
+
:type _headers: dict, optional
|
|
472
|
+
:param _host_index: set to override the host_index for a single
|
|
473
|
+
request; this effectively ignores the host_index
|
|
474
|
+
in the spec for a single request.
|
|
475
|
+
:type _host_index: int, optional
|
|
476
|
+
:return: Returns the result object.
|
|
477
|
+
""" # noqa: E501
|
|
478
|
+
|
|
479
|
+
_param = self._clear_trajectories_serialize(
|
|
480
|
+
cell=cell,
|
|
481
|
+
controller=controller,
|
|
482
|
+
_request_auth=_request_auth,
|
|
483
|
+
_content_type=_content_type,
|
|
484
|
+
_headers=_headers,
|
|
485
|
+
_host_index=_host_index
|
|
486
|
+
)
|
|
487
|
+
|
|
488
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
489
|
+
'200': None,
|
|
490
|
+
'400': "Error",
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
response_data = await self.api_client.call_api(
|
|
494
|
+
*_param,
|
|
495
|
+
_request_timeout=_request_timeout
|
|
496
|
+
)
|
|
497
|
+
await response_data.read()
|
|
498
|
+
return self.api_client.response_deserialize(
|
|
499
|
+
response_data=response_data,
|
|
500
|
+
response_types_map=_response_types_map,
|
|
501
|
+
)
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
@validate_call
|
|
505
|
+
async def clear_trajectories_without_preload_content(
|
|
506
|
+
self,
|
|
507
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
508
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
509
|
+
_request_timeout: Union[
|
|
510
|
+
None,
|
|
511
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
512
|
+
Tuple[
|
|
513
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
514
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
515
|
+
]
|
|
516
|
+
] = None,
|
|
517
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
518
|
+
_content_type: Optional[StrictStr] = None,
|
|
519
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
520
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
521
|
+
) -> RESTResponseType:
|
|
522
|
+
"""Clear Trajectories
|
|
523
|
+
|
|
524
|
+
Clear the trajectory cache.
|
|
525
|
+
|
|
526
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
527
|
+
:type cell: str
|
|
528
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
529
|
+
:type controller: str
|
|
530
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
531
|
+
number provided, it will be total request
|
|
532
|
+
timeout. It can also be a pair (tuple) of
|
|
533
|
+
(connection, read) timeouts.
|
|
534
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
535
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
536
|
+
request; this effectively ignores the
|
|
537
|
+
authentication in the spec for a single request.
|
|
538
|
+
:type _request_auth: dict, optional
|
|
539
|
+
:param _content_type: force content-type for the request.
|
|
540
|
+
:type _content_type: str, Optional
|
|
541
|
+
:param _headers: set to override the headers for a single
|
|
542
|
+
request; this effectively ignores the headers
|
|
543
|
+
in the spec for a single request.
|
|
544
|
+
:type _headers: dict, optional
|
|
545
|
+
:param _host_index: set to override the host_index for a single
|
|
546
|
+
request; this effectively ignores the host_index
|
|
547
|
+
in the spec for a single request.
|
|
548
|
+
:type _host_index: int, optional
|
|
549
|
+
:return: Returns the result object.
|
|
550
|
+
""" # noqa: E501
|
|
551
|
+
|
|
552
|
+
_param = self._clear_trajectories_serialize(
|
|
553
|
+
cell=cell,
|
|
554
|
+
controller=controller,
|
|
555
|
+
_request_auth=_request_auth,
|
|
556
|
+
_content_type=_content_type,
|
|
557
|
+
_headers=_headers,
|
|
558
|
+
_host_index=_host_index
|
|
559
|
+
)
|
|
560
|
+
|
|
561
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
562
|
+
'200': None,
|
|
563
|
+
'400': "Error",
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
response_data = await self.api_client.call_api(
|
|
567
|
+
*_param,
|
|
568
|
+
_request_timeout=_request_timeout
|
|
569
|
+
)
|
|
570
|
+
return response_data.response
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
def _clear_trajectories_serialize(
|
|
574
|
+
self,
|
|
575
|
+
cell,
|
|
576
|
+
controller,
|
|
577
|
+
_request_auth,
|
|
578
|
+
_content_type,
|
|
579
|
+
_headers,
|
|
580
|
+
_host_index,
|
|
581
|
+
) -> RequestSerialized:
|
|
582
|
+
|
|
583
|
+
_host = None
|
|
584
|
+
|
|
585
|
+
_collection_formats: Dict[str, str] = {
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
_path_params: Dict[str, str] = {}
|
|
589
|
+
_query_params: List[Tuple[str, str]] = []
|
|
590
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
591
|
+
_form_params: List[Tuple[str, str]] = []
|
|
592
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
593
|
+
_body_params: Optional[bytes] = None
|
|
594
|
+
|
|
595
|
+
# process the path parameters
|
|
596
|
+
if cell is not None:
|
|
597
|
+
_path_params['cell'] = cell
|
|
598
|
+
if controller is not None:
|
|
599
|
+
_path_params['controller'] = controller
|
|
600
|
+
# process the query parameters
|
|
601
|
+
# process the header parameters
|
|
602
|
+
# process the form parameters
|
|
603
|
+
# process the body parameter
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
# set the HTTP header `Accept`
|
|
607
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
608
|
+
[
|
|
609
|
+
'application/json'
|
|
610
|
+
]
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
# authentication setting
|
|
615
|
+
_auth_settings: List[str] = [
|
|
616
|
+
'BasicAuth',
|
|
617
|
+
'BearerAuth'
|
|
618
|
+
]
|
|
619
|
+
|
|
620
|
+
return self.api_client.param_serialize(
|
|
621
|
+
method='DELETE',
|
|
622
|
+
resource_path='/cells/{cell}/controllers/{controller}/trajectories',
|
|
623
|
+
path_params=_path_params,
|
|
624
|
+
query_params=_query_params,
|
|
625
|
+
header_params=_header_params,
|
|
626
|
+
body=_body_params,
|
|
627
|
+
post_params=_form_params,
|
|
628
|
+
files=_files,
|
|
629
|
+
auth_settings=_auth_settings,
|
|
630
|
+
collection_formats=_collection_formats,
|
|
631
|
+
_host=_host,
|
|
632
|
+
_request_auth=_request_auth
|
|
633
|
+
)
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
@validate_call
|
|
638
|
+
async def delete_trajectory(
|
|
639
|
+
self,
|
|
640
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
641
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
642
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
643
|
+
_request_timeout: Union[
|
|
644
|
+
None,
|
|
645
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
646
|
+
Tuple[
|
|
647
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
648
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
649
|
+
]
|
|
650
|
+
] = None,
|
|
651
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
652
|
+
_content_type: Optional[StrictStr] = None,
|
|
653
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
654
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
655
|
+
) -> None:
|
|
656
|
+
"""Delete Trajectory
|
|
657
|
+
|
|
658
|
+
Delete a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories. Trajectories are removed automatically if the motion group or the corresponding controller is disconnected.
|
|
659
|
+
|
|
660
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
661
|
+
:type cell: str
|
|
662
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
663
|
+
:type controller: str
|
|
664
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
665
|
+
:type trajectory: str
|
|
666
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
667
|
+
number provided, it will be total request
|
|
668
|
+
timeout. It can also be a pair (tuple) of
|
|
669
|
+
(connection, read) timeouts.
|
|
670
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
671
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
672
|
+
request; this effectively ignores the
|
|
673
|
+
authentication in the spec for a single request.
|
|
674
|
+
:type _request_auth: dict, optional
|
|
675
|
+
:param _content_type: force content-type for the request.
|
|
676
|
+
:type _content_type: str, Optional
|
|
677
|
+
:param _headers: set to override the headers for a single
|
|
678
|
+
request; this effectively ignores the headers
|
|
679
|
+
in the spec for a single request.
|
|
680
|
+
:type _headers: dict, optional
|
|
681
|
+
:param _host_index: set to override the host_index for a single
|
|
682
|
+
request; this effectively ignores the host_index
|
|
683
|
+
in the spec for a single request.
|
|
684
|
+
:type _host_index: int, optional
|
|
685
|
+
:return: Returns the result object.
|
|
686
|
+
""" # noqa: E501
|
|
687
|
+
|
|
688
|
+
_param = self._delete_trajectory_serialize(
|
|
689
|
+
cell=cell,
|
|
690
|
+
controller=controller,
|
|
691
|
+
trajectory=trajectory,
|
|
692
|
+
_request_auth=_request_auth,
|
|
693
|
+
_content_type=_content_type,
|
|
694
|
+
_headers=_headers,
|
|
695
|
+
_host_index=_host_index
|
|
696
|
+
)
|
|
697
|
+
|
|
698
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
699
|
+
'200': None,
|
|
700
|
+
'400': "Error",
|
|
701
|
+
'404': "Error",
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
response_data = await self.api_client.call_api(
|
|
705
|
+
*_param,
|
|
706
|
+
_request_timeout=_request_timeout
|
|
707
|
+
)
|
|
708
|
+
await response_data.read()
|
|
709
|
+
return self.api_client.response_deserialize(
|
|
710
|
+
response_data=response_data,
|
|
711
|
+
response_types_map=_response_types_map,
|
|
712
|
+
).data
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
@validate_call
|
|
716
|
+
async def delete_trajectory_with_http_info(
|
|
717
|
+
self,
|
|
718
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
719
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
720
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
721
|
+
_request_timeout: Union[
|
|
722
|
+
None,
|
|
723
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
724
|
+
Tuple[
|
|
725
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
726
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
727
|
+
]
|
|
728
|
+
] = None,
|
|
729
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
730
|
+
_content_type: Optional[StrictStr] = None,
|
|
731
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
732
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
733
|
+
) -> ApiResponse[None]:
|
|
734
|
+
"""Delete Trajectory
|
|
735
|
+
|
|
736
|
+
Delete a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories. Trajectories are removed automatically if the motion group or the corresponding controller is disconnected.
|
|
737
|
+
|
|
738
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
739
|
+
:type cell: str
|
|
740
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
741
|
+
:type controller: str
|
|
742
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
743
|
+
:type trajectory: str
|
|
744
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
745
|
+
number provided, it will be total request
|
|
746
|
+
timeout. It can also be a pair (tuple) of
|
|
747
|
+
(connection, read) timeouts.
|
|
748
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
749
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
750
|
+
request; this effectively ignores the
|
|
751
|
+
authentication in the spec for a single request.
|
|
752
|
+
:type _request_auth: dict, optional
|
|
753
|
+
:param _content_type: force content-type for the request.
|
|
754
|
+
:type _content_type: str, Optional
|
|
755
|
+
:param _headers: set to override the headers for a single
|
|
756
|
+
request; this effectively ignores the headers
|
|
757
|
+
in the spec for a single request.
|
|
758
|
+
:type _headers: dict, optional
|
|
759
|
+
:param _host_index: set to override the host_index for a single
|
|
760
|
+
request; this effectively ignores the host_index
|
|
761
|
+
in the spec for a single request.
|
|
762
|
+
:type _host_index: int, optional
|
|
763
|
+
:return: Returns the result object.
|
|
764
|
+
""" # noqa: E501
|
|
765
|
+
|
|
766
|
+
_param = self._delete_trajectory_serialize(
|
|
767
|
+
cell=cell,
|
|
768
|
+
controller=controller,
|
|
769
|
+
trajectory=trajectory,
|
|
770
|
+
_request_auth=_request_auth,
|
|
771
|
+
_content_type=_content_type,
|
|
772
|
+
_headers=_headers,
|
|
773
|
+
_host_index=_host_index
|
|
774
|
+
)
|
|
775
|
+
|
|
776
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
777
|
+
'200': None,
|
|
778
|
+
'400': "Error",
|
|
779
|
+
'404': "Error",
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
response_data = await self.api_client.call_api(
|
|
783
|
+
*_param,
|
|
784
|
+
_request_timeout=_request_timeout
|
|
785
|
+
)
|
|
786
|
+
await response_data.read()
|
|
787
|
+
return self.api_client.response_deserialize(
|
|
788
|
+
response_data=response_data,
|
|
789
|
+
response_types_map=_response_types_map,
|
|
790
|
+
)
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
@validate_call
|
|
794
|
+
async def delete_trajectory_without_preload_content(
|
|
795
|
+
self,
|
|
796
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
797
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
798
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
799
|
+
_request_timeout: Union[
|
|
800
|
+
None,
|
|
801
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
802
|
+
Tuple[
|
|
803
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
804
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
805
|
+
]
|
|
806
|
+
] = None,
|
|
807
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
808
|
+
_content_type: Optional[StrictStr] = None,
|
|
809
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
810
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
811
|
+
) -> RESTResponseType:
|
|
812
|
+
"""Delete Trajectory
|
|
813
|
+
|
|
814
|
+
Delete a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories. Trajectories are removed automatically if the motion group or the corresponding controller is disconnected.
|
|
815
|
+
|
|
816
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
817
|
+
:type cell: str
|
|
818
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
819
|
+
:type controller: str
|
|
820
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
821
|
+
:type trajectory: str
|
|
822
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
823
|
+
number provided, it will be total request
|
|
824
|
+
timeout. It can also be a pair (tuple) of
|
|
825
|
+
(connection, read) timeouts.
|
|
826
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
827
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
828
|
+
request; this effectively ignores the
|
|
829
|
+
authentication in the spec for a single request.
|
|
830
|
+
:type _request_auth: dict, optional
|
|
831
|
+
:param _content_type: force content-type for the request.
|
|
832
|
+
:type _content_type: str, Optional
|
|
833
|
+
:param _headers: set to override the headers for a single
|
|
834
|
+
request; this effectively ignores the headers
|
|
835
|
+
in the spec for a single request.
|
|
836
|
+
:type _headers: dict, optional
|
|
837
|
+
:param _host_index: set to override the host_index for a single
|
|
838
|
+
request; this effectively ignores the host_index
|
|
839
|
+
in the spec for a single request.
|
|
840
|
+
:type _host_index: int, optional
|
|
841
|
+
:return: Returns the result object.
|
|
842
|
+
""" # noqa: E501
|
|
843
|
+
|
|
844
|
+
_param = self._delete_trajectory_serialize(
|
|
845
|
+
cell=cell,
|
|
846
|
+
controller=controller,
|
|
847
|
+
trajectory=trajectory,
|
|
848
|
+
_request_auth=_request_auth,
|
|
849
|
+
_content_type=_content_type,
|
|
850
|
+
_headers=_headers,
|
|
851
|
+
_host_index=_host_index
|
|
852
|
+
)
|
|
853
|
+
|
|
854
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
855
|
+
'200': None,
|
|
856
|
+
'400': "Error",
|
|
857
|
+
'404': "Error",
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
response_data = await self.api_client.call_api(
|
|
861
|
+
*_param,
|
|
862
|
+
_request_timeout=_request_timeout
|
|
863
|
+
)
|
|
864
|
+
return response_data.response
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
def _delete_trajectory_serialize(
|
|
868
|
+
self,
|
|
869
|
+
cell,
|
|
870
|
+
controller,
|
|
871
|
+
trajectory,
|
|
872
|
+
_request_auth,
|
|
873
|
+
_content_type,
|
|
874
|
+
_headers,
|
|
875
|
+
_host_index,
|
|
876
|
+
) -> RequestSerialized:
|
|
877
|
+
|
|
878
|
+
_host = None
|
|
879
|
+
|
|
880
|
+
_collection_formats: Dict[str, str] = {
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
_path_params: Dict[str, str] = {}
|
|
884
|
+
_query_params: List[Tuple[str, str]] = []
|
|
885
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
886
|
+
_form_params: List[Tuple[str, str]] = []
|
|
887
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
888
|
+
_body_params: Optional[bytes] = None
|
|
889
|
+
|
|
890
|
+
# process the path parameters
|
|
891
|
+
if cell is not None:
|
|
892
|
+
_path_params['cell'] = cell
|
|
893
|
+
if controller is not None:
|
|
894
|
+
_path_params['controller'] = controller
|
|
895
|
+
if trajectory is not None:
|
|
896
|
+
_path_params['trajectory'] = trajectory
|
|
897
|
+
# process the query parameters
|
|
898
|
+
# process the header parameters
|
|
899
|
+
# process the form parameters
|
|
900
|
+
# process the body parameter
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
# set the HTTP header `Accept`
|
|
904
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
905
|
+
[
|
|
906
|
+
'application/json'
|
|
907
|
+
]
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
# authentication setting
|
|
912
|
+
_auth_settings: List[str] = [
|
|
913
|
+
'BasicAuth',
|
|
914
|
+
'BearerAuth'
|
|
915
|
+
]
|
|
916
|
+
|
|
917
|
+
return self.api_client.param_serialize(
|
|
918
|
+
method='DELETE',
|
|
919
|
+
resource_path='/cells/{cell}/controllers/{controller}/trajectories/{trajectory}',
|
|
920
|
+
path_params=_path_params,
|
|
921
|
+
query_params=_query_params,
|
|
922
|
+
header_params=_header_params,
|
|
923
|
+
body=_body_params,
|
|
924
|
+
post_params=_form_params,
|
|
925
|
+
files=_files,
|
|
926
|
+
auth_settings=_auth_settings,
|
|
927
|
+
collection_formats=_collection_formats,
|
|
928
|
+
_host=_host,
|
|
929
|
+
_request_auth=_request_auth
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
@validate_call
|
|
935
|
+
async def get_trajectory(
|
|
936
|
+
self,
|
|
937
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
938
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
939
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
940
|
+
_request_timeout: Union[
|
|
941
|
+
None,
|
|
942
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
943
|
+
Tuple[
|
|
944
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
945
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
946
|
+
]
|
|
947
|
+
] = None,
|
|
948
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
949
|
+
_content_type: Optional[StrictStr] = None,
|
|
950
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
951
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
952
|
+
) -> GetTrajectoryResponse:
|
|
953
|
+
"""Get Trajectory
|
|
954
|
+
|
|
955
|
+
Get a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories.
|
|
956
|
+
|
|
957
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
958
|
+
:type cell: str
|
|
959
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
960
|
+
:type controller: str
|
|
961
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
962
|
+
:type trajectory: str
|
|
963
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
964
|
+
number provided, it will be total request
|
|
965
|
+
timeout. It can also be a pair (tuple) of
|
|
966
|
+
(connection, read) timeouts.
|
|
967
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
968
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
969
|
+
request; this effectively ignores the
|
|
970
|
+
authentication in the spec for a single request.
|
|
971
|
+
:type _request_auth: dict, optional
|
|
972
|
+
:param _content_type: force content-type for the request.
|
|
973
|
+
:type _content_type: str, Optional
|
|
974
|
+
:param _headers: set to override the headers for a single
|
|
975
|
+
request; this effectively ignores the headers
|
|
976
|
+
in the spec for a single request.
|
|
977
|
+
:type _headers: dict, optional
|
|
978
|
+
:param _host_index: set to override the host_index for a single
|
|
979
|
+
request; this effectively ignores the host_index
|
|
980
|
+
in the spec for a single request.
|
|
981
|
+
:type _host_index: int, optional
|
|
982
|
+
:return: Returns the result object.
|
|
983
|
+
""" # noqa: E501
|
|
984
|
+
|
|
985
|
+
_param = self._get_trajectory_serialize(
|
|
986
|
+
cell=cell,
|
|
987
|
+
controller=controller,
|
|
988
|
+
trajectory=trajectory,
|
|
989
|
+
_request_auth=_request_auth,
|
|
990
|
+
_content_type=_content_type,
|
|
991
|
+
_headers=_headers,
|
|
992
|
+
_host_index=_host_index
|
|
993
|
+
)
|
|
994
|
+
|
|
995
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
996
|
+
'200': "GetTrajectoryResponse",
|
|
997
|
+
'400': "Error",
|
|
998
|
+
'404': "Error",
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
response_data = await self.api_client.call_api(
|
|
1002
|
+
*_param,
|
|
1003
|
+
_request_timeout=_request_timeout
|
|
1004
|
+
)
|
|
1005
|
+
await response_data.read()
|
|
1006
|
+
return self.api_client.response_deserialize(
|
|
1007
|
+
response_data=response_data,
|
|
1008
|
+
response_types_map=_response_types_map,
|
|
1009
|
+
).data
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
@validate_call
|
|
1013
|
+
async def get_trajectory_with_http_info(
|
|
1014
|
+
self,
|
|
1015
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1016
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
1017
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
1018
|
+
_request_timeout: Union[
|
|
1019
|
+
None,
|
|
1020
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1021
|
+
Tuple[
|
|
1022
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1023
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1024
|
+
]
|
|
1025
|
+
] = None,
|
|
1026
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1027
|
+
_content_type: Optional[StrictStr] = None,
|
|
1028
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1029
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1030
|
+
) -> ApiResponse[GetTrajectoryResponse]:
|
|
1031
|
+
"""Get Trajectory
|
|
1032
|
+
|
|
1033
|
+
Get a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories.
|
|
1034
|
+
|
|
1035
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1036
|
+
:type cell: str
|
|
1037
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
1038
|
+
:type controller: str
|
|
1039
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
1040
|
+
:type trajectory: str
|
|
1041
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1042
|
+
number provided, it will be total request
|
|
1043
|
+
timeout. It can also be a pair (tuple) of
|
|
1044
|
+
(connection, read) timeouts.
|
|
1045
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1046
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1047
|
+
request; this effectively ignores the
|
|
1048
|
+
authentication in the spec for a single request.
|
|
1049
|
+
:type _request_auth: dict, optional
|
|
1050
|
+
:param _content_type: force content-type for the request.
|
|
1051
|
+
:type _content_type: str, Optional
|
|
1052
|
+
:param _headers: set to override the headers for a single
|
|
1053
|
+
request; this effectively ignores the headers
|
|
1054
|
+
in the spec for a single request.
|
|
1055
|
+
:type _headers: dict, optional
|
|
1056
|
+
:param _host_index: set to override the host_index for a single
|
|
1057
|
+
request; this effectively ignores the host_index
|
|
1058
|
+
in the spec for a single request.
|
|
1059
|
+
:type _host_index: int, optional
|
|
1060
|
+
:return: Returns the result object.
|
|
1061
|
+
""" # noqa: E501
|
|
1062
|
+
|
|
1063
|
+
_param = self._get_trajectory_serialize(
|
|
1064
|
+
cell=cell,
|
|
1065
|
+
controller=controller,
|
|
1066
|
+
trajectory=trajectory,
|
|
1067
|
+
_request_auth=_request_auth,
|
|
1068
|
+
_content_type=_content_type,
|
|
1069
|
+
_headers=_headers,
|
|
1070
|
+
_host_index=_host_index
|
|
1071
|
+
)
|
|
1072
|
+
|
|
1073
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1074
|
+
'200': "GetTrajectoryResponse",
|
|
1075
|
+
'400': "Error",
|
|
1076
|
+
'404': "Error",
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
response_data = await self.api_client.call_api(
|
|
1080
|
+
*_param,
|
|
1081
|
+
_request_timeout=_request_timeout
|
|
1082
|
+
)
|
|
1083
|
+
await response_data.read()
|
|
1084
|
+
return self.api_client.response_deserialize(
|
|
1085
|
+
response_data=response_data,
|
|
1086
|
+
response_types_map=_response_types_map,
|
|
1087
|
+
)
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
@validate_call
|
|
1091
|
+
async def get_trajectory_without_preload_content(
|
|
1092
|
+
self,
|
|
1093
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1094
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
1095
|
+
trajectory: Annotated[StrictStr, Field(description="This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. ")],
|
|
1096
|
+
_request_timeout: Union[
|
|
1097
|
+
None,
|
|
1098
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1099
|
+
Tuple[
|
|
1100
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1101
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1102
|
+
]
|
|
1103
|
+
] = None,
|
|
1104
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1105
|
+
_content_type: Optional[StrictStr] = None,
|
|
1106
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1107
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1108
|
+
) -> RESTResponseType:
|
|
1109
|
+
"""Get Trajectory
|
|
1110
|
+
|
|
1111
|
+
Get a previously created trajectory from cache. Use [listTrajectories](listTrajectories) to list all cached trajectories.
|
|
1112
|
+
|
|
1113
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1114
|
+
:type cell: str
|
|
1115
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
1116
|
+
:type controller: str
|
|
1117
|
+
:param trajectory: This represents the unique identifier of a trajectory. Every executable or partially executable trajectory is cached and an unique identifier is returned. Indicate the unique identifier to execute the trajectory or retrieve information on the trajectory. (required)
|
|
1118
|
+
:type trajectory: str
|
|
1119
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1120
|
+
number provided, it will be total request
|
|
1121
|
+
timeout. It can also be a pair (tuple) of
|
|
1122
|
+
(connection, read) timeouts.
|
|
1123
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1124
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1125
|
+
request; this effectively ignores the
|
|
1126
|
+
authentication in the spec for a single request.
|
|
1127
|
+
:type _request_auth: dict, optional
|
|
1128
|
+
:param _content_type: force content-type for the request.
|
|
1129
|
+
:type _content_type: str, Optional
|
|
1130
|
+
:param _headers: set to override the headers for a single
|
|
1131
|
+
request; this effectively ignores the headers
|
|
1132
|
+
in the spec for a single request.
|
|
1133
|
+
:type _headers: dict, optional
|
|
1134
|
+
:param _host_index: set to override the host_index for a single
|
|
1135
|
+
request; this effectively ignores the host_index
|
|
1136
|
+
in the spec for a single request.
|
|
1137
|
+
:type _host_index: int, optional
|
|
1138
|
+
:return: Returns the result object.
|
|
1139
|
+
""" # noqa: E501
|
|
1140
|
+
|
|
1141
|
+
_param = self._get_trajectory_serialize(
|
|
1142
|
+
cell=cell,
|
|
1143
|
+
controller=controller,
|
|
1144
|
+
trajectory=trajectory,
|
|
1145
|
+
_request_auth=_request_auth,
|
|
1146
|
+
_content_type=_content_type,
|
|
1147
|
+
_headers=_headers,
|
|
1148
|
+
_host_index=_host_index
|
|
1149
|
+
)
|
|
1150
|
+
|
|
1151
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1152
|
+
'200': "GetTrajectoryResponse",
|
|
1153
|
+
'400': "Error",
|
|
1154
|
+
'404': "Error",
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
response_data = await self.api_client.call_api(
|
|
1158
|
+
*_param,
|
|
1159
|
+
_request_timeout=_request_timeout
|
|
1160
|
+
)
|
|
1161
|
+
return response_data.response
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
def _get_trajectory_serialize(
|
|
1165
|
+
self,
|
|
1166
|
+
cell,
|
|
1167
|
+
controller,
|
|
1168
|
+
trajectory,
|
|
1169
|
+
_request_auth,
|
|
1170
|
+
_content_type,
|
|
1171
|
+
_headers,
|
|
1172
|
+
_host_index,
|
|
1173
|
+
) -> RequestSerialized:
|
|
1174
|
+
|
|
1175
|
+
_host = None
|
|
1176
|
+
|
|
1177
|
+
_collection_formats: Dict[str, str] = {
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
_path_params: Dict[str, str] = {}
|
|
1181
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1182
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1183
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1184
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1185
|
+
_body_params: Optional[bytes] = None
|
|
1186
|
+
|
|
1187
|
+
# process the path parameters
|
|
1188
|
+
if cell is not None:
|
|
1189
|
+
_path_params['cell'] = cell
|
|
1190
|
+
if controller is not None:
|
|
1191
|
+
_path_params['controller'] = controller
|
|
1192
|
+
if trajectory is not None:
|
|
1193
|
+
_path_params['trajectory'] = trajectory
|
|
1194
|
+
# process the query parameters
|
|
1195
|
+
# process the header parameters
|
|
1196
|
+
# process the form parameters
|
|
1197
|
+
# process the body parameter
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
# set the HTTP header `Accept`
|
|
1201
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1202
|
+
[
|
|
1203
|
+
'application/json'
|
|
1204
|
+
]
|
|
1205
|
+
)
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
# authentication setting
|
|
1209
|
+
_auth_settings: List[str] = [
|
|
1210
|
+
'BasicAuth',
|
|
1211
|
+
'BearerAuth'
|
|
1212
|
+
]
|
|
1213
|
+
|
|
1214
|
+
return self.api_client.param_serialize(
|
|
1215
|
+
method='GET',
|
|
1216
|
+
resource_path='/cells/{cell}/controllers/{controller}/trajectories/{trajectory}',
|
|
1217
|
+
path_params=_path_params,
|
|
1218
|
+
query_params=_query_params,
|
|
1219
|
+
header_params=_header_params,
|
|
1220
|
+
body=_body_params,
|
|
1221
|
+
post_params=_form_params,
|
|
1222
|
+
files=_files,
|
|
1223
|
+
auth_settings=_auth_settings,
|
|
1224
|
+
collection_formats=_collection_formats,
|
|
1225
|
+
_host=_host,
|
|
1226
|
+
_request_auth=_request_auth
|
|
1227
|
+
)
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
@validate_call
|
|
1232
|
+
async def list_trajectories(
|
|
1233
|
+
self,
|
|
1234
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1235
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
1236
|
+
_request_timeout: Union[
|
|
1237
|
+
None,
|
|
1238
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1239
|
+
Tuple[
|
|
1240
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1241
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1242
|
+
]
|
|
1243
|
+
] = None,
|
|
1244
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1245
|
+
_content_type: Optional[StrictStr] = None,
|
|
1246
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1247
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1248
|
+
) -> ListTrajectoriesResponse:
|
|
1249
|
+
"""List Trajectories
|
|
1250
|
+
|
|
1251
|
+
List currently cached trajectories. Use [addTrajectory](addTrajectory) to add a new trajectory. Adding trajectories is necessary to execute them. Trajectories are removed if the corresponding motion group or controller disconnects.
|
|
1252
|
+
|
|
1253
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1254
|
+
:type cell: str
|
|
1255
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
1256
|
+
:type controller: str
|
|
1257
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1258
|
+
number provided, it will be total request
|
|
1259
|
+
timeout. It can also be a pair (tuple) of
|
|
1260
|
+
(connection, read) timeouts.
|
|
1261
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1262
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1263
|
+
request; this effectively ignores the
|
|
1264
|
+
authentication in the spec for a single request.
|
|
1265
|
+
:type _request_auth: dict, optional
|
|
1266
|
+
:param _content_type: force content-type for the request.
|
|
1267
|
+
:type _content_type: str, Optional
|
|
1268
|
+
:param _headers: set to override the headers for a single
|
|
1269
|
+
request; this effectively ignores the headers
|
|
1270
|
+
in the spec for a single request.
|
|
1271
|
+
:type _headers: dict, optional
|
|
1272
|
+
:param _host_index: set to override the host_index for a single
|
|
1273
|
+
request; this effectively ignores the host_index
|
|
1274
|
+
in the spec for a single request.
|
|
1275
|
+
:type _host_index: int, optional
|
|
1276
|
+
:return: Returns the result object.
|
|
1277
|
+
""" # noqa: E501
|
|
1278
|
+
|
|
1279
|
+
_param = self._list_trajectories_serialize(
|
|
1280
|
+
cell=cell,
|
|
1281
|
+
controller=controller,
|
|
1282
|
+
_request_auth=_request_auth,
|
|
1283
|
+
_content_type=_content_type,
|
|
1284
|
+
_headers=_headers,
|
|
1285
|
+
_host_index=_host_index
|
|
1286
|
+
)
|
|
1287
|
+
|
|
1288
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1289
|
+
'200': "ListTrajectoriesResponse",
|
|
1290
|
+
'400': "Error",
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
response_data = await self.api_client.call_api(
|
|
1294
|
+
*_param,
|
|
1295
|
+
_request_timeout=_request_timeout
|
|
1296
|
+
)
|
|
1297
|
+
await response_data.read()
|
|
1298
|
+
return self.api_client.response_deserialize(
|
|
1299
|
+
response_data=response_data,
|
|
1300
|
+
response_types_map=_response_types_map,
|
|
1301
|
+
).data
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
@validate_call
|
|
1305
|
+
async def list_trajectories_with_http_info(
|
|
1306
|
+
self,
|
|
1307
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1308
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
1309
|
+
_request_timeout: Union[
|
|
1310
|
+
None,
|
|
1311
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1312
|
+
Tuple[
|
|
1313
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1314
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1315
|
+
]
|
|
1316
|
+
] = None,
|
|
1317
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1318
|
+
_content_type: Optional[StrictStr] = None,
|
|
1319
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1320
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1321
|
+
) -> ApiResponse[ListTrajectoriesResponse]:
|
|
1322
|
+
"""List Trajectories
|
|
1323
|
+
|
|
1324
|
+
List currently cached trajectories. Use [addTrajectory](addTrajectory) to add a new trajectory. Adding trajectories is necessary to execute them. Trajectories are removed if the corresponding motion group or controller disconnects.
|
|
1325
|
+
|
|
1326
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1327
|
+
:type cell: str
|
|
1328
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
1329
|
+
:type controller: str
|
|
1330
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1331
|
+
number provided, it will be total request
|
|
1332
|
+
timeout. It can also be a pair (tuple) of
|
|
1333
|
+
(connection, read) timeouts.
|
|
1334
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1335
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1336
|
+
request; this effectively ignores the
|
|
1337
|
+
authentication in the spec for a single request.
|
|
1338
|
+
:type _request_auth: dict, optional
|
|
1339
|
+
:param _content_type: force content-type for the request.
|
|
1340
|
+
:type _content_type: str, Optional
|
|
1341
|
+
:param _headers: set to override the headers for a single
|
|
1342
|
+
request; this effectively ignores the headers
|
|
1343
|
+
in the spec for a single request.
|
|
1344
|
+
:type _headers: dict, optional
|
|
1345
|
+
:param _host_index: set to override the host_index for a single
|
|
1346
|
+
request; this effectively ignores the host_index
|
|
1347
|
+
in the spec for a single request.
|
|
1348
|
+
:type _host_index: int, optional
|
|
1349
|
+
:return: Returns the result object.
|
|
1350
|
+
""" # noqa: E501
|
|
1351
|
+
|
|
1352
|
+
_param = self._list_trajectories_serialize(
|
|
1353
|
+
cell=cell,
|
|
1354
|
+
controller=controller,
|
|
1355
|
+
_request_auth=_request_auth,
|
|
1356
|
+
_content_type=_content_type,
|
|
1357
|
+
_headers=_headers,
|
|
1358
|
+
_host_index=_host_index
|
|
1359
|
+
)
|
|
1360
|
+
|
|
1361
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1362
|
+
'200': "ListTrajectoriesResponse",
|
|
1363
|
+
'400': "Error",
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
response_data = await self.api_client.call_api(
|
|
1367
|
+
*_param,
|
|
1368
|
+
_request_timeout=_request_timeout
|
|
1369
|
+
)
|
|
1370
|
+
await response_data.read()
|
|
1371
|
+
return self.api_client.response_deserialize(
|
|
1372
|
+
response_data=response_data,
|
|
1373
|
+
response_types_map=_response_types_map,
|
|
1374
|
+
)
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
@validate_call
|
|
1378
|
+
async def list_trajectories_without_preload_content(
|
|
1379
|
+
self,
|
|
1380
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1381
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
1382
|
+
_request_timeout: Union[
|
|
1383
|
+
None,
|
|
1384
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1385
|
+
Tuple[
|
|
1386
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1387
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1388
|
+
]
|
|
1389
|
+
] = None,
|
|
1390
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1391
|
+
_content_type: Optional[StrictStr] = None,
|
|
1392
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1393
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1394
|
+
) -> RESTResponseType:
|
|
1395
|
+
"""List Trajectories
|
|
1396
|
+
|
|
1397
|
+
List currently cached trajectories. Use [addTrajectory](addTrajectory) to add a new trajectory. Adding trajectories is necessary to execute them. Trajectories are removed if the corresponding motion group or controller disconnects.
|
|
1398
|
+
|
|
1399
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1400
|
+
:type cell: str
|
|
1401
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
1402
|
+
:type controller: str
|
|
1403
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1404
|
+
number provided, it will be total request
|
|
1405
|
+
timeout. It can also be a pair (tuple) of
|
|
1406
|
+
(connection, read) timeouts.
|
|
1407
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1408
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1409
|
+
request; this effectively ignores the
|
|
1410
|
+
authentication in the spec for a single request.
|
|
1411
|
+
:type _request_auth: dict, optional
|
|
1412
|
+
:param _content_type: force content-type for the request.
|
|
1413
|
+
:type _content_type: str, Optional
|
|
1414
|
+
:param _headers: set to override the headers for a single
|
|
1415
|
+
request; this effectively ignores the headers
|
|
1416
|
+
in the spec for a single request.
|
|
1417
|
+
:type _headers: dict, optional
|
|
1418
|
+
:param _host_index: set to override the host_index for a single
|
|
1419
|
+
request; this effectively ignores the host_index
|
|
1420
|
+
in the spec for a single request.
|
|
1421
|
+
:type _host_index: int, optional
|
|
1422
|
+
:return: Returns the result object.
|
|
1423
|
+
""" # noqa: E501
|
|
1424
|
+
|
|
1425
|
+
_param = self._list_trajectories_serialize(
|
|
1426
|
+
cell=cell,
|
|
1427
|
+
controller=controller,
|
|
1428
|
+
_request_auth=_request_auth,
|
|
1429
|
+
_content_type=_content_type,
|
|
1430
|
+
_headers=_headers,
|
|
1431
|
+
_host_index=_host_index
|
|
1432
|
+
)
|
|
1433
|
+
|
|
1434
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1435
|
+
'200': "ListTrajectoriesResponse",
|
|
1436
|
+
'400': "Error",
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
response_data = await self.api_client.call_api(
|
|
1440
|
+
*_param,
|
|
1441
|
+
_request_timeout=_request_timeout
|
|
1442
|
+
)
|
|
1443
|
+
return response_data.response
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
def _list_trajectories_serialize(
|
|
1447
|
+
self,
|
|
1448
|
+
cell,
|
|
1449
|
+
controller,
|
|
1450
|
+
_request_auth,
|
|
1451
|
+
_content_type,
|
|
1452
|
+
_headers,
|
|
1453
|
+
_host_index,
|
|
1454
|
+
) -> RequestSerialized:
|
|
1455
|
+
|
|
1456
|
+
_host = None
|
|
1457
|
+
|
|
1458
|
+
_collection_formats: Dict[str, str] = {
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
_path_params: Dict[str, str] = {}
|
|
1462
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1463
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1464
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1465
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1466
|
+
_body_params: Optional[bytes] = None
|
|
1467
|
+
|
|
1468
|
+
# process the path parameters
|
|
1469
|
+
if cell is not None:
|
|
1470
|
+
_path_params['cell'] = cell
|
|
1471
|
+
if controller is not None:
|
|
1472
|
+
_path_params['controller'] = controller
|
|
1473
|
+
# process the query parameters
|
|
1474
|
+
# process the header parameters
|
|
1475
|
+
# process the form parameters
|
|
1476
|
+
# process the body parameter
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
# set the HTTP header `Accept`
|
|
1480
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1481
|
+
[
|
|
1482
|
+
'application/json'
|
|
1483
|
+
]
|
|
1484
|
+
)
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
# authentication setting
|
|
1488
|
+
_auth_settings: List[str] = [
|
|
1489
|
+
'BasicAuth',
|
|
1490
|
+
'BearerAuth'
|
|
1491
|
+
]
|
|
1492
|
+
|
|
1493
|
+
return self.api_client.param_serialize(
|
|
1494
|
+
method='GET',
|
|
1495
|
+
resource_path='/cells/{cell}/controllers/{controller}/trajectories',
|
|
1496
|
+
path_params=_path_params,
|
|
1497
|
+
query_params=_query_params,
|
|
1498
|
+
header_params=_header_params,
|
|
1499
|
+
body=_body_params,
|
|
1500
|
+
post_params=_form_params,
|
|
1501
|
+
files=_files,
|
|
1502
|
+
auth_settings=_auth_settings,
|
|
1503
|
+
collection_formats=_collection_formats,
|
|
1504
|
+
_host=_host,
|
|
1505
|
+
_request_auth=_request_auth
|
|
1506
|
+
)
|
|
1507
|
+
|
|
1508
|
+
|