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

compilation error on Ubuntu 18.04 with ROS Melodic #3

Open
chataign opened this issue Nov 4, 2019 · 0 comments
Open

compilation error on Ubuntu 18.04 with ROS Melodic #3

chataign opened this issue Nov 4, 2019 · 0 comments

Comments

@chataign
Copy link

chataign commented Nov 4, 2019

/.../catkin_ws/src/laser_drivers/sicktoolbox2/include/sicktoolbox2/SickLD.hh:72:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double SickToolbox::SickLD::SICK_MAX_SCAN_ANGULAR_RESOLUTION’ of non-integral type [-fpermissive]
static const double SICK_MAX_SCAN_ANGULAR_RESOLUTION = 0.125; ///< Minimum valid separation between laser pulses in active scan ares (deg)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/.../catkin_ws/src/laser_drivers/sicktoolbox2/include/sicktoolbox2/SickLD.hh:73:25: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double SickToolbox::SickLD::SICK_DEGREES_PER_MOTOR_STEP’ of non-integral type [-fpermissive]
static const double SICK_DEGREES_PER_MOTOR_STEP = 0.0625; ///< Each odometer tick is equivalent to rotating the scan head this many degrees

static constexpr double works

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

No branches or pull requests

1 participant