Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Dec 14, 2023
1 parent 4508014 commit 649ea5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion astrobee/survey_manager/scripts/command_astrobee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ from ff_msgs.msg import (
CommandConstants,
CommandStamped,
)
from std_msgs.msg import String, Header
from std_msgs.msg import Header, String

# Type alias
YamlMapping = Dict[str, Any]
Expand Down Expand Up @@ -145,6 +145,8 @@ class ProcessExecutor:
conn.setblocking(False)

connected = True
# Always send full history to each newly connecting client so history
# is not lost if the connection is dropped
conn.send(output_total.encode("utf-8")[:1024])
except socket.timeout:
continue
Expand Down

0 comments on commit 649ea5c

Please sign in to comment.