-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NOETIC] Further reduce overhead in the ros driver #363
Conversation
…ds, destaggered/staggered + set min/max range and row step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, just a few notes. How does performance compare with the same settings?
if (lidar_packet_handler) { | ||
// TODO[UN]: this is not ideal since we can't reuse the msg buffer | ||
// Need to redefine the Packet object and allow use of array_views | ||
sensor::LidarPacket lidar_packet(msg->buf.size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can actually get ROS to decode a message into a custom data type to avoid this copy (probably).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not familiar with this option, I need to look into it to see if it can help with the situation here
Related Issues & PRs
RAW
option for proc_mask #238Summary of Changes
os_driver
proc_mask
to optionally publish the raw packets when using os_driverTODO(s)
optionally publish raw packets in os_drivercartesianT
&point_cloud_compose
methodsValidation
destagger
is set to false verify the driver doesn't destagger the published point cloudorganized
is set to false verify that the published point cloud isn't 2Dmin_range
andmax_range
and observe the point cloud shrink accordingly./ouster/imu_packets
and/ouster/lidar_packet
appear when RAW flag is passed toos_driver