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
82a774b5
Commit
82a774b5
authored
5 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
TrajectoryBase const qualifier changes
parent
a92fdfcf
No related branches found
No related tags found
1 merge request
!301
Resolve "Work on const / non-const in wolf base classes"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/trajectory/trajectory_base.h
+1
-1
1 addition, 1 deletion
include/core/trajectory/trajectory_base.h
src/trajectory/trajectory_base.cpp
+1
-1
1 addition, 1 deletion
src/trajectory/trajectory_base.cpp
with
2 additions
and
2 deletions
include/core/trajectory/trajectory_base.h
+
1
−
1
View file @
82a774b5
...
@@ -53,7 +53,7 @@ class TrajectoryBase : public NodeBase, public std::enable_shared_from_this<Traj
...
@@ -53,7 +53,7 @@ class TrajectoryBase : public NodeBase, public std::enable_shared_from_this<Traj
public:
public:
// factors
// factors
void
getFactorList
(
FactorBasePtrList
&
_fac_list
);
void
getFactorList
(
FactorBasePtrList
&
_fac_list
)
const
;
protected:
protected:
FrameBaseConstIter
computeFrameOrder
(
FrameBasePtr
_frame_ptr
);
FrameBaseConstIter
computeFrameOrder
(
FrameBasePtr
_frame_ptr
);
...
...
This diff is collapsed.
Click to expand it.
src/trajectory/trajectory_base.cpp
+
1
−
1
View file @
82a774b5
...
@@ -44,7 +44,7 @@ void TrajectoryBase::removeFrame(FrameBasePtr _frame_ptr)
...
@@ -44,7 +44,7 @@ void TrajectoryBase::removeFrame(FrameBasePtr _frame_ptr)
updateLastFrames
();
updateLastFrames
();
}
}
void
TrajectoryBase
::
getFactorList
(
FactorBasePtrList
&
_fac_list
)
void
TrajectoryBase
::
getFactorList
(
FactorBasePtrList
&
_fac_list
)
const
{
{
for
(
auto
fr_ptr
:
getFrameList
())
for
(
auto
fr_ptr
:
getFrameList
())
fr_ptr
->
getFactorList
(
_fac_list
);
fr_ptr
->
getFactorList
(
_fac_list
);
...
...
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