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
Stack Of Tasks
eigenpy
Commits
61d25345
Verified
Commit
61d25345
authored
Jan 19, 2021
by
Justin Carpentier
Browse files
geom: fix init call order
This is due to a bug in Boost.Python
parent
6e74d285
Pipeline
#12888
passed with stage
in 13 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/quaternion.hpp
View file @
61d25345
/*
* Copyright 2014-202
0
CNRS INRIA
* Copyright 2014-202
1
CNRS INRIA
*/
#ifndef __eigenpy_quaternion_hpp__
...
...
@@ -111,12 +111,12 @@ namespace eigenpy
{
cl
.
def
(
bp
::
init
<>
(
bp
::
arg
(
"self"
),
"Default constructor"
))
.
def
(
bp
::
init
<
Vector4
>
((
bp
::
arg
(
"self"
),
bp
::
arg
(
"vec4"
)),
"Initialize from a vector 4D.
\n
"
"
\t
vec4 : a 4D vector representing quaternion coefficients in the order xyzw."
))
.
def
(
bp
::
init
<
Matrix3
>
((
bp
::
arg
(
"self"
),
bp
::
arg
(
"R"
)),
"Initialize from rotation matrix.
\n
"
"
\t
R : a rotation matrix 3x3."
))
.
def
(
bp
::
init
<
Vector4
>
((
bp
::
arg
(
"self"
),
bp
::
arg
(
"vec4"
)),
"Initialize from a vector 4D.
\n
"
"
\t
vec4 : a 4D vector representing quaternion coefficients in the order xyzw."
))
.
def
(
bp
::
init
<
AngleAxis
>
((
bp
::
arg
(
"self"
),
bp
::
arg
(
"aa"
)),
"Initialize from an angle axis.
\n
"
"
\t
aa: angle axis object."
))
...
...
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