- Gear - Class in ch.aplu.raspi
-
Class that represents the combination of two motors on an axis
to perform a car-like movement.
- Gear() - Constructor for class ch.aplu.raspi.Gear
-
Creates a gear instance.
- getDataOutputStream() - Method in class ch.aplu.raspi.Robot
-
Returns the OutputStream reference of the connection link.
- getDisplayableChars() - Method in class ch.aplu.raspi.Display
-
Returns a string with all displayable characters.
- getDistance() - Method in class ch.aplu.raspi.UltrasonicSensor
-
Performs a measurement and reports the result.
- getDoubleValue(String) - Method in class ch.aplu.raspi.RaspiProperties
-
Gets the property value with the given key as double.
- getHitButtonID() - Method in class ch.aplu.raspi.Robot
-
Returns the button ID of the button previously hit.
- getInputStream() - Method in class ch.aplu.raspi.Robot
-
Returns the InputStream reference of the connection link.
- getIntValue(String) - Method in class ch.aplu.raspi.RaspiProperties
-
Gets the property value with the given key as int.
- getIPAddresses() - Method in class ch.aplu.raspi.Robot
-
Returns all IP addresses (in dotted format, comma separated).
- getMop() - Static method in class ch.aplu.raspi.ConnectPanel
-
- getProperties() - Static method in class ch.aplu.raspi.Robot
-
Returns the properties from the RaspiJLib property file.
- getResourceInfo() - Method in class ch.aplu.raspi.RaspiProperties
-
Returns the location of the property file.
- getRobot() - Static method in class ch.aplu.raspi.RobotInstance
-
- getStringValue(String) - Method in class ch.aplu.raspi.RaspiProperties
-
Gets the property value with the given key as string.
- getTime() - Static method in class ch.aplu.raspi.Tools
-
Gets the timer's time.
- getValue() - Method in class ch.aplu.raspi.InfraredSensor
-
Checks, if infrared light ist detected.
- getValue() - Method in class ch.aplu.raspi.LightSensor
-
Returns the current intensity value (0..255).
- getValue() - Method in class ch.aplu.raspi.UltrasonicSensor
-
Performs a measurement and reports the result.
- getVersion() - Method in class ch.aplu.raspi.Robot
-
Returns library version information.
- GGBitmap - Class in ch.aplu.raspi
-
Dummy class for source code compatibility with EV3Sim.
- GGBitmap() - Constructor for class ch.aplu.raspi.GGBitmap
-
- ID_DOWN - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the DOWN button.
- ID_ENTER - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the ENTER button.
- ID_ESCAPE - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the ESCAPE button.
- ID_LEFT - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the LEFT button.
- ID_RIGHT - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the RIGHT button.
- ID_UP - Static variable in interface ch.aplu.raspi.BrickButton
-
Constant for the UP button.
- InfraredAdapter - Class in ch.aplu.raspi
-
Class with empty callback methods for the infrared sensor.
- InfraredAdapter() - Constructor for class ch.aplu.raspi.InfraredAdapter
-
- InfraredListener - Interface in ch.aplu.raspi
-
Interface with declarations of callback methods for Infrared sensor
- InfraredSensor - Class in ch.aplu.raspi
-
Class that represents an infrared sensor.
- InfraredSensor(int) - Constructor for class ch.aplu.raspi.InfraredSensor
-
Creates an infrared sensor at given port.
- init() - Static method in class ch.aplu.raspi.RobotContext
-
Initializes the static context.
- IR_CENTER - Static variable in class ch.aplu.raspi.InfraredSensor
-
Constant for id of front sensor
- IR_LEFT - Static variable in class ch.aplu.raspi.InfraredSensor
-
Constant for id of left sensor
- IR_LINE_LEFT - Static variable in class ch.aplu.raspi.InfraredSensor
-
Constant for id of line left sensor (points to floor)
- IR_LINE_RIGHT - Static variable in class ch.aplu.raspi.InfraredSensor
-
Constant for id of line right sensor (points to floor)
- IR_RIGHT - Static variable in class ch.aplu.raspi.InfraredSensor
-
Constant for id of right sensor
- isButtonHit() - Method in class ch.aplu.raspi.Robot
-
Returns true, if any of the buttons was hit.
- isConnected() - Method in class ch.aplu.raspi.Robot
-
Returns the connection state.
- isDownHit() - Method in class ch.aplu.raspi.Robot
-
(Only in remote mode) Returns true, if the cursor down key was hit since the
last call of this method.
- isEnterHit() - Method in class ch.aplu.raspi.Robot
-
(Only in remote mode) Returns true, if the ENTER key was hit since
the last call of this method.
- isEscapeHit() - Method in class ch.aplu.raspi.Robot
-
Returns true, if the ESCAPE key (in remote mode) or the push button
(in autonomouse mode) was hit since
the last call of this method.
- isLeftHit() - Method in class ch.aplu.raspi.Robot
-
(Only in remote mode) Returns true, if the cursor left key was hit since
the last call of this method.
- isRightHit() - Method in class ch.aplu.raspi.Robot
-
(Only in remote mode) Returns true, if the cursor right key was hit since
the last call of this method.
- isRunning() - Method in class ch.aplu.raspi.Robot
-
Returns true as long as exit() is not called and the close
button of the Connection Pane is not hit.
- isTickerAlive() - Method in class ch.aplu.raspi.Display
-
Checks, if the ticker is still displaying.
- isUpHit() - Method in class ch.aplu.raspi.Robot
-
(Only in remote mode) Returns true, if the cursor up key hit since
the last call of this method.
- Led - Class in ch.aplu.raspi
-
Class that represents a LED pair.
- Led(int) - Constructor for class ch.aplu.raspi.Led
-
Creates a Led instance with given ID.
- LED_FRONT - Static variable in class ch.aplu.raspi.Led
-
Constant for id of front LED pair
- LED_LEFT - Static variable in class ch.aplu.raspi.Led
-
Constant for id of left LED pair
- LED_REAR - Static variable in class ch.aplu.raspi.Led
-
Constant for id of rear LED pair
- LED_RIGHT - Static variable in class ch.aplu.raspi.Led
-
Constant for id of right LED pair
- left() - Method in class ch.aplu.raspi.Gear
-
- left(int) - Method in class ch.aplu.raspi.Gear
-
- LEFT - Static variable in class ch.aplu.raspi.Motor
-
- leftArc(double) - Method in class ch.aplu.raspi.Gear
-
- leftArc(double, int) - Method in class ch.aplu.raspi.Gear
-
- LightAdapter - Class in ch.aplu.raspi
-
Class with empty callback methods for the light sensor.
- LightAdapter() - Constructor for class ch.aplu.raspi.LightAdapter
-
- LightListener - Interface in ch.aplu.raspi
-
Interface with declarations of callback methods for the light sensor.
- LightSensor - Class in ch.aplu.raspi
-
Class that represents a light sensor.
- LightSensor(int) - Constructor for class ch.aplu.raspi.LightSensor
-
Creates a light sensor instance with given id.
- LS_FRONT_LEFT - Static variable in class ch.aplu.raspi.LightSensor
-
Constant for id of left front sensor
- LS_FRONT_RIGHT - Static variable in class ch.aplu.raspi.LightSensor
-
Constant for id of right front sensor
- LS_REAR_LEFT - Static variable in class ch.aplu.raspi.LightSensor
-
Constant for id of left rear sensor
- LS_REAR_RIGHT - Static variable in class ch.aplu.raspi.LightSensor
-
Constant for id of right rear sensor
- scrollToLeft() - Method in class ch.aplu.raspi.Display
-
Scrolls the scrollable text one step to the left.
- scrollToRight() - Method in class ch.aplu.raspi.Display
-
Scrolls the scrollable text one step to the right.
- ServoMotor - Class in ch.aplu.raspi
-
Class that represents a motor.
- ServoMotor(int, int, int) - Constructor for class ch.aplu.raspi.ServoMotor
-
Creates a servo motor instance with given id.
- setBeamAreaColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
-
Sets the color of the beam area (two sector border lines and axis).
- setBinary(byte, int) - Method in class ch.aplu.raspi.Display
-
Shows the pattern of the binary value 0..255.
- setColor(int, int, int) - Method in class ch.aplu.raspi.Led
-
Sets the RGB color value of the two LEDs with current ID.
- setColor(Color) - Method in class ch.aplu.raspi.Led
-
Sets the RGB color value of the two LEDs with current ID.
- setColorAll(int, int, int) - Static method in class ch.aplu.raspi.Led
-
Sets the RGB color value of all LEDs.
- setColorAll(Color) - Static method in class ch.aplu.raspi.Led
-
Sets the RGB color value of all LEDs.
- setDecimalPoint(int) - Method in class ch.aplu.raspi.Display
-
Shows one of the 3 decimal points.
- setDigit(char, int) - Method in class ch.aplu.raspi.Display
-
Shows the given character at one of the 4 7-segment digits.
- setLocation(int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Sets the location of the playground (pixel coordinates of the upper left vertex).
- setMeshTriangleColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
-
Sets the color of the triangle mesh lines.
- setPos(int) - Method in class ch.aplu.raspi.ServoMotor
-
Sets the relative position of the servo motor.
- setPosAbs(int) - Method in class ch.aplu.raspi.ServoMotor
-
Sets the absolute position of the servo motor.
- setProximityCircleColor(Color) - Method in class ch.aplu.raspi.UltrasonicSensor
-
Sets the color of the circle with center at sensor location and radius
equals to the current distance value.
- setRobot(Robot) - Static method in class ch.aplu.raspi.RobotInstance
-
- setScrollableText(String, int) - Method in class ch.aplu.raspi.Display
-
Displays a text that can be scrolled.
- setScrollableText(String) - Method in class ch.aplu.raspi.Display
-
Same as setScrollableText(text, pos) with pos = 0 (text starts at leftmost digit).
- setSoundVolume(int) - Method in class ch.aplu.raspi.Robot
-
Sets the sound volume.
- setSpeed(int) - Method in class ch.aplu.raspi.Gear
-
- setSpeed(int) - Method in class ch.aplu.raspi.Motor
-
Sets the speed to the given value (arbitrary units).
- setStartDirection(double) - Static method in class ch.aplu.raspi.RobotContext
-
Sets the Nxt starting direction (zero to EAST).
- setStartPosition(int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Sets the Nxt starting position (x-y-coordinates 0..500, origin at upper left).
- setStatusText(String) - Static method in class ch.aplu.raspi.RobotContext
-
Displays the given text in the status bar (if available).
- setText(String, int[]) - Method in class ch.aplu.raspi.Display
-
Displays the given text right justified by multiplexing using a display thread.
- setText(int, int[]) - Method in class ch.aplu.raspi.Display
-
Same as setText(text, dp) with integer parameter.
- setText(String) - Method in class ch.aplu.raspi.Display
-
Same as setText(text, dp) with dp = [0, 0, 0] (no decimal point).
- setText(int) - Method in class ch.aplu.raspi.Display
-
Same as setText(text) with integer parameter.
- setToStart() - Method in class ch.aplu.raspi.Display
-
Shows the scrollable text at the start position.
- setTriggerLevel(int) - Method in class ch.aplu.raspi.LightSensor
-
Sets a new trigger level.
- setTriggerLevel(double) - Method in class ch.aplu.raspi.UltrasonicSensor
-
Sets a new trigger level.
- show(String) - Static method in class ch.aplu.raspi.ConnectPanel
-
Shows the text.
- showStatusBar(int) - Static method in class ch.aplu.raspi.RobotContext
-
Shows a status bar with given height.
- showVersion() - Static method in class ch.aplu.raspi.ConnectPanel
-
Shows the version title.
- startTimer() - Static method in class ch.aplu.raspi.Tools
-
Starts a timer or restart it by setting its time to zero.
- stop() - Method in class ch.aplu.raspi.Gear
-
- stop() - Method in class ch.aplu.raspi.Motor
-
Stops the motor.
- stopTicker() - Method in class ch.aplu.raspi.Display
-
Stops a running ticker.
- UltrasonicAdapter - Class in ch.aplu.raspi
-
Class with empty callback methods for the ultrasonic sensor.
- UltrasonicAdapter() - Constructor for class ch.aplu.raspi.UltrasonicAdapter
-
- UltrasonicListener - Interface in ch.aplu.raspi
-
Class with declarations of callback methods for the ultrasonic sensor.
- UltrasonicSensor - Class in ch.aplu.raspi
-
Class that represents an ultrasonic sensor.
- UltrasonicSensor() - Constructor for class ch.aplu.raspi.UltrasonicSensor
-
Creates an ultrasonic sensor instance.
- useBackground(String) - Static method in class ch.aplu.raspi.RobotContext
-
Use the give image as background (playground size 501 x 501).
- useObstacle(String, int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Defines the given sprite image to be used as touch obstacle.
- useObstacle(BufferedImage, int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Defines the given buffered image to be used as touch obstacle.
- useObstacle(Obstacle, int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(Obstacle) - Static method in class ch.aplu.raspi.RobotContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(GGBitmap, int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Defines the given GGBitmap to be used as touch obstacle.
- useTarget(String, int[][], int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(String, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(BufferedImage, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Creates a target for the ultrasonic sensor using the given buffered image.
- useTarget(GGBitmap, Point[], int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Creates a target for the ultrasonic sensor using the given GGBitmap.
- useTarget(Target, int, int) - Static method in class ch.aplu.raspi.RobotContext
-
Defines a clone of the given target to be used as target.