We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e2a55 commit 61420b0Copy full SHA for 61420b0
src/LMS1xx_node.cpp
@@ -45,14 +45,9 @@ int main(int argc, char **argv)
45
outputRange = laser.getScanOutputRange();
46
}
47
48
- //check if laser is fully initialized, else reconnect
49
- //assuming fully initialized => scaningFrequency=5000
50
- if (cfg.scaningFrequency != 5000) {
51
- laser.disconnect();
52
ROS_INFO("Waiting for laser to initialize...");
53
- }
54
55
- } while (!laser.isConnected() || cfg.scaningFrequency != 5000);
+ } while (!laser.isConnected());
56
57
if (laser.isConnected()) {
58
ROS_INFO("Connected to laser.");
0 commit comments