Skip to content
GitLab
Menu
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-fcl
Commits
9060a358
Verified
Commit
9060a358
authored
Mar 30, 2021
by
Justin Carpentier
Browse files
python: fix bindings
parent
437ee734
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/collision.cc
View file @
9060a358
...
@@ -81,14 +81,13 @@ void exposeCollisionAPI ()
...
@@ -81,14 +81,13 @@ void exposeCollisionAPI ()
;
;
}
}
if
(
!
eigenpy
::
register_symbolic_link_to_registered_type
<
::
boost
::
timer
::
cpu_t
imes
>
())
if
(
!
eigenpy
::
register_symbolic_link_to_registered_type
<
CPUT
imes
>
())
{
{
typedef
::
boost
::
timer
::
cpu_times
Times
;
class_
<
CPUTimes
>
(
"CPUTimes"
,
no_init
)
class_
<
Times
>
(
"cpu_times"
,
no_init
)
.
def_readonly
(
"wall"
,
&
CPUTimes
::
wall
,
"wall time in micro seconds (us)"
)
.
def_readonly
(
"wall"
,
&
Times
::
wall
,
"wall time in nano seconds (ns)"
)
.
def_readonly
(
"user"
,
&
CPUTimes
::
user
,
"user time in micro seconds (us)"
)
.
def_readonly
(
"user"
,
&
Times
::
user
,
"user time in nano seconds (ns)"
)
.
def_readonly
(
"system"
,
&
CPUTimes
::
system
,
"system time in micro seconds (us)"
)
.
def_readonly
(
"system"
,
&
Times
::
system
,
"system time in nano seconds (ns)"
)
.
def
(
"clear"
,
&
CPUTimes
::
clear
,
arg
(
"self"
),
"Reset the time values."
)
.
def
(
"clear"
,
&
Times
::
clear
,
arg
(
"self"
),
"Reset the time values."
)
;
;
}
}
...
...
Write
Preview
Supports
Markdown
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