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
import asyncio | |
from viam.robot.client import RobotClient | |
from viam.rpc.dial import Credentials, DialOptions | |
from viam.components.arm import Arm | |
from viam.components.motor import Motor | |
from viam.components.board import Board | |
from viam.components.arm import ArmClient, JointPositions | |
import random | |
import asyncio |
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": [ | |
{ | |
"type": "arm", | |
"model": "fake", | |
"attributes": { | |
"arm-model": "ur5e" | |
}, | |
"depends_on": [ | |
"myMotor" |
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
# The unusual ordering below is deliberate; older firmwares (in particular the | |
# version initially shipped with bionic) don't understand the conditional | |
# [sections] below and simply ignore them. The Pi4 doesn't boot at all with | |
# firmwares this old so it's safe to place at the top. Of the Pi2 and Pi3, the | |
# Pi3 uboot happens to work happily on the Pi2, so it needs to go at the bottom | |
# to support old firmwares. | |
[pi4] | |
#kernel=uboot_rpi_4.bin | |
max_framebuffers=2 |
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
# This file contains a netplan-compatible configuration which cloud-init will | |
# apply on first-boot (note: it will *not* update the config after the first | |
# boot). Please refer to the cloud-init documentation and the netplan reference | |
# for full details: | |
# | |
# https://cloudinit.readthedocs.io/en/latest/topics/network-config.html | |
# https://cloudinit.readthedocs.io/en/latest/topics/network-config-format-v2.html | |
# https://netplan.io/reference | |
# | |
# Please note that the YAML format employed by this file is sensitive to |