Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
j
l
m
n
p
q
r
s
t
u
v
x
y
z
Enumerations
Enumerator
a
b
c
e
f
g
j
l
m
o
p
r
s
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
d
f
i
l
m
n
o
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
d
g
j
m
p
r
s
t
v
Enumerator
Macros
_
a
b
d
e
f
h
i
j
k
m
o
p
q
r
s
v
Examples
include
pinocchio
utils
string-generator.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2016-2019 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_utils_string_generator_hpp__
6
#define __pinocchio_utils_string_generator_hpp__
7
8
#include <string>
9
#include <cstdlib>
10
11
namespace
pinocchio
12
{
13
21
inline
std::string
randomStringGenerator
(
const
int
len)
22
{
23
std::string
res
;
24
static
const
char
alphanum[] =
"0123456789"
25
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
26
"abcdefghijklmnopqrstuvwxyz"
;
27
28
for
(
int
i
= 0;
i
< len; ++
i
)
29
res
+= alphanum[((
size_t
)
std::rand
() % (
sizeof
(alphanum) - 1))];
30
return
res
;
31
}
32
}
// namespace pinocchio
33
34
#endif // __pinocchio_utils_string_generator_hpp__
inverse-kinematics.i
int i
Definition:
inverse-kinematics.py:17
pinocchio::res
ReturnType res
Definition:
spatial/classic-acceleration.hpp:57
pinocchio::randomStringGenerator
std::string randomStringGenerator(const int len)
Generate a random string composed of alphanumeric symbols of a given length.
Definition:
string-generator.hpp:21
pinocchio.utils.rand
def rand(n)
Definition:
bindings/python/pinocchio/utils.py:41
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
pinocchio
Author(s):
autogenerated on Tue Apr 22 2025 02:41:21