namespace IndustrialRoboticsControl

features
    Robotics_Control_System {abstract}
        mandatory
            Hardware_Components
                alternative
                    Arm_Kinematics {Kcal 800, Weight 5.0}
                        or
                            Six_Axis_Arm
                            SCARA_Arm
                            Cartesian_Arm
                    Gantry
                    End_Effectors
                        alternative
                            Gripper {Price 150}
                            Welder_Shotgun {Price 300, Weight 7.0}
            Software_Modules {abstract}
                mandatory
                    Motion_Control 
                        optional
                            Path_Planning_Module
                            Collision_Detection_System
                alternative
                    Fuzzy_Logic
                    Machine_Learning_Based

        optional
            Safety_Measures
                or
                    Emergency_Stop_Switch
                    Protective_Armor_Guard
            Sensor_Arrays
                mandatory
                    Position_Sensors {Precision 0.01}
                        [1..5]
                            Encoder {Resolution 'High'}
                            Potentiometer
                            Resolver {type 'Inductive'}
                    Proximity_Sensors
                        or
                            Ultrasonic {Range_Meters 10}
                            Infrared 
            Communication_Interface
                alternative
                    Ethernet {Bandwidth_Gbps 1.0}
                    Wireless_RFID
                    Bluetooth

constraints
    Six_Axis_Arm => !SCARA_Arm & Path_Planning_Module // SCARAs lack the flexibility of a six-axis arm
    Cartesian_Arm <=> (Path_Planning_Module | Collision_Detection_System) // Requires precise path planning
    Fuzzy_Logic => !Machine_Learning_Based // These software strategies are mutually exclusive
    Machine_Learning_Based & Encoder > 1 => Path_Planning_Module // ML requires high precision from Encoders
    Safety_Measures => (Emergency_Stop_Switch | Protective_Armor_Guard) 
    Gantry & Six_Axis_Arm => !SCARA_Arm
    End_Effectors.Price <= 500 & End_Effectors.Weight < 10.0 // Budget-friendly and lightweight end effectors preferred
    Position_Sensors.Precision < 0.05 & Ultrasonic.Range_Meters > 5 => Path_Planning_Module // High precision and range sensors require good path planning
    Machine_Learning_Based & Encoder.Resolution == 'High' => Collision_Detection_System // ML needs high-resolution encoders to avoid collisions.
    Wireless_RFID <=> Bluetooth // Either wireless communication is supported via RFID or Bluetooth, not both.

    // Add more constraints up to the total of 100