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 compatibility for new versions & add servo,imu,bmp support #6

Merged
merged 1 commit into from
Jul 26, 2018

Conversation

vaishnavachath
Copy link
Contributor

replaced some deprecated functions
obsolete use for the old version
added servo support , used @chnewso 's fork for reference

#4
#3

tested on:
BeagleBone Blue BeagleBoard.org Debian Image 2018-03-05
Linux beaglebone 4.9.105-ti-r113
rc_version : 0.4.4

replaced some deprecated functions
obsolete use for the old version
added servo support , used @chnewso 's fork for reference

jadonk#4
jadonk#3

tested on:
BeagleBone Blue BeagleBoard.org Debian Image 2018-03-05
Linux beaglebone 4.9.105-ti-r113
rc_version : 0.4.4
Copy link
Owner

@jadonk jadonk left a comment

Choose a reason for hiding this comment

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

There are a couple of minor formatting issues, but good enough.

@@ -259,7 +259,7 @@ namespace rc {
return;
}
float duty = (float)info[0]->ToNumber()->Value();
rc_set_motor_all(duty);
rc_motor_set(0,duty);
Copy link
Owner

Choose a reason for hiding this comment

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

is this really the same as 'all'?

Copy link
Owner

Choose a reason for hiding this comment

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

Nan::Set(mpuObject, TempProp, TempValue);
info.GetReturnValue().Set(mpuObject);
}
}
Copy link
Owner

Choose a reason for hiding this comment

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

Indentation doesn't look consistent here.

@jadonk jadonk merged commit 769167b into jadonk:master Jul 26, 2018
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.

2 participants