Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Kp/add fastening robot schema#87

Merged
AlexGodbehere merged 21 commits into
mainfrom
kp/add-fastening-robot-schema
Apr 9, 2025
Merged

Kp/add fastening robot schema#87
AlexGodbehere merged 21 commits into
mainfrom
kp/add-fastening-robot-schema

Conversation

@KavanPrice
Copy link
Copy Markdown
Contributor

Add:

  • Robot/Fastening_Robot/Robot-v1
    • Fastening_End_Effector-v1
      • Fastening_Axis-v1
      • Non_Fastening_Axis-v1
      • Fastening_Vision_System-v1
      • ILD-v1
    • Correction_FastenerFind-v1
    • Correction_HoleFind-v1
    • Correction_Laser-v1

@KavanPrice KavanPrice requested a review from AlexGodbehere April 7, 2025 23:33
@KavanPrice KavanPrice self-assigned this Apr 7, 2025
Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
Comment thread Robot/Fastening_Robot/Fastening_Axis-v1.json Outdated
Comment thread Cell/Cell-v1.json Outdated
Comment thread Cell/Cell-v1.json Outdated
Comment on lines +36 to +49
"Cell_Connected": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Metric-v1.json"
},
"Safety": {
"type": "object",
"properties": {
"Emergency_Stops": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Emergency_Stop-v1.json"
}
}
},
"Protective_Stops": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Protective_Stop-v1.json"
}
}
}
{
"properties": {
"Documentation": {
"default": ""
},
"Sparkplug_Type": {
"enum": ["Boolean"]
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Work out what this means and decide where it goes.

Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
Comment on lines +62 to +73
"Cell": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Cell-v1.json"
},
"E_Stop_Overall": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Emergency_Stop-v1.json"
},
"E_Stop_SW_External": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Emergency_Stop-v1.json"
},
"E_Stop_SW_Internal": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Cell/Emergency_Stop-v1.json"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
Comment on lines +53 to +61
"Correction_FastenerFind": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Robot/Fastening_Robot/Correction_FastenerFind-v1.json"
},
"Correction_HoleFind": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Robot/Fastening_Robot/Correction_HoleFind-v1.json"
},
"Correction_Laser": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Robot/Fastening_Robot/Correction_Laser-v1.json"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flatten and put on bespoke EE

Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
}
}
},
"End_Effectors": {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"End_Effectors": {
"Fastening_End_Effectors": {

@AlexGodbehere AlexGodbehere self-requested a review April 9, 2025 06:48
Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
Comment on lines +35 to +43
"Axes": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]*$": {
"$comment": "An axis name or identifier - can be any regular string",
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Axis-v1.json"
}
}
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be Base_Robot and be an instance of Robot-v1. Then we get all of the "robot properties" too.

Comment thread Robot/Fastening_Robot/Fastening_Vision_System-v1.json Outdated
Comment thread Robot/Fastening_Robot/Robot-v1.json Outdated
Comment on lines -32 to -34
"Device_Information": {
"$ref": "https://raw.githubusercontent.com/AMRC-FactoryPlus/schemas/main/Common/Device_Information-v1.json"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this

@AlexGodbehere AlexGodbehere merged commit e0e7c98 into main Apr 9, 2025
1 check passed
@AlexGodbehere AlexGodbehere deleted the kp/add-fastening-robot-schema branch April 9, 2025 13:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants