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
Stack Of Tasks
eigenpy
Commits
af32ca45
Commit
af32ca45
authored
Oct 17, 2016
by
jcarpent
Browse files
[C++] Remove useless inclusions
parent
4359336c
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/angle-axis.cpp
View file @
af32ca45
...
...
@@ -14,8 +14,8 @@
* with eigenpy. If not, see <http://www.gnu.org/licenses/>.
*/
#include
"eigenpy/angle-axis.hpp"
#include
"eigenpy/geometry.hpp"
#include
"eigenpy/angle-axis.hpp"
namespace
eigenpy
{
...
...
src/angle-axis.hpp
View file @
af32ca45
...
...
@@ -21,8 +21,6 @@
#include
<Eigen/Core>
#include
<Eigen/Geometry>
#include
"eigenpy/eigenpy.hpp"
namespace
eigenpy
{
template
<
>
...
...
src/geometry.hpp
View file @
af32ca45
...
...
@@ -17,18 +17,12 @@
#ifndef __eigenpy_geometry_hpp__
#define __eigenpy_geometry_hpp__
#include
"eigenpy/eigenpy.hpp"
#include
"eigenpy/quaternion.hpp"
#include
"eigenpy/angle-axis.hpp"
namespace
eigenpy
{
typedef
Eigen
::
Quaternion
<
double
,
Eigen
::
DontAlign
>
Quaterniond_fx
;
//typedef Eigen::AngleAxis<double> AngleAxis_fx;
void
exposeQuaternion
();
void
exposeAngleAxis
();
}
// namespace eigenpy
#endif // define __eigenpy_geometry_hpp__
src/quaternion.cpp
View file @
af32ca45
...
...
@@ -15,6 +15,7 @@
*/
#include
"eigenpy/geometry.hpp"
#include
"eigenpy/quaternion.hpp"
namespace
eigenpy
{
...
...
src/quaternion.hpp
View file @
af32ca45
...
...
@@ -19,7 +19,7 @@
#include
<Eigen/Core>
#include
<Eigen/Geometry>
#include
"eigenpy/eigenpy.hpp"
#include
"eigenpy/exception.hpp"
namespace
eigenpy
...
...
unittest/geometry.cpp
View file @
af32ca45
...
...
@@ -42,12 +42,6 @@ double testInQuaternion( Eigen::Quaterniond q )
{
return
q
.
norm
();
}
double
testInQuaternion_fx
(
eigenpy
::
Quaterniond_fx
q
)
{
return
q
.
norm
();
}
BOOST_PYTHON_MODULE
(
geometry
)
{
...
...
@@ -61,7 +55,6 @@ BOOST_PYTHON_MODULE(geometry)
bp
::
def
(
"testOutQuaternion"
,
&
testOutQuaternion
);
bp
::
def
(
"testInQuaternion"
,
&
testInQuaternion
);
bp
::
def
(
"testInQuaternion_fx"
,
&
testInQuaternion_fx
);
}
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