org.yamcs.simulator.EpsLvpduData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simulator Show documentation
Show all versions of simulator Show documentation
Java-based simulator of a landing spacecraft for test and demo purposes
package org.yamcs.simulator;
import java.nio.ByteBuffer;
public class EpsLvpduData {
float timestamp;
public float LVPDUStatus;
public float LVPDUVoltage;
public static int size() {
return 2;
}
public void fillPacket(ByteBuffer buffer) {
buffer.put((byte) LVPDUStatus);
buffer.put((byte) LVPDUVoltage);
}
@Override
public String toString() {
return String.format("[EpsLVPDUData]");
}
}