Advertisement
Guest User

Untitled

a guest
Jun 14th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. # top-level initialization:
  2. last_position = 0
  3.  
  4.         # for each received message:
  5.         position = msg.position
  6.         position_change = wrap_int32( position - last_position )
  7.         last_position = position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement