Skip to content

Commit

Permalink
timestamp attributes names corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Justus Bracke committed Jan 28, 2025
1 parent 5782a06 commit fffb646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/python/gRPC/tf/gRPC_fb_getTf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def get_tfs(
tfs = get_tfs((time, 0) for time in range(1661336507, 161336550, 10))
for tf in tfs:
print(
f"\n\ntime: {tf.Header().Stamp().Sec()} Sec. "
f"{tf.Header().Stamp().NanoSec()} NanoSec"
f"\n\ntime: {tf.Header().Stamp().Seconds()} Sec. "
f"{tf.Header().Stamp().Nanos()} NanoSec"
)
print("parent frame: " + tf.Header().FrameId().decode("utf-8"))
print("child frame: " + tf.ChildFrameId().decode("utf-8"))
Expand Down

0 comments on commit fffb646

Please sign in to comment.