-
- All Implemented Interfaces:
-
android.os.Parcelable
public class PolynomialConfigData implements Parcelable
Container class for holding Polynomial configuration data.
Used for transforming angles and rotations for the linkage.
-
-
Field Summary
Fields Modifier and Type Field Description public final static intPOLYNOMIAL_DATA_SIZEpublic intidpublic intangleSensorIdpublic intaxispublic Array<double>coeffcientspublic final static Parcelable.Creator<PolynomialConfigData>CREATOR
-
Constructor Summary
Constructors Constructor Description PolynomialConfigData()Default constructor. PolynomialConfigData(ByteBuffer bb)Constructor that creates object based on the provided byte buffer.
-
Method Summary
Modifier and Type Method Description intdescribeContents()voidwriteToParcel(Parcel dest, int flags)Array<byte>toByteArray(ByteOrder byteOrder)Creates a byte array based on this object. StringtoString()-
-
Constructor Detail
-
PolynomialConfigData
PolynomialConfigData()
Default constructor.
-
PolynomialConfigData
PolynomialConfigData(ByteBuffer bb)
Constructor that creates object based on the provided byte buffer.
-
-
Method Detail
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toByteArray
Array<byte> toByteArray(ByteOrder byteOrder)
Creates a byte array based on this object.
Takes in to account how the data is stored in the dataset regarding padding.
- Parameters:
byteOrder- the wanted byte order of the byte array
-
-
-
-