Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
e7db0ded
Commit
e7db0ded
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Fixed examples
parent
a43ae098
No related branches found
No related tags found
1 merge request
!252
Renamed Constraint to Factor and others
Pipeline
#2656
passed
6 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
src/examples/test_processor_imu.cpp
+1
-1
1 addition, 1 deletion
src/examples/test_processor_imu.cpp
src/examples/test_sparsification.cpp
+1
-1
1 addition, 1 deletion
src/examples/test_sparsification.cpp
with
3 additions
and
2 deletions
CMakeLists.txt
+
1
−
0
View file @
e7db0ded
...
@@ -100,6 +100,7 @@ option(_WOLF_TRACE "Enable wolf tracing macro" ON)
...
@@ -100,6 +100,7 @@ option(_WOLF_TRACE "Enable wolf tracing macro" ON)
# option(BUILD_EXAMPLES "Build examples" OFF)
# option(BUILD_EXAMPLES "Build examples" OFF)
set
(
BUILD_TESTS true
)
set
(
BUILD_TESTS true
)
set
(
BUILD_EXAMPLES true
)
# Does this has any other interest
# Does this has any other interest
# but for the examples ?
# but for the examples ?
...
...
This diff is collapsed.
Click to expand it.
src/examples/test_processor_imu.cpp
+
1
−
1
View file @
e7db0ded
...
@@ -73,7 +73,7 @@ int main(int argc, char** argv)
...
@@ -73,7 +73,7 @@ int main(int argc, char** argv)
ProblemPtr
problem_ptr_
=
Problem
::
create
(
"PQVBB 3D"
);
ProblemPtr
problem_ptr_
=
Problem
::
create
(
"PQVBB 3D"
);
Eigen
::
VectorXs
extrinsics
(
7
);
Eigen
::
VectorXs
extrinsics
(
7
);
extrinsics
<<
0
,
0
,
0
,
0
,
0
,
0
,
1
;
// IMU pose in the robot
extrinsics
<<
0
,
0
,
0
,
0
,
0
,
0
,
1
;
// IMU pose in the robot
SensorBasePtr
sensor_ptr
=
problem_ptr_
->
installSensor
(
"IMU"
,
"Main IMU"
,
extrinsics
,
IntrinsicsBase
());
SensorBasePtr
sensor_ptr
=
problem_ptr_
->
installSensor
(
"IMU"
,
"Main IMU"
,
extrinsics
,
IntrinsicsBase
Ptr
());
problem_ptr_
->
installProcessor
(
"IMU"
,
"IMU pre-integrator"
,
"Main IMU"
,
""
);
problem_ptr_
->
installProcessor
(
"IMU"
,
"IMU pre-integrator"
,
"Main IMU"
,
""
);
// Time and data variables
// Time and data variables
...
...
This diff is collapsed.
Click to expand it.
src/examples/test_sparsification.cpp
+
1
−
1
View file @
e7db0ded
...
@@ -187,7 +187,7 @@ int main(int argc, char** argv)
...
@@ -187,7 +187,7 @@ int main(int argc, char** argv)
// Wolf problem
// Wolf problem
FrameBasePtr
last_frame_ptr
,
frame_from_ptr
,
frame_to_ptr
;
FrameBasePtr
last_frame_ptr
,
frame_from_ptr
,
frame_to_ptr
;
ProblemPtr
bl_problem_ptr
=
Problem
::
create
(
"PO_2D"
);
ProblemPtr
bl_problem_ptr
=
Problem
::
create
(
"PO_2D"
);
SensorBasePtr
sensor_ptr
=
bl_problem_ptr
->
installSensor
(
"ODOM 2D"
,
"Odometry"
,
Eigen
::
VectorXs
::
Zero
(
3
),
IntrinsicsBase
());
SensorBasePtr
sensor_ptr
=
bl_problem_ptr
->
installSensor
(
"ODOM 2D"
,
"Odometry"
,
Eigen
::
VectorXs
::
Zero
(
3
),
IntrinsicsBase
Ptr
());
// Ceres wrapper
// Ceres wrapper
std
::
string
bl_summary
,
sp_summary
;
std
::
string
bl_summary
,
sp_summary
;
...
...
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