mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-20 14:39:11 +00:00
layout tracker fields differently
This commit is contained in:
@@ -18,12 +18,12 @@ module.exports = new Parser()
|
||||
.choice('data', {
|
||||
tag: 'id',
|
||||
choices: {
|
||||
0x0000: new Parser().floatle('pos_x').floatle('pos_y').floatle('pos_z'),
|
||||
0x0001: new Parser().floatle('speed_x').floatle('speed_y').floatle('speed_z'),
|
||||
0x0002: new Parser().floatle('ori_x').floatle('ori_y').floatle('ori_z'),
|
||||
0x0000: new Parser().floatle('x').floatle('y').floatle('z'),
|
||||
0x0001: new Parser().floatle('x').floatle('y').floatle('z'),
|
||||
0x0002: new Parser().floatle('x').floatle('y').floatle('z'),
|
||||
0x0003: new Parser().floatle('validity'),
|
||||
0x0004: new Parser().floatle('accel_x').floatle('accel_y').floatle('accel_z'),
|
||||
0x0005: new Parser().floatle('trgtpos_x').floatle('trgtpos_y').floatle('trgtpos_z'),
|
||||
0x0004: new Parser().floatle('x').floatle('y').floatle('z'),
|
||||
0x0005: new Parser().floatle('x').floatle('y').floatle('z'),
|
||||
0x0006: new Parser().uint64le('tracker_timestamp'),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user