Last active
February 10, 2023 18:16
-
-
Save mestcihazal/7683fbdd0975579b44295b3208757b5a to your computer and use it in GitHub Desktop.
Nerf Gun Robot Config for Viam App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": [ | |
{ | |
"attributes": {}, | |
"depends_on": [], | |
"name": "board", | |
"type": "board", | |
"model": "pi" | |
}, | |
{ | |
"model": "gpio", | |
"attributes": { | |
"board": "board", | |
"pins": { | |
"b": "18", | |
"a": "16" | |
} | |
}, | |
"depends_on": [ | |
"board" | |
], | |
"name": "right", | |
"type": "motor" | |
}, | |
{ | |
"name": "base", | |
"type": "base", | |
"model": "wheeled", | |
"attributes": { | |
"width_mm": 130, | |
"wheel_circumference_mm": 200, | |
"left": [ | |
"left" | |
], | |
"right": [ | |
"right" | |
] | |
}, | |
"depends_on": [ | |
"left", | |
"right", | |
"board" | |
] | |
}, | |
{ | |
"attributes": { | |
"pins": { | |
"a": "11", | |
"b": "13" | |
}, | |
"board": "board" | |
}, | |
"depends_on": [ | |
"board" | |
], | |
"name": "left", | |
"type": "motor", | |
"model": "gpio" | |
}, | |
{ | |
"model": "webcam", | |
"attributes": { | |
"height_px": 960, | |
"stream": "", | |
"debug": false, | |
"format": "", | |
"video_path": "video0", | |
"video_path_pattern": "", | |
"width_px": 1280 | |
}, | |
"depends_on": [], | |
"name": "camera", | |
"type": "camera" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment