|
API C#
|
This class contains severals tools to make easier the serialization process. More...
Static Public Member Functions | |
| static CJacoGripper | DeserializeJacoGripper (byte[] BytesArray) |
| Deserializes a CJacoGripper object. More... | |
| static CSingularityVector | DeserializeSingularityVector (byte[] BytesArray) |
| Deserializes a CSingularityVector object. More... | |
| static CSpasmFilter | DeserializeSpasmFilter (byte[] BytesArray) |
| static CCartesianInfo | DeserializeCartesianInfo (byte[] BytesVector) |
| Deserializes a CCartesianInfo object. More... | |
| static CAngularInfo | DeserializeAngularInfo (byte[] BytesVector) |
| Deserializes a CAngularInfo object. More... | |
| static float[] | DeserializePositionCurrentActuators (byte[] BytesVector) |
| static CVectorEuler | DeserializeVectorEuler (byte[] bytesVector, ref int index) |
| Deserializes a CVectorEuler inside a byte array. More... | |
| static CVectorAngle | DeserializeVectorAngle (byte[] BytesVector) |
| Deserializes a CVectorAngle. More... | |
| static CVectorAngle | DeserializeVectorAngle (byte[] BytesVector, ref int index) |
| Deserializes a CVectorAngle inside a byte array. More... | |
| static CTrajectoryInfo | DeserializeTrajectoryInfo (byte[] BytesVector) |
| Deserializes the trajectory info. More... | |
| static byte[] | SerializeTrajectoryInfo (CTrajectoryInfo trajectoryInfo) |
| Serializes the trajectory info. More... | |
| static byte[] | SerializeBasicTrajectoryInfo (CTrajectoryInfo trajectoryInfo) |
| Serializes the basic trajectory info. More... | |
| static byte[] | SerializePIDInfo (uint actuatorAddress, float proportional, float integral, float derivative) |
| Serializes the address of the actuator and the PID info. More... | |
| static byte[] | SerializePIDFilter (uint actuatorAddress, float command, float derivative, float error) |
| static byte[] | SerializeGainTorqueSensor (uint actuatorAddress, float gain) |
| static byte[] | SerializeFrameType (int type) |
| static byte[] | SerializeClientConfigurations (CClientConfigurations clientConfiguration) |
| Serializes the client configurations. More... | |
| static byte[] | SerializeSerialNumber (string serialnumber) |
| static CInfoFIFOTrajectory | DeserializeInfoFIFOTrajectory (byte[] infoFIFOTrajectoryBytes) |
| static CClientConfigurations | DeserializeClientConfigurations (byte[] cfgClientBytes) |
| Deserializes the client configurations. More... | |
| static byte[] | SerializeConfigurationZones (CZoneList configurationsZones) |
| Serializes the configuration zones. More... | |
| static CZone | DeserializeConfigurationZones (byte[] cfgZonesBytes, ref int index) |
| Deserializes the configuration zones. More... | |
| static CZoneList | DeserializeConfigurationZonesList (byte[] cfgZonesBytes) |
| Deserializes the configuration zones. More... | |
| static CControlMappingCharts | DeserializeControlMappingCharts (byte[] cfgMapping) |
| Deserializes the control mapping charts. More... | |
| static CControlMapping | DeserializeControlMapping (ref int index, byte[] cfgMapping) |
| Deserializes the control mapping. More... | |
| static byte[] | SerializeControlMappingCharts (CControlMappingCharts MappingCharts) |
| Serializes the control mapping charts. More... | |
| static CTestResultJaco | DeserializeTestResultJaco (byte[] cfgResult) |
| Deserializes the test result details. More... | |
| static byte[] | SerializeTestResultJaco (CTestResultJaco testResultJaco) |
| Serializes the test result details. More... | |
| static CError | DeserializeLogErrorFromJaco (byte[] LogErrors, ref int index) |
| Deserializes the log error from jaco. More... | |
| static CPeripheralInformation | DeserializePeriphealInformationFromJaco (byte[] PeriphealInformations, ref int index) |
| Deserializes the peripheal information from jaco. More... | |
| static CQuickStatus | DeserializeQuickStatus (byte[] data) |
| static byte[] | SerializePeriphealInformation (CPeripheralInformation Info) |
| Serializes the peripheal information. More... | |
| static CCaptorsInfo | DeserializeCaptorsInfo (byte[] bytesArray) |
| static byte[] | SerializeCaptorsInfo (CCaptorsInfo data) |
| static CPosition | DeserializePosition (byte[] Positions, ref int index) |
| Deserializes the position log from jaco. More... | |
| static byte[] | SerializeJoystickValue (CJoystickValue Functionnality) |
| Serializes the joystick value. More... | |
| static byte[] | SerializeSpasmFilter (CSpasmFilter Functionnality) |
| static CJoystickValue | DeserializeJoystickValue (byte[] tabJoystickValue, ref int index) |
| Deserializes the joystick value. More... | |
| static CZoneLimitation | DeserializeZoneLimitation (byte[] tabZoneLimitation, ref int index) |
| Deserializes the zone limitation. More... | |
| static CSystemStatus | DeserializeSystemStatus (byte[] tabSystemStatus, ref int index) |
| Deserializes the system status. More... | |
| static CUserPosition | DeserializeUserPosition (byte[] tabUserPosition, ref int index) |
| Deserializes the user position. More... | |
| static byte[] | SerializeUserPosition (CUserPosition UserPosition) |
| Serializes the user position. More... | |
| static byte[] | RemoveHeader (byte[] PacketData, short headerSize) |
| Removes the header. More... | |
| static byte[][] | SplitData (byte[] data, ushort cmd) |
| Splits the data. More... | |
| static List< CPacketList > | SplitDataByPage (byte[] data, ushort cmd) |
| Splits the data by page. More... | |
This class contains severals tools to make easier the serialization process.
|
static |
Deserializes a CAngularInfo object.
| BytesVector | The bytes vector. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes a CCartesianInfo object.
| BytesVector | The bytes vector. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes the client configurations.
| cfgClientBytes | The CFG client bytes. |
|
static |
Deserializes the configuration zones.
| cfgZonesBytes | The CFG zones bytes. |
| index | The index. |
|
static |
Deserializes the configuration zones.
| cfgZonesBytes | The CFG zones bytes. |
|
static |
Deserializes the control mapping.
| index | The index where the control mapping is contained. |
| cfgMapping | A byte array containing a serialized version of the control mapping. |
|
static |
Deserializes the control mapping charts.
| cfgMapping | The CFG mapping. |
|
static |
Deserializes a CJacoGripper object.
| BytesArray | The bytes array. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes the joystick value.
| tabJoystickValue | The tab joystick value. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Deserializes the log error from jaco.
| LogErrors | The log errors. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Deserializes the peripheal information from jaco.
| PeriphealInformations | The peripheal informations. |
| index | The index. |
|
static |
Deserializes the position log from jaco.
| Positions | The logs positions. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Deserializes a CSingularityVector object.
| BytesArray | The bytes array. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes the system status.
| tabSystemStatus | The tab system status. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Deserializes the test result details.
| cfgResult | The CFG result. |
|
static |
Deserializes the trajectory info.
| BytesVector | The bytes vector. |
///
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes the user position.
| tabUserPosition | The tab user position. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Deserializes a CVectorAngle.
| BytesVector | The bytes vector. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes a CVectorAngle inside a byte array.
| BytesVector | The bytes vector. |
| index | The index in a byte[] if this method is within another deserializing method. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes a CVectorEuler inside a byte array.
| bytesVector | The bytes vector. |
| index | The index in a byte[] if this method is within another deserializing method. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Deserializes the zone limitation.
| tabZoneLimitation | The tab zone limitation. |
| index | The index in a byte[] if this method is within another deserializing method. |
|
static |
Removes the header.
| PacketData | A data block |
| headerSize | Size of the header. |
| ArgumentOutOfRangeException | Index in BlockCopy are not good. |
| ArgumentNullException | One or both array in BlockCopy is/are null. |
|
static |
Serializes the basic trajectory info.
| trajectoryInfo | The basic trajectory info. |
///
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Serializes the client configurations.
| clientConfiguration | The configurations client. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument clientConfiguration is null or one of it member is null. |
|
static |
Serializes the configuration zones.
| configurationsZones | The configurations zones. |
|
static |
Serializes the control mapping charts.
| MappingCharts | The mapping charts. |
| ArgumentNullException | The parameter CControlMappingCharts MappingCharts is null. It is possible that a local variable from this method has been set to null by error. |
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentException | A member of the CControlMappingCharts is a generic type and cannot be marshalled. |
|
static |
Serializes the joystick value.
| Functionnality | The selector. |
|
static |
Serializes the peripheal information.
| Info | The info. |
|
static |
Serializes the address of the actuator and the PID info.
|
static |
Serializes the test result details.
| testResultJaco | The test result |
|
static |
Serializes the trajectory info.
| trajectoryInfo | The trajectory info. |
///
| OutOfMemoryException | Insufficient memory to perform this action. |
| ArgumentNullException | Argument BytesVector is null or one of it member is null. |
| ArgumentOutOfRangeException | The data structure must axactly the same as the DSP's data structure. |
|
static |
Serializes the user position.
| UserPosition | The user position. |
|
static |
Splits the data.
| data | The data. |
| cmd | The CMD. |
| ArgumentOutOfRangeException | Index in BlockCopy are not good. |
| ArgumentNullException | One or both array in BlockCopy is/are null. |
|
static |
Splits the data by page.
| data | The data. |
| cmd | The CMD. |
| ArgumentOutOfRangeException | Index in BlockCopy are not good. |
| ArgumentNullException | One or both array in BlockCopy is/are null. |