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
fe06df04
Commit
fe06df04
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused PM::last_nullptr_
parent
ac7db762
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5643
passed
5 years ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/processor/processor_motion.h
+0
-1
0 additions, 1 deletion
include/core/processor/processor_motion.h
src/processor/processor_motion.cpp
+0
-6
0 additions, 6 deletions
src/processor/processor_motion.cpp
with
0 additions
and
7 deletions
include/core/processor/processor_motion.h
+
0
−
1
View file @
fe06df04
...
...
@@ -484,7 +484,6 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
CaptureMotionPtr
origin_ptr_
;
CaptureMotionPtr
last_ptr_
;
CaptureMotionPtr
incoming_ptr_
;
bool
last_nullptr_
;
protected
:
// helpers to avoid allocation
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_motion.cpp
+
0
−
6
View file @
fe06df04
...
...
@@ -33,7 +33,6 @@ ProcessorMotion::ProcessorMotion(const std::string& _type,
origin_ptr_
(),
last_ptr_
(),
incoming_ptr_
(),
last_nullptr_
(
false
),
dt_
(
0.0
),
x_
(
_state_size
),
delta_
(
_delta_size
),
...
...
@@ -315,11 +314,6 @@ void ProcessorMotion::processCapture(CaptureBasePtr _incoming_ptr)
break
;
}
if
(
last_nullptr_
){
integrateOneStep
();
last_nullptr_
=
false
;
}
// Update state and time stamps
const
auto
&
ts
=
getTimeStamp
();
...
...
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