Skip to content

Commit

Permalink
[natnet] fix timestamp scale to have ms
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Sep 4, 2020
1 parent a528672 commit 7e34121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/ground_segment/python/natnet3.x/natnet2ivy.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def receiveRigidBodyList( rigidBodyList, stamp ):
msg['enu_xd'] = vel[0]
msg['enu_yd'] = vel[1]
msg['enu_zd'] = vel[2]
msg['tow'] = int(stamp) # TODO convert to GPS itow ?
msg['tow'] = int(1000. * stamp) # TODO convert to GPS itow ?
# convert quaternion to psi euler angle
dcm_0_0 = 1.0 - 2.0 * (quat[1] * quat[1] + quat[2] * quat[2])
dcm_1_0 = 2.0 * (quat[0] * quat[1] - quat[3] * quat[2])
Expand Down

0 comments on commit 7e34121

Please sign in to comment.