Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-dynamic-pinocchio
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
Guilhem Saurel
sot-dynamic-pinocchio
Commits
c1eb9ed4
Commit
c1eb9ed4
authored
13 years ago
by
Florent Lamiraux
Browse files
Options
Downloads
Patches
Plain Diff
In class Solver, implement method remove and modify method push.
Both methods take a task as input and forward to Solver.sot.
parent
bd346620
No related branches found
Branches containing commit
Tags
v3.2.4
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/dynamic_graph/sot/dynamics/solver.py
+8
-2
8 additions, 2 deletions
src/dynamic_graph/sot/dynamics/solver.py
with
8 additions
and
2 deletions
src/dynamic_graph/sot/dynamics/solver.py
+
8
−
2
View file @
c1eb9ed4
...
...
@@ -46,8 +46,14 @@ class Solver:
plug
(
self
.
jointLimitator
.
control
,
robot
.
device
.
control
)
plug
(
self
.
robot
.
device
.
state
,
self
.
robot
.
dynamic
.
position
)
def
push
(
self
,
task
Name
):
def
push
(
self
,
task
):
"""
Proxy method to push a task in the sot
"""
self
.
sot
.
push
(
taskName
)
self
.
sot
.
push
(
task
.
name
)
def
remove
(
self
,
task
):
"""
Proxy method to remove a task from the sot
"""
self
.
sot
.
remove
(
task
.
name
)
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