History

Transmitter V2 drives the hand, and rendering levels with 'l' shows the hand transmitter data. Physics will need to be tuned.

Philip Rosedale committed 13 years ago

Commit 1b039c31 parent 29889726 files · +116 −112Browse files

Showing the changes to interface/src/SerialInterface.cpp (1 of 6 files). Show all

Unified · Split

interface/src/SerialInterface.cpp+1−1
@@ -187,7 +187,7 @@ void SerialInterface::readData() { · 186 unmodified lines
187187 convertHexToInt(sensorBuffer + 10, accelYRate);
188188 convertHexToInt(sensorBuffer + 14, accelXRate);
189189
190− const float LSB_TO_METERS_PER_SECOND2 = 1.f / 16384.f * 9.80665f;
190+ const float LSB_TO_METERS_PER_SECOND2 = 1.f / 16384.f * GRAVITY_EARTH;
191191 // From MPU-9150 register map, with setting on
192192 // highest resolution = +/- 2G
193193

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t