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

Miscellaneous build warning fixes #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rdelfin
Copy link

@rdelfin rdelfin commented Oct 7, 2020

I found a number of build warning/errors that popped up after I started building this code using a build system setup with slightly more strict compiler flags. All these changes should have no behavioural effect on the SDK. As a warning, these bugs seem to also be present in the version of this SDK embedded inside the ROS repo.

Comment on lines -352 to -360
float Pandar20_elev_angle_map_[HS_LIDAR_L20_UNIT_NUM];
float Pandar20_horizatal_azimuth_offset_map_[HS_LIDAR_L20_UNIT_NUM];

float PandarQT_elev_angle_map_[HS_LIDAR_QT_UNIT_NUM];
float PandarQT_horizatal_azimuth_offset_map_[HS_LIDAR_QT_UNIT_NUM];

float PandarXT_elev_angle_map_[HS_LIDAR_XT_UNIT_NUM];
float PandarXT_horizatal_azimuth_offset_map_[HS_LIDAR_XT_UNIT_NUM];

Copy link
Author

Choose a reason for hiding this comment

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

These are unused private fields. Are they here for a reason?

@rdelfin rdelfin marked this pull request as ready for review October 7, 2020 14:49
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

1 participant