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
(.venv) Inquisitive-Lexicon-Big-8:zephyr frankenteddy$ west build -p always -b stm32l496g_disco samples/basic/blinky | |
-- west build: making build dir /Users/frankenteddy/zephyrproject/zephyr/build pristine | |
-- west build: generating a build system | |
Loading Zephyr default modules (Zephyr base). | |
-- Application: /Users/frankenteddy/zephyrproject/zephyr/samples/basic/blinky | |
-- Found Python3: /usr/local/Frameworks/Python.framework/Versions/3.10/bin/python3.10 (found suitable version "3.10.7", minimum required is "3.8") found components: Interpreter | |
-- Cache files will be written to: /Users/frankenteddy/Library/Caches/zephyr | |
-- Zephyr version: 3.2.99 (/Users/frankenteddy/zephyrproject/zephyr) | |
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1") | |
-- Board: stm32l496g_disco |
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
uint16_t slice = millis() % 1000; | |
digitalWrite(led, slice < 100 || (slice > 200 && slice < 300)); |
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
AFRAME.registerComponent('voxelarena', { | |
init: function () { | |
var parentEl = this.el; | |
var col_ind = 0; | |
var row_ind = 0; | |
var num_tiles = 0; | |
setInterval(function () { | |
if(num_tiles >= 7*7) return; | |
var childEl = document.createElement('a-entity'); |
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
python3 Object_detection_picamera.py | |
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.4 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5 | |
return f(*args, **kwds) | |
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: builtins.type size changed, may indicate binary incompatibility. Expected 432, got 412 | |
return f(*args, **kwds) | |
Traceback (most recent call last): | |
File "Object_detection_picamera.py", line 97, in <module> | |
image_tensor = detection_graph.get_tensor_by_name('image_tensor:0') | |
File "/home/pi/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3789, in get_tensor_by_name | |
return self.as_graph_element(name, allow_tensor=True, allow_operation=False) |
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
0. download the latest pi + processing rasbian -- this is written using 3.3.7.2 (the previous revision had an error that we encountered too https://github.com/gohai/processing-glvideo/issues/53) | |
1. change the config to legacy gl driver... as enabling the kms ones would actually disable gpu video support (says so here: https://github.com/gohai/processing-glvideo#raspbian) | |
sudo raspi-config | |
2. change the memory available (gui - settings) | |
256 | |
3. make sure interfaces are on | |
ssh (if you want to remote in to the pi) |
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
Quick overview of the Bowie Lib: | |
- Modules like BowieHopper, BowieScoop, BowieComms, etc. all get imported by MegaBowieShoreline. | |
- This is so that there can eventually be a MegaBowieSeedPlanter, for the next missions etc. | |
In MegaBowieShoreline.cpp, void MegaBowieShoreline::begin() { | |
This is where the objects get initialised | |
Bowie Lib: | |
https://drive.google.com/open?id=1UxYtklpj5Cls7tZ_94N0011cSO4xvv_t |
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
void randyIsAwesome() { | |
// startup tasks | |
if (effectInit == false) { | |
effectInit = true; | |
effectDelay = 100; | |
} | |
for (byte x = 0; x < kMatrixWidth; x++) { | |
for (int y = 0; y < kMatrixHeight; y++) { |
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
ffmpeg -r 30 -f image2 -i image-%d.JPG -f mp4 -q:v 0 -vcodec mpeg4 -r 30 -vf scale=1920:-1 -vb 20M output.mp4 | |
#before the 2nd -f put -vframes 100 for the first 100 frames | |
# save an image from a video every 10 seconds | |
# ffmpeg -i input.mkv -r 0.1 %06d.png |
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 fab | |
title('spheramid') | |
input('x0',float) | |
input('y0',float) | |
input('z0',float) | |
input('r',float) | |
input('width',float) | |
input('height',float) |
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
Profile Location | |
Duplicated profiles are saved to your home directory and will show up between different versions of ReplicatorG. | |
Windows: | |
/Users/[USERNAME]/.replicatorg/sf_[VER]_profiles/ | |
Mac: | |
~/.replicatorg/sf_[VER]_profiles/ |
NewerOlder