-
Notifications
You must be signed in to change notification settings - Fork 3
/
3d_scanner.txt
60 lines (42 loc) · 1.61 KB
/
3d_scanner.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Note: This is half a document. I never did finish getting this set up
and the world has moved on - I'm likely better using any of the many
photogrammetery apps available these days and having the camera move
around the platform (or just reuse it and have the platform move as
this does, if it supports that - which would be easier). Still
committed for posterity.
From
http://media.wix.com/ugd/ed8e91_d1173069b4cc4e569961f77c45803b0c.pdf,
which I've also stashed in ~/workspace/3d_printing/ciclop_scanner
1.) Install Horus:
Docs here:
http://horus.readthedocs.io/en/release-0.2/source/installation/ubuntu.html
At the time of writing, this does not work, because of package
conflicts. See:
https://github.com/bqlabs/horus/issues/92
* Docker and a helpful fellow to the rescue:
sudo apt-get install docker.io
sudo usermod -a -G docker $USER
* log off and log back in
docker pull fcrohas/horus
* Make a simple wrapper script:
====
#!/bin/bash
xhost +local:`docker inspect --format='{{ .Config.Hostname }}' $containerId`
docker run -it --rm \
--name horus \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device=/dev/video1:/dev/video1:rwm \
--device=/dev/ttyUSB0:/dev/ttyUSB0:rwm \
-v ~/workspace/horus-docker/horus:/root/.horus \
fcrohas/horus:latest
xhost -
====
* Make sure the user (me) is in the dialout group (I should already, but
make sure):
sudo usermod -a -G dialout $USER
* Log off and log back in
2.) Calibrate
* Start it the first time. It will pop up a wizard wondow. Tick the
box that says to not show it again, then close it.
* Follow the instructions to upload firmware.