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
Guilhem Saurel
hpp-rbprm-corba
Commits
1809cf16
Commit
1809cf16
authored
Oct 06, 2021
by
Guilhem Saurel
Browse files
Merge branch 'master' into devel
parents
0b93e3c0
3a39a6b3
Pipeline
#16425
failed with stage
in 54 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake
@
ee7a773c
Compare
3a52692a
...
ee7a773c
Subproject commit
3a52692a40839b10f38352c1
b0
6
ccf
ebc0b53f3
6
Subproject commit
ee7a773c5c23f83dd21e
b0ccf
a96277e068b045
6
package.xml
View file @
1809cf16
<?xml version='1.0'?>
<package
format=
'2'
>
<name>
hpp-rbprm-corba
</name>
<version>
4.1
1
.0
</version>
<version>
4.1
2
.0
</version>
<description>
RB-PRM planner for HPP
</description>
<maintainer
email=
'guilhem.saurel@laas.fr'
>
Guilhem Saurel
</maintainer>
...
...
src/hpp/corbaserver/rbprm/client.py
View file @
1809cf16
...
...
@@ -30,7 +30,7 @@ class Client(_Parent):
'builder'
:
RbprmBuilder
,
}
def
__init__
(
self
,
url
=
None
,
context
=
"corbaserver"
,
port
=
13331
):
def
__init__
(
self
,
url
=
None
,
context
=
"corbaserver"
,
port
=
None
):
"""
Initialize CORBA and create default clients.
:param url: URL in the IOR, corbaloc, corbalocs, and corbanames formats.
...
...
tests/python/test_talos_walk_contacts.py
View file @
1809cf16
...
...
@@ -12,13 +12,12 @@ class TestTalosWalkContact(unittest.TestCase):
def
test_talos_walk_contacts
(
self
):
with
ServerManager
(
'hpp-rbprm-server'
):
module_scenario
=
import_module
(
PATH
+
".talos_flatGround"
)
if
not
hasattr
(
module_scenario
,
'ContactGenerator'
):
self
.
assertTrue
(
False
)
self
.
assertTrue
(
hasattr
(
module_scenario
,
'ContactGenerator'
))
ContactGenerator
=
getattr
(
module_scenario
,
'ContactGenerator'
)
cg
=
ContactGenerator
()
cg
.
run
()
self
.
assert
True
(
len
(
cg
.
configs
)
>
5
)
self
.
assert
True
(
len
(
cg
.
configs
)
<
10
)
self
.
assert
Greater
(
len
(
cg
.
configs
)
,
5
)
self
.
assert
Less
(
len
(
cg
.
configs
)
,
10
)
self
.
assertEqual
(
cg
.
q_init
,
cg
.
configs
[
0
])
self
.
assertEqual
(
cg
.
q_goal
,
cg
.
configs
[
-
1
])
...
...
tests/python/test_talos_walk_path.py
View file @
1809cf16
...
...
@@ -13,15 +13,14 @@ class TestTalosWalkPath(unittest.TestCase):
def
test_talos_walk_path
(
self
):
with
ServerManager
(
'hpp-rbprm-server'
):
module_scenario
=
import_module
(
PATH
+
".talos_flatGround_path"
)
if
not
hasattr
(
module_scenario
,
'PathPlanner'
):
self
.
assertTrue
(
False
)
self
.
assertTrue
(
hasattr
(
module_scenario
,
'PathPlanner'
))
PathPlanner
=
getattr
(
module_scenario
,
'PathPlanner'
)
planner
=
PathPlanner
()
planner
.
run
()
ps
=
planner
.
ps
self
.
assertEqual
(
ps
.
numberPaths
(),
1
)
self
.
assert
True
(
ps
.
pathLength
(
0
)
>
6.
)
self
.
assert
True
(
ps
.
pathLength
(
0
)
<
7.
)
self
.
assert
Greater
(
ps
.
pathLength
(
0
)
,
6.
)
self
.
assert
Less
(
ps
.
pathLength
(
0
)
,
7.
)
self
.
assertEqual
(
planner
.
q_init
,
ps
.
configAtParam
(
0
,
0
))
self
.
assertEqual
(
planner
.
q_goal
,
ps
.
configAtParam
(
0
,
ps
.
pathLength
(
0
)))
...
...
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