Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-rbprm-corba
Commits
84f2daaa
Commit
84f2daaa
authored
Oct 16, 2018
by
stevet
Browse files
affordance objects fix
parent
4300a93e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/rbprmbuilder.py
View file @
84f2daaa
...
...
@@ -194,6 +194,9 @@ class Builder (object):
# \return name of the link.
def
getLinkName
(
self
,
jointName
):
return
self
.
client
.
basic
.
robot
.
getLinkName
(
jointName
)
def
getLinkNames
(
self
,
jointName
):
return
self
.
client
.
basic
.
robot
.
getLinkNames
(
jointName
)
## \}
## \name Access to current configuration
...
...
src/rbprmbuilder.impl.hh
View file @
84f2daaa
...
...
@@ -55,6 +55,7 @@ namespace hpp {
hpp
::
rbprm
::
RbPrmShooterPtr_t
create
(
/*const hpp::pinocchio::DevicePtr_t& robot,*/
const
hpp
::
core
::
Problem
&
problem
)
{
affMap_
=
problemSolver_
->
affordanceObjects
;
hpp
::
pinocchio
::
RbPrmDevicePtr_t
robotcast
=
boost
::
static_pointer_cast
<
hpp
::
pinocchio
::
RbPrmDevice
>
(
problem
.
robot
());
if
(
affMap_
.
map
.
empty
())
{
throw
hpp
::
Error
(
"No affordances found. Unable to create shooter object."
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment