urml-conformance 0.5.0__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.
- urml_conformance/__init__.py +92 -0
- urml_conformance/__main__.py +192 -0
- urml_conformance/_version.py +5 -0
- urml_conformance/fixtures/actuation/01_set_output_digital_positive.yaml +29 -0
- urml_conformance/fixtures/actuation/02_set_output_analog_positive.yaml +25 -0
- urml_conformance/fixtures/actuation/03_set_output_undeclared_line_rejected.yaml +22 -0
- urml_conformance/fixtures/actuation/04_set_output_analog_out_of_range_rejected.yaml +21 -0
- urml_conformance/fixtures/actuation/05_set_output_digital_type_mismatch_rejected.yaml +21 -0
- urml_conformance/fixtures/av/01_plan_follow_positive.yaml +32 -0
- urml_conformance/fixtures/av/02_plan_path_no_hd_map_rejected.yaml +22 -0
- urml_conformance/fixtures/av/03_follow_over_odd_cap_rejected.yaml +24 -0
- urml_conformance/fixtures/av/04_follow_wrong_binding_rejected.yaml +23 -0
- urml_conformance/fixtures/biped/01_digit_patrol_positive.yaml +32 -0
- urml_conformance/fixtures/biped/02_optimus_manifest_accepted.yaml +23 -0
- urml_conformance/fixtures/biped/03_figure_manifest_accepted.yaml +20 -0
- urml_conformance/fixtures/biped/04_apollo_manifest_accepted.yaml +20 -0
- urml_conformance/fixtures/biped/05_neo_manifest_accepted.yaml +21 -0
- urml_conformance/fixtures/biped/06_digit_bimanual_lift_positive.yaml +35 -0
- urml_conformance/fixtures/biped/07_digit_arm_addressed_positive.yaml +29 -0
- urml_conformance/fixtures/biped/08_arm_not_declared_rejected.yaml +23 -0
- urml_conformance/fixtures/biped/09_digit_wholebody_carry_positive.yaml +31 -0
- urml_conformance/fixtures/biped/10_wholebody_cannot_carry_rejected.yaml +24 -0
- urml_conformance/fixtures/biped/11_wholebody_leg_count_rejected.yaml +23 -0
- urml_conformance/fixtures/biped/12_wholebody_unstable_com_rejected.yaml +24 -0
- urml_conformance/fixtures/biped/13_unitree_g1_retarget_positive.yaml +29 -0
- urml_conformance/fixtures/biped/14_unitree_g1_unstable_retarget_rejected.yaml +25 -0
- urml_conformance/fixtures/biped/15_bimanual_force_over_envelope_rejected.yaml +28 -0
- urml_conformance/fixtures/biped/16_bimanual_gentle_positive.yaml +32 -0
- urml_conformance/fixtures/compliance/01_hbom_clean_accepted.yaml +23 -0
- urml_conformance/fixtures/compliance/02_hbom_cn_chip_rejected.yaml +24 -0
- urml_conformance/fixtures/compliance/03_hbom_vendor_of_vendor_rejected.yaml +23 -0
- urml_conformance/fixtures/compliance/04_evidence_advisory_accepted.yaml +22 -0
- urml_conformance/fixtures/compliance/05_evidence_required_rejected.yaml +23 -0
- urml_conformance/fixtures/deployment/01_commercial_gated_rejected.yaml +18 -0
- urml_conformance/fixtures/deployment/02_noncommercial_gated_accepted.yaml +16 -0
- urml_conformance/fixtures/deployment/03_commercial_gated_no_policy_accepted.yaml +17 -0
- urml_conformance/fixtures/drone/01_inspect_roof_positive.yaml +38 -0
- urml_conformance/fixtures/drone/02_altitude_exceeded_rejected.yaml +24 -0
- urml_conformance/fixtures/drone/03_ground_robot_rejected.yaml +24 -0
- urml_conformance/fixtures/drone/04_hover_positive.yaml +33 -0
- urml_conformance/fixtures/drone/05_scan_positive.yaml +38 -0
- urml_conformance/fixtures/drone/06_measure_positive.yaml +33 -0
- urml_conformance/fixtures/drone/07_geofence_violation_rejected.yaml +30 -0
- urml_conformance/fixtures/drone/08_altitude_band_violation_rejected.yaml +32 -0
- urml_conformance/fixtures/drone/09_occupancy_zone_intrusion_rejected.yaml +29 -0
- urml_conformance/fixtures/drone/10_link_role_undeclared_rejected.yaml +23 -0
- urml_conformance/fixtures/drone/11_link_loss_no_home_rejected.yaml +23 -0
- urml_conformance/fixtures/drone/12_continue_autonomous_incoherent_rejected.yaml +25 -0
- urml_conformance/fixtures/drone/13_link_loss_rth_positive.yaml +22 -0
- urml_conformance/fixtures/drone/14_flight_only_positive.yaml +42 -0
- urml_conformance/fixtures/drone/15_autopilot_class_missing_rejected.yaml +25 -0
- urml_conformance/fixtures/drone/16_autopilot_class_custom_no_note_rejected.yaml +25 -0
- urml_conformance/fixtures/drone/17_land_undeclared_location_rejected.yaml +24 -0
- urml_conformance/fixtures/drone/18_hover_undeclared_location_rejected.yaml +26 -0
- urml_conformance/fixtures/drone/19_detect_near_undeclared_location_rejected.yaml +29 -0
- urml_conformance/fixtures/drone/20_land_outside_geofence_rejected.yaml +24 -0
- urml_conformance/fixtures/drone/21_land_in_occupancy_zone_rejected.yaml +26 -0
- urml_conformance/fixtures/drone/22_land_at_home_positive.yaml +30 -0
- urml_conformance/fixtures/drone/23_hover_over_outside_geofence_rejected.yaml +25 -0
- urml_conformance/fixtures/drone/24_hover_over_occupancy_zone_rejected.yaml +25 -0
- urml_conformance/fixtures/drone/25_hover_over_above_ceiling_rejected.yaml +26 -0
- urml_conformance/fixtures/drone/26_named_location_above_ceiling_rejected.yaml +26 -0
- urml_conformance/fixtures/drone/27_scan_area_contains_zone_rejected.yaml +32 -0
- urml_conformance/fixtures/drone/28_scan_area_clear_of_zone_positive.yaml +31 -0
- urml_conformance/fixtures/drone/29_detect_near_outside_geofence_rejected.yaml +28 -0
- urml_conformance/fixtures/drone/30_scan_altitude_exceeded_rejected.yaml +30 -0
- urml_conformance/fixtures/drone/31_scan_area_outside_geofence_rejected.yaml +31 -0
- urml_conformance/fixtures/drone/32_return_to_home_altitude_exceeded_rejected.yaml +24 -0
- urml_conformance/fixtures/drone/33_detect_search_radius_outside_geofence_rejected.yaml +30 -0
- urml_conformance/fixtures/drone/34_detect_search_radius_inside_geofence_positive.yaml +33 -0
- urml_conformance/fixtures/drone/35_payload_winch_delivery_positive.yaml +29 -0
- urml_conformance/fixtures/drone/36_release_mechanism_not_declared_rejected.yaml +29 -0
- urml_conformance/fixtures/drone/37_drop_height_exceeded_rejected.yaml +28 -0
- urml_conformance/fixtures/drone/38_carrying_mass_over_cap_rejected.yaml +31 -0
- urml_conformance/fixtures/educational/01_buggy_patrol_positive.yaml +35 -0
- urml_conformance/fixtures/educational/02_vex_patrol_positive.yaml +31 -0
- urml_conformance/fixtures/educational/03_lego_patrol_positive.yaml +31 -0
- urml_conformance/fixtures/educational/04_thymio_patrol_positive.yaml +31 -0
- urml_conformance/fixtures/educational/05_marty_patrol_positive.yaml +34 -0
- urml_conformance/fixtures/educational/06_petoi_patrol_positive.yaml +44 -0
- urml_conformance/fixtures/educational/07_circuitpython_patrol_positive.yaml +35 -0
- urml_conformance/fixtures/educational/08_minimal_node_led_positive.yaml +21 -0
- urml_conformance/fixtures/educational/09_minimal_node_with_mobility_rejected.yaml +21 -0
- urml_conformance/fixtures/educational/10_minimal_node_undeclared_output_rejected.yaml +22 -0
- urml_conformance/fixtures/educational/11_firmware_descriptor_stm32_positive.yaml +22 -0
- urml_conformance/fixtures/educational/12_firmware_descriptor_esp32_positive.yaml +21 -0
- urml_conformance/fixtures/educational/13_drive_positive.yaml +23 -0
- urml_conformance/fixtures/educational/14_drive_distance_exceeded_rejected.yaml +22 -0
- urml_conformance/fixtures/educational/15_relative_motion_requires_educational_rejected.yaml +23 -0
- urml_conformance/fixtures/fleet/01_courier_to_arm_handoff_positive.yaml +61 -0
- urml_conformance/fixtures/fleet/02_undeclared_member_rejected.yaml +22 -0
- urml_conformance/fixtures/fleet/03_capability_missing_on_member_rejected.yaml +23 -0
- urml_conformance/fixtures/fleet/04_concurrent_shared_workspace_no_barrier_rejected.yaml +31 -0
- urml_conformance/fixtures/fleet/05_barrier_without_peer_link_rejected.yaml +27 -0
- urml_conformance/fixtures/fleet/06_engaged_partners_choreography_positive.yaml +60 -0
- urml_conformance/fixtures/fleet/07_ground_footprint_overlap_rejected.yaml +20 -0
- urml_conformance/fixtures/fleet/08_air_vertical_separation_accepted.yaml +30 -0
- urml_conformance/fixtures/fleet/09_air_same_altitude_rejected.yaml +19 -0
- urml_conformance/fixtures/fleet/10_water_depth_separation_accepted.yaml +19 -0
- urml_conformance/fixtures/fleet/11_water_same_depth_rejected.yaml +19 -0
- urml_conformance/fixtures/fleet/13_temporal_barrier_deconflicts_accepted.yaml +20 -0
- urml_conformance/fixtures/fleet/16_cross_frame_drone_over_rover_rejected.yaml +23 -0
- urml_conformance/fixtures/fleet/17_cross_frame_drone_high_above_rover_accepted.yaml +19 -0
- urml_conformance/fixtures/flexbe/01_turtle_sequence_positive.yaml +39 -0
- urml_conformance/fixtures/flexbe/02_ur3e_pick_place_positive.yaml +72 -0
- urml_conformance/fixtures/home/01_red_mug_positive.yaml +38 -0
- urml_conformance/fixtures/home/02_red_mug_nav_failure.yaml +34 -0
- urml_conformance/fixtures/home/03_missing_location_rejected.yaml +21 -0
- urml_conformance/fixtures/home/04_branch_on_color.yaml +40 -0
- urml_conformance/fixtures/home/05_retry_until_confidence.yaml +29 -0
- urml_conformance/fixtures/home/06_parallel_first_to_succeed.yaml +25 -0
- urml_conformance/fixtures/home/07_policy_country_denied.yaml +24 -0
- urml_conformance/fixtures/home/08_policy_none_accepts_otherwise_denied.yaml +21 -0
- urml_conformance/fixtures/home/09_policy_vendor_denylist.yaml +21 -0
- urml_conformance/fixtures/home/10_speak_listen_conversation.yaml +54 -0
- urml_conformance/fixtures/home/11_emergency_stop_handling.yaml +30 -0
- urml_conformance/fixtures/home/12_force_ceiling_envelope.yaml +27 -0
- urml_conformance/fixtures/home/13_dock_positive.yaml +31 -0
- urml_conformance/fixtures/home/14_nav_patrol_positive.yaml +42 -0
- urml_conformance/fixtures/home/15_link_loss_hover_no_station_keeping_rejected.yaml +23 -0
- urml_conformance/fixtures/home/16_link_loss_halt_positive.yaml +21 -0
- urml_conformance/fixtures/home/17_mujoco_sentence_to_motion_positive.yaml +35 -0
- urml_conformance/fixtures/home/18_isaac_sentence_to_motion_positive.yaml +35 -0
- urml_conformance/fixtures/home/19_substrate_rmw_custom_no_note_rejected.yaml +24 -0
- urml_conformance/fixtures/home/20_substrate_qos_keep_last_no_depth_rejected.yaml +23 -0
- urml_conformance/fixtures/home/21_chrono_vehicle_terrain_positive.yaml +38 -0
- urml_conformance/fixtures/home/22_substrate_ipc_iceoryx2_positive.yaml +27 -0
- urml_conformance/fixtures/home/23_substrate_ipc_no_config_rejected.yaml +19 -0
- urml_conformance/fixtures/home/24_substrate_ipc_runtime_on_iceoryx2_rejected.yaml +19 -0
- urml_conformance/fixtures/home/25_substrate_ipc_iceoryx1_no_runtime_rejected.yaml +19 -0
- urml_conformance/fixtures/home/26_substrate_ipc_custom_no_note_rejected.yaml +19 -0
- urml_conformance/fixtures/home/27_realtime_cyclic_positive.yaml +27 -0
- urml_conformance/fixtures/home/28_realtime_watchdog_short_rejected.yaml +23 -0
- urml_conformance/fixtures/home/29_monitorable_property_positive.yaml +22 -0
- urml_conformance/fixtures/home/30_monitorable_parse_error_rejected.yaml +23 -0
- urml_conformance/fixtures/home/31_monitorable_undeclared_signal_rejected.yaml +24 -0
- urml_conformance/fixtures/home/32_release_undeclared_location_rejected.yaml +25 -0
- urml_conformance/fixtures/home/33_move_to_area_outside_geofence_rejected.yaml +24 -0
- urml_conformance/fixtures/home/34_move_to_area_inside_geofence_positive.yaml +26 -0
- urml_conformance/fixtures/home/35_speak_without_speech_output_rejected.yaml +21 -0
- urml_conformance/fixtures/home/36_listen_without_speech_input_rejected.yaml +21 -0
- urml_conformance/fixtures/industrial/01_pick_red_positive.yaml +56 -0
- urml_conformance/fixtures/industrial/02_type_mismatch_rejected.yaml +29 -0
- urml_conformance/fixtures/industrial/03_link_outage_relaxed_rejected.yaml +24 -0
- urml_conformance/fixtures/industrial/04_pick_from_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/05_swap_tool_positive.yaml +31 -0
- urml_conformance/fixtures/industrial/06_swap_tool_undeclared_service_rejected.yaml +25 -0
- urml_conformance/fixtures/industrial/07_opcua_cell_positive.yaml +65 -0
- urml_conformance/fixtures/industrial/08_cobot_cell_positive.yaml +66 -0
- urml_conformance/fixtures/industrial/09_kawasaki_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/10_staubli_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/11_comau_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/12_mitsubishi_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/13_denso_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/14_doosan_cobot_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/15_techman_cobot_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/16_kinova_cobot_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/17_schunk_gripper_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/18_piab_vacuum_positive.yaml +59 -0
- urml_conformance/fixtures/industrial/19_onrobot_magnetic_positive.yaml +59 -0
- urml_conformance/fixtures/industrial/20_soft_robotics_compliant_positive.yaml +59 -0
- urml_conformance/fixtures/industrial/21_ati_ft_positive.yaml +63 -0
- urml_conformance/fixtures/industrial/22_cognex_vision_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/23_sick_safety_lidar_positive.yaml +63 -0
- urml_conformance/fixtures/industrial/24_autosar_ecu_positive.yaml +64 -0
- urml_conformance/fixtures/industrial/25_robotiq_2f85_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/26_schmalz_vacuum_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/27_festo_dhep_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/28_bota_ft_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/29_hokuyo_lidar_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/30_ouster_3d_lidar_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/31_photoneo_motioncam_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/32_zivid_two_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/33_hyundai_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/34_nachi_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/35_epson_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/36_omron_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/37_hanwha_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/38_mecademic_cobot_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/39_neura_cobot_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/40_kassow_cobot_cell_positive.yaml +60 -0
- urml_conformance/fixtures/industrial/41_yaskawa_cell_positive.yaml +61 -0
- urml_conformance/fixtures/industrial/42_ur_cell_positive.yaml +62 -0
- urml_conformance/fixtures/industrial/43_kuka_cell_positive.yaml +61 -0
- urml_conformance/fixtures/industrial/44_fanuc_cell_positive.yaml +61 -0
- urml_conformance/fixtures/industrial/45_kawasaki_call_program_positive.yaml +42 -0
- urml_conformance/fixtures/industrial/46_call_program_undeclared_rejected.yaml +24 -0
- urml_conformance/fixtures/industrial/47_bimanual_one_arm_rejected.yaml +28 -0
- urml_conformance/fixtures/industrial/48_autosar_ara_com_positive.yaml +30 -0
- urml_conformance/fixtures/industrial/49_autosar_ara_com_incomplete_rejected.yaml +24 -0
- urml_conformance/fixtures/industrial/50_pick_from_force_over_envelope_rejected.yaml +27 -0
- urml_conformance/fixtures/industrial/51_pick_from_force_within_envelope_positive.yaml +39 -0
- urml_conformance/fixtures/industrial/52_move_to_fraction_speed_over_cap_rejected.yaml +25 -0
- urml_conformance/fixtures/industrial/53_move_to_fraction_above_one_rejected.yaml +24 -0
- urml_conformance/fixtures/industrial/54_move_to_fraction_speed_within_cap_positive.yaml +28 -0
- urml_conformance/fixtures/industrial/55_place_at_occupancy_zone_rejected.yaml +33 -0
- urml_conformance/fixtures/industrial/56_pick_from_undeclared_source_rejected.yaml +27 -0
- urml_conformance/fixtures/industrial/57_place_at_undeclared_target_rejected.yaml +31 -0
- urml_conformance/fixtures/language/01_whisper_stt_positive.yaml +15 -0
- urml_conformance/fixtures/language/02_vosk_no_policy_positive.yaml +16 -0
- urml_conformance/fixtures/language/03_vosk_default_policy_rejected.yaml +17 -0
- urml_conformance/fixtures/language/04_full_engines_positive.yaml +16 -0
- urml_conformance/fixtures/language/05_nllb_translation_positive.yaml +15 -0
- urml_conformance/fixtures/licensing/01_clean_boundaries_positive.yaml +17 -0
- urml_conformance/fixtures/licensing/02_vendored_gpl_rejected.yaml +19 -0
- urml_conformance/fixtures/licensing/03_restrictiveness_cap_rejected.yaml +17 -0
- urml_conformance/fixtures/manipulation/01_dexterous_precision_grasp_positive.yaml +23 -0
- urml_conformance/fixtures/manipulation/02_grasp_type_requires_dexterous_rejected.yaml +24 -0
- urml_conformance/fixtures/manipulation/03_grasp_type_not_declared_rejected.yaml +25 -0
- urml_conformance/fixtures/manipulation/04_dexterous_grasp_no_type_positive.yaml +23 -0
- urml_conformance/fixtures/manipulation/05_dynamic_target_ballistic_positive.yaml +27 -0
- urml_conformance/fixtures/manipulation/06_target_motion_not_supported_rejected.yaml +27 -0
- urml_conformance/fixtures/manipulation/07_target_motion_mode_not_declared_rejected.yaml +27 -0
- urml_conformance/fixtures/marine/01_survey_positive.yaml +33 -0
- urml_conformance/fixtures/mobile/01_patrol_positive.yaml +32 -0
- urml_conformance/fixtures/mobile/02_hesai_component_denied.yaml +24 -0
- urml_conformance/fixtures/programs/01_declared_intent_positive.yaml +26 -0
- urml_conformance/fixtures/programs/02_declared_intent_unsupported_rejected.yaml +24 -0
- urml_conformance/fixtures/programs/03_declared_intent_unknown_rejected.yaml +24 -0
- urml_conformance/fixtures/quadruped/01_patrol_positive.yaml +33 -0
- urml_conformance/fixtures/quadruped/02_unitree_vendor_denied.yaml +24 -0
- urml_conformance/fixtures/quadruped/03_anymal_patrol_positive.yaml +31 -0
- urml_conformance/fixtures/quadruped/04_ghost_vision60_manifest_accepted.yaml +24 -0
- urml_conformance/fixtures/quadruped/05_spot_arm_pick_positive.yaml +57 -0
- urml_conformance/fixtures/quadruped/06_spot_arm_capture_named_camera_positive.yaml +51 -0
- urml_conformance/fixtures/quadruped/07_spot_arm_capture_undeclared_camera_rejected.yaml +25 -0
- urml_conformance/fixtures/quadruped/08_spot_arm_capture_fixed_camera_target_rejected.yaml +28 -0
- urml_conformance/fixtures/research/01_autoware_manifest_accepted.yaml +28 -0
- urml_conformance/fixtures/rulebook/01_take_off_450ft_rejected.yaml +28 -0
- urml_conformance/fixtures/rulebook/02_take_off_450ft_waiver_accepted.yaml +37 -0
- urml_conformance/fixtures/rulebook/03_capture_in_no_camera_zone_rejected.yaml +25 -0
- urml_conformance/fixtures/rulebook/04_restricted_zone_entry_rejected.yaml +23 -0
- urml_conformance/fixtures/rulebook/05_remote_id_missing_rejected.yaml +27 -0
- urml_conformance/fixtures/rulebook/06_two_aircraft_airborne_rejected.yaml +28 -0
- urml_conformance/fixtures/rulebook/07_policy_none_still_enforced_rejected.yaml +24 -0
- urml_conformance/fixtures/rulebook/08_default_rulebooks_off_accepted.yaml +25 -0
- urml_conformance/fixtures/rulebook/09_over_people_override_zone_rejected.yaml +27 -0
- urml_conformance/fixtures/rulebook/10_capture_at_unknown_place_rejected.yaml +24 -0
- urml_conformance/fixtures/rulebook/11_indoor_lab_switches_off_faa_accepted.yaml +23 -0
- urml_conformance/fixtures/rulebook/12_call_program_not_allowlisted_rejected.yaml +24 -0
- urml_conformance/fixtures/rulebook/13_capture_in_packing_area_accepted.yaml +33 -0
- urml_conformance/fixtures/social/01_reachy_greeting_positive.yaml +42 -0
- urml_conformance/fixtures/social/02_undeclared_gesture_rejected.yaml +23 -0
- urml_conformance/fixtures/social/03_direction_out_of_range_rejected.yaml +25 -0
- urml_conformance/fixtures/social/04_no_expression_block_rejected.yaml +23 -0
- urml_conformance/fixtures/social/05_gesture_requires_social_profile_rejected.yaml +23 -0
- urml_conformance/fixtures/social/06_look_at_beyond_envelope_rejected.yaml +26 -0
- urml_conformance/fixtures/social/07_gesture_over_envelope_duration_rejected.yaml +24 -0
- urml_conformance/fixtures/social/08_gesture_not_allowed_rejected.yaml +24 -0
- urml_conformance/fixtures/social/09_expression_within_envelope_positive.yaml +32 -0
- urml_conformance/fixtures/translation/01_nllb_no_alternative_rejected.yaml +17 -0
- urml_conformance/fixtures/translation/02_nllb_permissive_alternative_accepted.yaml +17 -0
- urml_conformance/fixtures/translation/03_open_llm_primary_accepted.yaml +16 -0
- urml_conformance/fixtures/warehouse/01_pick_from_shelf_place_on_conveyor_positive.yaml +57 -0
- urml_conformance/fixtures/warehouse/02_amr_aisle_dynamic_obstacle_positive.yaml +42 -0
- urml_conformance/fixtures/warehouse/03_handoff_partner_event_undeclared_rejected.yaml +31 -0
- urml_conformance/fixtures/warehouse/04_envelope_speed_violation_rejected.yaml +25 -0
- urml_conformance/fixtures/warehouse/05_people_occupancy_zone_intrusion_rejected.yaml +25 -0
- urml_conformance/fixtures/warehouse/06_handoff_coordination_positive.yaml +64 -0
- urml_conformance/fixtures/warehouse/07_multi_step_amr_cycle_positive.yaml +65 -0
- urml_conformance/fixtures/warehouse/08_compliant_parts_bom_positive.yaml +35 -0
- urml_conformance/fixtures/warehouse/09_pick_from_occupancy_zone_rejected.yaml +29 -0
- urml_conformance/fixtures/warehouse/10_dock_outside_geofence_rejected.yaml +26 -0
- urml_conformance/fixtures/warehouse/11_dock_inside_geofence_positive.yaml +27 -0
- urml_conformance/fixtures/warehouse/12_pick_from_outside_geofence_rejected.yaml +27 -0
- urml_conformance/fixtures/warehouse/13_place_at_outside_geofence_rejected.yaml +31 -0
- urml_conformance/fixtures/warehouse/14_dock_occupancy_zone_rejected.yaml +27 -0
- urml_conformance/fixtures/warehouse/15_pick_from_above_reach_cap_rejected.yaml +27 -0
- urml_conformance/fixtures/warehouse/16_place_at_above_reach_cap_rejected.yaml +32 -0
- urml_conformance/fixtures/warehouse/17_dock_above_reach_cap_rejected.yaml +26 -0
- urml_conformance/fixtures/warehouse/18_low_reach_cycle_positive.yaml +42 -0
- urml_conformance/fixtures/warehouse/19_dock_undeclared_station_rejected.yaml +25 -0
- urml_conformance/fixtures.py +671 -0
- urml_conformance/goal_line.py +246 -0
- urml_conformance/llm_bridge/__init__.py +41 -0
- urml_conformance/llm_bridge/loader.py +150 -0
- urml_conformance/llm_bridge/scorer.py +155 -0
- urml_conformance/py.typed +0 -0
- urml_conformance/registry.py +903 -0
- urml_conformance/report.py +165 -0
- urml_conformance/runner.py +482 -0
- urml_conformance-0.5.0.dist-info/METADATA +207 -0
- urml_conformance-0.5.0.dist-info/RECORD +284 -0
- urml_conformance-0.5.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"""urml_conformance — conformance test suite for URML runtimes.
|
|
2
|
+
|
|
3
|
+
Public API:
|
|
4
|
+
|
|
5
|
+
from urml_conformance import ConformanceRunner
|
|
6
|
+
|
|
7
|
+
runner = ConformanceRunner()
|
|
8
|
+
report = runner.run()
|
|
9
|
+
assert report.all_passed, report.render()
|
|
10
|
+
|
|
11
|
+
The suite ships a set of declarative fixture cases under
|
|
12
|
+
``conformance/fixtures/`` that any URML-compatible runtime must satisfy.
|
|
13
|
+
The runner defaults to ``URMLRuntime`` + ``MockROSAdapter`` for a
|
|
14
|
+
hermetic self-test, and accepts an ``adapter_factory=`` so real adapters
|
|
15
|
+
(``rclpy``, PX4, vendor SDKs) run through the same suite. The
|
|
16
|
+
bring-your-own-adapter entrypoint wraps this:
|
|
17
|
+
``python -m urml_conformance --adapter your_pkg:YourAdapter`` (see
|
|
18
|
+
``conformance/CONFORMANCE_KIT.md``).
|
|
19
|
+
|
|
20
|
+
The goal-line lane (``run_goal_line``, ``python -m urml_conformance
|
|
21
|
+
--goal-line``) hands every rejected fixture to the runtime itself and
|
|
22
|
+
requires a refusal with the expected codes and zero adapter calls.
|
|
23
|
+
|
|
24
|
+
``run_suite`` runs the published fixture set against an adapter spec and
|
|
25
|
+
returns a ``urml.conformance-report/1`` report that names the adapter, the
|
|
26
|
+
versions and the fixture set; ``urml conformance run --output`` and
|
|
27
|
+
``python -m urml_conformance --report`` write it as JSON.
|
|
28
|
+
|
|
29
|
+
The fixtures are licensed under BSL 1.1 with the rest of URML (see
|
|
30
|
+
LICENSING.md). They're the contract a runtime claims compatibility with.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
35
|
+
from urml_conformance._version import __version__
|
|
36
|
+
from urml_conformance.fixtures import (
|
|
37
|
+
ENVELOPE_REGISTRY,
|
|
38
|
+
MANIFEST_REGISTRY,
|
|
39
|
+
RULEBOOK_REGISTRY,
|
|
40
|
+
AdapterOverrides,
|
|
41
|
+
ExpectedExecution,
|
|
42
|
+
ExpectedValidation,
|
|
43
|
+
FixtureCase,
|
|
44
|
+
discover_fixtures,
|
|
45
|
+
fixture_paths,
|
|
46
|
+
fixtures_root,
|
|
47
|
+
fixtures_sha256,
|
|
48
|
+
load_fixture,
|
|
49
|
+
resolve_envelope,
|
|
50
|
+
resolve_manifest,
|
|
51
|
+
resolve_rulebook,
|
|
52
|
+
)
|
|
53
|
+
from urml_conformance.goal_line import RecordedCall, RecordingAdapter, run_goal_line
|
|
54
|
+
from urml_conformance.report import DEFAULT_ADAPTER, REPORT_FORMAT, CaseResult, ConformanceReport
|
|
55
|
+
from urml_conformance.runner import (
|
|
56
|
+
AdapterSpecError,
|
|
57
|
+
ConformanceRunner,
|
|
58
|
+
load_adapter_factory,
|
|
59
|
+
load_factory,
|
|
60
|
+
run_suite,
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
__all__ = [
|
|
64
|
+
"DEFAULT_ADAPTER",
|
|
65
|
+
"ENVELOPE_REGISTRY",
|
|
66
|
+
"MANIFEST_REGISTRY",
|
|
67
|
+
"REPORT_FORMAT",
|
|
68
|
+
"RULEBOOK_REGISTRY",
|
|
69
|
+
"AdapterOverrides",
|
|
70
|
+
"AdapterSpecError",
|
|
71
|
+
"CaseResult",
|
|
72
|
+
"ConformanceReport",
|
|
73
|
+
"ConformanceRunner",
|
|
74
|
+
"ExpectedExecution",
|
|
75
|
+
"ExpectedValidation",
|
|
76
|
+
"FixtureCase",
|
|
77
|
+
"RecordedCall",
|
|
78
|
+
"RecordingAdapter",
|
|
79
|
+
"__version__",
|
|
80
|
+
"discover_fixtures",
|
|
81
|
+
"fixture_paths",
|
|
82
|
+
"fixtures_root",
|
|
83
|
+
"fixtures_sha256",
|
|
84
|
+
"load_adapter_factory",
|
|
85
|
+
"load_factory",
|
|
86
|
+
"load_fixture",
|
|
87
|
+
"resolve_envelope",
|
|
88
|
+
"resolve_manifest",
|
|
89
|
+
"resolve_rulebook",
|
|
90
|
+
"run_goal_line",
|
|
91
|
+
"run_suite",
|
|
92
|
+
]
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"""``python -m urml_conformance`` — run the URML conformance suite.
|
|
2
|
+
|
|
3
|
+
This is the bring-your-own-adapter entrypoint. Any runtime that
|
|
4
|
+
implements the substrate-neutral ``ROSAdapter`` Protocol can be checked
|
|
5
|
+
against the same fixture contract every reference runtime
|
|
6
|
+
passes:
|
|
7
|
+
|
|
8
|
+
# Hermetic self-test (default: MockROSAdapter):
|
|
9
|
+
python -m urml_conformance
|
|
10
|
+
|
|
11
|
+
# Against your own runtime's adapter:
|
|
12
|
+
python -m urml_conformance --adapter my_pkg.substrate:MyAdapter
|
|
13
|
+
|
|
14
|
+
# Just the quadruped fixtures, verbose:
|
|
15
|
+
python -m urml_conformance --filter quadruped -v
|
|
16
|
+
|
|
17
|
+
# Write the JSON report (urml.conformance-report/1) a registry entry links:
|
|
18
|
+
python -m urml_conformance --adapter my_pkg.substrate:MyAdapter --report report.json
|
|
19
|
+
|
|
20
|
+
# The goal line: every rejected fixture, handed to the runtime itself,
|
|
21
|
+
# must be refused with the expected codes and zero adapter calls:
|
|
22
|
+
python -m urml_conformance --goal-line
|
|
23
|
+
python -m urml_conformance --goal-line --runtime my_pkg.runtime:make_runtime
|
|
24
|
+
|
|
25
|
+
``--adapter`` takes a ``module:attribute`` spec. The attribute must be
|
|
26
|
+
callable with no arguments and return a fresh adapter instance — a
|
|
27
|
+
class (``my_pkg:MyAdapter``) or a factory function
|
|
28
|
+
(``my_pkg:make_adapter``) both work; the runner calls it once per
|
|
29
|
+
fixture so stateful adapters get a clean instance each time.
|
|
30
|
+
|
|
31
|
+
``--runtime`` (with ``--goal-line`` only) takes the same spec form. The
|
|
32
|
+
attribute must be callable with one adapter and return a runtime whose
|
|
33
|
+
``execute`` matches ``URMLRuntime.execute``. Fleet fixtures run through
|
|
34
|
+
the reference ``FleetRuntime``.
|
|
35
|
+
|
|
36
|
+
Exit code is 0 only if every selected fixture passes, so this drops
|
|
37
|
+
straight into CI. See ``conformance/CONFORMANCE_KIT.md`` for the full
|
|
38
|
+
guide. No telemetry: nothing is sent anywhere; the suite runs and
|
|
39
|
+
prints locally.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
from __future__ import annotations
|
|
43
|
+
|
|
44
|
+
import argparse
|
|
45
|
+
import sys
|
|
46
|
+
from collections.abc import Callable
|
|
47
|
+
from pathlib import Path
|
|
48
|
+
from typing import Any
|
|
49
|
+
|
|
50
|
+
from urml_conformance.fixtures import FixtureCase, discover_fixtures
|
|
51
|
+
from urml_conformance.goal_line import rejected_cases, run_goal_line
|
|
52
|
+
from urml_conformance.runner import AdapterSpecError, load_factory, run_suite
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def _load_factory(spec: str, flag: str, example: str) -> Callable[..., Any]:
|
|
56
|
+
"""Resolve a ``module:attribute`` spec to a callable factory, or exit with the reason."""
|
|
57
|
+
try:
|
|
58
|
+
return load_factory(spec, flag, example)
|
|
59
|
+
except AdapterSpecError as exc:
|
|
60
|
+
raise SystemExit(str(exc)) from exc
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def _load_adapter_factory(spec: str) -> Callable[[], Any]:
|
|
64
|
+
"""Resolve a ``module:attribute`` spec to a zero-arg adapter factory."""
|
|
65
|
+
return _load_factory(spec, "--adapter", "my_pkg.substrate:MyAdapter")
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def _load_runtime_factory(spec: str) -> Callable[[Any], Any]:
|
|
69
|
+
"""Resolve a ``module:attribute`` spec to a one-adapter runtime factory."""
|
|
70
|
+
return _load_factory(spec, "--runtime", "my_pkg.runtime:make_runtime")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _run_goal_line(
|
|
74
|
+
cases: list[FixtureCase],
|
|
75
|
+
adapter_factory: Callable[[], Any] | None,
|
|
76
|
+
runtime_spec: str | None,
|
|
77
|
+
adapter_label: str,
|
|
78
|
+
verbose: bool,
|
|
79
|
+
) -> int:
|
|
80
|
+
runtime_factory = _load_runtime_factory(runtime_spec) if runtime_spec else None
|
|
81
|
+
report = run_goal_line(cases, adapter_factory, runtime_factory)
|
|
82
|
+
runtime_label = runtime_spec or "URMLRuntime (reference)"
|
|
83
|
+
passed = report.passed_count
|
|
84
|
+
print(f"URML goal line - adapter: {adapter_label}, runtime: {runtime_label}")
|
|
85
|
+
print(
|
|
86
|
+
f"{passed}/{len(report.results)} rejected fixtures refused, "
|
|
87
|
+
"with the expected codes and zero adapter calls"
|
|
88
|
+
)
|
|
89
|
+
if verbose or not report.all_passed:
|
|
90
|
+
print(report.render())
|
|
91
|
+
return 0 if report.all_passed else 1
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def main(argv: list[str] | None = None) -> int:
|
|
95
|
+
parser = argparse.ArgumentParser(
|
|
96
|
+
prog="python -m urml_conformance",
|
|
97
|
+
description="Run the URML conformance suite against a runtime adapter.",
|
|
98
|
+
)
|
|
99
|
+
parser.add_argument(
|
|
100
|
+
"--adapter",
|
|
101
|
+
metavar="MODULE:ATTR",
|
|
102
|
+
default=None,
|
|
103
|
+
help="Adapter factory spec. Omit to self-test with the hermetic MockROSAdapter.",
|
|
104
|
+
)
|
|
105
|
+
parser.add_argument(
|
|
106
|
+
"--filter",
|
|
107
|
+
metavar="SUBSTR",
|
|
108
|
+
default=None,
|
|
109
|
+
help="Only run fixtures whose name contains SUBSTR (e.g. 'quadruped').",
|
|
110
|
+
)
|
|
111
|
+
parser.add_argument(
|
|
112
|
+
"--profile",
|
|
113
|
+
dest="profiles",
|
|
114
|
+
action="append",
|
|
115
|
+
default=None,
|
|
116
|
+
metavar="NAME",
|
|
117
|
+
help=(
|
|
118
|
+
"Only run fixtures that list this profile (repeatable). A registry "
|
|
119
|
+
"compatibility claim for a profile needs every one of them to pass."
|
|
120
|
+
),
|
|
121
|
+
)
|
|
122
|
+
parser.add_argument(
|
|
123
|
+
"--goal-line",
|
|
124
|
+
action="store_true",
|
|
125
|
+
help="Run the goal-line lane instead: hand every rejected fixture to the "
|
|
126
|
+
"runtime and require a refusal with the expected codes and zero adapter calls.",
|
|
127
|
+
)
|
|
128
|
+
parser.add_argument(
|
|
129
|
+
"--runtime",
|
|
130
|
+
metavar="MODULE:ATTR",
|
|
131
|
+
default=None,
|
|
132
|
+
help="With --goal-line: runtime factory spec, called with one adapter. "
|
|
133
|
+
"Omit to use the reference URMLRuntime.",
|
|
134
|
+
)
|
|
135
|
+
parser.add_argument(
|
|
136
|
+
"--report",
|
|
137
|
+
metavar="PATH",
|
|
138
|
+
type=Path,
|
|
139
|
+
default=None,
|
|
140
|
+
help="Write the JSON report (urml.conformance-report/1) to PATH. Main run only.",
|
|
141
|
+
)
|
|
142
|
+
parser.add_argument("-v", "--verbose", action="store_true", help="Print the full per-case report.")
|
|
143
|
+
args = parser.parse_args(argv)
|
|
144
|
+
if args.runtime and not args.goal_line:
|
|
145
|
+
parser.error("--runtime applies only with --goal-line")
|
|
146
|
+
if args.report and args.goal_line:
|
|
147
|
+
parser.error("--report applies to the main run, not to --goal-line")
|
|
148
|
+
|
|
149
|
+
target = args.adapter or "MockROSAdapter (hermetic self-test)"
|
|
150
|
+
|
|
151
|
+
if args.goal_line:
|
|
152
|
+
cases = discover_fixtures()
|
|
153
|
+
if args.filter:
|
|
154
|
+
cases = [c for c in cases if args.filter in c.name]
|
|
155
|
+
if not cases:
|
|
156
|
+
print(f"no fixtures match --filter {args.filter!r}", file=sys.stderr)
|
|
157
|
+
return 2
|
|
158
|
+
factory = _load_adapter_factory(args.adapter) if args.adapter else None
|
|
159
|
+
if not rejected_cases(cases):
|
|
160
|
+
print(f"no rejected fixtures match --filter {args.filter!r}", file=sys.stderr)
|
|
161
|
+
return 2
|
|
162
|
+
return _run_goal_line(cases, factory, args.runtime, target, args.verbose)
|
|
163
|
+
|
|
164
|
+
try:
|
|
165
|
+
report = run_suite(args.adapter, filter=args.filter, profiles=args.profiles)
|
|
166
|
+
except AdapterSpecError as exc:
|
|
167
|
+
raise SystemExit(str(exc)) from exc
|
|
168
|
+
if not report.results:
|
|
169
|
+
found = (
|
|
170
|
+
f"no fixtures match --filter {args.filter!r}"
|
|
171
|
+
if args.filter
|
|
172
|
+
else f"no fixtures list --profile {args.profiles!r}"
|
|
173
|
+
if args.profiles
|
|
174
|
+
else "no fixtures found"
|
|
175
|
+
)
|
|
176
|
+
print(found, file=sys.stderr)
|
|
177
|
+
return 2
|
|
178
|
+
|
|
179
|
+
print(f"URML conformance - adapter: {target}")
|
|
180
|
+
print(f"{report.passed}/{len(report.results)} fixtures passed")
|
|
181
|
+
if args.verbose or not report.all_passed:
|
|
182
|
+
print(report.render())
|
|
183
|
+
if args.report is not None:
|
|
184
|
+
args.report.parent.mkdir(parents=True, exist_ok=True)
|
|
185
|
+
# LF on every platform, so the file's sha256 is the same wherever it is read.
|
|
186
|
+
args.report.write_text(report.model_dump_json(indent=2) + "\n", encoding="utf-8", newline="\n")
|
|
187
|
+
print(f"wrote {args.report}")
|
|
188
|
+
return 0 if report.all_passed else 1
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
if __name__ == "__main__": # pragma: no cover
|
|
192
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: actuation/set_output_digital_positive
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0017 happy path: fire the digital glue-gun line (pulsed) then raise the
|
|
4
|
+
PLC cycle-done handshake. Both are declared digital lines with safe_state
|
|
5
|
+
false. The runtime dispatches each to a set_output_line call on the
|
|
6
|
+
MockROSAdapter, which implements the OutputAdapter capability, so the audit
|
|
7
|
+
shows exactly two set_output_line methods.
|
|
8
|
+
|
|
9
|
+
manifest: cobot_cell_outputs
|
|
10
|
+
profiles: [industrial]
|
|
11
|
+
|
|
12
|
+
program:
|
|
13
|
+
profile: industrial
|
|
14
|
+
behavior:
|
|
15
|
+
type: sequence
|
|
16
|
+
on_error: abort_and_report
|
|
17
|
+
steps:
|
|
18
|
+
- set_output: { output: glue_gun, value: true, pulse_ms: 800 }
|
|
19
|
+
- set_output: { output: cycle_done, value: true }
|
|
20
|
+
|
|
21
|
+
expected_validation:
|
|
22
|
+
accepted: true
|
|
23
|
+
|
|
24
|
+
expected_execution:
|
|
25
|
+
success: true
|
|
26
|
+
steps_executed: 2
|
|
27
|
+
audit_methods:
|
|
28
|
+
- set_output_line
|
|
29
|
+
- set_output_line
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: actuation/set_output_analog_positive
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0017 analog happy path: drive the analog spray-rate line to 60% — within
|
|
4
|
+
the declared range [0, 100]. The value is range-checked at Pass 2 before
|
|
5
|
+
anything actuates, then dispatched to a single set_output_line call.
|
|
6
|
+
|
|
7
|
+
manifest: cobot_cell_outputs
|
|
8
|
+
profiles: [industrial]
|
|
9
|
+
|
|
10
|
+
program:
|
|
11
|
+
profile: industrial
|
|
12
|
+
behavior:
|
|
13
|
+
type: sequence
|
|
14
|
+
on_error: abort_and_report
|
|
15
|
+
steps:
|
|
16
|
+
- set_output: { output: spray_rate, value: 60.0 }
|
|
17
|
+
|
|
18
|
+
expected_validation:
|
|
19
|
+
accepted: true
|
|
20
|
+
|
|
21
|
+
expected_execution:
|
|
22
|
+
success: true
|
|
23
|
+
steps_executed: 1
|
|
24
|
+
audit_methods:
|
|
25
|
+
- set_output_line
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: actuation/set_output_undeclared_line_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0017 negative: set_output references `weld_tip`, which the manifest does
|
|
4
|
+
not declare in outputs.lines. There is no line to drive, so the program is
|
|
5
|
+
rejected at Pass 2 with capability.output_line_not_declared before anything
|
|
6
|
+
actuates.
|
|
7
|
+
|
|
8
|
+
manifest: cobot_cell_outputs
|
|
9
|
+
profiles: [industrial]
|
|
10
|
+
|
|
11
|
+
program:
|
|
12
|
+
profile: industrial
|
|
13
|
+
behavior:
|
|
14
|
+
type: sequence
|
|
15
|
+
on_error: abort_and_report
|
|
16
|
+
steps:
|
|
17
|
+
- set_output: { output: weld_tip, value: true }
|
|
18
|
+
|
|
19
|
+
expected_validation:
|
|
20
|
+
accepted: false
|
|
21
|
+
error_codes:
|
|
22
|
+
- capability.output_line_not_declared
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: actuation/set_output_analog_out_of_range_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0017 negative: set_output drives the analog spray-rate line to 150, above
|
|
4
|
+
the declared range [0, 100]. The validator refuses the out-of-range setpoint
|
|
5
|
+
at Pass 2 with capability.output_value_out_of_range before anything actuates.
|
|
6
|
+
|
|
7
|
+
manifest: cobot_cell_outputs
|
|
8
|
+
profiles: [industrial]
|
|
9
|
+
|
|
10
|
+
program:
|
|
11
|
+
profile: industrial
|
|
12
|
+
behavior:
|
|
13
|
+
type: sequence
|
|
14
|
+
on_error: abort_and_report
|
|
15
|
+
steps:
|
|
16
|
+
- set_output: { output: spray_rate, value: 150.0 }
|
|
17
|
+
|
|
18
|
+
expected_validation:
|
|
19
|
+
accepted: false
|
|
20
|
+
error_codes:
|
|
21
|
+
- capability.output_value_out_of_range
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: actuation/set_output_digital_type_mismatch_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0017 negative: set_output passes a numeric value (0.5) to the digital
|
|
4
|
+
glue-gun line, which only accepts a boolean. The validator rejects the type
|
|
5
|
+
mismatch at Pass 2 with capability.output_value_type_mismatch.
|
|
6
|
+
|
|
7
|
+
manifest: cobot_cell_outputs
|
|
8
|
+
profiles: [industrial]
|
|
9
|
+
|
|
10
|
+
program:
|
|
11
|
+
profile: industrial
|
|
12
|
+
behavior:
|
|
13
|
+
type: sequence
|
|
14
|
+
on_error: abort_and_report
|
|
15
|
+
steps:
|
|
16
|
+
- set_output: { output: glue_gun, value: 0.5 }
|
|
17
|
+
|
|
18
|
+
expected_validation:
|
|
19
|
+
accepted: false
|
|
20
|
+
error_codes:
|
|
21
|
+
- capability.output_value_type_mismatch
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: av/plan_follow_positive
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0020: the research-grade AV happy path. plan_path computes a trajectory
|
|
4
|
+
(bound as `route`), follow_trajectory executes it under a speed envelope
|
|
5
|
+
within the ODD cap. The runtime decomposes this into a plan_trajectory call
|
|
6
|
+
(compute, binds the trajectory) and a follow_trajectory_goal call (actuate),
|
|
7
|
+
so the audit shows exactly those two methods. Hermetic against MockROSAdapter,
|
|
8
|
+
which implements the TrajectoryAdapter capability.
|
|
9
|
+
|
|
10
|
+
manifest: autoware_av
|
|
11
|
+
profiles: [av]
|
|
12
|
+
|
|
13
|
+
program:
|
|
14
|
+
profile: av
|
|
15
|
+
behavior:
|
|
16
|
+
type: sequence
|
|
17
|
+
on_error: abort_and_report
|
|
18
|
+
steps:
|
|
19
|
+
- plan_path: { from: depot, to: dropoff, store_as: route }
|
|
20
|
+
- follow_trajectory:
|
|
21
|
+
trajectory: $route
|
|
22
|
+
speed_envelope: { max_velocity_mps: 12.0 }
|
|
23
|
+
|
|
24
|
+
expected_validation:
|
|
25
|
+
accepted: true
|
|
26
|
+
|
|
27
|
+
expected_execution:
|
|
28
|
+
success: true
|
|
29
|
+
steps_executed: 2
|
|
30
|
+
audit_methods:
|
|
31
|
+
- plan_trajectory
|
|
32
|
+
- follow_trajectory_goal
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: av/plan_path_no_hd_map_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0020 negative: plan_path on a manifest that declares no av.hd_map. There
|
|
4
|
+
is nothing for the planner to cost-map against, so the program is rejected at
|
|
5
|
+
Pass 2 with capability.missing_hd_map.
|
|
6
|
+
|
|
7
|
+
manifest: autoware_av_no_map
|
|
8
|
+
profiles: [av]
|
|
9
|
+
|
|
10
|
+
program:
|
|
11
|
+
profile: av
|
|
12
|
+
behavior:
|
|
13
|
+
type: sequence
|
|
14
|
+
on_error: abort_and_report
|
|
15
|
+
steps:
|
|
16
|
+
- plan_path: { from: depot, to: dropoff, store_as: route }
|
|
17
|
+
- follow_trajectory: { trajectory: $route }
|
|
18
|
+
|
|
19
|
+
expected_validation:
|
|
20
|
+
accepted: false
|
|
21
|
+
error_codes:
|
|
22
|
+
- capability.missing_hd_map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: av/follow_over_odd_cap_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0020 negative: a follow_trajectory speed envelope above the ODD speed cap
|
|
4
|
+
(15 m/s). Rejected at Pass 3 with envelope.velocity_exceeded (the strictest of
|
|
5
|
+
the ODD cap, mobility max, and envelope max).
|
|
6
|
+
|
|
7
|
+
manifest: autoware_av
|
|
8
|
+
profiles: [av]
|
|
9
|
+
|
|
10
|
+
program:
|
|
11
|
+
profile: av
|
|
12
|
+
behavior:
|
|
13
|
+
type: sequence
|
|
14
|
+
on_error: abort_and_report
|
|
15
|
+
steps:
|
|
16
|
+
- plan_path: { from: depot, to: dropoff, store_as: route }
|
|
17
|
+
- follow_trajectory:
|
|
18
|
+
trajectory: $route
|
|
19
|
+
speed_envelope: { max_velocity_mps: 50.0 }
|
|
20
|
+
|
|
21
|
+
expected_validation:
|
|
22
|
+
accepted: false
|
|
23
|
+
error_codes:
|
|
24
|
+
- envelope.velocity_exceeded
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: av/follow_wrong_binding_rejected
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0020 negative: follow_trajectory consuming a binding that is not a
|
|
4
|
+
trajectory. Here it references a detect-bound object; the binding pass rejects
|
|
5
|
+
it with binding.type_mismatch, proving follow_trajectory only accepts a
|
|
6
|
+
plan_path-produced trajectory (the detect -> object -> grasp precedent).
|
|
7
|
+
|
|
8
|
+
manifest: autoware_av
|
|
9
|
+
profiles: [av]
|
|
10
|
+
|
|
11
|
+
program:
|
|
12
|
+
profile: av
|
|
13
|
+
behavior:
|
|
14
|
+
type: sequence
|
|
15
|
+
on_error: abort_and_report
|
|
16
|
+
steps:
|
|
17
|
+
- detect: { object: cone, store_as: c }
|
|
18
|
+
- follow_trajectory: { trajectory: $c }
|
|
19
|
+
|
|
20
|
+
expected_validation:
|
|
21
|
+
accepted: false
|
|
22
|
+
error_codes:
|
|
23
|
+
- binding.type_mismatch
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: biped/digit_patrol_positive
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0009 follow-up: a navigation-only patrol on the compliant
|
|
4
|
+
Agility Digit manifest (drive_type: biped, US origin). The
|
|
5
|
+
navigation half of what DigitAdapter implements; whole-body
|
|
6
|
+
manipulation (RFC-0010) is exercised by the bimanual fixtures on the
|
|
7
|
+
dual-arm Digit manifest. Nav-only, so it runs hermetically against
|
|
8
|
+
MockROSAdapter and adapter-agnostically against DigitAdapter.
|
|
9
|
+
|
|
10
|
+
manifest: digit_biped
|
|
11
|
+
profiles: [home]
|
|
12
|
+
|
|
13
|
+
program:
|
|
14
|
+
profile: home
|
|
15
|
+
behavior:
|
|
16
|
+
type: sequence
|
|
17
|
+
on_error: abort_and_report
|
|
18
|
+
steps:
|
|
19
|
+
- move_to: { location: staging_a }
|
|
20
|
+
- move_to: { location: staging_b }
|
|
21
|
+
- move_to: { location: dock }
|
|
22
|
+
|
|
23
|
+
expected_validation:
|
|
24
|
+
accepted: true
|
|
25
|
+
|
|
26
|
+
expected_execution:
|
|
27
|
+
success: true
|
|
28
|
+
steps_executed: 3
|
|
29
|
+
audit_methods:
|
|
30
|
+
- send_navigation_goal
|
|
31
|
+
- send_navigation_goal
|
|
32
|
+
- send_navigation_goal
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: biped/optimus_manifest_accepted
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0009 follow-up, manifest + spec only. Tesla Optimus has no
|
|
4
|
+
public SDK, so there is no adapter; per the multi-brand plan it is
|
|
5
|
+
covered by validator acceptance, not execution. This is a
|
|
6
|
+
validator-only case: the biped manifest + a minimal program must be
|
|
7
|
+
accepted (drive_type: biped from RFC-0009, US origin compliant).
|
|
8
|
+
No expected_execution, so the runner stops after validation by
|
|
9
|
+
design.
|
|
10
|
+
|
|
11
|
+
manifest: optimus_biped
|
|
12
|
+
profiles: [home]
|
|
13
|
+
|
|
14
|
+
program:
|
|
15
|
+
profile: home
|
|
16
|
+
behavior:
|
|
17
|
+
type: sequence
|
|
18
|
+
on_error: abort_and_report
|
|
19
|
+
steps:
|
|
20
|
+
- move_to: { location: waypoint_a }
|
|
21
|
+
|
|
22
|
+
expected_validation:
|
|
23
|
+
accepted: true
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: biped/figure_manifest_accepted
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0009 follow-up, manifest + spec only. Figure 02 has no public
|
|
4
|
+
SDK; covered by validator acceptance, not execution. The biped
|
|
5
|
+
manifest + a minimal program must be accepted (drive_type: biped,
|
|
6
|
+
US origin compliant). No expected_execution by design.
|
|
7
|
+
|
|
8
|
+
manifest: figure_biped
|
|
9
|
+
profiles: [home]
|
|
10
|
+
|
|
11
|
+
program:
|
|
12
|
+
profile: home
|
|
13
|
+
behavior:
|
|
14
|
+
type: sequence
|
|
15
|
+
on_error: abort_and_report
|
|
16
|
+
steps:
|
|
17
|
+
- move_to: { location: waypoint_a }
|
|
18
|
+
|
|
19
|
+
expected_validation:
|
|
20
|
+
accepted: true
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: biped/apollo_manifest_accepted
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0009 follow-up, manifest + spec only. Apptronik Apollo has no
|
|
4
|
+
public SDK; covered by validator acceptance, not execution. The
|
|
5
|
+
biped manifest + a minimal program must be accepted (drive_type:
|
|
6
|
+
biped, US origin compliant). No expected_execution by design.
|
|
7
|
+
|
|
8
|
+
manifest: apollo_biped
|
|
9
|
+
profiles: [home]
|
|
10
|
+
|
|
11
|
+
program:
|
|
12
|
+
profile: home
|
|
13
|
+
behavior:
|
|
14
|
+
type: sequence
|
|
15
|
+
on_error: abort_and_report
|
|
16
|
+
steps:
|
|
17
|
+
- move_to: { location: waypoint_a }
|
|
18
|
+
|
|
19
|
+
expected_validation:
|
|
20
|
+
accepted: true
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: biped/neo_manifest_accepted
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0009 follow-up, manifest + spec only. 1X NEO has no public SDK;
|
|
4
|
+
covered by validator acceptance, not execution. The biped manifest +
|
|
5
|
+
a minimal program must be accepted (drive_type: biped; Norway
|
|
6
|
+
origin — an allied, non-covered country, so the default US-federal
|
|
7
|
+
policy accepts it). No expected_execution by design.
|
|
8
|
+
|
|
9
|
+
manifest: neo_biped
|
|
10
|
+
profiles: [home]
|
|
11
|
+
|
|
12
|
+
program:
|
|
13
|
+
profile: home
|
|
14
|
+
behavior:
|
|
15
|
+
type: sequence
|
|
16
|
+
on_error: abort_and_report
|
|
17
|
+
steps:
|
|
18
|
+
- move_to: { location: waypoint_a }
|
|
19
|
+
|
|
20
|
+
expected_validation:
|
|
21
|
+
accepted: true
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: biped/digit_bimanual_lift_positive
|
|
2
|
+
description: >
|
|
3
|
+
RFC-0010 whole-body manipulation: a two-arm tote lift on the dual-arm
|
|
4
|
+
Agility Digit manifest (drive_type: biped, manipulation.arms left+right,
|
|
5
|
+
US origin). The robot detects the tote, then a single `bimanual together`
|
|
6
|
+
step grips it with both arms. The runtime decomposes the bimanual into two
|
|
7
|
+
arm-addressed manipulation goals, so the audit shows the detection followed
|
|
8
|
+
by one send_manipulation_goal per arm. Runs hermetically against
|
|
9
|
+
MockROSAdapter and adapter-agnostically against DigitAdapter.
|
|
10
|
+
|
|
11
|
+
manifest: digit_bimanual
|
|
12
|
+
profiles: [home]
|
|
13
|
+
|
|
14
|
+
program:
|
|
15
|
+
profile: home
|
|
16
|
+
behavior:
|
|
17
|
+
type: sequence
|
|
18
|
+
on_error: abort_and_report
|
|
19
|
+
steps:
|
|
20
|
+
- detect: { object: tote, store_as: the_tote }
|
|
21
|
+
- bimanual:
|
|
22
|
+
mode: together
|
|
23
|
+
left: { target: $the_tote, force: firm }
|
|
24
|
+
right: { target: $the_tote, force: firm }
|
|
25
|
+
|
|
26
|
+
expected_validation:
|
|
27
|
+
accepted: true
|
|
28
|
+
|
|
29
|
+
expected_execution:
|
|
30
|
+
success: true
|
|
31
|
+
steps_executed: 2
|
|
32
|
+
audit_methods:
|
|
33
|
+
- query_detection
|
|
34
|
+
- send_manipulation_goal
|
|
35
|
+
- send_manipulation_goal
|