com.openxc.measurements.BrakePedalStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openxc-examples Show documentation
Show all versions of openxc-examples Show documentation
Example Vehicle Dashboard application using OpenXC
package com.openxc.measurements;
import com.openxc.units.Boolean;
/**
* The BrakePedalStatus measurement knows if the brake pedal is pressed.
*/
public class BrakePedalStatus extends BaseMeasurement {
public final static String ID = "brake_pedal_status";
public BrakePedalStatus(Boolean value) {
super(value);
}
public BrakePedalStatus(java.lang.Boolean value) {
this(new Boolean(value));
}
@Override
public String getGenericName() {
return ID;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy