Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tsid
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
Show more breadcrumbs
Stack Of Tasks
tsid
Commits
d4ea3dc4
Commit
d4ea3dc4
authored
4 years ago
by
Andrea Del Prete
Browse files
Options
Downloads
Patches
Plain Diff
[py] Add documentation
parent
85d22a6a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#13418
passed with warnings
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exercizes/test_cop_task.py
+9
-0
9 additions, 0 deletions
exercizes/test_cop_task.py
with
9 additions
and
0 deletions
exercizes/test_cop_task.py
+
9
−
0
View file @
d4ea3dc4
'''
This script is a slight variation of ex_4_walking.py introduced to test the new
center of pressure (CoP) task. In this script, besides tracking a reference
center of mass (CoM), the TSID controller also tries to track a reference CoP.
The resulting motion doesn
'
t look great because the reference CoP is an open-loop
reference trajectory, so it is not stabilizing, and it conflicts with the CoM task.
However, the results show that the CoP is tracked reasonably well during the motion,
which was the goal of the test, validating the CoP task.
'''
import
numpy
as
np
from
numpy
import
nan
from
numpy.linalg
import
norm
as
norm
...
...
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