Skip to content
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

Add option timestamp first packet #436

Merged

Conversation

wep21
Copy link
Contributor

@wep21 wep21 commented Jan 4, 2022

ros2 porting for #283
a part of #434

@wep21 wep21 changed the base branch from master to ros2 January 4, 2022 23:52
@wep21
Copy link
Contributor Author

wep21 commented Jan 4, 2022

cc @clalancette @JWhitleyWork

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me, I'm happy to approve and merge with the one nit fixed.

@@ -71,6 +71,7 @@ class VelodyneDriver final : public rclcpp::Node
int cut_angle; // cutting angle in 1/100°
double time_offset; // time in seconds added to each velodyne time stamp
bool enabled; // polling is enabled
bool timestamp_first_packet;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can you please add a comment to this line, to be consistent with the rest of the structure?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clalancette add comment at c78129f

…et instead of last packet

Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
@wep21 wep21 force-pushed the add-option-timestamp-first-packet branch from c761847 to c78129f Compare January 5, 2022 14:14
@wep21 wep21 requested a review from clalancette January 5, 2022 14:16
@clalancette clalancette merged commit defec24 into ros-drivers:ros2 Jan 5, 2022
@wep21 wep21 deleted the add-option-timestamp-first-packet branch January 5, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants