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

Fix rplidar2 compilation #1792

Merged
merged 4 commits into from
Jul 12, 2018
Merged

Fix rplidar2 compilation #1792

merged 4 commits into from
Jul 12, 2018

Conversation

Nicogene
Copy link
Member

@Nicogene Nicogene commented Jul 11, 2018

This static cast is necessary for the compilation because the return value of "wait(..)" is unsigned but EVENT_TIMEOUT = -1. We will keep it until they will fix the bug in the sdk.(fixes #1689)

Moreover add NOT APPLE as dependency of the device since some bugs in the sdk make it impossible to compile on macOs(see https://travis-ci.org/robotology/yarp/jobs/402720473 for example)

This static cast is necessary for the compilation
because the return value of "wait(..)"
is unsigned but EVENT_TIMEOUT = -1. We will keep
it until they will fix the bug in the sdk.(fixes robotology#1689)
@Nicogene Nicogene requested review from drdanz and randaz81 July 11, 2018 15:26
@Nicogene Nicogene self-assigned this Jul 11, 2018
@Nicogene Nicogene added PR Status: Changelog - OK This PR has a proper changelog entry PR Type: Bugfix This PR fixes some bug labels Jul 11, 2018
Some bug in the sdk make impossible to compile it.
@drdanz drdanz merged commit 03a276c into robotology:master Jul 12, 2018
@drdanz
Copy link
Member

drdanz commented Jul 12, 2018

Merged, thanks.

@Nicogene Nicogene deleted the fixRplidar2 branch July 12, 2018 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rplidar2 doesn't compile
2 participants