Skip to content

Commit

Permalink
pull ros on vehicle computer
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilNie committed Apr 23, 2018
2 parents 58ad32c + 83aaa4d commit 61938a8
Show file tree
Hide file tree
Showing 1,589 changed files with 35,936 additions and 5,073 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
detection/traffic-light/scripts/ckpt/tiny-yolo-udacity-8987.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
steering/weights/own/trained-nvd-v7-c8.h5 filter=lfs diff=lfs merge=lfs -text
src/detection/traffic-light/scripts/ckpt/tiny-yolo-udacity-8987.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
File renamed without changes.
File renamed without changes.
60 changes: 39 additions & 21 deletions logger/build/CMakeCache.txt → build/CMakeCache.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is the CMakeCache file.
# For build in directory: /home/yongyang/Developer/self-driving-golf-cart/logger/build
# For build in directory: /home/yongyang/Developer/self-driving-golf-cart/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
Expand All @@ -21,7 +21,7 @@ BUILD_SHARED_LIBS:BOOL=ON
CATKIN_BLACKLIST_PACKAGES:STRING=

//catkin devel space
CATKIN_DEVEL_PREFIX:PATH=/home/yongyang/Developer/self-driving-golf-cart/logger/devel
CATKIN_DEVEL_PREFIX:PATH=/home/yongyang/Developer/self-driving-golf-cart/devel

//Catkin enable testing
CATKIN_ENABLE_TESTING:BOOL=ON
Expand Down Expand Up @@ -99,7 +99,7 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/home/yongyang/Developer/self-driving-golf-cart/logger/install
CMAKE_INSTALL_PREFIX:PATH=/home/yongyang/Developer/self-driving-golf-cart/install

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
Expand Down Expand Up @@ -226,10 +226,10 @@ PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python
PYTHON_VERSION:STRING=

//Value Computed by CMake
Project_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/build
Project_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build

//Value Computed by CMake
Project_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/src
Project_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/src

//Path to a library.
RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
Expand Down Expand Up @@ -262,10 +262,13 @@ catkin_DIR:PATH=/opt/ros/kinetic/share/catkin/cmake
cpp_common_DIR:PATH=/opt/ros/kinetic/share/cpp_common/cmake

//Value Computed by CMake
data_logger_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/build/data_logger
cruise_controller_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/cruise_controller

//Value Computed by CMake
data_logger_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/src/data_logger
cruise_controller_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/src/cruise_controller

//The directory containing a CMake configuration file for cv_bridge.
cv_bridge_DIR:PATH=/opt/ros/kinetic/share/cv_bridge/cmake

//The directory containing a CMake configuration file for gencpp.
gencpp_DIR:PATH=/opt/ros/kinetic/share/gencpp/cmake
Expand All @@ -285,8 +288,11 @@ gennodejs_DIR:PATH=/opt/ros/kinetic/share/gennodejs/cmake
//The directory containing a CMake configuration file for genpy.
genpy_DIR:PATH=/opt/ros/kinetic/share/genpy/cmake

//The directory containing a CMake configuration file for geometry_msgs.
geometry_msgs_DIR:PATH=/opt/ros/kinetic/share/geometry_msgs/cmake

//Value Computed by CMake
gmock_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/build/gtest
gmock_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/gtest

//Dependencies for the target
gmock_LIB_DEPENDS:STATIC=general;-lpthread;
Expand All @@ -301,7 +307,7 @@ gmock_build_tests:BOOL=OFF
gmock_main_LIB_DEPENDS:STATIC=general;-lpthread;

//Value Computed by CMake
gtest_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/build/gtest/gtest
gtest_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/gtest/gtest

//Dependencies for the target
gtest_LIB_DEPENDS:STATIC=general;-lpthread;
Expand Down Expand Up @@ -352,9 +358,6 @@ rosgraph_msgs_DIR:PATH=/opt/ros/kinetic/share/rosgraph_msgs/cmake
//The directory containing a CMake configuration file for rospy.
rospy_DIR:PATH=/opt/ros/kinetic/share/rospy/cmake

//The directory containing a CMake configuration file for rosserial.
rosserial_DIR:PATH=rosserial_DIR-NOTFOUND

//The directory containing a CMake configuration file for rosserial_client.
rosserial_client_DIR:PATH=/opt/ros/kinetic/share/rosserial_client/cmake

Expand All @@ -367,30 +370,45 @@ rosserial_python_DIR:PATH=/opt/ros/kinetic/share/rosserial_python/cmake
//The directory containing a CMake configuration file for rostime.
rostime_DIR:PATH=/opt/ros/kinetic/share/rostime/cmake

//The directory containing a CMake configuration file for sensor_msgs.
sensor_msgs_DIR:PATH=/opt/ros/kinetic/share/sensor_msgs/cmake

//The directory containing a CMake configuration file for std_msgs.
std_msgs_DIR:PATH=/opt/ros/kinetic/share/std_msgs/cmake

//Value Computed by CMake
steering_logger_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/build/steering_logger
steering_controller_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/steering_controller

//Value Computed by CMake
steering_controller_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/src/steering_controller

//Value Computed by CMake
steering_logger_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/logger/src/steering_logger
steering_logger_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/steering_logger

//Value Computed by CMake
steering_logger_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/src/steering_logger

//The directory containing a CMake configuration file for xmlrpcpp.
xmlrpcpp_DIR:PATH=/opt/ros/kinetic/share/xmlrpcpp/cmake

//Value Computed by CMake
yolo_light_BINARY_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/build/detection/traffic-light

//Value Computed by CMake
yolo_light_SOURCE_DIR:STATIC=/home/yongyang/Developer/self-driving-golf-cart/src/detection/traffic-light


########################
# INTERNAL cache entries
########################

//catkin environment
CATKIN_ENV:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/build/catkin_generated/env_cached.sh
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/build/test_results
CATKIN_ENV:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/build/catkin_generated/env_cached.sh
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/build/test_results
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/build
CMAKE_CACHEFILE_DIR:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
Expand Down Expand Up @@ -461,7 +479,7 @@ CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/src
CMAKE_HOME_DIRECTORY:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/src
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
Expand All @@ -481,7 +499,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=4
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=7
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
Expand Down Expand Up @@ -527,12 +545,12 @@ FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
GMOCK_FROM_SOURCE_FOUND:INTERNAL=TRUE
GMOCK_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/include
GMOCK_FROM_SOURCE_LIBRARIES:INTERNAL=gmock
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/build/gmock
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/build/gmock
GMOCK_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gmock_main
GTEST_FROM_SOURCE_FOUND:INTERNAL=TRUE
GTEST_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/include
GTEST_FROM_SOURCE_LIBRARIES:INTERNAL=gtest
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/logger/build/gtest
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/yongyang/Developer/self-driving-golf-cart/build/gtest
GTEST_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gtest_main
//ADVANCED property for variable: GTEST_INCLUDE_DIR
GTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.5

# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yongyang/Developer/self-driving-golf-cart/logger/src")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yongyang/Developer/self-driving-golf-cart/logger/build")
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/yongyang/Developer/self-driving-golf-cart/src")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/yongyang/Developer/self-driving-golf-cart/build")

# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
Expand Down
55 changes: 55 additions & 0 deletions build/CMakeFiles/CMakeError.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e0132/fast"
/usr/bin/make -f CMakeFiles/cmTC_e0132.dir/build.make CMakeFiles/cmTC_e0132.dir/build
make[1]: Entering directory '/home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e0132.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_e0132.dir/CheckSymbolExists.c.o -c /home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_e0132
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e0132.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_e0132.dir/CheckSymbolExists.c.o -o cmTC_e0132 -rdynamic
CMakeFiles/cmTC_e0132.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_e0132.dir/build.make:97: recipe for target 'cmTC_e0132' failed
make[1]: *** [cmTC_e0132] Error 1
make[1]: Leaving directory '/home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e0132/fast' failed
make: *** [cmTC_e0132/fast] Error 2

File /home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8dae5/fast"
/usr/bin/make -f CMakeFiles/cmTC_8dae5.dir/build.make CMakeFiles/cmTC_8dae5.dir/build
make[1]: Entering directory '/home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8dae5.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_8dae5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_8dae5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8dae5.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_8dae5.dir/CheckFunctionExists.c.o -o cmTC_8dae5 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8dae5.dir/build.make:97: recipe for target 'cmTC_8dae5' failed
make[1]: *** [cmTC_8dae5] Error 1
make[1]: Leaving directory '/home/yongyang/Developer/self-driving-golf-cart/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8dae5/fast' failed
make: *** [cmTC_8dae5/fast] Error 2


Loading

0 comments on commit 61938a8

Please sign in to comment.