Constant Field Values


Contents
java.lang.*

java.lang.Integer
public static final int MAX_VALUE 2147483647
public static final int MIN_VALUE -2147483648

java.lang.Math
public static final double E 2.718281828459045d
public static final double NaN 0d/0d
public static final double PI 3.141592653589793d

java.lang.Thread
public static final int MAX_PRIORITY 10
public static final int MIN_PRIORITY 1
public static final int NORM_PRIORITY 5

josx.platform.*

josx.platform.rcx.LCDConstants
public static final int LCD_DECIMAL_0 12290
public static final int LCD_DECIMAL_1 12291
public static final int LCD_DECIMAL_2 12292
public static final int LCD_DECIMAL_3 12293
public static final int LCD_PROGRAM 12311
public static final int LCD_SIGNED 12289
public static final int LCD_UNSIGNED 12319

josx.platform.rcx.Opcode
public static final byte OPCODE_ABSOLUTE_VALUE 116
public static final byte OPCODE_ABSOLUTE_VALUE_REPLY -125
public static final byte OPCODE_ADD_TO_VARIABLE 36
public static final byte OPCODE_ADD_TO_VARIABLE_REPLY -45
public static final byte OPCODE_ALIVE 16
public static final byte OPCODE_ALIVE_REPLY -25
public static final byte OPCODE_AND_VARIABLE -124
public static final byte OPCODE_AND_VARIABLE_REPLY 115
public static final byte OPCODE_BRANCH_ALWAYS_FAR 114
public static final byte OPCODE_BRANCH_ALWAYS_NEAR 39
public static final byte OPCODE_CALL_SUBROUTINE 23
public static final byte OPCODE_CLEAR_MESSAGE -112
public static final byte OPCODE_CLEAR_SENSOR_VALUE -47
public static final byte OPCODE_CLEAR_SENSOR_VALUE_REPLY 38
public static final byte OPCODE_CLEAR_TIMER -95
public static final byte OPCODE_CLEAR_TIMER_REPLY 86
public static final byte OPCODE_DATALOG_NEXT 98
public static final byte OPCODE_DATALOG_NEXT_REPLY -107
public static final byte OPCODE_DECREMENT_LOOP_COUNTER_FAR -110
public static final byte OPCODE_DECREMENT_LOOP_COUNTER_NEAR 55
public static final byte OPCODE_DELETE_ALL_SUBROUTINES 112
public static final byte OPCODE_DELETE_ALL_SUBROUTINES_REPLY -121
public static final byte OPCODE_DELETE_ALL_TASKS 64
public static final byte OPCODE_DELETE_ALL_TASKS_REPLY -73
public static final byte OPCODE_DELETE_FIRMWARE 101
public static final byte OPCODE_DELETE_FIRMWARE_REPLY -110
public static final byte OPCODE_DELETE_SUBROUTINE -63
public static final byte OPCODE_DELETE_SUBROUTINE_REPLY 54
public static final byte OPCODE_DELETE_TASK 97
public static final byte OPCODE_DELETE_TASK_REPLY -106
public static final byte OPCODE_DIVIDE_VARIABLE 68
public static final byte OPCODE_DIVIDE_VARIABLE_REPLY -77
public static final byte OPCODE_GET_BATTERY_POWER 48
public static final byte OPCODE_GET_BATTERY_POWER_REPLY -57
public static final byte OPCODE_GET_MEMORY_MAP 32
public static final byte OPCODE_GET_MEMORY_MAP_REPLY -41
public static final byte OPCODE_GET_VALUE 18
public static final byte OPCODE_GET_VALUE_REPLY -27
public static final byte OPCODE_GET_VERSIONS 21
public static final byte OPCODE_GET_VERSIONS_REPLY -30
public static final byte OPCODE_MASK -9
public static final byte OPCODE_MULTIPLY_VARIABLE 84
public static final byte OPCODE_MULTIPLY_VARIABLE_REPLY -93
public static final byte OPCODE_OR_VARIABLE -108
public static final byte OPCODE_OR_VARIABLE_REPLY 99
public static final byte OPCODE_PLAY_SOUND_REPLY -90
public static final byte OPCODE_PLAY_TONE 35
public static final byte OPCODE_PLAY_TONE_REPLY -44
public static final byte OPCODE_POWER_OFF 96
public static final byte OPCODE_POWER_OFF_REPLY -105
public static final byte OPCODE_REMOTE_COMMAND -46
public static final byte OPCODE_SEND_MESSAGE -78
public static final byte OPCODE_SET_DATALOG_SIZE 82
public static final byte OPCODE_SET_DATALOG_SIZE_REPLY -91
public static final byte OPCODE_SET_DISPLAY 51
public static final byte OPCODE_SET_DISPLAY_REPLY -60
public static final byte OPCODE_SET_LOOP_COUNTER -126
public static final byte OPCODE_SET_MESSAGE -9
public static final byte OPCODE_SET_MOTOR_DIRECTION -31
public static final byte OPCODE_SET_MOTOR_DIRECTION_REPLY 22
public static final byte OPCODE_SET_MOTOR_ON_OFF 33
public static final byte OPCODE_SET_MOTOR_ON_OFF_REPLY -42
public static final byte OPCODE_SET_MOTOR_POWER 19
public static final byte OPCODE_SET_MOTOR_POWER_REPLY -28
public static final byte OPCODE_SET_POWER_DOWN_DELAY -79
public static final byte OPCODE_SET_POWER_DOWN_DELAY_REPLY 70
public static final byte OPCODE_SET_PROGRAM_NUMBER -111
public static final byte OPCODE_SET_PROGRAM_NUMBER_REPLY 102
public static final byte OPCODE_SET_SENSOR_MODE 66
public static final byte OPCODE_SET_SENSOR_MODE_REPLY -75
public static final byte OPCODE_SET_SENSOR_TYPE 50
public static final byte OPCODE_SET_SENSOR_TYPE_REPLY -59
public static final byte OPCODE_SET_TIME 34
public static final byte OPCODE_SET_TIME_REPLY -43
public static final byte OPCODE_SET_TRANSMITTER_RANGE 49
public static final byte OPCODE_SET_TRANSMITTER_RANGE_REPLY -58
public static final byte OPCODE_SET_VARIABLE 20
public static final byte OPCODE_SET_VARIABLE_REPLY -29
public static final byte OPCODE_SIGN_VARIABLE 100
public static final byte OPCODE_SIGN_VARIABLE_REPLY -109
public static final byte OPCODE_START_FIRMWARE_DOWNLOAD 117
public static final byte OPCODE_START_FIRMWARE_DOWNLOAD_REPLY -126
public static final byte OPCODE_START_SUBROUTINE_DOWNLOAD 53
public static final byte OPCODE_START_SUBROUTINE_DOWNLOAD_REPLY -62
public static final byte OPCODE_START_TASK 113
public static final byte OPCODE_START_TASK_DOWNLOAD 37
public static final byte OPCODE_START_TASK_DOWNLOAD_REPLY -46
public static final byte OPCODE_START_TASK_REPLY -122
public static final byte OPCODE_STOP_ALL_TASKS 80
public static final byte OPCODE_STOP_ALL_TASKS_REPLY -89
public static final byte OPCODE_STOP_TASK -127
public static final byte OPCODE_STOP_TASK_REPLY 118
public static final byte OPCODE_SUBTRACT_FROM_VARIABLE 52
public static final byte OPCODE_SUBTRACT_FROM_VARIABLE_REPLY -61
public static final byte OPCODE_TEST_AND_BRANCH_FAR -107
public static final byte OPCODE_TEST_AND_BRANCH_NEAR -123
public static final byte OPCODE_TRANSFER_DATA 69
public static final byte OPCODE_TRANSFER_DATA_REPLY -78
public static final byte OPCODE_UNLOCK_FIRMWARE -91
public static final byte OPCODE_UNLOCK_FIRMWARE_REPLY 82
public static final byte OPCODE_UPLOAD_DATALOG -92
public static final byte OPCODE_UPLOAD_DATALOG_REPLY 83
public static final byte OPCODE_WAIT 67

josx.platform.rcx.Poll
public static final short ALL_BUTTONS 56
public static final short ALL_SENSORS 7
public static final short BUTTON_MASK_SHIFT 3
public static final short PRGM_MASK 32
public static final short RUN_MASK 8
public static final short SENSOR1_MASK 1
public static final short SENSOR2_MASK 2
public static final short SENSOR3_MASK 4
public static final short SERIAL_MASK 64
public static final short SERIAL_SHIFT 6
public static final short VIEW_MASK 16

josx.platform.rcx.Segment
public static final int ALL 12320
public static final int BATTERY 12315
public static final int DATALOG 12312
public static final int DOWNLOAD 12313
public static final int MOTOR_A_FWD 12304
public static final int MOTOR_A_REV 12303
public static final int MOTOR_A_VIEW 12302
public static final int MOTOR_B_FWD 12307
public static final int MOTOR_B_REV 12306
public static final int MOTOR_B_VIEW 12305
public static final int MOTOR_C_FWD 12310
public static final int MOTOR_C_REV 12309
public static final int MOTOR_C_VIEW 12308
public static final int RANGE_LONG 12317
public static final int RANGE_SHORT 12316
public static final int SENSOR_1_ACTIVE 12297
public static final int SENSOR_1_VIEW 12296
public static final int SENSOR_2_ACTIVE 12299
public static final int SENSOR_2_VIEW 12298
public static final int SENSOR_3_ACTIVE 12301
public static final int SENSOR_3_VIEW 12300
public static final int STANDING 12294
public static final int UPLOAD 12314
public static final int WALKING 12295

josx.platform.rcx.SensorConstants
public static final int BOOLEAN_VALUE 2
public static final int CANONICAL_VALUE 1
public static final int RAW_VALUE 0
public static final int SENSOR_MODE_ANGLE 224
public static final int SENSOR_MODE_BOOL 32
public static final int SENSOR_MODE_DEGC 160
public static final int SENSOR_MODE_DEGF 192
public static final int SENSOR_MODE_EDGE 64
public static final int SENSOR_MODE_PCT 128
public static final int SENSOR_MODE_PULSE 96
public static final int SENSOR_MODE_RAW 0
public static final int SENSOR_TYPE_LIGHT 3
public static final int SENSOR_TYPE_RAW 0
public static final int SENSOR_TYPE_ROT 4
public static final int SENSOR_TYPE_TEMP 2
public static final int SENSOR_TYPE_TOUCH 1

josx.rcxcomm.*

josx.rcxcomm.RCXInputStream
public static final int DEFAULT_BUFFER_SIZE 32
public static final int DEFAULT_TIMEOUT 0

josx.rcxcomm.RemoteVisionConstants
public static final byte METHOD_JOSX_VISION_RCX_BACKWARD_I 106
public static final byte METHOD_JOSX_VISION_RCX_BACKWARD_V 101
public static final byte METHOD_JOSX_VISION_RCX_CONTROL_MOTORS 118
public static final byte METHOD_JOSX_VISION_RCX_FORWARD_I 105
public static final byte METHOD_JOSX_VISION_RCX_FORWARD_V 100
public static final byte METHOD_JOSX_VISION_RCX_PLAY_TONE 119
public static final byte METHOD_JOSX_VISION_RCX_SCAN_LEFT_I 114
public static final byte METHOD_JOSX_VISION_RCX_SCAN_LEFT_V 113
public static final byte METHOD_JOSX_VISION_RCX_SCAN_RIGHT_I 116
public static final byte METHOD_JOSX_VISION_RCX_SCAN_RIGHT_V 115
public static final byte METHOD_JOSX_VISION_RCX_SET_POWER 117
public static final byte METHOD_JOSX_VISION_RCX_SPIN_LEFT_I 107
public static final byte METHOD_JOSX_VISION_RCX_SPIN_LEFT_V 103
public static final byte METHOD_JOSX_VISION_RCX_SPIN_RIGHT_I 108
public static final byte METHOD_JOSX_VISION_RCX_SPIN_RIGHT_V 104
public static final byte METHOD_JOSX_VISION_RCX_STOP 102
public static final byte METHOD_JOSX_VISION_RCX_TILT_DOWN_I 121
public static final byte METHOD_JOSX_VISION_RCX_TILT_UP_I 120
public static final byte METHOD_JOSX_VISION_RCX_TURN_LEFT_I 110
public static final byte METHOD_JOSX_VISION_RCX_TURN_LEFT_V 109
public static final byte METHOD_JOSX_VISION_RCX_TURN_RIGHT_I 112
public static final byte METHOD_JOSX_VISION_RCX_TURN_RIGHT_V 111

josx.vision.*

josx.vision.ColorEffect
public static final float INIT_PROPORTION 0.25f
public static final int MAX_PIXEL_THRESHOLD 40
public static final float MAX_PROPORTION 0.5f
public static final int MIN_PIXEL_THRESHOLD 0
public static final float MIN_PROPORTION 0.05000000074505806f
public static final int PIXEL_THRESHOLD_INC 4
public static final float PROPORTION_INC 0.05000000074505806f

josx.vision.Font
public static final int FONT_6x11 10
public static final int FONT_8x8 1