Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hpp-rbprm-corba
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guilhem Saurel
hpp-rbprm-corba
Commits
f0656cf8
Commit
f0656cf8
authored
Mar 26, 2020
by
Pierre Fernbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Python] set{Start,End}State correctly project from the new state and not the original one
parent
9c9ed1db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/hpp/corbaserver/rbprm/rbprmfullbody.py
src/hpp/corbaserver/rbprm/rbprmfullbody.py
+2
-2
No files found.
src/hpp/corbaserver/rbprm/rbprmfullbody.py
View file @
f0656cf8
...
...
@@ -325,7 +325,7 @@ class FullBody(Robot):
num_max_sample
=
0
for
(
limbName
,
normal
)
in
zip
(
contacts
,
normals
):
p
=
cl
.
getEffectorPosition
(
limbName
,
configuration
)[
0
]
cl
.
addNewContact
(
sId
,
limbName
,
p
,
normal
,
num_max_sample
,
False
,
[
0
,
0
,
0
,
0
])
sId
=
cl
.
addNewContact
(
sId
,
limbName
,
p
,
normal
,
num_max_sample
,
False
,
[
0
,
0
,
0
,
0
])
return
cl
.
setStartStateId
(
sId
)
# # Initialize the goal configuration of the path interpolation
...
...
@@ -342,7 +342,7 @@ class FullBody(Robot):
num_max_sample
=
0
for
(
limbName
,
normal
)
in
zip
(
contacts
,
normals
):
p
=
cl
.
getEffectorPosition
(
limbName
,
configuration
)[
0
]
cl
.
addNewContact
(
sId
,
limbName
,
p
,
normal
,
num_max_sample
,
False
,
[
0
,
0
,
0
,
0
])
sId
=
cl
.
addNewContact
(
sId
,
limbName
,
p
,
normal
,
num_max_sample
,
False
,
[
0
,
0
,
0
,
0
])
return
cl
.
setEndStateId
(
sId
)
# # Initialize the first state of the path interpolation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment