changed launch procedure for circle acceleration

This commit is contained in:
scorpio1 2022-07-18 15:02:53 -04:00
parent 3465185a98
commit 3bab03b360
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ def accel_publisher():
rospy.loginfo('arming') rospy.loginfo('arming')
arming_srv(arm) arming_srv(arm)
last_request=rospy.get_rostime().secs last_request=rospy.get_rostime().secs
initial_pose.pose.position.x =pose.x
initial_pose.pose.position.y=pose.y
setpointpub.publish(initial_pose) setpointpub.publish(initial_pose)
while not rospy.is_shutdown(): while not rospy.is_shutdown():