test

target_pose:
header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: "obstacle"
pose:
position:
x: 733697.279177
y: 3316755.66918
z: 0.0
t: 0.0
speed: 4.16666650772
steering_angle: 0.0
kappa: -0.00134860293474
a: 0.0
orientation:
x: 0.0
y: 0.0
z: 0.301775987403
w: 0.953378861433

| awk '/position:/ {getline; getline; getline; printf "%.6f %.6f\n", $2+10, $4-10}'

posted @ 2023-03-31 15:02  北极星!  阅读(65)  评论(0编辑  收藏  举报