V1 Readme + rangement

This commit is contained in:
Unknown 2018-08-13 11:25:26 +02:00
parent 3300e0efd3
commit 406e6d9b5d
1339 changed files with 248781 additions and 4282 deletions

View file

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/harle/catkin_ws/src/BaxterInterface/asift_tests")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/harle/catkin_ws/src/BaxterInterface/asift_tests")
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View file

@ -0,0 +1,20 @@
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp
match.h
/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.h
fstream
-
sstream
-
/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.h
vector
-

View file

@ -0,0 +1,20 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp" "/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/CMakeFiles/Match.dir/match.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)
# The include file search paths:
SET(CMAKE_C_TARGET_INCLUDE_PATH
)
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})

View file

@ -0,0 +1,103 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/harle/catkin_ws/src/BaxterInterface/asift_tests
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/harle/catkin_ws/src/BaxterInterface/asift_tests
# Include any dependencies generated for this target.
include libMatch/CMakeFiles/Match.dir/depend.make
# Include the progress variables for this target.
include libMatch/CMakeFiles/Match.dir/progress.make
# Include the compile flags for this target's objects.
include libMatch/CMakeFiles/Match.dir/flags.make
libMatch/CMakeFiles/Match.dir/match.cpp.o: libMatch/CMakeFiles/Match.dir/flags.make
libMatch/CMakeFiles/Match.dir/match.cpp.o: libMatch/match.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/harle/catkin_ws/src/BaxterInterface/asift_tests/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object libMatch/CMakeFiles/Match.dir/match.cpp.o"
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/Match.dir/match.cpp.o -c /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp
libMatch/CMakeFiles/Match.dir/match.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Match.dir/match.cpp.i"
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp > CMakeFiles/Match.dir/match.cpp.i
libMatch/CMakeFiles/Match.dir/match.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Match.dir/match.cpp.s"
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp -o CMakeFiles/Match.dir/match.cpp.s
libMatch/CMakeFiles/Match.dir/match.cpp.o.requires:
.PHONY : libMatch/CMakeFiles/Match.dir/match.cpp.o.requires
libMatch/CMakeFiles/Match.dir/match.cpp.o.provides: libMatch/CMakeFiles/Match.dir/match.cpp.o.requires
$(MAKE) -f libMatch/CMakeFiles/Match.dir/build.make libMatch/CMakeFiles/Match.dir/match.cpp.o.provides.build
.PHONY : libMatch/CMakeFiles/Match.dir/match.cpp.o.provides
libMatch/CMakeFiles/Match.dir/match.cpp.o.provides.build: libMatch/CMakeFiles/Match.dir/match.cpp.o
# Object files for target Match
Match_OBJECTS = \
"CMakeFiles/Match.dir/match.cpp.o"
# External object files for target Match
Match_EXTERNAL_OBJECTS =
libMatch/libMatch.a: libMatch/CMakeFiles/Match.dir/match.cpp.o
libMatch/libMatch.a: libMatch/CMakeFiles/Match.dir/build.make
libMatch/libMatch.a: libMatch/CMakeFiles/Match.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX static library libMatch.a"
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && $(CMAKE_COMMAND) -P CMakeFiles/Match.dir/cmake_clean_target.cmake
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Match.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
libMatch/CMakeFiles/Match.dir/build: libMatch/libMatch.a
.PHONY : libMatch/CMakeFiles/Match.dir/build
libMatch/CMakeFiles/Match.dir/requires: libMatch/CMakeFiles/Match.dir/match.cpp.o.requires
.PHONY : libMatch/CMakeFiles/Match.dir/requires
libMatch/CMakeFiles/Match.dir/clean:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch && $(CMAKE_COMMAND) -P CMakeFiles/Match.dir/cmake_clean.cmake
.PHONY : libMatch/CMakeFiles/Match.dir/clean
libMatch/CMakeFiles/Match.dir/depend:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/harle/catkin_ws/src/BaxterInterface/asift_tests /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch /home/harle/catkin_ws/src/BaxterInterface/asift_tests /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/CMakeFiles/Match.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : libMatch/CMakeFiles/Match.dir/depend

View file

@ -0,0 +1,10 @@
FILE(REMOVE_RECURSE
"CMakeFiles/Match.dir/match.cpp.o"
"libMatch.pdb"
"libMatch.a"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/Match.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

View file

@ -0,0 +1,3 @@
FILE(REMOVE_RECURSE
"libMatch.a"
)

View file

@ -0,0 +1,6 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
libMatch/CMakeFiles/Match.dir/match.cpp.o
/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.cpp
/home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/match.h

View file

@ -0,0 +1,6 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
libMatch/CMakeFiles/Match.dir/match.cpp.o: libMatch/match.cpp
libMatch/CMakeFiles/Match.dir/match.cpp.o: libMatch/match.h

View file

@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS =
CXX_DEFINES =

View file

@ -0,0 +1,2 @@
/usr/bin/ar cr libMatch.a CMakeFiles/Match.dir/match.cpp.o
/usr/bin/ranlib libMatch.a

View file

@ -0,0 +1,2 @@
CMAKE_PROGRESS_1 = 1

View file

@ -0,0 +1 @@
1

View file

@ -0,0 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(libMatch)
ADD_LIBRARY(Match
match.cpp match.h)

164
asift_gen/libMatch/Makefile Normal file
View file

@ -0,0 +1,164 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/harle/catkin_ws/src/BaxterInterface/asift_tests
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/harle/catkin_ws/src/BaxterInterface/asift_tests
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
/usr/bin/cmake -i .
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(CMAKE_COMMAND) -E cmake_progress_start /home/harle/catkin_ws/src/BaxterInterface/asift_tests/CMakeFiles /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch/CMakeFiles/progress.marks
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f CMakeFiles/Makefile2 libMatch/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/harle/catkin_ws/src/BaxterInterface/asift_tests/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f CMakeFiles/Makefile2 libMatch/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f CMakeFiles/Makefile2 libMatch/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f CMakeFiles/Makefile2 libMatch/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
libMatch/CMakeFiles/Match.dir/rule:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f CMakeFiles/Makefile2 libMatch/CMakeFiles/Match.dir/rule
.PHONY : libMatch/CMakeFiles/Match.dir/rule
# Convenience name for target.
Match: libMatch/CMakeFiles/Match.dir/rule
.PHONY : Match
# fast build rule for target.
Match/fast:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f libMatch/CMakeFiles/Match.dir/build.make libMatch/CMakeFiles/Match.dir/build
.PHONY : Match/fast
match.o: match.cpp.o
.PHONY : match.o
# target to build an object file
match.cpp.o:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f libMatch/CMakeFiles/Match.dir/build.make libMatch/CMakeFiles/Match.dir/match.cpp.o
.PHONY : match.cpp.o
match.i: match.cpp.i
.PHONY : match.i
# target to preprocess a source file
match.cpp.i:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f libMatch/CMakeFiles/Match.dir/build.make libMatch/CMakeFiles/Match.dir/match.cpp.i
.PHONY : match.cpp.i
match.s: match.cpp.s
.PHONY : match.s
# target to generate assembly for a file
match.cpp.s:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(MAKE) -f libMatch/CMakeFiles/Match.dir/build.make libMatch/CMakeFiles/Match.dir/match.cpp.s
.PHONY : match.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... Match"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... match.o"
@echo "... match.i"
@echo "... match.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/harle/catkin_ws/src/BaxterInterface/asift_tests && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View file

@ -0,0 +1,34 @@
# Install script for directory: /home/harle/catkin_ws/src/BaxterInterface/asift_tests/libMatch
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
IF(BUILD_TYPE)
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
ELSE(BUILD_TYPE)
SET(CMAKE_INSTALL_CONFIG_NAME "")
ENDIF(BUILD_TYPE)
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
# Set the component getting installed.
IF(NOT CMAKE_INSTALL_COMPONENT)
IF(COMPONENT)
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
ELSE(COMPONENT)
SET(CMAKE_INSTALL_COMPONENT)
ENDIF(COMPONENT)
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
# Install shared libraries without execute permission?
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
SET(CMAKE_INSTALL_SO_NO_EXE "1")
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)

Binary file not shown.

35
asift_gen/libMatch/match.cpp Executable file
View file

@ -0,0 +1,35 @@
// Authors: Unknown. Please, if you are the author of this file, or if you
// know who are the authors of this file, let us know, so we can give the
// adequate credits and/or get the adequate authorizations.
#include "match.h"
#include <fstream>
#include <sstream>
bool loadMatch(const char* nameFile, std::vector<Match>& match) {
match.clear();
std::ifstream f(nameFile);
while( f.good() ) {
std::string str;
std::getline(f, str);
if( f.good() ) {
std::istringstream s(str);
Match m;
s >> m.x1 >> m.y1 >> m.x2 >> m.y2;
if(!s.fail() )
match.push_back(m);
}
}
return !match.empty();
}
bool saveMatch(const char* nameFile, const std::vector<Match>& match) {
std::ofstream f(nameFile);
if( f.is_open() ) {
std::vector<Match>::const_iterator it = match.begin();
for(; it != match.end(); ++it)
f << it->x1 << " " << it->y1 << " "
<< it->x2 << " " << it->y2 << std::endl;
}
return f.is_open();
}

17
asift_gen/libMatch/match.h Executable file
View file

@ -0,0 +1,17 @@
// Authors: Unknown. Please, if you are the author of this file, or if you
// know who are the authors of this file, let us know, so we can give the
// adequate credits and/or get the adequate authorizations.
#ifndef MATCH_H
#define MATCH_H
#include <vector>
struct Match {
float x1, y1, x2, y2;
};
bool loadMatch(const char* nameFile, std::vector<Match>& match);
bool saveMatch(const char* nameFile, const std::vector<Match>& match);
#endif