Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-6.4'
Browse files Browse the repository at this point in the history
# Conflicts:
#	unittests/unit/test_DartResourceRetriever.cpp
#	unittests/unit/test_PackageResourceRetriever.cpp
  • Loading branch information
jslee02 committed Feb 15, 2018
2 parents b42de6b + d472c12 commit 04bfc09
Show file tree
Hide file tree
Showing 53 changed files with 1,097 additions and 266 deletions.
47 changes: 22 additions & 25 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
---
Language: Cpp
BasedOnStyle: LLVM
BasedOnStyle: Google
AccessModifierOffset: -2
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
Expand All @@ -32,12 +29,12 @@ BraceWrapping:
BeforeCatch: true
BeforeElse: true
IndentBraces: false
BreakBeforeBinaryOperators: None
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CommentPragmas: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
Expand All @@ -46,46 +43,46 @@ DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
# Sort headers by main include file (implicit priority 0),
# then project and private includes, then system headers
IncludeCategories:
- Regex: '^<([a-z]+)>'
Priority: 0
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 1
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 2
- Regex: '.*'
Priority: 3
- Regex: '^<([a-z|_]+)>' # standard library headers
Priority: 1
- Regex: '^(<[A-z]+)' # dependency headers
Priority: 2
- Regex: '^(<|")dart/' # DART headers
Priority: 3
- Regex: '^".*' # headers relative to this project
Priority: 4
IndentCaseLabels: true
IndentFunctionDeclarationAfterType: false
IndentWidth: 2
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
#ReflowComments: true # clang-format-3.9 feature
#SortIncludes: true # clang-format-3.9 feature
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
Standard: Auto
TabWidth: 2
UseTab: Never
...
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ dist: trusty

cache:
apt: true
directories:
- /usr/local/Cellar

matrix:
include:
Expand Down
16 changes: 16 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
brew 'git'
brew 'cmake'
brew 'assimp'
brew 'fcl'
brew 'bullet', args: ['--with-double-precision']
brew 'ode', args: ['--with-libccd', '--with-double-precision']
brew 'flann'
brew 'boost'
brew 'eigen'
brew 'tinyxml'
brew 'tinyxml2'
brew 'libccd'
brew 'nlopt'
#brew 'ipopt'
brew 'urdfdom'
brew 'open-scene-graph'
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,25 @@

### DART 6.4.0 (201X-XX-XX)

* Common

* Added ResourceRetriever::getFilePath(): [#972](https://github.com/dartsim/dart/pull/972)

* Kinematics/Dynamics

* Added lazy evaluation for shape's volume and bounding-box computation: [#959](https://github.com/dartsim/dart/pull/959)
* Added IkFast support as analytic IK solver: [#887](https://github.com/dartsim/dart/pull/887)
* Fixed NaN values caused by zero-length normals in ContactConstraint: [#881](https://github.com/dartsim/dart/pull/881)
* Extended BodyNode::createShapeNode() to accept more types of arguments: [#986](https://github.com/dartsim/dart/pull/986)

* Collision detection

* Added FCL 0.6 support (backport of #873): [#936](https://github.com/dartsim/dart/pull/936)

* GUI

* Added support of rendering texture images: [#973](https://github.com/dartsim/dart/pull/973)

* License

* Added Personal Robotics Lab and Open Source Robotics Foundation as contributors: [#929](https://github.com/dartsim/dart/pull/929)
Expand Down
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ if(DOXYGEN_FOUND)
set(DOXYGEN_INPUT_ROOT "${PROJECT_SOURCE_DIR}/dart" )
set(DOXYGEN_EXTRA_INPUTS "${PROJECT_SOURCE_DIR}/doxygen/mainpage.dox" )
set(DOXYGEN_EXCLUDE "${PROJECT_SOURCE_DIR}/dart/external" )
set(DOXYGEN_STRIP_FROM_PATH "${CMAKE_CURRENT_SOURCE_DIR}" )

# Generate a Doxyfile. This uses the variables:
#
Expand All @@ -526,6 +527,7 @@ if(DOXYGEN_FOUND)
# - DOXYGEN_EXTRA_INPUTS
# - DOXYGEN_INPUT_ROOT
# - DOXYGEN_EXCLUDE
# - DOXYGEN_STRIP_FROM_PATH
configure_file(${DOXYGEN_DOXYFILE_IN} ${DOXYGEN_DOXYFILE} @ONLY)
file(
COPY "${PROJECT_SOURCE_DIR}/doxygen/DART logo.png"
Expand All @@ -536,6 +538,14 @@ if(DOXYGEN_FOUND)
COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..."
COMMAND ${DOXYGEN_EXECUTABLE} -u ${DOXYGEN_DOXYFILE}
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_DOXYFILE}
# Strip path prefix from all paths in dart.tag
COMMAND ${CMAKE_COMMAND} -E echo "Stripping paths from"
"${DOXYGEN_GENERATE_TAGFILE}"
COMMAND sed -i s:${DOXYGEN_STRIP_FROM_PATH}::g ${DOXYGEN_GENERATE_TAGFILE}
# Strip all doxygen="path" HTML tags
COMMAND ${CMAKE_COMMAND} -E echo "Stripping Doxygen HTML tags"
COMMAND find "${DOXYGEN_OUTPUT_ROOT}" -type f -name "*.html"
-exec sed -i 's: doxygen=\"[^\"]*\"::g' {} \\$<SEMICOLON>
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doxygen
DEPENDS ${DOXYGEN_DOXYFILE}
Expand Down
Loading

0 comments on commit 04bfc09

Please sign in to comment.