Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
laser_scan_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
algorithms
laser_scan_utils
Commits
9539a86d
Commit
9539a86d
authored
10 years ago
by
acoromin
Browse files
Options
Downloads
Patches
Plain Diff
Working version
parent
91bf3a26
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Findlaser_scan_utils.cmake
+6
-6
6 additions, 6 deletions
Findlaser_scan_utils.cmake
src/CMakeLists.txt
+4
-4
4 additions, 4 deletions
src/CMakeLists.txt
src/types.h
+0
-42
0 additions, 42 deletions
src/types.h
with
10 additions
and
52 deletions
Findlaser_scan_utils.cmake
+
6
−
6
View file @
9539a86d
#edit the following line to add the librarie's header files
FIND_PATH
(
laser_scan_utils_INCLUDE_DIR
NAMES
scan_params.h corner
s.h
PATHS /usr/local/include/iri-algorithms
laser_scan_utils_INCLUDE_DIR
S
NAMES
corners.h geometry.h scan_params.h types_laser_scan_util
s.h
PATHS /usr/local/include/iri-algorithms
/laser_scan_utils
)
FIND_LIBRARY
(
laser_scan_utils_LIBRARY
NAMES laser_scan_utils
PATHS /usr/lib /usr/local/lib /usr/local/lib/iri-algorithms
)
PATHS /usr/lib /usr/local/lib /usr/local/lib/iri-algorithms
/laser_scan_utils
)
IF
(
laser_scan_utils_INCLUDE_DIR AND laser_scan_utils_LIBRARY
)
IF
(
laser_scan_utils_INCLUDE_DIR
S
AND laser_scan_utils_LIBRARY
)
SET
(
laser_scan_utils_FOUND TRUE
)
ENDIF
(
laser_scan_utils_INCLUDE_DIR AND laser_scan_utils_LIBRARY
)
ENDIF
(
laser_scan_utils_INCLUDE_DIR
S
AND laser_scan_utils_LIBRARY
)
IF
(
laser_scan_utils_FOUND
)
IF
(
NOT laser_scan_utils_FIND_QUIETLY
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
4
−
4
View file @
9539a86d
...
...
@@ -24,7 +24,7 @@ SET(HDRS
corners.h
geometry.h
scan_params.h
types.h
)
types
_laser_scan_utils
.h
)
#sources
SET
(
SRCS
...
...
@@ -37,12 +37,12 @@ ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
#install library
INSTALL
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri-algorithms
ARCHIVE DESTINATION lib/iri-algorithms
)
LIBRARY DESTINATION lib/iri-algorithms
/laser_scan_utils
ARCHIVE DESTINATION lib/iri-algorithms
/laser_scan_utils
)
#install headers
INSTALL
(
FILES
${
HDRS
}
DESTINATION include/iri-algorithms
)
DESTINATION include/iri-algorithms
/laser_scan_utils
)
INSTALL
(
FILES ../Findlaser_scan_utils.cmake DESTINATION
${
CMAKE_ROOT
}
/Modules/
)
...
...
This diff is collapsed.
Click to expand it.
src/types.h
deleted
100644 → 0
+
0
−
42
View file @
91bf3a26
#ifndef TYPES_H_
#define TYPES_H_
//includes from Eigen lib
#include
<eigen3/Eigen/Dense>
#include
<eigen3/Eigen/Geometry>
//namespace laserscanutils;
//type scalar, in case working on 32-bit architectures , or benchmarking
namespace
laserscanutils
{
//typedef float ScalarT; // Use this for float, 32 bit precision
typedef
double
ScalarT
;
// Use this for double, 64 bit precision
//typedef long double ScalarT; // Use this for long double, 128 bit precision
}
// Eigen namespace extension using the above defined scalar
namespace
Eigen
{
// 1. Vectors and Matrices
typedef
Matrix
<
laserscanutils
::
ScalarT
,
2
,
2
>
Matrix2s
;
///< 2x2 matrix of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
3
,
3
>
Matrix3s
;
///< 3x3 matrix of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
4
,
4
>
Matrix4s
;
///< 4x4 matrix of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
Dynamic
,
Dynamic
>
MatrixXs
;
///< variable size matrix of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
1
,
1
>
Vector1s
;
///< 1-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
2
,
1
>
Vector2s
;
///< 2-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
3
,
1
>
Vector3s
;
///< 3-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
4
,
1
>
Vector4s
;
///< 4-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
Dynamic
,
1
>
VectorXs
;
///< variable size vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
1
,
2
>
RowVector2s
;
///< 2-row-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
1
,
3
>
RowVector3s
;
///< 3-row-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
1
,
4
>
RowVector4s
;
///< 4-row-vector of real scalar_t type
typedef
Matrix
<
laserscanutils
::
ScalarT
,
1
,
Dynamic
>
RowVectorXs
;
///< variable size row-vector of real scalar_t type
// 2. Quaternions and other rotation things
typedef
Quaternion
<
laserscanutils
::
ScalarT
>
Quaternions
;
///< Quaternion of real scalar_t type
typedef
AngleAxis
<
laserscanutils
::
ScalarT
>
AngleAxiss
;
///< Angle-Axis of real scalar_t type
}
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment