Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
e4386184
Commit
e4386184
authored
May 26, 2015
by
Jeongseok Lee
Browse files
Merge remote-tracking branch 'upstream/master' into fix_boxbox_collision
Conflicts: test/test_fcl_geometric_shapes.cpp
parents
ab5321bc
d166d216
Changes
159
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
e4386184
...
...
@@ -36,6 +36,7 @@ script:
# Run unit tests
-
make test
# Make sure we can install with no issues
# Make sure we can install
and uninstall
with no issues
-
sudo make -j4 install
-
sudo make -j4 uninstall
CMakeLists.txt
View file @
e4386184
...
...
@@ -145,6 +145,13 @@ install(DIRECTORY include/ DESTINATION include
install
(
FILES
"
${
pkg_conf_file_out
}
"
DESTINATION lib/pkgconfig/ COMPONENT pkgconfig
)
# Add uninstall target
configure_file
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/CMakeModules/cmake_uninstall.cmake.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/CMakeModules/cmake_uninstall.cmake"
IMMEDIATE @ONLY
)
add_custom_target
(
uninstall
"
${
CMAKE_COMMAND
}
"
-P
"
${
CMAKE_CURRENT_BINARY_DIR
}
/CMakeModules/cmake_uninstall.cmake"
)
enable_testing
()
add_subdirectory
(
test
)
CMakeModules/cmake_uninstall.cmake.in
0 → 100644
View file @
e4386184
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(EXISTS "$ENV{DESTDIR}${file}")
execute_process(
COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}"
OUTPUT_VARIABLE rm_out
RESULT_VARIABLE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)
LICENSE
0 → 100644
View file @
e4386184
Software License Agreement (BSD License)
Copyright (c) 2008-2014, Willow Garage, Inc.
Copyright (c) 2014-2015, Open Source Robotics Foundation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Open Source Robotics Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
README.md
View file @
e4386184
...
...
@@ -46,7 +46,7 @@ std::vector<Triangle> triangles;
// code to set the vertices and triangles
...
// BVHModel is a template class for mesh geometry, for default OBBRSS template is used
typedef
BVHModel
<
OBBRSS
>
*
Model
;
typedef
BVHModel
<
OBBRSS
>
Model
;
Model
*
model
=
new
Model
();
// add the mesh data into the BVHModel structure
model
->
beginModel
();
...
...
include/fcl/BV/AABB.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/BV.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/BV_node.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/OBB.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/OBBRSS.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/RSS.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/kDOP.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BV/kIOS.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BVH_front.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BVH_internal.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BVH_model.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BVH_utility.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BV_fitter.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -15,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/BVH/BV_splitter.h
View file @
e4386184
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2015, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
...
...
@@ -14,7 +15,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of
Willow Garage, Inc.
nor the names of its
* * Neither the name of
Open Source Robotics Foundation
nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
...
...
include/fcl/CMakeLists.txt
View file @
e4386184
file
(
GLOB_RECURSE HEADERS
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.h
)
file
(
GLOB_RECURSE CONFIGURED_HEADERS
${
CMAKE_CURRENT_BINARY_DIR
}
/*.h
)
file
(
GLOB_RECURSE HEADERS
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.h
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.hxx
)
file
(
GLOB_RECURSE CONFIGURED_HEADERS
${
CMAKE_CURRENT_BINARY_DIR
}
/*.h
${
CMAKE_CURRENT_BINARY_DIR
}
/*.hxx
)
set
(
FCL_HEADERS
${
HEADERS
}
${
CONFIGURED_HEADERS
}
PARENT_SCOPE
)
file
(
TO_NATIVE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
FCL_CONFIG_IN_DIR
)
...
...
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment