Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-centroidal-dynamics
Commits
3831320e
Commit
3831320e
authored
Mar 25, 2019
by
Guilhem Saurel
Browse files
[Style] fix header guards
run-clang-tidy-6.0.py -header-filter='.*' -checks='llvm-header-guard' -fix
parent
7b48dfd7
Pipeline
#4229
passed with stage
in 16 minutes
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3831320e
...
...
@@ -40,7 +40,7 @@ FIND_PACKAGE(CLP)
IF
(
CLP_FOUND
)
ADD_DEFINITIONS
(
-DCLP_FOUND
)
INCLUDE_DIRECTORIES
(
"
${
CLP_INCLUDE_DIR
}
"
)
INCLUDE_DIRECTORIES
(
SYSTEM
"
${
CLP_INCLUDE_DIR
}
"
)
ENDIF
()
INCLUDE_DIRECTORIES
(
SYSTEM
${
qpOASES_INCLUDE_DIRS
}
)
...
...
include/hpp/centroidal-dynamics/Stdafx.hh
View file @
3831320e
#ifndef HPP_CENTROIDAL_DYNAMICS_STDAFX_HH
#define HPP_CENTROIDAL_DYNAMICS_STDAFX_HH
/*
Copyright (c) 2010-2013 Tommaso Urli
...
...
@@ -30,3 +33,5 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include
<map>
#include
<ctime>
#include
<sstream>
#endif
include/hpp/centroidal-dynamics/centroidal_dynamics.hh
View file @
3831320e
...
...
@@ -3,8 +3,8 @@
* Author: Andrea Del Prete
*/
#ifndef CENTROIDAL_DYNAMICS_
LIB_STATIC_EQUILIBRIUM
_H
#define CENTROIDAL_DYNAMICS_
LIB_STATIC_EQUILIBRIUM
_H
#ifndef
HPP_
CENTROIDAL_DYNAMICS_
CENTROIDAL_DYNAMICS
_H
H
#define
HPP_
CENTROIDAL_DYNAMICS_
CENTROIDAL_DYNAMICS
_H
H
#include
<Eigen/Dense>
#include
<hpp/centroidal-dynamics/local_config.hh>
...
...
include/hpp/centroidal-dynamics/local_config.hh
View file @
3831320e
...
...
@@ -3,8 +3,8 @@
* Author: Andrea Del Prete
*/
#ifndef _CENTROIDAL_DYNAMICS_L
IB
_CONFIG_HH
#define _CENTROIDAL_DYNAMICS_L
IB
_CONFIG_HH
#ifndef
HPP
_CENTROIDAL_DYNAMICS_L
OCAL
_CONFIG_HH
#define
HPP
_CENTROIDAL_DYNAMICS_L
OCAL
_CONFIG_HH
// Package version (header).
#define CENTROIDAL_DYNAMICS_VERSION "UNKNOWN"
...
...
@@ -54,4 +54,4 @@
#define CENTROIDAL_DYNAMICS_LOCAL CENTROIDAL_DYNAMICS_DLLLOCAL
#endif // CENTROIDAL_DYNAMICS_STATIC
#endif //_CENTROIDAL_DYNAMICS_L
IB
_CONFIG_HH
#endif //
HPP
_CENTROIDAL_DYNAMICS_L
OCAL
_CONFIG_HH
include/hpp/centroidal-dynamics/logger.hh
View file @
3831320e
...
...
@@ -3,8 +3,8 @@
* Author: Andrea Del Prete
*/
#ifndef
__centroidal_dynamics_lib_logger_H__
#define
__centroidal_dynamics_lib_logger_H__
#ifndef
HPP_CENTROIDAL_DYNAMICS_LOGGER_HH
#define
HPP_CENTROIDAL_DYNAMICS_LOGGER_HH
/* --------------------------------------------------------------------- */
/* --- INCLUDE --------------------------------------------------------- */
...
...
@@ -172,4 +172,4 @@ Logger& getLogger();
}
// namespace centroidal_dynamics
#endif //
#ifndef __sot_torque_control_trajectory_generators_H__
#endif //
HPP_CENTROIDAL_DYNAMICS_LOGGER_HH
include/hpp/centroidal-dynamics/solver_LP_abstract.hh
View file @
3831320e
...
...
@@ -3,8 +3,8 @@
* Author: Andrea Del Prete
*/
#ifndef CENTROIDAL_DYNAMICS_
LIB_
SOLVER_LP_ABSTRACT_HH
#define CENTROIDAL_DYNAMICS_
LIB_
SOLVER_LP_ABSTRACT_HH
#ifndef
HPP_
CENTROIDAL_DYNAMICS_SOLVER_LP_ABSTRACT_HH
#define
HPP_
CENTROIDAL_DYNAMICS_SOLVER_LP_ABSTRACT_HH
#include
<Eigen/Dense>
#include
<hpp/centroidal-dynamics/local_config.hh>
...
...
@@ -136,4 +136,4 @@ class CENTROIDAL_DYNAMICS_DLLAPI Solver_LP_abstract {
}
// end namespace centroidal_dynamics
#endif // CENTROIDAL_DYNAMICS_
LIB_
SOLVER_LP_ABSTRACT_HH
#endif //
HPP_
CENTROIDAL_DYNAMICS_SOLVER_LP_ABSTRACT_HH
include/hpp/centroidal-dynamics/solver_LP_qpoases.hh
View file @
3831320e
...
...
@@ -3,8 +3,8 @@
* Author: Andrea Del Prete
*/
#ifndef CENTROIDAL_DYNAMICS_
LIB_
SOLVER_QPOASES_HH
#define CENTROIDAL_DYNAMICS_
LIB_
SOLVER_QPOASES_HH
#ifndef
HPP_
CENTROIDAL_DYNAMICS_SOLVER_
LP_
QPOASES_HH
#define
HPP_
CENTROIDAL_DYNAMICS_SOLVER_
LP_
QPOASES_HH
#include
<hpp/centroidal-dynamics/local_config.hh>
#include
<hpp/centroidal-dynamics/util.hh>
...
...
@@ -44,4 +44,4 @@ class CENTROIDAL_DYNAMICS_DLLAPI Solver_LP_qpoases : public Solver_LP_abstract {
}
// end namespace centroidal_dynamics
#endif // CENTROIDAL_DYNAMICS_
LIB_
SOLVER_QPOASES_HH
#endif //
HPP_
CENTROIDAL_DYNAMICS_SOLVER_
LP_
QPOASES_HH
include/hpp/centroidal-dynamics/stop-watch.hh
View file @
3831320e
...
...
@@ -24,8 +24,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef
WBR
_STOPWATCH_H
#define
WBR
_STOPWATCH_H
#ifndef
HPP_CENTROIDAL_DYNAMICS
_STOP
_
WATCH_H
H
#define
HPP_CENTROIDAL_DYNAMICS
_STOP
_
WATCH_H
H
#include
"hpp/centroidal-dynamics/Stdafx.hh"
...
...
include/hpp/centroidal-dynamics/util.hh
View file @
3831320e
...
...
@@ -2,8 +2,8 @@
* Copyright 2015, LAAS-CNRS
* Author: Andrea Del Prete
*/
#ifndef _CENTROIDAL_DYNAMICS_
LIB_
UTIL_HH
#define _CENTROIDAL_DYNAMICS_
LIB_
UTIL_HH
#ifndef
HPP
_CENTROIDAL_DYNAMICS_UTIL_HH
#define
HPP
_CENTROIDAL_DYNAMICS_UTIL_HH
#include
<iostream>
#include
<fstream>
...
...
@@ -180,4 +180,4 @@ void nchoosek(const Eigen::MatrixBase<DerivedV>& V, const int k, Eigen::PlainObj
}
}
// namespace centroidal_dynamics
#endif //_CENTROIDAL_DYNAMICS_
LIB_
UTIL_HH
#endif //
HPP
_CENTROIDAL_DYNAMICS_UTIL_HH
src/CMakeLists.txt
View file @
3831320e
...
...
@@ -13,7 +13,7 @@ SET(${LIBRARY_NAME}_SOURCES
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SHARED
${${
LIBRARY_NAME
}
_SOURCES
}
)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
${
CDD_LIBRARIES
}
${
qpOASES_LIBRARY
}
)
TARGET_INCLUDE_DIRECTORIES
(
${
LIBRARY_NAME
}
PUBLIC
${
CDD_INCLUDE_DIRS
}
)
TARGET_INCLUDE_DIRECTORIES
(
${
LIBRARY_NAME
}
SYSTEM
PUBLIC
${
CDD_INCLUDE_DIRS
}
)
PKG_CONFIG_USE_DEPENDENCY
(
${
LIBRARY_NAME
}
eigen3
)
IF
(
CLP_FOUND
)
...
...
src/util.cpp
View file @
3831320e
...
...
@@ -3,9 +3,6 @@
* Author: Andrea Del Prete
*/
#ifndef _CENTROIDAL_DYNAMICS_LIB_CONFIG_HH
#define _CENTROIDAL_DYNAMICS_LIB_CONFIG_HH
#include
<ctime>
#include
<hpp/centroidal-dynamics/util.hh>
...
...
@@ -189,5 +186,3 @@ value_type nchoosek(const int n, const int k) {
}
}
// namespace centroidal_dynamics
#endif //_CENTROIDAL_DYNAMICS_LIB_CONFIG_HH
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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