File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ cmake_minimum_required(VERSION 3.18)
66
77set (PROJECT_NAME nanoeigenpy)
88set (PROJECT_URL https://github.com/Simple-Robotics/nanoeigenpy)
9- set (PROJECT_DESCRIPTION "Tools for using Eigen with nanobind" )
9+ set (
10+ PROJECT_DESCRIPTION
11+ "A support library for bindings between Eigen in C++ and Python, based on nanobind"
12+ )
1013set (PROJECT_CUSTOM_HEADER_EXTENSION "hpp" )
1114set (PROJECT_USE_CMAKE_EXPORT True )
1215
@@ -236,4 +239,7 @@ install(
236239ADD_HEADER_GROUP(${PROJECT_NAME} _HEADERS)
237240ADD_SOURCE_GROUP(${PROJECT_NAME} _SOURCES)
238241
242+ # Install ROS package.xml
243+ install (FILES package.xml DESTINATION share/${PROJECT_NAME} )
244+
239245SETUP_PROJECT_FINALIZE()
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <package format =" 3" >
3+ <name >nanoeigenpy</name >
4+ <version >0.0.0</version >
5+ <description >A support library for bindings between Eigen in C++ and Python, based on nanobind</description >
6+ <
maintainer email =
" [email protected] " >Wilson Jallet</
maintainer >
7+ <
maintainer email =
" [email protected] " >Lucas Haubert</
maintainer >
8+ <author >Wilson Jallet</author >
9+ <author >Lucas Haubert</author >
10+ <license >BSD</license >
11+
12+ <url type =" website" >https://github.com/Simple-Robotics/nanoeigenpy</url >
13+
14+ <build_depend >git</build_depend >
15+ <build_depend >doxygen</build_depend >
16+
17+ <!-- The following tag is recommended by REP-136 -->
18+ <exec_depend condition =" $ROS_VERSION == 1" >catkin</exec_depend >
19+
20+ <depend condition =" $ROS_PYTHON_VERSION == 3" >python3</depend >
21+ <depend condition =" $ROS_PYTHON_VERSION == 3" >python3-numpy</depend >
22+ <depend condition =" $ROS_PYTHON_VERSION == 3" >python3-scipy</depend >
23+ <depend >eigen</depend >
24+ <depend >nanobind-dev</depend >
25+
26+ <buildtool_depend >cmake</buildtool_depend >
27+ <export >
28+ <build_type >cmake</build_type >
29+ </export >
30+ </package >
Original file line number Diff line number Diff line change 1717
1818@pytest .mark .parametrize ("cls" , _clazzes )
1919def test_solver (cls ):
20- Q = np . random . randn ( dim , dim )
20+ Q = rng . standard_normal (( dim , dim ) )
2121 A = 0.5 * (Q .T + Q )
2222 solver = cls (A )
2323 solver .setMaxIterations (MAX_ITER )
@@ -41,7 +41,7 @@ def test_solver(cls):
4141
4242@pytest .mark .parametrize ("cls" , _clazzes )
4343def test_solver_with_guess (cls ):
44- Q = np . random . randn ( dim , dim )
44+ Q = rng . standard_normal (( dim , dim ) )
4545 A = 0.5 * (Q .T + Q )
4646 solver = cls (A )
4747 solver .setMaxIterations (MAX_ITER )
You can’t perform that action at this time.
0 commit comments