"scan.time_increment" in laser scan message publishing
I was referring to one tutorial regarding laser scan message publishing related stuff. I found it could possibly be an error in section 4.2 Writing Code to Publish a LaserScan Message in the line 32
scan.time_increment = (1 / laser_frequency) / (num_readings);
In my opinion I should be this way:
scan.time_increment = (1 / laser_frequency);
Can someone think of it and confirm it. It is just my doubt that the written heuristic there is not really what scan.time_increment variable should mean.