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
7ac649da
Commit
7ac649da
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[wip/py-sot-talos] add patch-aa
for eigenpy v2
parent
ed97e68a
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
py-sot-talos/distinfo
+1
-0
1 addition, 0 deletions
py-sot-talos/distinfo
py-sot-talos/patches/patch-aa
+23
-0
23 additions, 0 deletions
py-sot-talos/patches/patch-aa
with
24 additions
and
0 deletions
py-sot-talos/distinfo
+
1
−
0
View file @
7ac649da
SHA1 (sot-talos-1.1.0.tar.gz) = bf78a5bb2c076cba1575d1313fb19a2c69356640
RMD160 (sot-talos-1.1.0.tar.gz) = c3c7a2f05fbb2438a9afd83c2d8a78da18976558
Size (sot-talos-1.1.0.tar.gz) = 810645 bytes
SHA1 (patch-aa) = 23797e17cad85334b2f862b70609b2322266996e
This diff is collapsed.
Click to expand it.
py-sot-talos/patches/patch-aa
0 → 100644
+
23
−
0
View file @
7ac649da
fix for eigenpy v2: use np.array instead of np.matrix
--- src/dynamic_graph/sot/talos/talos.py.orig 2019-11-05 13:00:02.000000000 +0100
+++ src/dynamic_graph/sot/talos/talos.py 2020-02-18 14:58:34.163678024 +0100
@@ -90,12 +90,12 @@
# TODO For position limit, we remove the first value to get
# a vector of the good size because SoT use euler angles and not
# quaternions...
- self.device.setPositionBounds(self.pinocchioModel.lowerPositionLimit.T.tolist()[0][1:],
- self.pinocchioModel.upperPositionLimit.T.tolist()[0][1:])
- self.device.setVelocityBounds((-self.pinocchioModel.velocityLimit).T.tolist()[0],
- self.pinocchioModel.velocityLimit.T.tolist()[0])
- self.device.setTorqueBounds((-self.pinocchioModel.effortLimit).T.tolist()[0],
- self.pinocchioModel.effortLimit.T.tolist()[0])
+ self.device.setPositionBounds(self.pinocchioModel.lowerPositionLimit.tolist()[1:],
+ self.pinocchioModel.upperPositionLimit.tolist()[1:])
+ self.device.setVelocityBounds((-self.pinocchioModel.velocityLimit).tolist(),
+ self.pinocchioModel.velocityLimit.tolist())
+ self.device.setTorqueBounds((-self.pinocchioModel.effortLimit).tolist(),
+ self.pinocchioModel.effortLimit.tolist())
self.halfSitting = initialConfig
self.device.set(self.halfSitting)
plug(self.device.state, self.dynamic.position)
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