Skip to content

Commit

Permalink
change reproducer cool down to 80 s
Browse files Browse the repository at this point in the history
Signed-off-by: temkei.kem <[email protected]>
  • Loading branch information
xtk8532704 committed Jun 19, 2024
1 parent d53e3b1 commit 3926869
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, args):
time_diffs.append(time_diff)
prev_stamp = stamp

average_ego_odom_interval = 0.1 # sum(time_diffs) / len(time_diffs)
average_ego_odom_interval = sum(time_diffs) / len(time_diffs)
self.timer = self.create_timer(average_ego_odom_interval, self.on_timer)

# kill perception process to avoid a conflict of the perception topics
Expand Down Expand Up @@ -265,9 +265,9 @@ def find_nearby_ego_odom_indies(self, ego_poses: list, search_radius: float):
parser.add_argument(
"-c",
"--reproduce-cool-down",
help="The cool down time for republishing published messages (default is 15.0 seconds)",
help="The cool down time for republishing published messages (default is 80.0 seconds)",
type=float,
default=15.0,
default=80.0,
)
args = parser.parse_args()

Expand Down

0 comments on commit 3926869

Please sign in to comment.