Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adev4a committed Oct 18, 2023
1 parent 19eaac0 commit b27a570
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ async def listener_callback(self, msg):
nanosecondToSecond = 0.000000001 #convert nanoseconds to seconds
secondToMicro = 1000000 #convert seconds to microseconds

# If CDASim use current system time instead of ros header time
# If simulation environment - use current system time instead of ros header time
if self.is_sim :
ordereddict_msg["timestamp"] = datetime.now(timezone.utc).timestamp()*secondToMicro # microseconds
else:
Expand Down

0 comments on commit b27a570

Please sign in to comment.