Main Page
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
m
n
o
p
r
s
t
v
w
x
z
Functions
Variables
a
c
d
e
f
h
i
m
n
o
p
r
s
t
v
x
z
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Typedefs
c
e
g
h
i
m
o
p
s
u
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
c
d
f
g
h
m
o
p
r
s
t
Functions
f
g
h
m
p
r
s
t
Variables
Macros
scripts
pose_array.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
import
rospy
4
import
roslib
5
6
7
from
geometry_msgs.msg
import
PoseArray
8
from
jsk_footstep_msgs.msg
import
FootstepArray
9
10
11
def
cb
(msg):
12
global
p
13
array = PoseArray()
14
array.header = msg.header
15
for
footstep
in
msg.footsteps:
16
array.poses.append(footstep.pose)
17
p.publish(array)
18
19
rospy.init_node(
"foo"
)
20
21
p = rospy.Publisher(
"pose_array"
, PoseArray)
22
s = rospy.Subscriber(
"/footstep"
, FootstepArray, cb)
23
24
rospy.spin()
pose_array.cb
def cb(msg)
Definition:
pose_array.py:11
jsk_footstep_planner
Author(s): Ryohei Ueda
autogenerated on Mon Dec 9 2024 04:11:03