I am attempting to make a stereo camera rig for the pandaboard. The aim is to release it as an open source hardware project when it is in a working form.
Some images of the hardware can be found here: http://imgur.com/a/3L5l8
System layout:
I am attempting to make a stereo camera rig for the pandaboard. The aim is to release it as an open source hardware project when it is in a working form.
Some images of the hardware can be found here: http://imgur.com/a/3L5l8
System layout:
| runs = 1000000 | |
| Math.RandomInteger = (n, m) -> | |
| if not m then m = 1 # default range starts at 1 | |
| max = if n > m then n else m # doesn<q>t matter which value is min or max | |
| min = if n is max then m else n # min is value that is not max | |
| d = max - min + 1 # distribution range | |
| Math.floor(Math.random() * d + min) |
| regress = ()-> | |
| stack = [0,1,0,1] #regress with stack of 4 and mean of 0 | |
| (result)-> | |
| stack.push(result) | |
| stack.unshift() | |
| sum = 0 | |
| for i in stack | |
| sum += i | |
| sum /= 4 | |
| if sum is 0.5 then Math.RandomInteger(0,1) |
| initBuffer = (len)-> | |
| buffer = new ArrayBuffer(len) | |
| stack = new Uint8Array(buffer); | |
| for i in [0..len] by 2 | |
| stack[i] = 0; | |
| stack[i+1] = 1; | |
| stack | |
| regress = ()-> | |
| stack = initBuffer(4) |
| //c Ben Howes 2012 | |
| //the main structure of the arm section | |
| module s1_main(outline=false, tol=0){ | |
| far_center = 120; | |
| end_cube_radius = 15; | |
| hole_offset = end_cube_radius-4.75; |
| include <MCAD/involute_gears.scad> | |
| include <MCAD/bearing.scad> | |
| include <MCAD/boxes.scad> | |
| include <MCAD/nuts_and_bolts.scad> | |
| include <MCAD/units.scad> | |
| far_center = [60,0,0]; | |
| near_center = [-60,0,0]; | |
| end_cube_radius = 15; | |
| stem_thickness = 7; |
| include <MCAD/involute_gears.scad> | |
| include <MCAD/bearing.scad> | |
| include <MCAD/boxes.scad> | |
| include <MCAD/nuts_and_bolts.scad> | |
| include <MCAD/units.scad> | |
| include <motor_gearbox.scad> | |
| far_center = [60,0,0]; | |
| near_center = [-60,0,0]; |
| Input Journeys | |
| ---- | |
| processing route: 100 whiteladies road | |
| -> 15 Park Street | |
| route interpreted as: 100 Whiteladies Rd, Clifton, Bristol, City of Bristol BS8, UK | |
| -> 15 Park St, Bristol BS1, UK | |
| route length 1859.06420152 | |
| processing route: 6 Tyndalls Park Road | |
| -> Temple Meads Station |
| BASEDIR: /home/ben/openscad_deps | |
| DEPLOYDIR: /home/ben/openscad_deps | |
| PATH modified | |
| LD_LIBRARY_PATH modified | |
| LD_RUN_PATH modified | |
| OPENSCAD_LIBRARIES modified | |
| GLEWDIR modified | |
| Please re-run qmake-qt4 and run 'make clean' if necessary | |
| Note: The NUMCPU environment variable can be set for paralell builds | |
| Using basedir: /home/ben/openscad_deps |
| $ dpkg --list | grep boost-thread | |
| ii libboost-thread-dev 1.49.0.1 amd64 portable C++ multi-threading (default version) | |
| ii libboost-thread1.42.0 1.42.0-4ubuntu2 amd64 portable C++ multi-threading | |
| rc libboost-thread1.46.1 1.46.1-7ubuntu3 amd64 portable C++ multi-threading | |
| ii libboost-thread1.49-dev 1.49.0-3.1ubuntu1.1 amd64 portable C++ multi-threading | |
| ii libboost-thread1.49.0 1.49.0-3.1ubuntu1.1 amd64 portable C++ multi-threading | |
| ben@ben-desktop:~$ dpkg --list | grep boost | |
| ii libboost-all-dev 1.49.0.1 amd64 Boost C++ Libraries development files (ALL) (defaul |