Skip to content
Snippets Groups Projects
Commit eaa408ec authored by Quentin Leblanc's avatar Quentin Leblanc
Browse files

everything runs and compile (on my computer)

parent 1a8cbb8b
No related branches found
No related tags found
No related merge requests found
include ../../../ar_sandbox_lib/dep.mk
API_PATH=../../../ar_sandbox_lib
API_PATH=../../ar_sandbox_lib
CFLAGS=-std=c++11 -Wall -Wextra -g
CCP=g++
DBG_GPROF=-pg
OPENCVFLAG=`pkg-config --libs --cflags opencv3`
CAMERAFLAG=-lrealsense2
YAMLFLAG=-I/usr/local/include -L/usr/local/lib -lyaml-cpp
DEP_SANDBOX=$(OPENCVFLAG) $(CAMERAFLAG) $(YAMLFLAG)
SANDBOX=-I/home/quentin/Documents/HEPIA/ar_sandbox_lib/inc -L/home/quentin/Documents/HEPIA/ar_sandbox_lib/build/ -lsandbox
all: ar_cubes
ar_cubes: ar_cubes.o
$(CCP) $^ -o $@ -L$(API_PATH)/build -lsandbox $(DEP_SANDBOX)
$(CCP) $^ -o $@ $(SANDBOX) $(DEP_SANDBOX)
%.o: %.cpp
$(CCP) $(CFLAGS) -I$(API_PATH)/inc -c $< -o $@
$(CCP) $(CFLAGS) $(SANDBOX) $(DEP_SANDBOX) -c $< -o $@
run:
./ar_cubes
......
......@@ -6,7 +6,7 @@ int main(){
Sandbox sandbox;
char *sandbox_conf_file = (char*)"../../sandbox_conf.yaml";
if(sandbox.loadConfigFrom(sandbox_conf_file)){
if(sandbox.loadConfig(sandbox_conf_file)){
std::cout << "Failed to load the configuration" << std::endl;
return 1;
}
......
dep.mk 0 → 100644
OPENCVFLAG=`pkg-config --libs --cflags opencv3`
CAMERAFLAG=-lrealsense2
YAMLFLAG=-I/usr/local/include -L/usr/local/lib -lyaml-cpp
DEP_SANDBOX=$(OPENCVFLAG) $(CAMERAFLAG) $(YAMLFLAG)
include ../../ar_sandbox_lib/dep.mk
API_PATH=../../ar_sandbox_lib
CFLAGS=-std=c++11 -Wall -Wextra -g
CCP=g++
OPENCVFLAG=`pkg-config --libs --cflags opencv3`
CAMERAFLAG=-lrealsense2
YAMLFLAG=-I/usr/local/include -L/usr/local/lib -lyaml-cpp
DEP_SANDBOX=$(OPENCVFLAG) $(CAMERAFLAG) $(YAMLFLAG)
SANDBOX=-I/home/quentin/Documents/HEPIA/ar_sandbox_lib/inc -L/home/quentin/Documents/HEPIA/ar_sandbox_lib/build/ -lsandbox
all: display_levels
display_levels: display_levels.o
$(CCP) $^ -o $@ -L$(API_PATH)/build -lsandbox $(DEP_SANDBOX)
$(CCP) $^ -o $@ $(SANDBOX) $(DEP_SANDBOX)
%.o: %.cpp
$(CCP) $(CFLAGS) -I$(API_PATH)/inc -c $< -o $@
$(CCP) $(CFLAGS) $(SANDBOX) $(DEP_SANDBOX) -c $< -o $@
run:
./display_levels
......
include ../../ar_sandbox_lib/dep.mk
API_PATH=../../ar_sandbox_lib
API_PATH=../../
CFLAGS=-std=c++11 -Wall -Wextra -g
CCP=g++
OPENCVFLAG=`pkg-config --libs --cflags opencv3`
CAMERAFLAG=-lrealsense2
YAMLFLAG=-I/usr/local/include -L/usr/local/lib -lyaml-cpp
DEP_SANDBOX=$(OPENCVFLAG) $(CAMERAFLAG) $(YAMLFLAG)
SANDBOX=-I/home/quentin/Documents/HEPIA/ar_sandbox_lib/inc -L/home/quentin/Documents/HEPIA/ar_sandbox_lib/build/ -lsandbox
.PHONY: run
all: test
test: test.o
$(CCP) $^ -o $@ -L$(API_PATH)/build -lsandbox $(DEP_SANDBOX)
$(CCP) $^ -o $@ $(SANDBOX) $(DEP_SANDBOX)
%.o: %.cpp
$(CCP) $(CFLAGS) -I$(API_PATH)/inc -c $< -o $@
$(CCP) $(CFLAGS) $(SANDBOX) $(DEP_SANDBOX) -c $< -o $@
run:
./test
......
capture_frame_ms,get_depth_frame_ms,get_color_frame_ms,adjust_projection_ms
27,1,0,102
12,0,0,89
11,0,1,88
12,0,0,95
12,0,0,90
12,1,0,91
11,1,0,89
12,0,1,90
12,0,0,89
12,1,0,90
11,0,0,90
12,0,0,95
11,0,0,95
11,0,0,90
11,0,0,92
12,0,0,88
12,0,0,87
12,0,0,92
12,0,0,93
11,0,0,90
12,0,0,92
11,1,0,88
12,0,0,92
12,0,0,92
12,1,0,89
13,0,0,97
12,1,0,91
12,0,0,108
12,0,0,93
12,0,0,93
12,0,0,97
12,0,0,92
11,1,0,92
12,0,0,94
12,0,1,92
11,1,0,123
11,0,1,86
12,0,0,90
12,0,0,93
12,0,0,90
12,0,0,88
12,1,0,98
12,0,0,103
12,0,0,91
13,0,0,91
11,0,0,90
13,0,0,90
11,0,0,90
12,0,0,94
11,1,0,92
14,0,0,99
11,0,1,94
11,0,0,89
11,0,0,92
11,0,0,93
12,1,0,93
12,0,0,98
12,0,0,99
12,0,0,90
12,0,0,96
12,0,0,96
12,0,0,94
11,0,0,98
12,0,0,94
12,0,0,91
11,0,0,91
12,0,0,90
11,0,0,93
11,0,0,90
11,1,0,89
11,1,0,89
12,0,0,91
12,0,0,99
11,0,0,93
11,0,0,89
13,0,0,91
11,1,0,98
11,1,0,95
12,0,0,91
12,1,0,99
12,0,0,94
11,0,0,96
12,0,0,98
12,0,0,93
12,0,0,89
12,0,0,93
12,0,0,94
12,0,0,98
11,0,0,100
13,0,0,134
11,0,0,87
11,1,0,87
11,0,0,89
11,0,1,91
12,0,0,98
12,0,0,90
11,0,1,92
11,1,0,91
12,0,0,92
12,0,0,90
13,0,0,90
11,0,0,89
11,0,1,96
13,0,0,105
11,1,0,91
11,0,1,89
11,1,0,92
13,0,0,92
13,0,0,88
12,1,0,91
12,0,0,91
12,1,0,88
12,0,0,93
11,1,0,91
11,1,0,89
11,0,0,91
11,1,0,90
12,0,0,87
12,0,0,107
14,0,0,96
12,0,0,92
11,0,0,91
12,0,0,89
13,1,0,90
11,1,0,90
11,0,0,94
11,1,0,94
12,0,0,94
12,0,0,87
13,1,0,90
11,0,0,88
12,0,0,90
11,0,0,88
12,0,1,89
11,0,0,94
12,1,0,93
12,1,0,89
11,1,0,89
11,0,0,92
12,0,0,93
11,0,0,94
11,1,0,91
12,0,0,121
11,0,0,87
11,0,0,90
12,0,0,93
12,0,0,91
11,0,0,88
12,0,0,90
12,0,0,97
11,0,1,90
13,0,0,87
12,0,0,95
13,0,0,93
11,1,0,91
12,0,0,89
11,1,0,94
12,0,0,90
11,1,0,91
12,0,0,90
12,0,0,95
12,0,0,90
13,0,0,91
11,0,0,87
12,1,0,99
11,1,0,89
11,1,0,91
11,0,0,92
11,0,0,93
12,0,0,97
12,0,0,90
11,0,0,91
11,0,0,89
12,0,0,94
11,1,0,90
11,1,0,89
11,0,1,93
14,0,0,96
12,0,0,96
12,0,0,94
16,0,1,97
12,0,0,93
11,0,0,90
12,0,0,96
11,1,0,90
11,1,0,93
11,0,0,89
12,0,0,97
11,1,0,91
12,0,0,96
12,0,0,90
13,0,0,89
11,0,1,91
12,0,0,90
11,1,0,92
11,1,0,96
11,0,0,93
11,0,1,87
11,0,1,95
12,1,0,92
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment