Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
fix: the parameter caculation should be 0.0001
Browse files Browse the repository at this point in the history
What happened.

Close RoboSense-LiDAR#10, RoboSense-LiDAR#11, RoboSense-LiDAR#12
(BREAKING CHANGE: isolate scope bindings definition has changed.)

Signed-off-by: Tony Zhang <hitxfd.tony@gmail.com>
  • Loading branch information
Tony-HIT committed Sep 29, 2018
1 parent 20c3caa commit 184feac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rslidar_pointcloud/src/rawdata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void RawData::processDifop(const rslidar_msgs::rslidarPacket::ConstPtr& difop_ms
aIntensityCal[4][loopn] = (bit1 * 256 + bit2) * 0.00001;
bit1 = static_cast<int>(*(data + 50 + loopn * 15 + 10));
bit2 = static_cast<int>(*(data + 50 + loopn * 15 + 11));
aIntensityCal[5][loopn] = -(bit1 * 256 + bit2) * 0.00001;
aIntensityCal[5][loopn] = -(bit1 * 256 + bit2) * 0.0001;
bit1 = static_cast<int>(*(data + 50 + loopn * 15 + 12));
bit2 = static_cast<int>(*(data + 50 + loopn * 15 + 13));
aIntensityCal[6][loopn] = (bit1 * 256 + bit2) * 0.001;
Expand Down

0 comments on commit 184feac

Please sign in to comment.