mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 15:13:26 +00:00
Update client.py
This commit is contained in:
@@ -101,8 +101,9 @@ def write_to_config(section, option, value):
|
||||
def animation_player(running_event, stop_event):
|
||||
print("Animation thread activated")
|
||||
rate = rospy.Rate(1000 / 100)
|
||||
first_frame = play_animation.get_frames()[0]
|
||||
play_animation.takeoff(round(float(first_frame['x']), 4), round(float(first_frame['y']), 4), round(float(first_frame['z']), 4))
|
||||
# first_frame = play_animation.get_frames()[0]
|
||||
# play_animation.takeoff(round(float(first_frame['x']), 4), round(float(first_frame['y']), 4), round(float(first_frame['z']), 4))
|
||||
play_animation.takeoff()
|
||||
for current_frame in play_animation.get_frames():
|
||||
running_event.wait()
|
||||
if stop_event.is_set():
|
||||
|
||||
Reference in New Issue
Block a user