Changeset 103 in flair-src for trunk/lib/FlairSensorActuator/src/Gx3_25_imu_impl.cpp
- Timestamp:
- Oct 11, 2016, 12:07:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/Gx3_25_imu_impl.cpp
r102 r103 118 118 SetContinuousMode(command); 119 119 120 //_printf("firmware version: %i\n",get_firmware_number());121 122 120 while (!self->ToBeStopped()) { 123 121 if (command == Gx3_25_imu::EulerAnglesAndAngularRates) { … … 352 350 command[5] = rate & 0xff; // data rate LSB 353 351 result = 0; 354 if (disable_magn->IsChecked() == true) 355 result |= 0x01; 356 if (disable_north_comp->IsChecked() == true) 357 result |= 0x04; 358 if (disable_grav_comp->IsChecked() == true) 359 result |= 0x08; 360 352 if (disable_magn->IsChecked() == true) result |= 0x01; 353 if (disable_north_comp->IsChecked() == true) result |= 0x04; 354 if (disable_grav_comp->IsChecked() == true) result |= 0x08; 355 if (this->command == Gx3_25_imu::Quaternion) result |= 0x10;//enable quaternion 361 356 command[6] = result; 357 362 358 result = 0x01; // Calculate orientation 363 359 if (coning->IsChecked() == true)
Note:
See TracChangeset
for help on using the changeset viewer.