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
6f1b27b5
Commit
6f1b27b5
authored
12 years ago
by
Florent Lamiraux
Browse files
Options
Downloads
Patches
Plain Diff
Add method help and update documentation.
parent
a9e9c815
No related branches found
Branches containing commit
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
+22
-6
22 additions, 6 deletions
src/dynamic_graph/sot/dynamics/humanoid_robot.py
with
22 additions
and
6 deletions
src/dynamic_graph/sot/dynamics/humanoid_robot.py
+
22
−
6
View file @
6f1b27b5
...
...
@@ -36,15 +36,28 @@ I4 = reduce(lambda m, i: m + (i*(0.,)+(1.,)+ (3-i)*(0.,),), range(4), ())
class
AbstractHumanoidRobot
(
object
):
"""
This class instantiates all the entities required to get a consistent
representation of a humanoid robot:
representation of a humanoid robot, mainly:
- device : to integrate velocities into angular control,
- dynamic: to compute forward geometry and kinematics,
- zmpFromForces: to compute ZMP force foot force sensors,
- stabilizer: to stabilize balanced motions
- robot model
Operational points are stored into
'
OperationalPoints
'
list. Some of them
are also accessible directly as attributes:
- leftWrist,
- rightWrist,
- leftAnkle,
- rightAnkle,
- Gaze.
- angleEstimator used to link the two robot models
Tasks are stored into
'
tasks
'
dictionary.
For portability, some signals are accessible as attributes:
- zmpRef: input (vector),
- comRef: input (vector).
- com: output (vector)
- comSelec input (flag)
- usual features and tasks for a robot:
- center of mass
- one task per operational point
"""
OperationalPoints
=
[
'
left-wrist
'
,
'
right-wrist
'
,
...
...
@@ -172,6 +185,9 @@ class AbstractHumanoidRobot (object):
"""
timeStep
=
0.005
def
help
(
self
):
print
(
AbstractHumanoidRobot
.
__doc__
)
def
loadModelFromKxml
(
self
,
name
,
filename
):
"""
Load a model from a kxml file and return the parsed model.
...
...
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