Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # top-level initialization:
- last_position = 0
- # for each received message:
- position = msg.position
- position_change = wrap_int32( position - last_position )
- last_position = position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement