Skip to content

Commit

Permalink
imuBosch_BNO055: Digit separators are c++14
Browse files Browse the repository at this point in the history
CC-Issue #2040
  • Loading branch information
drdanz committed Jun 6, 2019
1 parent ebba0a6 commit 55707b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/imuBosch_BNO055/imuBosch_BNO055.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -921,9 +921,9 @@ bool BoschIMU::getThreeAxisMagnetometerMeasure(size_t sens_index, yarp::sig::Vec
out.resize(3);
LockGuard guard(mutex);
// The unit measure of Bosch BNO055 is uT
out[0] = data[9] / 1'000'000;
out[1] = data[10]/ 1'000'000;
out[2] = data[11]/ 1'000'000;
out[0] = data[9] / 1000000;
out[1] = data[10]/ 1000000;
out[2] = data[11]/ 1000000;

timestamp = timeLastReport;
return true;
Expand Down

0 comments on commit 55707b6

Please sign in to comment.