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 bpy | |
import os | |
import glob | |
# Run with | |
# /Applications/Blender.app/Contents/MacOS/Blender --background --python ~/Desktop/stl2dae.py | |
if __name__ == '__main__': |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
from pyluos import Robot | |
robot = Robot('/dev/cu.usbserial-14310') | |
button = robot.btn_gpios.p8 | |
potentiometer = robot.btn_gpios.p9 | |
blue_led = robot.led_gpios.p2 | |
green_led = robot.led_gpios.p3 | |
red_led = robot.led_gpios.p4 |
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
from pyluos import Robot | |
robot = Robot('/dev/cu.usbserial-14310') | |
button = robot.btn_gpios.p8 | |
blue_led = robot.led_gpios.p2 | |
while True: | |
if button.is_high(): |
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
from itertools import cycle | |
from time import sleep | |
from pyluos import Robot | |
freq = 2.0 | |
if __name__ == '__main__': | |
r = Robot('/dev/cu.usbserial-14310') |
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 bpy | |
import json | |
from bpy.types import PropertyGroup | |
from bpy.props import (BoolProperty, | |
IntProperty, | |
StringProperty, | |
PointerProperty) | |
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
(function() { | |
const defaultHost = 'poppy.local:8080'; | |
const defaultScheme = 'http'; | |
const defaultMotorFlexibility = 'compliant'; | |
const defaultMotorPosition = 0; | |
const defaultMovementDuration = 2; | |
const noop = function() {}; | |
const wsHost = 'ws://127.0.0.1:9009'; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder