File tree Expand file tree Collapse file tree 3 files changed +29
-88
lines changed Expand file tree Collapse file tree 3 files changed +29
-88
lines changed Original file line number Diff line number Diff line change 1
1
2
- set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake )
2
+ set (CMAKE_CXX_FLAGS "-std=c++11 -Wall" )
3
3
4
- find_package (Eigen REQUIRED )
4
+ find_package (Eigen3 REQUIRED )
5
+
6
+ message ("
7
+
8
+ Eigen dir : ${EIGEN3_INCLUDE_DIRS}
9
+
10
+ " )
5
11
6
12
include_directories (
7
- ${Eigen_INCLUDE_DIRS }
13
+ ${EIGEN3_INCLUDE_DIRS }
8
14
${PROJECT_SOURCE_DIR} /unsupported/
9
15
)
10
- add_executable (lgsm test_lgsm.cpp )
11
16
17
+ add_executable (lgsm test_lgsm.cpp )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #include < Eigen/Dense>
2
1
#include < Eigen/Lgsm>
2
+ #include < iostream>
3
3
4
4
int main (int argc, char ** argv)
5
5
{
6
- return 0 ;
7
- }
6
+ // Eigen::Displacementd a,b;
7
+ Eigen::Twistd c;
8
+ Eigen::Wrenchd d;
9
+ //
10
+ // Eigen::Vector3d test = d.getTorque();
11
+ std::cout << c.getAngularVelocity () << std::endl;
12
+ // // std::cout << d.getTorque() << std::endl;
13
+ // // std::cout << d.getForce() << std::endl;
14
+ // //
15
+ // // std::cout << a.adjoint() << std::endl;
16
+ // auto e = a*b;
17
+ //
18
+ // std::cout << "a : " << a << std::endl;
19
+ // std::cout << "b : " << b << std::endl;
20
+ // std::cout << "a*b : " << e << std::endl;
21
+
22
+ return 0 ;
23
+ }
You can’t perform that action at this time.
0 commit comments