between -1 and 1
| 107 | } |
| 108 | //between -1 and 1 |
| 109 | float readFloat(std::vector<uint8_t> const& data, int& pos) |
| 110 | { |
| 111 | return static_cast<float>(static_cast<int8_t>(readByte(data, pos))) / 128; |
| 112 | } |
| 113 | //between -180 and 180 |
| 114 | float readAngle(std::vector<uint8_t> const& data, int& pos) |
| 115 | { |
no test coverage detected