Open
Conversation
Collaborator
|
The repo contains a .clang-format file. Could you format your PR with that? |
fcladera
reviewed
Feb 3, 2024
launch/driver.launch
Outdated
| <arg name="lidar_port" default="0" doc="port to which the sensor should send lidar data"/> | ||
| <arg name="imu_port" default="0" doc="port to which the sensor should send imu data"/> | ||
| <arg name="replay" default="true" doc="do not connect to a sensor; expect /os_node/{lidar,imu}_packets from replay"/> | ||
| <arg name="sensor_hostname" default="192.168.100.12" doc="hostname or IP in dotted decimal form of the sensor"/> |
Collaborator
There was a problem hiding this comment.
I'd suggest not changing these defaults, as this depends on the user.
versatran01
reviewed
Feb 4, 2024
include/ouster_decoder/decoder.h
Outdated
| @@ -0,0 +1,144 @@ | |||
| /*! | |||
| * Kumar Robotics | |||
| * Januart 2024 refactor | |||
README.md
Outdated
| This decoder is intended to extend the ouster_ros package from https://github.com/ouster-lidar/ouster_example | ||
|
|
||
| It has very low latency (<0.2ms) compared to ouster_example (>3ms), tested on Intel i7 11th gen cpu. | ||
| This decoder is intended as an alternative the [ouster-ros](https://github.com/ouster-lidar/ouster-ros) decoder. It publishes things like LidarScans in a different formats which may be better for things like Lidar Odometry, while things like point clouds, signal, range and IMU remain in the same format. It also has very low latency (<0.2ms) compared to ouster_example (>3ms), tested on Intel i7 11th gen cpu. This will also notify you when packets are dropped. The decoder is up to date with the v0.10 of the ouster SDK. |
Collaborator
There was a problem hiding this comment.
I'm wondering if ouster's official decoder still has >3ms latency?
Collaborator
There was a problem hiding this comment.
@jhughes50 put together a few tests and I am stealing his slide here:

Author
|
I updated the readme to reflect the new latency. I removed the sensor_hostname and udp_dest defaults and kept the port defaults, but can remove them if we don't want them in a launch file. I also changed the formatting to match throughout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update version of ouster_decoder that works with ouster sdk v0.10. It has been tested with ROS bags, the gen 6 and gen 0 lidars. I also organized the code base by putting all class and struct definition in their own header files in
includeand separated out the main function for each node. Finally, I updated documentation with a brief description of everything in the header files and an updated readme. I did create a new launch file to launch everything at once calledouster.launchand set the default parameter values to what we use.The logic has remained the same, I only made changes to how we get information from the ouster client and changed a few variable types to correspond with that.