Skip to content

Commit

Permalink
adjust VLP32 laser azimuth cache calculation and add note
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilby59 committed Apr 25, 2024
1 parent 8e8653a commit f499a96
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class VLP32 : public VelodyneSensor
bool fillAzimuthCache()
{
for (uint8_t i = 0; i < 16; i++) {
laser_azimuth_cache_[i] = (VLP32_CHANNEL_DURATION / VLP32_SEQ_DURATION) * (i + i / 8);
laser_azimuth_cache_[i] = (VLP32_CHANNEL_DURATION / VLP32_SEQ_DURATION) *
(i + i / 2); // TODO: better understand this calculation
}
return true;
}
Expand Down

0 comments on commit f499a96

Please sign in to comment.