3#include "eigen_matrix_defs.h"
15 Temperature(
double Celcius) {m_value = (
unsigned short)(Celcius * (65535.0/30.0));}
16 operator double() {
return (m_value)*(30.0/65535.0);}
17 unsigned short raw_data(){
return m_value;}
19 unsigned short m_value;
29 Depth(
double Meter){m_value = (
unsigned short)(Meter * (65535.0/50.0));}
30 operator double(){
return m_value*(50.0/65535.0);}
32 unsigned short m_value;
42 Speed(
double Meter_per_second){m_value = (
unsigned short)(Meter_per_second * (65535.0/4.0));}
43 operator double(){
return m_value*(4.0/65535.0);}
44 unsigned short raw_data(){
return m_value;}
46 unsigned short m_value;
114 Length(
double Meter){m_value = (
unsigned short)(Meter * (65535.0/5.0));}
116 operator float(){
return m_value*((float)(5.0/65535.0));}
118 unsigned short m_value;
128 Duration(
double seconds){m_value = (
unsigned short)(seconds * (65535.0/60.0));}
129 operator double(){
return m_value*(60.0/65535.0);}
130 unsigned short raw_data(){
return m_value;}
132 unsigned short m_value;
Definition: compact_data_representations.h:27
Definition: compact_data_representations.h:126
Definition: compact_data_representations.h:112
Definition: compact_data_representations.h:40
Definition: compact_data_representations.h:13