1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

AndroidGCS: Change the UAVO generation to suppress warnings

This commit is contained in:
James Cotton 2012-08-05 04:11:33 -05:00
parent 33132e8ebd
commit 35d57911f9
73 changed files with 146 additions and 146 deletions

View File

@ -142,8 +142,8 @@ public class Accels extends UAVDataObject {
protected static final long OBJID = 0xDD9D5FC0;
protected static final String NAME = "Accels";
protected static String DESCRIPTION = "The accel data.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -130,8 +130,8 @@ public class AccessoryDesired extends UAVDataObject {
protected static final long OBJID = 0xC409985A;
protected static final String NAME = "AccessoryDesired";
protected static String DESCRIPTION = "Desired Auxillary actuator settings. Comes from @ref ManualControlModule.";
protected static final boolean ISSINGLEINST = 0 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 0 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -151,8 +151,8 @@ public class ActuatorCommand extends UAVDataObject {
protected static final long OBJID = 0x5324CB8;
protected static final String NAME = "ActuatorCommand";
protected static String DESCRIPTION = "Contains the pulse duration sent to each of the channels. Set by @ref ActuatorModule";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -150,8 +150,8 @@ public class ActuatorDesired extends UAVDataObject {
protected static final long OBJID = 0xCA4BC4A4;
protected static final String NAME = "ActuatorDesired";
protected static String DESCRIPTION = "Desired raw, pitch and yaw actuator settings. Comes from either @ref StabilizationModule or @ref ManualControlModule depending on FlightMode.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -265,8 +265,8 @@ public class ActuatorSettings extends UAVDataObject {
protected static final long OBJID = 0x7D555646;
protected static final String NAME = "ActuatorSettings";
protected static String DESCRIPTION = "Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class AltHoldSmoothed extends UAVDataObject {
protected static final long OBJID = 0x2BC6B9D2;
protected static final String NAME = "AltHoldSmoothed";
protected static String DESCRIPTION = "The output on the kalman filter on altitude.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -142,8 +142,8 @@ public class AltitudeHoldDesired extends UAVDataObject {
protected static final long OBJID = 0x495BAD6E;
protected static final String NAME = "AltitudeHoldDesired";
protected static String DESCRIPTION = "Holds the desired altitude (from manual control) as well as the desired attitude to pass through";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -161,8 +161,8 @@ public class AltitudeHoldSettings extends UAVDataObject {
protected static final long OBJID = 0xFEC55B42;
protected static final String NAME = "AltitudeHoldSettings";
protected static String DESCRIPTION = "Settings for the @ref AltitudeHold module";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -154,8 +154,8 @@ public class AttitudeActual extends UAVDataObject {
protected static final long OBJID = 0x33DAD5E6;
protected static final String NAME = "AttitudeActual";
protected static String DESCRIPTION = "The updated Attitude estimation from @ref AHRSCommsModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -198,8 +198,8 @@ public class AttitudeSettings extends UAVDataObject {
protected static final long OBJID = 0xC307BC4A;
protected static final String NAME = "AttitudeSettings";
protected static String DESCRIPTION = "Settings for the @ref Attitude module used on CopterControl";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -166,8 +166,8 @@ public class AttitudeSimulated extends UAVDataObject {
protected static final long OBJID = 0x9266CE74;
protected static final String NAME = "AttitudeSimulated";
protected static String DESCRIPTION = "The simulated Attitude estimation from @ref Sensors.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -145,8 +145,8 @@ public class BaroAirspeed extends UAVDataObject {
protected static final long OBJID = 0x169EA4A;
protected static final String NAME = "BaroAirspeed";
protected static String DESCRIPTION = "The raw data from the dynamic pressure sensor with pressure, temperature and airspeed.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class BaroAltitude extends UAVDataObject {
protected static final long OBJID = 0x99622E6A;
protected static final String NAME = "BaroAltitude";
protected static String DESCRIPTION = "The raw data from the barometric sensor with pressure, temperature and altitude estimate.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class CameraDesired extends UAVDataObject {
protected static final long OBJID = 0x531F544E;
protected static final String NAME = "CameraDesired";
protected static String DESCRIPTION = "Desired camera outputs. Comes from @ref CameraStabilization module.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -196,8 +196,8 @@ public class CameraStabSettings extends UAVDataObject {
protected static final long OBJID = 0x3B95DDBA;
protected static final String NAME = "CameraStabSettings";
protected static String DESCRIPTION = "Settings for the @ref CameraStab mmodule";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class FaultSettings extends UAVDataObject {
protected static final long OBJID = 0x2778BA3C;
protected static final String NAME = "FaultSettings";
protected static String DESCRIPTION = "Allows testers to simulate various fault scenarios.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -204,8 +204,8 @@ public class FirmwareIAPObj extends UAVDataObject {
protected static final long OBJID = 0x3CCDFB68;
protected static final String NAME = "FirmwareIAPObj";
protected static String DESCRIPTION = "Queries board for SN, model, revision, and sends reset command";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -231,8 +231,8 @@ public class FixedWingPathFollowerSettings extends UAVDataObject {
protected static final long OBJID = 0x8A3F1E02;
protected static final String NAME = "FixedWingPathFollowerSettings";
protected static String DESCRIPTION = "Settings for the @ref FixedWingPathFollowerModule";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -156,8 +156,8 @@ public class FixedWingPathFollowerStatus extends UAVDataObject {
protected static final long OBJID = 0xA0D6F6D4;
protected static final String NAME = "FixedWingPathFollowerStatus";
protected static String DESCRIPTION = "Object Storing Debugging Information on PID internals";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -173,8 +173,8 @@ public class FlightBatterySettings extends UAVDataObject {
protected static final long OBJID = 0x94AC6AD2;
protected static final String NAME = "FlightBatterySettings";
protected static String DESCRIPTION = "Flight Battery configuration.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -161,8 +161,8 @@ public class FlightBatteryState extends UAVDataObject {
protected static final long OBJID = 0xD2083596;
protected static final String NAME = "FlightBatteryState";
protected static String DESCRIPTION = "Battery status information.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -135,8 +135,8 @@ public class FlightPlanControl extends UAVDataObject {
protected static final long OBJID = 0x53E3F180;
protected static final String NAME = "FlightPlanControl";
protected static String DESCRIPTION = "Control the flight plan script";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -131,8 +131,8 @@ public class FlightPlanSettings extends UAVDataObject {
protected static final long OBJID = 0x92E9FF76;
protected static final String NAME = "FlightPlanSettings";
protected static String DESCRIPTION = "Settings for the flight plan module, control the execution of the script";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -175,8 +175,8 @@ public class FlightPlanStatus extends UAVDataObject {
protected static final long OBJID = 0x2206EE46;
protected static final String NAME = "FlightPlanStatus";
protected static String DESCRIPTION = "Status of the flight plan script";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -149,8 +149,8 @@ public class FlightStatus extends UAVDataObject {
protected static final long OBJID = 0x884FEF66;
protected static final String NAME = "FlightStatus";
protected static String DESCRIPTION = "Contains major flight status information for other modules.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -155,8 +155,8 @@ public class FlightTelemetryStats extends UAVDataObject {
protected static final long OBJID = 0x2F7E2902;
protected static final String NAME = "FlightTelemetryStats";
protected static String DESCRIPTION = "Maintains the telemetry statistics from the OpenPilot flight computer.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -137,8 +137,8 @@ public class GCSReceiver extends UAVDataObject {
protected static final long OBJID = 0xCC7E1470;
protected static final String NAME = "GCSReceiver";
protected static String DESCRIPTION = "A receiver channel group carried over the telemetry link.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -155,8 +155,8 @@ public class GCSTelemetryStats extends UAVDataObject {
protected static final long OBJID = 0xABC72744;
protected static final String NAME = "GCSTelemetryStats";
protected static String DESCRIPTION = "The telemetry statistics from the ground computer";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -175,8 +175,8 @@ public class GPSPosition extends UAVDataObject {
protected static final long OBJID = 0xE2A323B6;
protected static final String NAME = "GPSPosition";
protected static String DESCRIPTION = "Raw GPS data from @ref GPSModule. Should only be used by @ref AHRSCommsModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -206,8 +206,8 @@ public class GPSSatellites extends UAVDataObject {
protected static final long OBJID = 0x920D998;
protected static final String NAME = "GPSSatellites";
protected static String DESCRIPTION = "Contains information about the GPS satellites in view from @ref GPSModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -134,8 +134,8 @@ public class GPSSettings extends UAVDataObject {
protected static final long OBJID = 0xAC5F6370;
protected static final String NAME = "GPSSettings";
protected static String DESCRIPTION = "Settings for the GPS";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -150,8 +150,8 @@ public class GPSTime extends UAVDataObject {
protected static final long OBJID = 0xD4478084;
protected static final String NAME = "GPSTime";
protected static String DESCRIPTION = "Contains the GPS time from @ref GPSModule. Required to compute the world magnetic model correctly when setting the home location.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class GPSVelocity extends UAVDataObject {
protected static final long OBJID = 0x8245DC80;
protected static final String NAME = "GPSVelocity";
protected static String DESCRIPTION = "Raw GPS data from @ref GPSModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -142,8 +142,8 @@ public class Gyros extends UAVDataObject {
protected static final long OBJID = 0x4228AF6;
protected static final String NAME = "Gyros";
protected static String DESCRIPTION = "The gyro data.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class GyrosBias extends UAVDataObject {
protected static final long OBJID = 0xE4B6F980;
protected static final String NAME = "GyrosBias";
protected static String DESCRIPTION = "The gyro data.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -163,8 +163,8 @@ public class HomeLocation extends UAVDataObject {
protected static final long OBJID = 0x6185DC6E;
protected static final String NAME = "HomeLocation";
protected static String DESCRIPTION = "HomeLocation setting which contains the constants to tranlate from longitutde and latitude to NED reference frame. Automatically set by @ref GPSModule after acquiring a 3D lock. Used by @ref AHRSCommsModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -327,8 +327,8 @@ public class HwSettings extends UAVDataObject {
protected static final long OBJID = 0x5D950E50;
protected static final String NAME = "HwSettings";
protected static String DESCRIPTION = "Selection of optional hardware configurations.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -229,8 +229,8 @@ public class I2CStats extends UAVDataObject {
protected static final long OBJID = 0xB714823E;
protected static final String NAME = "I2CStats";
protected static String DESCRIPTION = "Tracks statistics on the I2C bus.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class MagBias extends UAVDataObject {
protected static final long OBJID = 0x5043E510;
protected static final String NAME = "MagBias";
protected static String DESCRIPTION = "The gyro data.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class Magnetometer extends UAVDataObject {
protected static final long OBJID = 0x813B55DE;
protected static final String NAME = "Magnetometer";
protected static String DESCRIPTION = "The mag data.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -165,8 +165,8 @@ public class ManualControlCommand extends UAVDataObject {
protected static final long OBJID = 0x1E82C2D2;
protected static final String NAME = "ManualControlCommand";
protected static String DESCRIPTION = "The output from the @ref ManualControlModule which descodes the receiver inputs. Overriden by GCS for fly-by-wire control.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -344,8 +344,8 @@ public class ManualControlSettings extends UAVDataObject {
protected static final long OBJID = 0x6C188320;
protected static final String NAME = "ManualControlSettings";
protected static String DESCRIPTION = "Settings to indicate how to decode receiver input by @ref ManualControlModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -499,8 +499,8 @@ public class MixerSettings extends UAVDataObject {
protected static final long OBJID = 0x5D16D6C4;
protected static final String NAME = "MixerSettings";
protected static String DESCRIPTION = "Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -166,8 +166,8 @@ public class MixerStatus extends UAVDataObject {
protected static final long OBJID = 0x124E28A;
protected static final String NAME = "MixerStatus";
protected static String DESCRIPTION = "Status for the matrix mixer showing the output of each mixer after all scaling";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class NEDPosition extends UAVDataObject {
protected static final long OBJID = 0x1FB15A00;
protected static final String NAME = "NEDPosition";
protected static String DESCRIPTION = "Contains the current position relative to @ref HomeLocation";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class NedAccel extends UAVDataObject {
protected static final long OBJID = 0x7C7F5BC0;
protected static final String NAME = "NedAccel";
protected static String DESCRIPTION = "The projection of acceleration in the NED reference frame used by @ref Guidance.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -155,8 +155,8 @@ public class ObjectPersistence extends UAVDataObject {
protected static final long OBJID = 0x99C63292;
protected static final String NAME = "ObjectPersistence";
protected static String DESCRIPTION = "Someone who knows please enter this";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -135,8 +135,8 @@ public class OveroSyncSettings extends UAVDataObject {
protected static final long OBJID = 0xA1ABC278;
protected static final String NAME = "OveroSyncSettings";
protected static String DESCRIPTION = "Settings to control the behavior of the overo sync module";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -157,8 +157,8 @@ public class OveroSyncStats extends UAVDataObject {
protected static final long OBJID = 0xD2085FAC;
protected static final String NAME = "OveroSyncStats";
protected static String DESCRIPTION = "Maintains statistics on transfer rate to and from over";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -154,8 +154,8 @@ public class PathDesired extends UAVDataObject {
protected static final long OBJID = 0x5A4DC71A;
protected static final String NAME = "PathDesired";
protected static String DESCRIPTION = "The endpoint or path the craft is trying to achieve. Can come from @ref ManualControl or @ref PathPlanner ";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -143,8 +143,8 @@ public class PathPlannerSettings extends UAVDataObject {
protected static final long OBJID = 0x290E45DA;
protected static final String NAME = "PathPlannerSettings";
protected static String DESCRIPTION = "Settings for the @ref PathPlanner Module";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -318,8 +318,8 @@ public class PipXSettings extends UAVDataObject {
protected static final long OBJID = 0xBA192BCA;
protected static final String NAME = "PipXSettings";
protected static String DESCRIPTION = "PipXtreme configurations options.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -293,8 +293,8 @@ public class PipXStatus extends UAVDataObject {
protected static final long OBJID = 0x3FC68A86;
protected static final String NAME = "PipXStatus";
protected static String DESCRIPTION = "PipXtreme device status.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class PositionActual extends UAVDataObject {
protected static final long OBJID = 0xFA9E2D42;
protected static final String NAME = "PositionActual";
protected static String DESCRIPTION = "Contains the current position relative to @ref HomeLocation";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class RateDesired extends UAVDataObject {
protected static final long OBJID = 0xCE8C826;
protected static final String NAME = "RateDesired";
protected static String DESCRIPTION = "Status for the matrix mixer showing the output of each mixer after all scaling";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -144,8 +144,8 @@ public class ReceiverActivity extends UAVDataObject {
protected static final long OBJID = 0x1E7C53DA;
protected static final String NAME = "ReceiverActivity";
protected static String DESCRIPTION = "Monitors which receiver channels have been active within the last second.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -241,8 +241,8 @@ public class RevoCalibration extends UAVDataObject {
protected static final long OBJID = 0xA2A63C7C;
protected static final String NAME = "RevoCalibration";
protected static String DESCRIPTION = "Settings for the INS to control the algorithm and what is updated";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -135,8 +135,8 @@ public class RevoSettings extends UAVDataObject {
protected static final long OBJID = 0xE2DA70EA;
protected static final String NAME = "RevoSettings";
protected static String DESCRIPTION = "Settings for the revo to control the algorithm and what is updated";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -130,8 +130,8 @@ public class SonarAltitude extends UAVDataObject {
protected static final long OBJID = 0x6C5A0CBC;
protected static final String NAME = "SonarAltitude";
protected static String DESCRIPTION = "The raw data from the ultrasound sonar sensor with altitude estimate.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -155,8 +155,8 @@ public class StabilizationDesired extends UAVDataObject {
protected static final long OBJID = 0xDE1EAAD6;
protected static final String NAME = "StabilizationDesired";
protected static String DESCRIPTION = "The desired attitude that @ref StabilizationModule will try and achieve if FlightMode is Stabilized. Comes from @ref ManaulControlModule.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -305,8 +305,8 @@ public class StabilizationSettings extends UAVDataObject {
protected static final long OBJID = 0xBBC337D4;
protected static final String NAME = "StabilizationSettings";
protected static String DESCRIPTION = "PID settings used by the Stabilization module to combine the @ref AttitudeActual and @ref AttitudeDesired to compute @ref ActuatorDesired";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -169,8 +169,8 @@ public class SystemAlarms extends UAVDataObject {
protected static final long OBJID = 0x737ADCF2;
protected static final String NAME = "SystemAlarms";
protected static String DESCRIPTION = "Alarms from OpenPilot to indicate failure conditions or warnings. Set by various modules.";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -162,8 +162,8 @@ public class SystemSettings extends UAVDataObject {
protected static final long OBJID = 0xC72A326E;
protected static final String NAME = "SystemSettings";
protected static String DESCRIPTION = "Select airframe type. Currently used by @ref ActuatorModule to choose mixing from @ref ActuatorDesired to @ref ActuatorCommand";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -158,8 +158,8 @@ public class SystemStats extends UAVDataObject {
protected static final long OBJID = 0x364D1406;
protected static final String NAME = "SystemStats";
protected static String DESCRIPTION = "CPU and memory usage from OpenPilot computer. ";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -195,8 +195,8 @@ public class TaskInfo extends UAVDataObject {
protected static final long OBJID = 0xB81CD2AE;
protected static final String NAME = "TaskInfo";
protected static String DESCRIPTION = "Task information";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -217,8 +217,8 @@ public class TxPIDSettings extends UAVDataObject {
protected static final long OBJID = 0x42B2D2AE;
protected static final String NAME = "TxPIDSettings";
protected static String DESCRIPTION = "Settings used by @ref TxPID optional module to tune PID settings using R/C transmitter";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class VelocityActual extends UAVDataObject {
protected static final long OBJID = 0x5A08F61A;
protected static final String NAME = "VelocityActual";
protected static String DESCRIPTION = "Updated by @ref AHRSCommsModule and used within @ref GuidanceModule for velocity control";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -138,8 +138,8 @@ public class VelocityDesired extends UAVDataObject {
protected static final long OBJID = 0x9E946992;
protected static final String NAME = "VelocityDesired";
protected static String DESCRIPTION = "Used within @ref GuidanceModule to communicate between the task computing the desired velocity and the PID loop to achieve it (running at different rates).";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -224,8 +224,8 @@ public class VtolPathFollowerSettings extends UAVDataObject {
protected static final long OBJID = 0x973991F6;
protected static final String NAME = "VtolPathFollowerSettings";
protected static String DESCRIPTION = "Settings for the @ref VtolPathFollower module";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 1 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 1 > 0;
protected static int NUMBYTES = 0;

View File

@ -134,8 +134,8 @@ public class WatchdogStatus extends UAVDataObject {
protected static final long OBJID = 0xA207FA7C;
protected static final String NAME = "WatchdogStatus";
protected static String DESCRIPTION = "For monitoring the flags in the watchdog and especially the bootup flags";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -151,8 +151,8 @@ public class Waypoint extends UAVDataObject {
protected static final long OBJID = 0x338C5F90;
protected static final String NAME = "Waypoint";
protected static String DESCRIPTION = "A waypoint the aircraft can try and hit. Used by the @ref PathPlanner module";
protected static final boolean ISSINGLEINST = 0 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 0 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -130,8 +130,8 @@ public class WaypointActive extends UAVDataObject {
protected static final long OBJID = 0x1EA5B192;
protected static final String NAME = "WaypointActive";
protected static String DESCRIPTION = "Indicates the currently active waypoint";
protected static final boolean ISSINGLEINST = 1 == 1;
protected static final boolean ISSETTINGS = 0 == 1;
protected static final boolean ISSINGLEINST = 1 > 0;
protected static final boolean ISSETTINGS = 0 > 0;
protected static int NUMBYTES = 0;

View File

@ -126,8 +126,8 @@ $(INITFIELDS)
protected static final long OBJID = $(OBJIDHEX);
protected static final String NAME = "$(NAME)";
protected static String DESCRIPTION = "$(DESCRIPTION)";
protected static final boolean ISSINGLEINST = $(ISSINGLEINST) == 1;
protected static final boolean ISSETTINGS = $(ISSETTINGS) == 1;
protected static final boolean ISSINGLEINST = $(ISSINGLEINST) > 0;
protected static final boolean ISSETTINGS = $(ISSETTINGS) > 0;
protected static int NUMBYTES = 0;