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
pinocchio
Commits
c9acf1b6
Verified
Commit
c9acf1b6
authored
Apr 17, 2021
by
Justin Carpentier
Browse files
python: improve doc
parent
f98c2da9
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/spatial/inertia.hpp
View file @
c9acf1b6
...
...
@@ -147,15 +147,15 @@ namespace pinocchio
.
def
(
"FromSphere"
,
&
Inertia
::
FromSphere
,
bp
::
args
(
"mass"
,
"radius"
),
"Returns the Inertia of a
n
sphere
with
a given mass and
of
radius."
)
"Returns the Inertia of a sphere
defined by
a given mass and radius."
)
.
staticmethod
(
"FromSphere"
)
.
def
(
"FromEllipsoid"
,
&
Inertia
::
FromEllipsoid
,
bp
::
args
(
"mass"
,
"length_x"
,
"length_y"
,
"length_z"
),
"Returns the Inertia of an ellipsoid shape
with a given
mass and
of
given dimensions the semi-axis of values length_{x,y,z}."
)
"Returns the Inertia of an ellipsoid shape
defined by a
mass and given dimensions the semi-axis of values length_{x,y,z}."
)
.
staticmethod
(
"FromEllipsoid"
)
.
def
(
"FromCylinder"
,
&
Inertia
::
FromCylinder
,
bp
::
args
(
"mass"
,
"radius"
,
"length"
),
"Returns the Inertia of a cylinder
shape ith a mass and of dimension
radius and length."
)
"Returns the Inertia of a cylinder
defined by its mass,
radius and length
along the Z axis
."
)
.
staticmethod
(
"FromCylinder"
)
.
def
(
"FromBox"
,
&
Inertia
::
FromBox
,
bp
::
args
(
"mass"
,
"length_x"
,
"length_y"
,
"length_z"
),
...
...
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