Exemplo n.º 1
0
 public override string ToYAMLString()
 {
     return("{\"header\":" + _header.ToYAMLString() +
            ", \"global_position\":" + _global_position.ToYAMLString() +
            ", \"origin\":" + _origin.ToYAMLString() +
            ", \"position\":" + _position.ToYAMLString() +
            ", \"altitude\":" + _altitude.ToYAMLString() +
            ", \"body_velocity\":" + _body_velocity.ToYAMLString() +
            ", \"orientation\":" + _orientation.ToYAMLString() +
            ", \"orientation_rate\":" + _orientation_rate.ToYAMLString() +
            ", \"position_variance\":" + _position_variance.ToYAMLString() +
            ", \"orientation_variance\":" + _orientation_variance.ToYAMLString() +
            ", \"status\":" + _status.ToYAMLString() + "}");
 }
Exemplo n.º 2
0
 public override string ToYAMLString()
 {
     return("{\"position\" : " + position.ToYAMLString() + ", \"orientation\" : " + orientation.ToYAMLString() + "}");
 }
Exemplo n.º 3
0
 public override string ToYAMLString()
 {
     return("{\"translation\": " + _translation.ToYAMLString() + ", \"rotation\": " + _rotation.ToYAMLString() + "}");
 }