Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jrl-walkgen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Guilhem Saurel
jrl-walkgen
Commits
ced096cf
Commit
ced096cf
authored
13 years ago
by
Andrei
Browse files
Options
Downloads
Patches
Plain Diff
Documentation
- Document set_support_state
parent
4dc6196b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/PreviewControl/SupportFSM.cpp
+1
-2
1 addition, 2 deletions
src/PreviewControl/SupportFSM.cpp
src/PreviewControl/SupportFSM.h
+10
-3
10 additions, 3 deletions
src/PreviewControl/SupportFSM.h
with
11 additions
and
5 deletions
src/PreviewControl/SupportFSM.cpp
+
1
−
2
View file @
ced096cf
...
...
@@ -42,7 +42,7 @@ SupportFSM::~SupportFSM()
{
}
void
SupportFSM
::
set_support_state
(
double
Time
,
int
Pi
,
void
SupportFSM
::
set_support_state
(
double
Time
,
unsigned
int
Pi
,
support_state_t
&
Support
,
const
reference_t
&
Ref
)
const
{
...
...
@@ -65,7 +65,6 @@ void SupportFSM::set_support_state(double Time, int Pi,
//FSM
if
(
Time
+
EPS
+
Pi
*
T_
>=
Support
.
TimeLimit
)
{
//SS->DS
if
(
Support
.
Phase
==
SS
&&
!
ReferenceGiven
&&
Support
.
NbStepsLeft
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
src/PreviewControl/SupportFSM.h
+
10
−
3
View file @
ced096cf
...
...
@@ -47,9 +47,16 @@ namespace PatternGeneratorJRL
/// \brief Destructor
~
SupportFSM
();
/// \brief Initialize the previewed state.
void
set_support_state
(
double
Time
,
int
Pi
,
support_state_t
&
Support
,
const
reference_t
&
Ref
)
const
;
/// \brief Initialize the previewed state
///
/// \param[in] Time Current time
/// \param[in] Pi Number of (p)reviewed sampling (i)nstant inside the preview period
/// \param[out] Support Support state to be actualized
/// \param[in] Ref Trajectory reference
void
set_support_state
(
double
Time
,
unsigned
int
Pi
,
support_state_t
&
Support
,
const
reference_t
&
Ref
)
const
;
/// \name Accessors
/// \{
...
...
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