Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
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
Gepetto
robotpkg-wip
Commits
66bd37ab
Commit
66bd37ab
authored
8 years ago
by
Rohan Budhiraja
Browse files
Options
Downloads
Patches
Plain Diff
[wip/sot-romeo-v3][patch] bugs in robot.py
parent
6b6850fe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sot-romeo-v3/distinfo
+1
-0
1 addition, 0 deletions
sot-romeo-v3/distinfo
sot-romeo-v3/patches/patch-ae
+29
-0
29 additions, 0 deletions
sot-romeo-v3/patches/patch-ae
with
30 additions
and
0 deletions
sot-romeo-v3/distinfo
+
1
−
0
View file @
66bd37ab
...
...
@@ -5,3 +5,4 @@ SHA1 (patch-aa) = 0319ccbe6c1622c7708972f6fa4fde3e9361002c
SHA1 (patch-ab) = f9980b73a906658126092a370fe79eb41f08dbb4
SHA1 (patch-ac) = 655321720aa1e96b8d24f515ecd4b60233061802
SHA1 (patch-ad) = 839d787b1ffb62cdba5a6620dda07c3cedd0e9fb
SHA1 (patch-ae) = bc58ebeb3b3ad06f0747ce7760e290481004ec35
This diff is collapsed.
Click to expand it.
sot-romeo-v3/patches/patch-ae
0 → 100644
+
29
−
0
View file @
66bd37ab
diff --git src/dynamic_graph/sot/romeo/robot.py src/dynamic_graph/sot/romeo/robot.py
index 9fce636..d543666 100644
--- src/dynamic_graph/sot/romeo/robot.py
+++ src/dynamic_graph/sot/romeo/robot.py
@@ -168,8 +168,6 @@
class Robot (AbstractHumanoidRobot):
#0.0,
)
- jointMap = { }
- jointMap['BODY'] = 'body'
def __init__(self, name,
device = None,
@@ -202,15 +200,12 @@
class Robot (AbstractHumanoidRobot):
# correct the name of the body link
self.dynamic = RosRobotModel("{0}_dynamic".format(name))
- for i in self.jointMap:
- self.dynamic.addJointMapping(i, self.jointMap[i])
self.pinocchioModel = se3.buildModelFromUrdf(self.urdfDir + self.urdfName,
se3.JointModelFreeFlyer())
self.pinocchioData = self.pinocchioModel.createData()
self.dynamic.setModel(self.pinocchioModel)
self.dynamic.setData(self.pinocchioData)
- self.dynamic.loadUrdf(self.urdfDir + self.urdfName)
# complete feet position (TODO: move it into srdf file)
#ankle =self.dynamic.getAnklePositionInFootFrame()
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