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
e531d6ad
Commit
e531d6ad
authored
7 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
WIP Incorporate the state machine
parent
727bb82b
No related branches found
No related tags found
1 merge request
!157
Kfpackmanager
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/processor_motion.cpp
+209
-186
209 additions, 186 deletions
src/processor_motion.cpp
src/processor_motion.h
+6
-8
6 additions, 8 deletions
src/processor_motion.h
with
215 additions
and
194 deletions
src/processor_motion.cpp
+
209
−
186
View file @
e531d6ad
This diff is collapsed.
Click to expand it.
src/processor_motion.h
+
6
−
8
View file @
e531d6ad
...
@@ -101,12 +101,10 @@ class ProcessorMotion : public ProcessorBase
...
@@ -101,12 +101,10 @@ class ProcessorMotion : public ProcessorBase
{
{
public:
public:
typedef
enum
{
typedef
enum
{
FIRST_TIME_WITH_PACK
,
RUNNING_WITHOUT_PACK
,
FIRST_TIME_WITHOUT_PACK
,
RUNNING_WITH_PACK_BEFORE_ORIGIN
,
SECOND_TIME_WITH_PACK
,
RUNNING_WITH_PACK_ON_ORIGIN
,
SECOND_TIME_WITHOUT_PACK
,
RUNNING_WITH_PACK_AFTER_ORIGIN
RUNNING_WITH_PACK
,
RUNNING_WITHOUT_PACK
}
ProcessingStep
;
}
ProcessingStep
;
protected
:
protected
:
...
@@ -235,9 +233,9 @@ class ProcessorMotion : public ProcessorBase
...
@@ -235,9 +233,9 @@ class ProcessorMotion : public ProcessorBase
*/
*/
virtual
void
postProcess
()
{
};
virtual
void
postProcess
()
{
};
KFPackPtr
selectPack
(
const
CaptureBasePtr
&
_cap
);
KFPackPtr
selectPack
Before
(
const
CaptureBasePtr
&
_cap
);
void
computeProcessingStep
();
KFPackPtr
computeProcessingStep
();
// These are the pure virtual functions doing the mathematics
// These are the pure virtual functions doing the mathematics
...
...
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