allowed turtle to follow larger area

This commit is contained in:
scorpio1 2022-07-22 15:21:07 -04:00
parent 0a473195ff
commit 1a7f193a7f
1 changed files with 1 additions and 1 deletions

View File

@ -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)