wandelbots-api-client 25.9.0.dev2__py3-none-any.whl → 25.10.0.dev47__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 +1 -1
- wandelbots_api_client/api/controller_api.py +9 -3
- wandelbots_api_client/api/controller_ios_api.py +2 -4
- wandelbots_api_client/api/motion_api.py +16 -4
- wandelbots_api_client/api/motion_group_infos_api.py +2 -0
- wandelbots_api_client/api/motion_group_jogging_api.py +10 -4
- wandelbots_api_client/api/store_collision_components_api.py +9 -6
- wandelbots_api_client/api/virtual_robot_behavior_api.py +5 -2
- wandelbots_api_client/api_client.py +1 -1
- wandelbots_api_client/configuration.py +1 -1
- wandelbots_api_client/models/abb_controller.py +4 -4
- wandelbots_api_client/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/models/activate_license_request.py +1 -1
- wandelbots_api_client/models/add_request.py +2 -2
- wandelbots_api_client/models/all_joint_positions_request.py +2 -2
- wandelbots_api_client/models/all_joint_positions_response.py +1 -1
- wandelbots_api_client/models/app.py +7 -7
- wandelbots_api_client/models/array_input.py +1 -1
- wandelbots_api_client/models/array_output.py +1 -1
- wandelbots_api_client/models/blending_auto.py +2 -2
- wandelbots_api_client/models/blending_position.py +2 -2
- wandelbots_api_client/models/box.py +4 -4
- wandelbots_api_client/models/box2.py +5 -5
- wandelbots_api_client/models/box3.py +5 -5
- wandelbots_api_client/models/capsule.py +2 -2
- wandelbots_api_client/models/capsule2.py +3 -3
- wandelbots_api_client/models/capsule3.py +3 -3
- wandelbots_api_client/models/capture.py +1 -1
- wandelbots_api_client/models/cell.py +3 -3
- wandelbots_api_client/models/circle.py +2 -2
- wandelbots_api_client/models/code_with_arguments.py +2 -2
- wandelbots_api_client/models/collider.py +3 -3
- wandelbots_api_client/models/collider_input.py +3 -3
- wandelbots_api_client/models/collider_output.py +3 -3
- wandelbots_api_client/models/collision.py +6 -6
- wandelbots_api_client/models/collision_contact.py +2 -2
- wandelbots_api_client/models/collision_motion_group.py +2 -2
- wandelbots_api_client/models/collision_motion_group_assembly.py +4 -4
- wandelbots_api_client/models/collision_robot_configuration_input.py +3 -3
- wandelbots_api_client/models/collision_robot_configuration_output.py +3 -3
- wandelbots_api_client/models/collision_scene.py +2 -2
- wandelbots_api_client/models/collision_scene_assembly.py +5 -5
- wandelbots_api_client/models/command.py +6 -6
- wandelbots_api_client/models/command_settings.py +3 -3
- wandelbots_api_client/models/compound.py +1 -1
- wandelbots_api_client/models/container_environment_inner.py +2 -2
- wandelbots_api_client/models/container_image.py +3 -3
- 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 +2 -2
- wandelbots_api_client/models/controller_capabilities.py +2 -2
- wandelbots_api_client/models/controller_instance.py +8 -8
- 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 +2 -2
- wandelbots_api_client/models/convex_hull3.py +2 -2
- wandelbots_api_client/models/coordinate_system.py +5 -5
- wandelbots_api_client/models/coordinate_systems.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 +2 -2
- wandelbots_api_client/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/models/cycle_time.py +1 -1
- wandelbots_api_client/models/cylinder.py +2 -2
- wandelbots_api_client/models/cylinder2.py +3 -3
- wandelbots_api_client/models/cylinder3.py +3 -3
- wandelbots_api_client/models/dh_parameter.py +5 -5
- wandelbots_api_client/models/direction_jogging_request.py +9 -9
- wandelbots_api_client/models/error.py +2 -2
- wandelbots_api_client/models/execution_result.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +4 -4
- wandelbots_api_client/models/fanuc_controller.py +2 -2
- wandelbots_api_client/models/feedback_collision.py +4 -4
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/feedback_out_of_workspace.py +2 -2
- wandelbots_api_client/models/feedback_singularity.py +3 -3
- wandelbots_api_client/models/flag.py +1 -1
- wandelbots_api_client/models/force_vector.py +3 -3
- wandelbots_api_client/models/geometry.py +11 -11
- 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 +3 -3
- wandelbots_api_client/models/info_service_capabilities.py +7 -7
- wandelbots_api_client/models/initialize_movement_request.py +5 -5
- wandelbots_api_client/models/initialize_movement_response.py +1 -1
- wandelbots_api_client/models/initialize_movement_response_init_response.py +2 -2
- wandelbots_api_client/models/io.py +5 -5
- wandelbots_api_client/models/io_description.py +9 -9
- wandelbots_api_client/models/io_value.py +4 -4
- wandelbots_api_client/models/ios.py +1 -1
- wandelbots_api_client/models/jogging_response.py +3 -3
- wandelbots_api_client/models/jogging_service_capabilities.py +2 -2
- wandelbots_api_client/models/joint_jogging_request.py +5 -5
- wandelbots_api_client/models/joint_limit.py +4 -4
- wandelbots_api_client/models/joint_limit_exceeded.py +2 -2
- wandelbots_api_client/models/joint_position_request.py +3 -3
- wandelbots_api_client/models/joint_trajectory.py +3 -3
- wandelbots_api_client/models/joints.py +1 -1
- wandelbots_api_client/models/kinematic_service_capabilities.py +3 -3
- wandelbots_api_client/models/kuka_controller.py +5 -5
- wandelbots_api_client/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/models/license.py +10 -10
- wandelbots_api_client/models/license_status.py +2 -2
- wandelbots_api_client/models/limit_settings.py +12 -12
- wandelbots_api_client/models/limits_override.py +6 -6
- 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/mode_change_response.py +4 -4
- wandelbots_api_client/models/motion_command.py +3 -3
- wandelbots_api_client/models/motion_group_behavior_getter.py +1 -1
- wandelbots_api_client/models/motion_group_info.py +3 -3
- wandelbots_api_client/models/motion_group_infos.py +1 -1
- wandelbots_api_client/models/motion_group_instance.py +5 -5
- wandelbots_api_client/models/motion_group_instance_list.py +1 -1
- wandelbots_api_client/models/motion_group_joints.py +4 -4
- wandelbots_api_client/models/motion_group_physical.py +5 -5
- wandelbots_api_client/models/motion_group_specification.py +2 -2
- wandelbots_api_client/models/motion_group_state.py +12 -12
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/models/motion_group_state_response.py +2 -2
- 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 +3 -3
- wandelbots_api_client/models/mounting.py +2 -2
- wandelbots_api_client/models/move_request.py +8 -8
- wandelbots_api_client/models/move_response.py +2 -2
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +4 -4
- 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 +3 -3
- wandelbots_api_client/models/op_mode.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +3 -3
- wandelbots_api_client/models/optimizer_setup.py +7 -7
- 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 +2 -2
- wandelbots_api_client/models/path_circle.py +3 -3
- wandelbots_api_client/models/path_cubic_spline.py +2 -2
- wandelbots_api_client/models/path_joint_ptp.py +2 -2
- wandelbots_api_client/models/path_line.py +2 -2
- wandelbots_api_client/models/pause_movement_request.py +2 -2
- wandelbots_api_client/models/pause_movement_response.py +1 -1
- wandelbots_api_client/models/pause_movement_response_pause_response.py +2 -2
- wandelbots_api_client/models/pause_on_io.py +2 -2
- wandelbots_api_client/models/payload.py +4 -4
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +5 -5
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +9 -9
- wandelbots_api_client/models/plan_failed_response.py +7 -7
- wandelbots_api_client/models/plan_request.py +5 -5
- wandelbots_api_client/models/plan_response.py +3 -3
- wandelbots_api_client/models/plan_successful_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_failed_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/models/plan_trajectory_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 +5 -5
- wandelbots_api_client/models/planner_pose.py +2 -2
- wandelbots_api_client/models/planning_limits.py +12 -12
- wandelbots_api_client/models/planning_limits_limit_range.py +2 -2
- wandelbots_api_client/models/playback_speed_request.py +2 -2
- 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 +3 -3
- wandelbots_api_client/models/pose2.py +2 -2
- wandelbots_api_client/models/program_metadata.py +6 -6
- wandelbots_api_client/models/program_run.py +10 -10
- wandelbots_api_client/models/program_run_object.py +6 -6
- wandelbots_api_client/models/program_runner_reference.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +2 -2
- 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 +4 -4
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +6 -6
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +2 -2
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +2 -2
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +2 -2
- wandelbots_api_client/models/quaternion.py +4 -4
- wandelbots_api_client/models/recipe_metadata.py +7 -7
- wandelbots_api_client/models/rectangle.py +2 -2
- wandelbots_api_client/models/rectangle2.py +3 -3
- wandelbots_api_client/models/rectangle3.py +3 -3
- wandelbots_api_client/models/rectangular_capsule.py +3 -3
- wandelbots_api_client/models/rectangular_capsule2.py +4 -4
- wandelbots_api_client/models/rectangular_capsule3.py +4 -4
- wandelbots_api_client/models/robot_controller.py +2 -2
- wandelbots_api_client/models/robot_controller_state.py +7 -7
- wandelbots_api_client/models/robot_link_geometry.py +2 -2
- wandelbots_api_client/models/robot_state.py +2 -2
- wandelbots_api_client/models/robot_tcp.py +4 -4
- wandelbots_api_client/models/robot_tcps.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +2 -2
- wandelbots_api_client/models/safety_configuration.py +5 -5
- wandelbots_api_client/models/safety_setup.py +4 -4
- wandelbots_api_client/models/safety_setup_safety_settings.py +2 -2
- wandelbots_api_client/models/safety_setup_safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone.py +3 -3
- wandelbots_api_client/models/safety_zone_limits.py +2 -2
- wandelbots_api_client/models/safety_zone_violation.py +1 -1
- wandelbots_api_client/models/service_status.py +2 -2
- wandelbots_api_client/models/service_status_status.py +3 -3
- wandelbots_api_client/models/set_io.py +2 -2
- wandelbots_api_client/models/set_playback_speed.py +2 -2
- wandelbots_api_client/models/single_joint_limit.py +2 -2
- wandelbots_api_client/models/singularity.py +2 -2
- wandelbots_api_client/models/sphere.py +1 -1
- wandelbots_api_client/models/sphere2.py +2 -2
- wandelbots_api_client/models/sphere3.py +2 -2
- wandelbots_api_client/models/standstill.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +3 -3
- wandelbots_api_client/models/start_movement_request.py +5 -5
- wandelbots_api_client/models/start_on_io.py +2 -2
- wandelbots_api_client/models/status.py +3 -3
- wandelbots_api_client/models/stop_response.py +3 -3
- 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_response.py +3 -3
- 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 +4 -4
- wandelbots_api_client/models/tcp_pose_request.py +4 -4
- wandelbots_api_client/models/tool_geometry.py +2 -2
- wandelbots_api_client/models/trajectory_sample.py +11 -11
- wandelbots_api_client/models/trigger_object.py +8 -8
- wandelbots_api_client/models/universalrobots_controller.py +2 -2
- wandelbots_api_client/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/models/update_program_metadata_request.py +3 -3
- wandelbots_api_client/models/update_recipe_metadata_request.py +3 -3
- wandelbots_api_client/models/update_trigger_request.py +3 -3
- wandelbots_api_client/models/validation_error.py +3 -3
- wandelbots_api_client/models/validation_error2.py +3 -3
- wandelbots_api_client/models/vector3d.py +3 -3
- wandelbots_api_client/models/version_number.py +8 -8
- wandelbots_api_client/models/virtual_controller.py +5 -5
- wandelbots_api_client/models/virtual_controller_types.py +3 -0
- wandelbots_api_client/models/virtual_robot_configuration.py +2 -2
- wandelbots_api_client/models/yaskawa_controller.py +2 -2
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/application_api.py +9 -9
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +928 -79
- wandelbots_api_client/v2/api/cell_api.py +6 -6
- wandelbots_api_client/v2/api/controller_api.py +33 -29
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +12 -10
- wandelbots_api_client/v2/api/jogging_api.py +6 -3
- wandelbots_api_client/v2/api/kinematics_api.py +12 -13
- wandelbots_api_client/v2/api/license_api.py +6 -6
- wandelbots_api_client/v2/api/motion_group_api.py +8 -6
- wandelbots_api_client/v2/api/motion_group_models_api.py +11 -47
- wandelbots_api_client/v2/api/store_collision_components_api.py +799 -25
- wandelbots_api_client/v2/api/store_collision_setups_api.py +262 -4
- wandelbots_api_client/v2/api/store_object_api.py +9 -9
- wandelbots_api_client/v2/api/trajectory_caching_api.py +12 -12
- wandelbots_api_client/v2/api/trajectory_execution_api.py +6 -3
- wandelbots_api_client/v2/api/trajectory_planning_api.py +15 -16
- wandelbots_api_client/v2/api/virtual_controller_api.py +51 -36
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +18 -9
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +3 -3
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +44 -26
- wandelbots_api_client/v2/models/abb_controller.py +6 -9
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/v2/models/activate_license_request.py +1 -1
- wandelbots_api_client/v2/models/add_trajectory_error.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +56 -56
- wandelbots_api_client/v2/models/add_trajectory_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/app.py +9 -9
- wandelbots_api_client/v2/models/behavior.py +1 -1
- wandelbots_api_client/v2/models/blending_auto.py +4 -3
- wandelbots_api_client/v2/models/blending_position.py +2 -2
- wandelbots_api_client/v2/models/boolean_value.py +4 -7
- wandelbots_api_client/v2/models/box.py +5 -5
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +14 -14
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +6 -9
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +3 -3
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +3 -3
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +3 -6
- wandelbots_api_client/v2/models/bus_io_type.py +80 -8
- wandelbots_api_client/v2/models/bus_ios_state.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +3 -3
- wandelbots_api_client/v2/models/cartesian_limits.py +4 -4
- wandelbots_api_client/v2/models/cell.py +5 -5
- wandelbots_api_client/v2/models/collider.py +3 -3
- wandelbots_api_client/v2/models/collision.py +6 -6
- wandelbots_api_client/v2/models/collision_contact.py +2 -2
- wandelbots_api_client/v2/models/collision_error.py +1 -1
- wandelbots_api_client/v2/models/collision_setup.py +4 -4
- 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 +1 -1
- wandelbots_api_client/v2/models/configuration_resource.py +3 -3
- wandelbots_api_client/v2/models/container_environment_inner.py +2 -2
- wandelbots_api_client/v2/models/container_image.py +3 -3
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +1 -1
- 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 +4 -4
- wandelbots_api_client/v2/models/convex_hull.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system.py +6 -6
- wandelbots_api_client/v2/models/coordinate_system_data.py +5 -5
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/v2/models/cycle_time.py +3 -2
- wandelbots_api_client/v2/models/cylinder.py +3 -3
- wandelbots_api_client/v2/models/dh_parameter.py +5 -5
- wandelbots_api_client/v2/models/error.py +2 -2
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +3 -3
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +4 -3
- wandelbots_api_client/v2/models/error_joint_position_collision.py +4 -4
- 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_jogging_request.py +28 -0
- wandelbots_api_client/v2/models/execute_jogging_response.py +25 -0
- wandelbots_api_client/v2/models/execute_trajectory_request.py +28 -0
- wandelbots_api_client/v2/models/execute_trajectory_response.py +25 -0
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/v2/models/external_joint_stream_request.py +1 -1
- wandelbots_api_client/v2/models/fanuc_controller.py +4 -7
- wandelbots_api_client/v2/models/feedback_collision.py +4 -4
- 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 +3 -3
- wandelbots_api_client/v2/models/flag.py +1 -1
- wandelbots_api_client/v2/models/float_value.py +4 -7
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +1 -1
- wandelbots_api_client/v2/models/forward_kinematics_request.py +4 -4
- wandelbots_api_client/v2/models/forward_kinematics_response.py +1 -1
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +5 -5
- wandelbots_api_client/v2/models/get_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/http_validation_error.py +1 -1
- wandelbots_api_client/v2/models/image_credentials.py +3 -3
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +7 -7
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +7 -7
- wandelbots_api_client/v2/models/initialize_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/initialize_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request.py +5 -8
- wandelbots_api_client/v2/models/initialize_movement_response.py +3 -3
- wandelbots_api_client/v2/models/integer_value.py +4 -7
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +7 -7
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +6 -6
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +1 -1
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +1 -1
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +5 -5
- wandelbots_api_client/v2/models/io_boolean_value.py +5 -8
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +8 -8
- wandelbots_api_client/v2/models/io_description.py +11 -11
- wandelbots_api_client/v2/models/io_float_value.py +5 -8
- wandelbots_api_client/v2/models/io_integer_value.py +5 -8
- wandelbots_api_client/v2/models/jogging_details.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +1 -1
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +4 -3
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +1 -1
- wandelbots_api_client/v2/models/jogging_running.py +1 -1
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +5 -5
- wandelbots_api_client/v2/models/joint_limits.py +4 -4
- wandelbots_api_client/v2/models/joint_trajectory.py +3 -3
- wandelbots_api_client/v2/models/joint_velocity_request.py +4 -7
- wandelbots_api_client/v2/models/joint_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller.py +6 -9
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/v2/models/license.py +10 -10
- wandelbots_api_client/v2/models/license_status.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +2 -2
- wandelbots_api_client/v2/models/limit_set.py +5 -5
- wandelbots_api_client/v2/models/limits_override.py +6 -6
- wandelbots_api_client/v2/models/list_trajectories_response.py +1 -1
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +2 -2
- wandelbots_api_client/v2/models/modbus_io.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
- wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +21 -26
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +3 -3
- wandelbots_api_client/v2/models/motion_group_description.py +12 -11
- wandelbots_api_client/v2/models/motion_group_info.py +5 -4
- wandelbots_api_client/v2/models/motion_group_joints.py +4 -4
- wandelbots_api_client/v2/models/motion_group_setup.py +9 -8
- wandelbots_api_client/v2/models/motion_group_state.py +16 -15
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/v2/models/movement_error_response.py +2 -2
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +7 -7
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +4 -4
- wandelbots_api_client/v2/models/op_mode.py +1 -1
- wandelbots_api_client/v2/models/operation_limits.py +4 -4
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_circle.py +3 -3
- 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 +3 -6
- wandelbots_api_client/v2/models/pause_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_request.py +3 -6
- wandelbots_api_client/v2/models/pause_movement_response.py +2 -2
- wandelbots_api_client/v2/models/pause_on_io.py +3 -3
- wandelbots_api_client/v2/models/payload.py +4 -4
- wandelbots_api_client/v2/models/plan422_response.py +1 -1
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +1 -1
- wandelbots_api_client/v2/models/plan_collision_free_request.py +4 -4
- wandelbots_api_client/v2/models/plan_collision_free_response.py +1 -1
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_request.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response.py +1 -1
- wandelbots_api_client/v2/models/plan_validation_error.py +5 -5
- wandelbots_api_client/v2/models/plane.py +1 -1
- wandelbots_api_client/v2/models/playback_speed_request.py +6 -8
- 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 +5 -5
- wandelbots_api_client/v2/models/profinet_input_output_config.py +3 -3
- wandelbots_api_client/v2/models/profinet_io.py +6 -6
- wandelbots_api_client/v2/models/profinet_io_data.py +5 -5
- wandelbots_api_client/v2/models/profinet_io_direction.py +1 -1
- wandelbots_api_client/v2/models/profinet_slot_description.py +4 -4
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +3 -3
- wandelbots_api_client/v2/models/program.py +6 -6
- wandelbots_api_client/v2/models/program_run.py +14 -12
- wandelbots_api_client/v2/models/program_start_request.py +1 -1
- wandelbots_api_client/v2/models/rectangle.py +3 -3
- wandelbots_api_client/v2/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/v2/models/robot_controller.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +11 -10
- wandelbots_api_client/v2/models/robot_tcp.py +5 -5
- wandelbots_api_client/v2/models/robot_tcp_data.py +4 -4
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +6 -6
- wandelbots_api_client/v2/models/service_status.py +3 -3
- wandelbots_api_client/v2/models/service_status_response.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +3 -3
- wandelbots_api_client/v2/models/set_io.py +3 -3
- wandelbots_api_client/v2/models/sphere.py +2 -2
- wandelbots_api_client/v2/models/start_movement_request.py +7 -10
- wandelbots_api_client/v2/models/start_movement_response.py +2 -2
- wandelbots_api_client/v2/models/start_on_io.py +3 -3
- 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.py → tcp_required_error.py} +4 -4
- wandelbots_api_client/v2/models/tcp_velocity_request.py +5 -8
- wandelbots_api_client/v2/models/tcp_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +6 -6
- wandelbots_api_client/v2/models/trajectory_data.py +5 -5
- wandelbots_api_client/v2/models/trajectory_details.py +4 -4
- wandelbots_api_client/v2/models/trajectory_ended.py +1 -1
- wandelbots_api_client/v2/models/trajectory_id.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +1 -1
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +1 -1
- wandelbots_api_client/v2/models/trajectory_running.py +4 -3
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +1 -1
- wandelbots_api_client/v2/models/universalrobots_controller.py +4 -7
- wandelbots_api_client/v2/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/v2/models/validation_error.py +4 -4
- wandelbots_api_client/v2/models/validation_error2.py +3 -3
- wandelbots_api_client/v2/models/virtual_controller.py +6 -9
- wandelbots_api_client/v2/models/virtual_controller_types.py +3 -0
- 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 +4 -7
- wandelbots_api_client/v2_pydantic/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +49 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1822 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4652 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2025 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3758 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1408 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +126 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +649 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1074 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +740 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +570 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1200 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4216 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1435 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1738 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2454 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1524 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +126 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +649 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4656 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +1001 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1022 -0
- wandelbots_api_client/v2_pydantic/api_client.py +810 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +595 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4547 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +212 -0
- {wandelbots_api_client-25.9.0.dev2.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/METADATA +16 -15
- wandelbots_api_client-25.10.0.dev47.dist-info/RECORD +636 -0
- wandelbots_api_client-25.9.0.dev2.dist-info/RECORD +0 -597
- {wandelbots_api_client-25.9.0.dev2.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.9.0.dev2.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.9.0.dev2.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/top_level.txt +0 -0
|
@@ -17,8 +17,9 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
21
21
|
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing_extensions import Annotated
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -26,7 +27,7 @@ class CycleTime(BaseModel):
|
|
|
26
27
|
"""
|
|
27
28
|
CycleTime
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
cycle_time_ms:
|
|
30
|
+
cycle_time_ms: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="Cycle time of controller communication in [ms].")
|
|
30
31
|
__properties: ClassVar[List[str]] = ["cycle_time_ms"]
|
|
31
32
|
|
|
32
33
|
model_config = ConfigDict(
|
|
@@ -26,9 +26,9 @@ class Cylinder(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
Defines a cylindrical shape. Centred around origin, symmetric around z-axis. If a margin is applied, it is added to radius and height. The shape will keep its edges.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
shape_type:
|
|
30
|
-
radius: Union[StrictFloat, StrictInt] = Field(description="The radius of the cylinder in [mm].")
|
|
31
|
-
height: Union[StrictFloat, StrictInt] = Field(description="The height of the cylinder in [mm].")
|
|
29
|
+
shape_type: str = "cylinder"
|
|
30
|
+
radius: Union[StrictFloat, StrictInt] = Field(description="The radius of the cylinder in [mm].")
|
|
31
|
+
height: Union[StrictFloat, StrictInt] = Field(description="The height of the cylinder in [mm].")
|
|
32
32
|
__properties: ClassVar[List[str]] = ["shape_type", "radius", "height"]
|
|
33
33
|
|
|
34
34
|
@field_validator('shape_type')
|
|
@@ -26,11 +26,11 @@ class DHParameter(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
A single set of DH parameters.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
alpha: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Angle about x-axis in [rad].")
|
|
30
|
-
theta: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Angle about z-axis in [rad].")
|
|
31
|
-
a: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Offset along x-axis in [mm].")
|
|
32
|
-
d: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Offset along z-axis in [mm].")
|
|
33
|
-
reverse_rotation_direction: Optional[StrictBool] = Field(default=None, description="True, if rotation direction of joint is reversed.")
|
|
29
|
+
alpha: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Angle about x-axis in [rad].")
|
|
30
|
+
theta: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Angle about z-axis in [rad].")
|
|
31
|
+
a: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Offset along x-axis in [mm].")
|
|
32
|
+
d: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Offset along z-axis in [mm].")
|
|
33
|
+
reverse_rotation_direction: Optional[StrictBool] = Field(default=None, description="True, if rotation direction of joint is reversed.")
|
|
34
34
|
__properties: ClassVar[List[str]] = ["alpha", "theta", "a", "d", "reverse_rotation_direction"]
|
|
35
35
|
|
|
36
36
|
model_config = ConfigDict(
|
|
@@ -26,8 +26,8 @@ class Error(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
Error
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
code: Optional[StrictStr] = None
|
|
30
|
-
message: StrictStr
|
|
29
|
+
code: Optional[StrictStr] = None
|
|
30
|
+
message: StrictStr
|
|
31
31
|
__properties: ClassVar[List[str]] = ["code", "message"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -26,9 +26,9 @@ class ErrorInvalidJointCount(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
The provided joint data does not match the expected number of joints for this motion group.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
expected_joint_count: StrictInt = Field(description="The expected number of joints for this motion group. ")
|
|
30
|
-
provided_joint_count: StrictInt = Field(description="The number of provided joints. ")
|
|
31
|
-
error_feedback_name:
|
|
29
|
+
expected_joint_count: StrictInt = Field(description="The expected number of joints for this motion group. ")
|
|
30
|
+
provided_joint_count: StrictInt = Field(description="The number of provided joints. ")
|
|
31
|
+
error_feedback_name: str = "ErrorInvalidJointCount"
|
|
32
32
|
__properties: ClassVar[List[str]] = ["expected_joint_count", "provided_joint_count", "error_feedback_name"]
|
|
33
33
|
|
|
34
34
|
@field_validator('error_feedback_name')
|
|
@@ -19,6 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -26,9 +27,9 @@ class ErrorJointLimitExceeded(BaseModel):
|
|
|
26
27
|
"""
|
|
27
28
|
A reference joint position (start or target) exceeds the configured joint limits.
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
joint_index: Optional[
|
|
30
|
-
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
31
|
-
error_feedback_name:
|
|
30
|
+
joint_index: Optional[Annotated[int, Field(le=2147483647, strict=True, ge=0)]] = Field(default=None, description="Index of the joint exceeding its limits (0-based). ")
|
|
31
|
+
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
+
error_feedback_name: str = "ErrorJointLimitExceeded"
|
|
32
33
|
__properties: ClassVar[List[str]] = ["joint_index", "joint_position", "error_feedback_name"]
|
|
33
34
|
|
|
34
35
|
@field_validator('error_feedback_name')
|
|
@@ -25,11 +25,11 @@ from typing_extensions import Self
|
|
|
25
25
|
|
|
26
26
|
class ErrorJointPositionCollision(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
A reference joint position
|
|
28
|
+
A reference joint position, e.g., start or target joint position, results in collisions that prevent processing.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
collisions: Optional[List[Collision]] = None
|
|
31
|
-
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
-
error_feedback_name:
|
|
30
|
+
collisions: Optional[List[Collision]] = None
|
|
31
|
+
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
+
error_feedback_name: str = "ErrorJointPositionCollision"
|
|
33
33
|
__properties: ClassVar[List[str]] = ["collisions", "joint_position", "error_feedback_name"]
|
|
34
34
|
|
|
35
35
|
@field_validator('error_feedback_name')
|
|
@@ -26,8 +26,8 @@ class ErrorMaxIterationsExceeded(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
The collision-free planning algorithm reached its maximum iteration limit without finding a valid path. Increase max_iterations or modify the start/target positions.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
max_iterations: Optional[StrictInt] = Field(default=None, description="The maximum number of iterations that was reached. ")
|
|
30
|
-
error_feedback_name:
|
|
29
|
+
max_iterations: Optional[StrictInt] = Field(default=None, description="The maximum number of iterations that was reached. ")
|
|
30
|
+
error_feedback_name: str = "ErrorMaxIterationsExceeded"
|
|
31
31
|
__properties: ClassVar[List[str]] = ["max_iterations", "error_feedback_name"]
|
|
32
32
|
|
|
33
33
|
@field_validator('error_feedback_name')
|
|
@@ -27,8 +27,8 @@ class Execute(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
Details about the state of the motion execution. The details are either for a jogging or a trajectory. If NOVA is not controlling this motion group at the moment, this field is omitted.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
joint_position: List[Union[StrictFloat, StrictInt]] = Field(description="Commanded joint position of each joint in [rad]. This command was sent in the time step the corresponding state was received. ")
|
|
31
|
-
details: Optional[ExecuteDetails] = None
|
|
30
|
+
joint_position: List[Union[StrictFloat, StrictInt]] = Field(description="Commanded joint position of each joint in [rad]. This command was sent in the time step the corresponding state was received. ")
|
|
31
|
+
details: Optional[ExecuteDetails] = None
|
|
32
32
|
__properties: ClassVar[List[str]] = ["joint_position", "details"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -48,6 +48,9 @@ class ExecuteJoggingRequest(BaseModel):
|
|
|
48
48
|
)
|
|
49
49
|
|
|
50
50
|
|
|
51
|
+
discriminator_value_class_map: Dict[str, str] = {
|
|
52
|
+
}
|
|
53
|
+
|
|
51
54
|
def __init__(self, *args, **kwargs) -> None:
|
|
52
55
|
if args:
|
|
53
56
|
if len(args) > 1:
|
|
@@ -103,6 +106,31 @@ class ExecuteJoggingRequest(BaseModel):
|
|
|
103
106
|
error_messages = []
|
|
104
107
|
match = 0
|
|
105
108
|
|
|
109
|
+
# use oneOf discriminator to lookup the data type
|
|
110
|
+
_data_type = json.loads(json_str).get("message_type")
|
|
111
|
+
if not _data_type:
|
|
112
|
+
raise ValueError("Failed to lookup data type from the field `message_type` in the input.")
|
|
113
|
+
|
|
114
|
+
# check if data type is `InitializeJoggingRequest`
|
|
115
|
+
if _data_type == "InitializeJoggingRequest":
|
|
116
|
+
instance.actual_instance = InitializeJoggingRequest.from_json(json_str)
|
|
117
|
+
return instance
|
|
118
|
+
|
|
119
|
+
# check if data type is `JointVelocityRequest`
|
|
120
|
+
if _data_type == "JointVelocityRequest":
|
|
121
|
+
instance.actual_instance = JointVelocityRequest.from_json(json_str)
|
|
122
|
+
return instance
|
|
123
|
+
|
|
124
|
+
# check if data type is `PauseJoggingRequest`
|
|
125
|
+
if _data_type == "PauseJoggingRequest":
|
|
126
|
+
instance.actual_instance = PauseJoggingRequest.from_json(json_str)
|
|
127
|
+
return instance
|
|
128
|
+
|
|
129
|
+
# check if data type is `TcpVelocityRequest`
|
|
130
|
+
if _data_type == "TcpVelocityRequest":
|
|
131
|
+
instance.actual_instance = TcpVelocityRequest.from_json(json_str)
|
|
132
|
+
return instance
|
|
133
|
+
|
|
106
134
|
# deserialize data into InitializeJoggingRequest
|
|
107
135
|
try:
|
|
108
136
|
instance.actual_instance = InitializeJoggingRequest.from_json(json_str)
|
|
@@ -119,6 +119,31 @@ class ExecuteJoggingResponse(BaseModel):
|
|
|
119
119
|
if not _data_type:
|
|
120
120
|
raise ValueError("Failed to lookup data type from the field `kind` in the input.")
|
|
121
121
|
|
|
122
|
+
# check if data type is `InitializeJoggingResponse`
|
|
123
|
+
if _data_type == "INITIALIZE_RECEIVED":
|
|
124
|
+
instance.actual_instance = InitializeJoggingResponse.from_json(json_str)
|
|
125
|
+
return instance
|
|
126
|
+
|
|
127
|
+
# check if data type is `JointVelocityResponse`
|
|
128
|
+
if _data_type == "JOINT_VELOCITY_RECEIVED":
|
|
129
|
+
instance.actual_instance = JointVelocityResponse.from_json(json_str)
|
|
130
|
+
return instance
|
|
131
|
+
|
|
132
|
+
# check if data type is `MovementErrorResponse`
|
|
133
|
+
if _data_type == "MOTION_ERROR":
|
|
134
|
+
instance.actual_instance = MovementErrorResponse.from_json(json_str)
|
|
135
|
+
return instance
|
|
136
|
+
|
|
137
|
+
# check if data type is `PauseJoggingResponse`
|
|
138
|
+
if _data_type == "PAUSE_RECEIVED":
|
|
139
|
+
instance.actual_instance = PauseJoggingResponse.from_json(json_str)
|
|
140
|
+
return instance
|
|
141
|
+
|
|
142
|
+
# check if data type is `TcpVelocityResponse`
|
|
143
|
+
if _data_type == "TCP_VELOCITY_RECEIVED":
|
|
144
|
+
instance.actual_instance = TcpVelocityResponse.from_json(json_str)
|
|
145
|
+
return instance
|
|
146
|
+
|
|
122
147
|
# check if data type is `InitializeJoggingResponse`
|
|
123
148
|
if _data_type == "InitializeJoggingResponse":
|
|
124
149
|
instance.actual_instance = InitializeJoggingResponse.from_json(json_str)
|
|
@@ -48,6 +48,9 @@ class ExecuteTrajectoryRequest(BaseModel):
|
|
|
48
48
|
)
|
|
49
49
|
|
|
50
50
|
|
|
51
|
+
discriminator_value_class_map: Dict[str, str] = {
|
|
52
|
+
}
|
|
53
|
+
|
|
51
54
|
def __init__(self, *args, **kwargs) -> None:
|
|
52
55
|
if args:
|
|
53
56
|
if len(args) > 1:
|
|
@@ -103,6 +106,31 @@ class ExecuteTrajectoryRequest(BaseModel):
|
|
|
103
106
|
error_messages = []
|
|
104
107
|
match = 0
|
|
105
108
|
|
|
109
|
+
# use oneOf discriminator to lookup the data type
|
|
110
|
+
_data_type = json.loads(json_str).get("message_type")
|
|
111
|
+
if not _data_type:
|
|
112
|
+
raise ValueError("Failed to lookup data type from the field `message_type` in the input.")
|
|
113
|
+
|
|
114
|
+
# check if data type is `InitializeMovementRequest`
|
|
115
|
+
if _data_type == "InitializeMovementRequest":
|
|
116
|
+
instance.actual_instance = InitializeMovementRequest.from_json(json_str)
|
|
117
|
+
return instance
|
|
118
|
+
|
|
119
|
+
# check if data type is `PauseMovementRequest`
|
|
120
|
+
if _data_type == "PauseMovementRequest":
|
|
121
|
+
instance.actual_instance = PauseMovementRequest.from_json(json_str)
|
|
122
|
+
return instance
|
|
123
|
+
|
|
124
|
+
# check if data type is `PlaybackSpeedRequest`
|
|
125
|
+
if _data_type == "PlaybackSpeedRequest":
|
|
126
|
+
instance.actual_instance = PlaybackSpeedRequest.from_json(json_str)
|
|
127
|
+
return instance
|
|
128
|
+
|
|
129
|
+
# check if data type is `StartMovementRequest`
|
|
130
|
+
if _data_type == "StartMovementRequest":
|
|
131
|
+
instance.actual_instance = StartMovementRequest.from_json(json_str)
|
|
132
|
+
return instance
|
|
133
|
+
|
|
106
134
|
# deserialize data into InitializeMovementRequest
|
|
107
135
|
try:
|
|
108
136
|
instance.actual_instance = InitializeMovementRequest.from_json(json_str)
|
|
@@ -119,6 +119,31 @@ class ExecuteTrajectoryResponse(BaseModel):
|
|
|
119
119
|
if not _data_type:
|
|
120
120
|
raise ValueError("Failed to lookup data type from the field `kind` in the input.")
|
|
121
121
|
|
|
122
|
+
# check if data type is `InitializeMovementResponse`
|
|
123
|
+
if _data_type == "INITIALIZE_RECEIVED":
|
|
124
|
+
instance.actual_instance = InitializeMovementResponse.from_json(json_str)
|
|
125
|
+
return instance
|
|
126
|
+
|
|
127
|
+
# check if data type is `MovementErrorResponse`
|
|
128
|
+
if _data_type == "MOTION_ERROR":
|
|
129
|
+
instance.actual_instance = MovementErrorResponse.from_json(json_str)
|
|
130
|
+
return instance
|
|
131
|
+
|
|
132
|
+
# check if data type is `PauseMovementResponse`
|
|
133
|
+
if _data_type == "PAUSE_RECEIVED":
|
|
134
|
+
instance.actual_instance = PauseMovementResponse.from_json(json_str)
|
|
135
|
+
return instance
|
|
136
|
+
|
|
137
|
+
# check if data type is `PlaybackSpeedResponse`
|
|
138
|
+
if _data_type == "PLAYBACK_SPEED_RECEIVED":
|
|
139
|
+
instance.actual_instance = PlaybackSpeedResponse.from_json(json_str)
|
|
140
|
+
return instance
|
|
141
|
+
|
|
142
|
+
# check if data type is `StartMovementResponse`
|
|
143
|
+
if _data_type == "START_RECEIVED":
|
|
144
|
+
instance.actual_instance = StartMovementResponse.from_json(json_str)
|
|
145
|
+
return instance
|
|
146
|
+
|
|
122
147
|
# check if data type is `InitializeMovementResponse`
|
|
123
148
|
if _data_type == "InitializeMovementResponse":
|
|
124
149
|
instance.actual_instance = InitializeMovementResponse.from_json(json_str)
|
|
@@ -27,8 +27,8 @@ class ExternalJointStreamDatapoint(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
A datapoint inside external joint stream.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
motion_group: StrictStr = Field(description="The unique identifier of the motion group. ")
|
|
31
|
-
value: MotionGroupJoints
|
|
30
|
+
motion_group: StrictStr = Field(description="The unique identifier of the motion group. ")
|
|
31
|
+
value: MotionGroupJoints
|
|
32
32
|
__properties: ClassVar[List[str]] = ["motion_group", "value"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -27,7 +27,7 @@ class ExternalJointStreamRequest(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
ExternalJointStreamRequest
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
states: List[ExternalJointStreamDatapoint]
|
|
30
|
+
states: List[ExternalJointStreamDatapoint]
|
|
31
31
|
__properties: ClassVar[List[str]] = ["states"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
@@ -26,16 +26,13 @@ class FanucController(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
The configuration of a physical FANUC robot controller has to contain IP address of the controller.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
kind:
|
|
30
|
-
controller_ip: StrictStr
|
|
29
|
+
kind: str = "FanucController"
|
|
30
|
+
controller_ip: StrictStr
|
|
31
31
|
__properties: ClassVar[List[str]] = ["kind", "controller_ip"]
|
|
32
32
|
|
|
33
33
|
@field_validator('kind')
|
|
34
34
|
def kind_validate_enum(cls, value):
|
|
35
35
|
"""Validates the enum"""
|
|
36
|
-
if value is None:
|
|
37
|
-
return value
|
|
38
|
-
|
|
39
36
|
if value not in set(['FanucController']):
|
|
40
37
|
raise ValueError("must be one of enum values ('FanucController')")
|
|
41
38
|
return value
|
|
@@ -95,7 +92,7 @@ class FanucController(BaseModel):
|
|
|
95
92
|
return cls.model_validate(obj)
|
|
96
93
|
|
|
97
94
|
_obj = cls.model_validate({
|
|
98
|
-
"kind": obj.get("kind")
|
|
95
|
+
"kind": obj.get("kind"),
|
|
99
96
|
"controller_ip": obj.get("controller_ip")
|
|
100
97
|
})
|
|
101
98
|
return _obj
|
|
@@ -28,10 +28,10 @@ class FeedbackCollision(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
FeedbackCollision
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
collisions: Optional[List[Collision]] = None
|
|
32
|
-
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
33
|
-
tcp_pose: Optional[Pose] = None
|
|
34
|
-
error_feedback_name:
|
|
31
|
+
collisions: Optional[List[Collision]] = None
|
|
32
|
+
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
33
|
+
tcp_pose: Optional[Pose] = None
|
|
34
|
+
error_feedback_name: str = "FeedbackCollision"
|
|
35
35
|
__properties: ClassVar[List[str]] = ["collisions", "joint_position", "tcp_pose", "error_feedback_name"]
|
|
36
36
|
|
|
37
37
|
@field_validator('error_feedback_name')
|
|
@@ -17,8 +17,9 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr, field_validator
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -26,9 +27,9 @@ class FeedbackJointLimitExceeded(BaseModel):
|
|
|
26
27
|
"""
|
|
27
28
|
This error is returned when a joint position limit is exceeded. The joint index denotes which joint is out of its limits, starting with 1 and followed by the full joint position.
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
joint_index: Optional[
|
|
30
|
-
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
31
|
-
error_feedback_name:
|
|
30
|
+
joint_index: Optional[Annotated[int, Field(le=2147483647, strict=True, ge=0)]] = None
|
|
31
|
+
joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
+
error_feedback_name: str = "FeedbackJointLimitExceeded"
|
|
32
33
|
__properties: ClassVar[List[str]] = ["joint_index", "joint_position", "error_feedback_name"]
|
|
33
34
|
|
|
34
35
|
@field_validator('error_feedback_name')
|
|
@@ -27,8 +27,8 @@ class FeedbackOutOfWorkspace(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
Requested TCP pose is outside of motion group's workspace.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
invalid_tcp_pose: Optional[Pose] = None
|
|
31
|
-
error_feedback_name:
|
|
30
|
+
invalid_tcp_pose: Optional[Pose] = None
|
|
31
|
+
error_feedback_name: str = "FeedbackOutOfWorkspace"
|
|
32
32
|
__properties: ClassVar[List[str]] = ["invalid_tcp_pose", "error_feedback_name"]
|
|
33
33
|
|
|
34
34
|
@field_validator('error_feedback_name')
|
|
@@ -27,9 +27,9 @@ class FeedbackSingularity(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
A singularity is a point in the robot's workspace where the robot loses one or more degrees of freedom with regards to moving its TCP. This means the robot cannot move or rotate the TCP in a certain direction from this specific point. Use PTP motions if possible. They will almost never fail due to singularities (only if the target point is at a singularity). Alternatively change the robot TCP's path to avoid moving through this point or try to move the TCP through this point in a different direction.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
singularity_type: Optional[SingularityTypeEnum] = None
|
|
31
|
-
singular_joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
-
error_feedback_name:
|
|
30
|
+
singularity_type: Optional[SingularityTypeEnum] = None
|
|
31
|
+
singular_joint_position: Optional[List[Union[StrictFloat, StrictInt]]] = None
|
|
32
|
+
error_feedback_name: str = "FeedbackSingularity"
|
|
33
33
|
__properties: ClassVar[List[str]] = ["singularity_type", "singular_joint_position", "error_feedback_name"]
|
|
34
34
|
|
|
35
35
|
@field_validator('error_feedback_name')
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
-
from typing import Any, ClassVar, Dict, List,
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Union
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
@@ -26,16 +26,13 @@ class FloatValue(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
FloatValue
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
value: Union[StrictFloat, StrictInt] = Field(description="Value of an analog input/output in floating number representation. ")
|
|
30
|
-
value_type:
|
|
29
|
+
value: Union[StrictFloat, StrictInt] = Field(description="Value of an analog input/output in floating number representation. ")
|
|
30
|
+
value_type: str = "float"
|
|
31
31
|
__properties: ClassVar[List[str]] = ["value", "value_type"]
|
|
32
32
|
|
|
33
33
|
@field_validator('value_type')
|
|
34
34
|
def value_type_validate_enum(cls, value):
|
|
35
35
|
"""Validates the enum"""
|
|
36
|
-
if value is None:
|
|
37
|
-
return value
|
|
38
|
-
|
|
39
36
|
if value not in set(['float']):
|
|
40
37
|
raise ValueError("must be one of enum values ('float')")
|
|
41
38
|
return value
|
|
@@ -96,7 +93,7 @@ class FloatValue(BaseModel):
|
|
|
96
93
|
|
|
97
94
|
_obj = cls.model_validate({
|
|
98
95
|
"value": obj.get("value"),
|
|
99
|
-
"value_type": obj.get("value_type")
|
|
96
|
+
"value_type": obj.get("value_type")
|
|
100
97
|
})
|
|
101
98
|
return _obj
|
|
102
99
|
|
|
@@ -27,7 +27,7 @@ class ForwardKinematics422Response(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
ForwardKinematics422Response
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
detail: Optional[List[ForwardKinematicsValidationError]] = None
|
|
30
|
+
detail: Optional[List[ForwardKinematicsValidationError]] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["detail"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -27,10 +27,10 @@ class ForwardKinematicsRequest(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
ForwardKinematicsRequest
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
motion_group_model: StrictStr = Field(description="String identifiying the model of a motion group.")
|
|
31
|
-
joint_positions: List[List[Union[StrictFloat, StrictInt]]] = Field(description="List of joint positions [rad] for which TCP poses are computed. ")
|
|
32
|
-
tcp_offset: Optional[Pose] = None
|
|
33
|
-
mounting: Optional[Pose] = Field(default=None, description="Offset from the world frame to the motion group base.")
|
|
30
|
+
motion_group_model: StrictStr = Field(description="String identifiying the model of a motion group.")
|
|
31
|
+
joint_positions: List[List[Union[StrictFloat, StrictInt]]] = Field(description="List of joint positions [rad] for which TCP poses are computed. ")
|
|
32
|
+
tcp_offset: Optional[Pose] = None
|
|
33
|
+
mounting: Optional[Pose] = Field(default=None, description="Offset from the world frame to the motion group base.")
|
|
34
34
|
__properties: ClassVar[List[str]] = ["motion_group_model", "joint_positions", "tcp_offset", "mounting"]
|
|
35
35
|
|
|
36
36
|
model_config = ConfigDict(
|
|
@@ -27,7 +27,7 @@ class ForwardKinematicsResponse(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
ForwardKinematicsResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
tcp_poses: List[Pose] = Field(description="List of computed TCP poses corresponding to the input joint positions. ")
|
|
30
|
+
tcp_poses: List[Pose] = Field(description="List of computed TCP poses corresponding to the input joint positions. ")
|
|
31
31
|
__properties: ClassVar[List[str]] = ["tcp_poses"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -28,11 +28,11 @@ class ForwardKinematicsValidationError(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
ForwardKinematicsValidationError
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
loc: List[ValidationErrorLocInner]
|
|
32
|
-
msg: StrictStr
|
|
33
|
-
type: StrictStr
|
|
34
|
-
input: Dict[str, Any]
|
|
35
|
-
data: Optional[ErrorInvalidJointCount] = None
|
|
31
|
+
loc: List[ValidationErrorLocInner]
|
|
32
|
+
msg: StrictStr
|
|
33
|
+
type: StrictStr
|
|
34
|
+
input: Dict[str, Any]
|
|
35
|
+
data: Optional[ErrorInvalidJointCount] = None
|
|
36
36
|
__properties: ClassVar[List[str]] = ["loc", "msg", "type", "input", "data"]
|
|
37
37
|
|
|
38
38
|
model_config = ConfigDict(
|
|
@@ -27,9 +27,9 @@ class GetTrajectoryResponse(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
GetTrajectoryResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
motion_group: StrictStr = Field(description="Unique identifier of the motion group the trajectory is planned for.")
|
|
31
|
-
trajectory: JointTrajectory = Field(description="The trajectory consisting of a list of joint positions and an equal number of corresponding timestamps. ")
|
|
32
|
-
tcp: StrictStr = Field(description="Unique identifier of the tool the trajectory is planned for.")
|
|
30
|
+
motion_group: StrictStr = Field(description="Unique identifier of the motion group the trajectory is planned for.")
|
|
31
|
+
trajectory: JointTrajectory = Field(description="The trajectory consisting of a list of joint positions and an equal number of corresponding timestamps. ")
|
|
32
|
+
tcp: StrictStr = Field(description="Unique identifier of the tool the trajectory is planned for.")
|
|
33
33
|
__properties: ClassVar[List[str]] = ["motion_group", "trajectory", "tcp"]
|
|
34
34
|
|
|
35
35
|
model_config = ConfigDict(
|
|
@@ -27,7 +27,7 @@ class HTTPValidationError(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
HTTPValidationError
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
detail: Optional[List[ValidationError2]] = None
|
|
30
|
+
detail: Optional[List[ValidationError2]] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["detail"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -26,9 +26,9 @@ class ImageCredentials(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
User provided credentials for creating a secret to pull an image from a registry.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
registry: StrictStr
|
|
30
|
-
user: StrictStr
|
|
31
|
-
password: StrictStr
|
|
29
|
+
registry: StrictStr
|
|
30
|
+
user: StrictStr
|
|
31
|
+
password: StrictStr
|
|
32
32
|
__properties: ClassVar[List[str]] = ["registry", "user", "password"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -19,15 +19,15 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from wandelbots_api_client.v2.models.
|
|
22
|
+
from wandelbots_api_client.v2.models.inconsistent_trajectory_size_error_inconsistent_trajectory_size import InconsistentTrajectorySizeErrorInconsistentTrajectorySize
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class InconsistentTrajectorySizeError(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
|
|
28
|
+
Indicates that the trajectory contains an inconsistent number of joint positions, times, or locations.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
inconsistent_trajectory_size: Optional[
|
|
30
|
+
inconsistent_trajectory_size: Optional[InconsistentTrajectorySizeErrorInconsistentTrajectorySize] = None
|
|
31
31
|
__properties: ClassVar[List[str]] = ["inconsistent_trajectory_size"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -52,7 +52,7 @@ class InconsitentTrajectorySize(BaseModel):
|
|
|
52
52
|
|
|
53
53
|
@classmethod
|
|
54
54
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
-
"""Create an instance of
|
|
55
|
+
"""Create an instance of InconsistentTrajectorySizeError from a JSON string"""
|
|
56
56
|
return cls.from_dict(json.loads(json_str))
|
|
57
57
|
|
|
58
58
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -80,7 +80,7 @@ class InconsitentTrajectorySize(BaseModel):
|
|
|
80
80
|
|
|
81
81
|
@classmethod
|
|
82
82
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
-
"""Create an instance of
|
|
83
|
+
"""Create an instance of InconsistentTrajectorySizeError from a dict"""
|
|
84
84
|
if obj is None:
|
|
85
85
|
return None
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ class InconsitentTrajectorySize(BaseModel):
|
|
|
88
88
|
return cls.model_validate(obj)
|
|
89
89
|
|
|
90
90
|
_obj = cls.model_validate({
|
|
91
|
-
"inconsistent_trajectory_size":
|
|
91
|
+
"inconsistent_trajectory_size": InconsistentTrajectorySizeErrorInconsistentTrajectorySize.from_dict(obj["inconsistent_trajectory_size"]) if obj.get("inconsistent_trajectory_size") is not None else None
|
|
92
92
|
})
|
|
93
93
|
return _obj
|
|
94
94
|
|