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
Stack Of Tasks
sot-dynamic-pinocchio
Commits
1265ff31
Commit
1265ff31
authored
13 years ago
by
Thomas Moulard
Browse files
Options
Downloads
Patches
Plain Diff
Switch to TaskPD.
parent
a076a6d6
No related branches found
No related tags found
1 merge request
!1
[major][cpp] starting point to integrate pinocchio
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/dynamic_graph/sot/dynamics/humanoid_robot.py
+3
-3
3 additions, 3 deletions
src/dynamic_graph/sot/dynamics/humanoid_robot.py
with
3 additions
and
3 deletions
src/dynamic_graph/sot/dynamics/humanoid_robot.py
+
3
−
3
View file @
1265ff31
...
...
@@ -17,7 +17,7 @@
from
dynamic_graph.sot
import
SE3
,
R3
,
SO3
from
dynamic_graph.sot.core.feature_position
import
FeaturePosition
from
dynamic_graph.sot.core
import
RobotSimu
,
FeaturePoint6dRelative
,
\
FeatureGeneric
,
FeatureJointLimits
,
Task
,
Constraint
,
GainAdaptive
,
SOT
FeatureGeneric
,
FeatureJointLimits
,
Task
PD
,
Constraint
,
GainAdaptive
,
SOT
from
dynamic_graph.sot.dynamics.parser
import
Parser
from
dynamic_graph.sot.dynamics
import
AngleEstimator
...
...
@@ -183,7 +183,7 @@ class AbstractHumanoidRobot (object):
self
.
featureComDes
=
FeatureGeneric
(
self
.
name
+
'
_feature_ref_com
'
)
self
.
featureComDes
.
errorIN
.
value
=
self
.
dynamic
.
com
.
value
self
.
featureCom
.
sdes
.
value
=
self
.
featureComDes
self
.
comTask
=
Task
(
self
.
name
+
'
_task_com
'
)
self
.
comTask
=
Task
PD
(
self
.
name
+
'
_task_com
'
)
self
.
comTask
.
add
(
self
.
name
+
'
_feature_com
'
)
self
.
comTask
.
controlGain
.
value
=
1.
...
...
@@ -198,7 +198,7 @@ class AbstractHumanoidRobot (object):
self
.
dynamic
.
signal
(
op
),
self
.
dynamic
.
signal
(
'
J
'
+
op
),
self
.
dynamic
.
signal
(
op
).
value
)
self
.
tasks
[
op
]
=
Task
(
self
.
name
+
'
_task_
'
+
op
)
self
.
tasks
[
op
]
=
Task
PD
(
self
.
name
+
'
_task_
'
+
op
)
self
.
tasks
[
op
].
add
(
self
.
name
+
'
_feature_
'
+
op
)
self
.
tasks
[
op
].
controlGain
.
value
=
.
2
# define a member for each operational point
...
...
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