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
48bcf797
Commit
48bcf797
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Use weak pointer
parent
a3ad1a3e
No related branches found
No related tags found
1 merge request
!248
Feature/proc motion
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/capture_motion.h
+2
-2
2 additions, 2 deletions
src/capture_motion.h
with
2 additions
and
2 deletions
src/capture_motion.h
+
2
−
2
View file @
48bcf797
...
@@ -104,7 +104,7 @@ class CaptureMotion : public CaptureBase
...
@@ -104,7 +104,7 @@ class CaptureMotion : public CaptureBase
Eigen
::
VectorXs
data_
;
///< Motion data in form of vector mandatory
Eigen
::
VectorXs
data_
;
///< Motion data in form of vector mandatory
Eigen
::
MatrixXs
data_cov_
;
///< Motion data covariance
Eigen
::
MatrixXs
data_cov_
;
///< Motion data covariance
MotionBuffer
buffer_
;
///< Buffer of motions between this Capture and the next one.
MotionBuffer
buffer_
;
///< Buffer of motions between this Capture and the next one.
FrameBasePtr
origin_frame_ptr_
;
///< Pointer to the origin frame of the motion
FrameBase
W
Ptr
origin_frame_ptr_
;
///< Pointer to the origin frame of the motion
};
};
inline
const
Eigen
::
VectorXs
&
CaptureMotion
::
getData
()
const
inline
const
Eigen
::
VectorXs
&
CaptureMotion
::
getData
()
const
...
@@ -158,7 +158,7 @@ inline Eigen::VectorXs CaptureMotion::correctDelta(const VectorXs& _delta, const
...
@@ -158,7 +158,7 @@ inline Eigen::VectorXs CaptureMotion::correctDelta(const VectorXs& _delta, const
inline
FrameBasePtr
CaptureMotion
::
getOriginFramePtr
()
inline
FrameBasePtr
CaptureMotion
::
getOriginFramePtr
()
{
{
return
origin_frame_ptr_
;
return
origin_frame_ptr_
.
lock
()
;
}
}
inline
void
CaptureMotion
::
setOriginFramePtr
(
FrameBasePtr
_frame_ptr
)
inline
void
CaptureMotion
::
setOriginFramePtr
(
FrameBasePtr
_frame_ptr
)
...
...
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