-
Notifications
You must be signed in to change notification settings - Fork 0
Add classes for reading data from the AltIMU10v3 #254
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
Conversation
|
note, i need to remove |
|
note: AltIMUv10Test should be renamed AltIMU10v3Test |
| // Set buffer to be read and set its index to 0. | ||
| byteBuffer.flip(); | ||
| final ShortBuffer shortBuffer = byteBuffer.asShortBuffer(); | ||
| // Array was reversed, so x is now last, y second, and z third. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: x last, y second, z first?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yus, good catch
ConnorWhalen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good once you make the changes noted
This PR adds 5 new inputs to our ROV from the AltIMU10v3 (consisting of a thermometer, barometer, accelerometer, gyroscope, and magnetometer).
Three new data classes have been added to categorize the sensor output. The current internal temperature and pressure will be re-purposed for this device.