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
c71adc34
Commit
c71adc34
authored
3 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[wip/py-hpp-rbprm-corba] Add patch-81
for curves → ndcurves
parent
a22b219d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
py-hpp-rbprm-corba/Makefile
+1
-1
1 addition, 1 deletion
py-hpp-rbprm-corba/Makefile
py-hpp-rbprm-corba/distinfo
+1
-0
1 addition, 0 deletions
py-hpp-rbprm-corba/distinfo
py-hpp-rbprm-corba/patches/patch-81
+60
-0
60 additions, 0 deletions
py-hpp-rbprm-corba/patches/patch-81
with
62 additions
and
1 deletion
py-hpp-rbprm-corba/Makefile
+
1
−
1
View file @
c71adc34
...
...
@@ -4,7 +4,7 @@
HPP_PACKAGE
=
hpp-rbprm-corba
HPP_COMMENT
=
Corba server
for
RB-PRM
PKGREVISION
=
1
PKGREVISION
=
2
CATEGORIES
=
wip
...
...
This diff is collapsed.
Click to expand it.
py-hpp-rbprm-corba/distinfo
+
1
−
0
View file @
c71adc34
...
...
@@ -2,3 +2,4 @@ SHA1 (hpp-rbprm-corba-4.10.0.tar.gz) = 1bcf3a826e0c450e7faeee72ec1ccc3fb80dcf9f
RMD160 (hpp-rbprm-corba-4.10.0.tar.gz) = 60b4c152affe070c45fb56154ffbbb4738294726
Size (hpp-rbprm-corba-4.10.0.tar.gz) = 6521750 bytes
SHA1 (patch-78) = daba9ccdaa36b43b57fd42dadd3b56e7064afda8
SHA1 (patch-81) = 9be1ffd5a8016d32092d811bef5fe0abf9192a8c
This diff is collapsed.
Click to expand it.
py-hpp-rbprm-corba/patches/patch-81
0 → 100644
+
60
−
0
View file @
c71adc34
From 98126ad1ba94fe339238f308e998844115a1e338 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Wed, 7 Apr 2021 12:00:18 +0200
Subject: [PATCH] =?UTF-8?q?curves=20=E2=86=92=20ndcurves?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
script/tools/disp_bezier.py | 7 ++-----
src/hpp/corbaserver/rbprm/rbprmfullbody.py | 7 ++++---
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/script/tools/disp_bezier.py b/script/tools/disp_bezier.py
index 6df4215..cf55d98 100644
--- script/tools/disp_bezier.py
+++ script/tools/disp_bezier.py
@@ -1,13 +1,10 @@
-from curves import bezier, polynomial
-
from numpy import matrix
-from numpy.linalg import norm
-
+from ndcurves import bezier, polynomial
def displayBezierCurve(r,curve,step=0.001,color=[0.85, 0.75, 0.15, 1.0],name=None,offset = None):
- if name==None:
+ if name is None:
name="bezier_curve"
list = r.client.gui.getNodeList()
i=0
diff --git a/src/hpp/corbaserver/rbprm/rbprmfullbody.py b/src/hpp/corbaserver/rbprm/rbprmfullbody.py
index 2a327ae..014a5fd 100755
--- src/hpp/corbaserver/rbprm/rbprmfullbody.py
+++ src/hpp/corbaserver/rbprm/rbprmfullbody.py
@@ -16,10 +16,11 @@
# hpp-manipulation-corba. If not, see
# <http://www.gnu.org/licenses/>.
+from numpy import array, matrix
+
from hpp.corbaserver.rbprm import Client as RbprmClient
from hpp.corbaserver.robot import Robot
-from curves import bezier
-from numpy import array, matrix
+from ndcurves import bezier
# # Load and handle a RbprmFullbody robot for rbprm planning
@@ -31,7 +32,7 @@
class FullBody(Robot):
def __init__(self, robotName = None, rootJointType = None, load = True, client = None, hppcorbaClient = None, clientRbprm=None):
Robot.__init__(self, robotName, rootJointType, False, client, hppcorbaClient)
self.tf_root = "base_link"
- if clientRbprm == None:
+ if clientRbprm is None:
self.clientRbprm = RbprmClient()
else:
self.clientRbprm = clientRbprm
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