Skip to content

Instantly share code, notes, and snippets.

@robofoundry
Created April 30, 2023 02:20
Show Gist options
  • Save robofoundry/a271d3154af7ebd4f7117fc6f2421700 to your computer and use it in GitHub Desktop.
Save robofoundry/a271d3154af7ebd4f7117fc6f2421700 to your computer and use it in GitHub Desktop.
viam mock config
{
"components": [
{
"type": "arm",
"model": "fake",
"attributes": {
"arm-model": "ur5e"
},
"depends_on": [
"myMotor"
],
"name": "myArm"
},
{
"model": "fake",
"attributes": {
"pins": {
"pwm": "",
"dir": ""
},
"board": "myPi"
},
"depends_on": [
"myPi"
],
"frame": {
"orientation": {
"type": "ov_degrees",
"value": {
"z": 1,
"th": 0,
"x": 0,
"y": 0
}
},
"parent": "myArm",
"translation": {
"x": 0,
"y": 0,
"z": 0
}
},
"name": "myMotor",
"type": "motor"
},
{
"type": "board",
"model": "fake",
"attributes": {
"fail_new": false
},
"depends_on": [],
"name": "myPi"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment