A collection of tools (usually built out of frustration), both software and hardware I’ve made or contributed towards.
These adapters are for adding a small handle for your drill bits or reamers so you can hold them without using pliers that might mar the shank or having to chuck the bit in a larger tool. You can also print the handle for more ergonomic drilling.
Links
Bricklayer (Experiment Structures) is a framework for a finite state machine that exploits Unity’s Scene hierarchy for reordering the states and utilizes Unity’s Inspector for configuration. The framework has been used mainly for creating human behavioral experiments (psychophysics) and data collection applications (Haplets, the EMG project, and Chasm, amongst others).
Links
I built this out of frustration of the lack of support from NVIDIA 😔. This is a fork of an existing repository.
Experimental Unity package to enable access to NVIDIA PhysX SDK 4 from within Unity. This fork is specifically set up for building for Android. All references to CUDA have been commented out. Tested on Unity 2020.2.0f1, built with NDK v23’s cmake toolchain on macOS 10.15
Example running on Quest 2:
Links
I always want to export the highest quality plots possible for my publications. I needed some easily copy-pasta’d code to export high resolution plots.
This will produce nice vector figures and rasters at a nice crispy 300 DPI
Add this to the top of your script
fontname = 'Arial'; % or your favorite font, IEEE prefers Arial in figures. Helvetica is also sexy.
set(0,'DefaultAxesFontName',fontname,'DefaultTextFontName',fontname);
set(0,'DefaultAxesFontSize',8);
set(0,'DefaultLineLineWidth',1.2);
colors = get(0, 'DefaultAxesColorOrder');
When creating a new figure window
fignum = 1;
fig = figure(fignum); clf; hold on; grid on; box on;
fig.Renderer = 'Painters'; % this ensures that your figure will be vector/ps
When you are ready to save
fig.PaperUnits = 'inches';
fig.PaperPosition = [0 0 6 4]; % adjust this to the aspect ratio you want in your publication
figpath = strcat('figure_',num2str(fignum));
print(figpath,'-dpng','-r300') % or change this to 600 (dpi) for crispier figs
print(figpath,'-depsc','-r300') % or change this to 600 (dpi) for crispier figs
Optional: Use ghostscript-based eps2pdf MATLAB function to generate pdf
eps2pdf(strcat(figpath,'.eps'),'/usr/local/bin/gs') % second parameter is path to ghostscript exec
For best results, use the .pdf in LaTeX!
Links
So I wanted to 3D print some hand bones and pose them within SolidWorks with accurate kinematics. The best models at the time were available as OpenSim models. OpenSim uses this ancient 3D model format that isn’t so friendly. Luckily, OpenSim has a python 2.7 API. So I wrote a script to extract those models. Yay bones!
Links
Quick and dirty Unity singleton to queue up files for AWS S3 upload. Probably not the best design for security. But it should be ideal for small labs running user studies.
Links
A blatant rip-off of a famous sports camera hand/body mount. Just add velcro straps!
Vitamins Required
Links