allowed turtle to follow larger area
This commit is contained in:
parent
0a473195ff
commit
1a7f193a7f
|
@ -4,7 +4,7 @@ from turtlesim.srv import *
|
||||||
from geometry_msgs.msg import PoseStamped
|
from geometry_msgs.msg import PoseStamped
|
||||||
|
|
||||||
def callback(data):
|
def callback(data):
|
||||||
teleport_turtle(data.pose.position.x/2+6,data.pose.position.y/2+6,0)
|
teleport_turtle(data.pose.position.x/100+6,data.pose.position.y/100+6,0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue