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
git clone https://github.com/TileDB-Inc/TileDB | |
cd TileDB | |
mkdir build && cd build | |
../bootstrap | |
make -j8 |
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
#!/bin/sh | |
echo "Installing OpenCV 2.4.10" | |
mkdir OpenCV | |
cd OpenCV | |
echo "Removing any pre-installed ffmpeg and x264" | |
sudo apt-get -y remove ffmpeg x264 libx264-dev | |
sudo echo "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" >> /etc/apt/sources.list | |
sudo echo "deb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse" >> /etc/apt/sources.list |
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 sys | |
import time | |
import pyrgbdcalib | |
if __name__ == '__main__': | |
daemon = pyrgbdcalib.KinectDaemon("141.54.147.108","141.54.147.106") | |
recording = daemon.record("/opt/kinect-resources/rgbd-framework/rgbd-daemon/kinect_recordings/rgbdri_rec_3.stream","141.54.147.108:7000",4) | |
time.sleep(5) | |
recording.stop() |
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
#!/usr/bin/python | |
### import guacamole libraries | |
import avango | |
import avango.gua | |
import avango.script | |
from avango.script import field_has_changed | |
class Cube(): |
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
def createCube(self,PARENT_NODE, pickResult, cubeSize, cubeOffset): | |
_loader = avango.gua.nodes.TriMeshLoader() | |
_newCubePosition = pickResult.WorldPosition.value + (pickResult.WorldNormal.value * (cubeSize + cubeOffset)) | |
cubeNode = _loader.create_geometry_from_file( | |
"Cube " + str(_newCubePosition.x) + str(_newCubePosition.y) + str(_newCubePosition.z), "data/objects/cube.obj", | |
avango.gua.LoaderFlags.DEFAULTS | avango.gua.LoaderFlags.MAKE_PICKABLE) | |
cubeNode.Transform.value = avango.gua.make_trans_mat(_newCubePosition) | |
PARENT_NODE.Children.value.append(cubeNode) |
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
[ 50%] Built target glfw | |
[ 83%] Built target framework | |
[ 88%] Built target example | |
[ 94%] Built target raytracer | |
Scanning dependencies of target tests | |
[ 97%] Building CXX object tests/CMakeFiles/tests.dir/main.cpp.o | |
[100%] Linking CXX executable ../build/Release/tests | |
Undefined symbols for architecture x86_64: | |
"SceneObject::rotate(float, glm::detail::tvec3<float, (glm::precision)0> const&)", referenced from: | |
____C_A_T_C_H____T_E_S_T____42() in main.cpp.o |
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
------------------------------------------------------------------------------- | |
sceneObjectDefaultConstructor | |
------------------------------------------------------------------------------- | |
/home/vagrant/raytracer/tests/main.cpp:27 | |
............................................................................... | |
/home/vagrant/raytracer/tests/main.cpp:30: FAILED: | |
REQUIRE( so.transformMatrix() == glm::mat4{0.0} ) | |
with expansion: | |
{?} == {?} |