diff options
Diffstat (limited to 'Stars45/NPClient.h')
-rw-r--r-- | Stars45/NPClient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/NPClient.h b/Stars45/NPClient.h index 4903f41..bf7925b 100644 --- a/Stars45/NPClient.h +++ b/Stars45/NPClient.h @@ -54,7 +54,7 @@ // DATA FIELDS #define NPControl 8 // indicates a control data field -// the second parameter of a message bearing control data information contains a packed data format. +// the second parameter of a message bearing control data information contains a packed data format. // The High byte indicates what the data is, and the Low byte contains the actual data // roll, pitch, yaw #define NPRoll 1 // +/- 16383 (representing +/- 180) [data = input - 16383] @@ -71,7 +71,7 @@ #define NPRawY 256 // 0..25600 (actual value is multiplied x 100 to pass two decimal places of precision) [data = input / 100] #define NPRawZ 512 // 0..25600 (actual value is multiplied x 100 to pass two decimal places of precision) [data = input / 100] -// x, y, z deltas from raw imager position +// x, y, z deltas from raw imager position #define NPDeltaX 1024 // +/- 2560 (actual value is multiplied x 10 to pass two decimal places of precision) [data = (input / 10) - 256] #define NPDeltaY 2048 // +/- 2560 (actual value is multiplied x 10 to pass two decimal places of precision) [data = (input / 10) - 256] #define NPDeltaZ 4096 // +/- 2560 (actual value is multiplied x 10 to pass two decimal places of precision) [data = (input / 10) - 256] |