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
554edd54
Commit
554edd54
authored
9 years ago
by
mnaveau
Browse files
Options
Downloads
Patches
Plain Diff
Increase the security margin in term of buffer size
parent
a7354ab7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ZMPRefTrajectoryGeneration/ZMPVelocityReferencedSQP.cpp
+11
-10
11 additions, 10 deletions
src/ZMPRefTrajectoryGeneration/ZMPVelocityReferencedSQP.cpp
with
11 additions
and
10 deletions
src/ZMPRefTrajectoryGeneration/ZMPVelocityReferencedSQP.cpp
+
11
−
10
View file @
554edd54
...
...
@@ -127,16 +127,17 @@ ZMPRefTrajectoryGeneration(SPM),OFTG_(NULL),dynamicFilter_(NULL)
// init of the buffer for the kajita's dynamic filter
// size = numberOfIterationOfThePreviewControl * NumberOfSample + Margin
ZMPTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
20
);
COMTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
20
);
LeftFootTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
20
)
;
RightFootTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
20
)
;
ZMPTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
20
)
;
COMTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
20
)
;
LeftFootTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
20
)
;
RightFootTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
20
)
;
// size = numberOfIterationOfThePreviewControl * NumberOfSample + Margin(=CurrentIndex)
// Waring current index is higher on the robot than in the jrl Test suit
ZMPTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
40
);
COMTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
40
);
LeftFootTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
40
);
RightFootTraj_deq_
.
resize
(
previewSize_
*
NbSampleInterpolation_
+
40
);
ZMPTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
40
)
;
COMTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
40
)
;
LeftFootTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
40
)
;
RightFootTraj_deq_ctrl_
.
resize
(
previewSize_
*
NbSampleControl_
+
40
)
;
}
...
...
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