mirror of
https://github.com/Livox-SDK/livox_ros_driver.git
synced 2023-04-06 15:49:55 +08:00
increase frequency of polling the receive queue
increase frequency of polling the receive queue
This commit is contained in:
@@ -150,7 +150,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ros::Time::init();
|
ros::Time::init();
|
||||||
double poll_freq = publish_freq;
|
double poll_freq = publish_freq * 4;
|
||||||
if (data_src == kSourceLvxFile) {
|
if (data_src == kSourceLvxFile) {
|
||||||
poll_freq = 2000;
|
poll_freq = 2000;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user