Ejemplo n.º 1
0
 public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     magnetic_field.Serialize(stream);
     foreach (double element in magnetic_field_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
 }
Ejemplo n.º 2
0
 public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     orientation.Serialize(stream);
     foreach (double element in orientation_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
     angular_velocity.Serialize(stream);
     foreach (double element in angular_velocity_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
     linear_acceleration.Serialize(stream);
     foreach (double element in linear_acceleration_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
 }
Ejemplo n.º 3
0
 public override void Serialize(MemoryStream stream)
 {
     translation.Serialize(stream);
     rotation.Serialize(stream);
 }
Ejemplo n.º 4
0
 public override void Serialize(MemoryStream stream)
 {
     force.Serialize(stream);
     torque.Serialize(stream);
 }
 public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     vector.Serialize(stream);
 }
Ejemplo n.º 6
0
 public override void Serialize(MemoryStream stream)
 {
     linear.Serialize(stream);
     angular.Serialize(stream);
 }