ROS rosservice call teleport_absolute设置绝对位置

命令

rosservice call /turtle1/teleport_absolute "x: 3.0
y: 4.0
theta: 1.57"

解释:

  • turtle1:乌龟的默认名字
  • x,y:设置小乌龟的位置
  • theta:设置小乌龟头的朝向,0 向右

原文出处:/show_1GWmfN2xUuN.html