Skip to content

Instantly share code, notes, and snippets.

View graykevinb's full-sized avatar

Kevin Gray graykevinb

View GitHub Profile
// Generated by Grok 4 and edited by graykevinb
// import rpi model
include <misc_boards.scad>;
// Small Robot Frame in OpenSCAD
// Designed for 4 motors with 1.5 inch diameter, Raspberry Pi 3B mount, camera mount, small LiPo battery holder
// Motor mounts are semi-circular cradles with top brackets for bolting
// Added rectangular holes in the base plate above each motor mount to allow motor insertion
// All parts are separate for 3D printing
@graykevinb
graykevinb / gist:cf83fbd59eee9fbbdef04ffbfdcaa648
Created May 19, 2019 00:12
Error for installing vagrant-unison plugin
[user@computer ~]$ vagrant plugin install vagrant-unison
Installing the 'vagrant-unison' plugin. This can take a few minutes...
/usr/share/gems/gems/psych-3.1.0/lib/psych.rb:237: warning: already initialized constant Psych::LIBYAML_VERSION
/usr/share/ruby/psych.rb:237: warning: previous definition of LIBYAML_VERSION was here
/usr/share/gems/gems/psych-3.1.0/lib/psych.rb:239: warning: already initialized constant Psych::NOT_GIVEN
/usr/share/ruby/psych.rb:239: warning: previous definition of NOT_GIVEN was here
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
@graykevinb
graykevinb / motor_log.py
Created February 22, 2017 04:00
Log BrickPi3 motors
#Licensed under Createive Commons Share Alike 4.0
#https://creativecommons.org/licenses/by-sa/4.0/
#Created by Kevin Gray
#For use with the brickpi3 by Dexter Industries. https://www.dexterindustries.com/BrickPi/
import brickpi3
import datetime
import time
BP = brickpi3.BrickPi3()