Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Y 

A

AccelerometerADXL345 - Class in com.raspoid.additionalcomponents
This implements access to a 3-axis ADXL345 accelerometer.
AccelerometerADXL345() - Constructor for class com.raspoid.additionalcomponents.AccelerometerADXL345
Constructor for a new ADXL345, using the default i2c ADXL345 address.
AccelerometerADXL345(int) - Constructor for class com.raspoid.additionalcomponents.AccelerometerADXL345
Constructor for a new ADXL345, using a specific i2c address.
AccelerometerADXL345Example - Class in com.raspoid.examples.additionalcomponents
Example of use of an Accelerometer ADXL345.
accelToString(double) - Static method in class com.raspoid.additionalcomponents.MPU6050
Returns the String representation of an acceleration value, in the "x.xxxxxxg" format.
AckMessage - Class in com.raspoid.brickpi.uart.message
Acknowledgment message received from the brickpi
AckMessage(byte, Atmel) - Constructor for class com.raspoid.brickpi.uart.message.AckMessage
Creates an AckMessage with its type and origin.
AckValuesMessage - Class in com.raspoid.brickpi.uart.message
Acknowledgment message received from the brickpi containing fresh values retrieved from the motors and sensors.
AckValuesMessage(byte[], Atmel) - Constructor for class com.raspoid.brickpi.uart.message.AckValuesMessage
Creates a new AckValuesMessage giving it a payload and the Atmel chip from which it originates
ActiveBuzzer - Class in com.raspoid.additionalcomponents
The active buzzer has built-in oscillating source, so it will beep as long as it is wired up, but it can only beep with fixed frequency.
ActiveBuzzer(GPIOPin, boolean) - Constructor for class com.raspoid.additionalcomponents.ActiveBuzzer
Constructor for an active buzzer, using a specific GPIOPin.
ActiveBuzzerExample - Class in com.raspoid.examples.additionalcomponents
Example of use of an ActiveBuzzer.
ADC - Interface in com.raspoid.additionalcomponents.adc
Interface representing an ADC (Analog to Digital Converter).
adc - Variable in class com.raspoid.AnalogComponent
The ADC (Analogic to Digital converter) to use with this analog component.
ADCChannel - Interface in com.raspoid.additionalcomponents.adc
Interface representing an input channel on an ADC.
addBehavior(Behavior) - Method in class com.raspoid.behavioral.SimpleArbitrator
Add a behavior to the arbitration process
addBehavior(Behavior, int) - Method in class com.raspoid.behavioral.SimpleArbitrator
Add a behavior with a defined priority to the arbitrator process
addListener(ValueListener) - Method in class com.raspoid.brickpi.Sensor
Add a value listener to the sensor
addListenerWithRange(RangedValueListener) - Method in class com.raspoid.brickpi.Motor
 
addListenerWithRange(RangedValueListener) - Method in class com.raspoid.brickpi.Sensor
Add a value listener with range to the sensor
addRoute(String, Router.Response) - Method in class com.raspoid.network.Router
Adds a new route WITHOUT parameters to the router.
addRouteWithParams(String, int, Router.ResponseWithParams) - Method in class com.raspoid.network.Router
Adds a new route WITH parameters to the router.
addSignal(IRSignal) - Method in class com.raspoid.additionalcomponents.ir.IRProtocol
Add a new infrared signal to the collection of infrared signals composing the protocol.
AI - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
ALL_LED_OFF_H - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.13] Register address.
ALL_LED_OFF_L - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.13] Register address.
ALL_LED_ON_H - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.13] Register address.
ALL_LED_ON_L - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.13] Register address.
ALLCALL - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
ALLCALLADR - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
AnalogComponent - Class in com.raspoid
This class is used as an abstraction for each analog component.
AnalogComponent(ADC) - Constructor for class com.raspoid.AnalogComponent
Constructor for a new analog component, connected to the Raspberry Pi through an ADC.
analogToDigital(ADCChannel) - Method in interface com.raspoid.additionalcomponents.adc.ADC
Read a digital value from the ADC through I2C.
analogToDigital(ADCChannel) - Method in class com.raspoid.additionalcomponents.adc.PCF8591
 
analogToDigital(PCF8591InputChannel) - Method in class com.raspoid.additionalcomponents.adc.PCF8591
Read a digital value from the PCF8591 through i2c.
ANALOGUE_OUTPUT_ENABLE_FLAG - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
Analog output active if bit at position 2 in control byte is 1.
angleToString(double) - Static method in class com.raspoid.additionalcomponents.MPU6050
Returns the String representation of an angle, in the "x.xxxx°" format.
angularSpeedToString(double) - Static method in class com.raspoid.additionalcomponents.MPU6050
Returns the String representation of an angular speed value, in the "x.xxxx°/s" format.
annotate(boolean, boolean, String) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Add some text and/or metadata to the picture.
Arbitrator - Interface in com.raspoid.behavioral
Arbitrator services exposed for an arbitration process
Atmel - Enum in com.raspoid.brickpi
Addresses of the brick pi Atmel chips (AtMega328).
AUTO_INCREMENT_FLAG - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
If the auto-increment flag is set to 1, the channel number is incremented automatically after each A/D conversion.
AutoFlashLED - Class in com.raspoid.additionalcomponents
On the Synfounder 7-Color Auto-flash LED, the LED can automatically flash built-in colors after power on.
AutoFlashLED(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.AutoFlashLED
Constructor for an Auto-Flash LED, using a specific Gpio pin.
AutoFlashLEDExample - Class in com.raspoid.examples.additionalcomponents
Example of use of an AutoFlashLED.
AWBMode - Enum in com.raspoid.additionalcomponents.camera
Automatic White Balance (AWB) modes.

B

B_PARAMETER - Static variable in class com.raspoid.additionalcomponents.ThermistorNTCLE203E3103SB0
B coefficient of the B-parameter equation, for this thermistor, in K.
baromaterEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the barometer is enabled.
BarometerBMP180 - Class in com.raspoid.additionalcomponents
The BMP180 barometer is a digital barometric pressure sensor, with a very high performance, which enables applications in advanced mobile devices, such as smart phones, tablets and sports devices.
BarometerBMP180() - Constructor for class com.raspoid.additionalcomponents.BarometerBMP180
Default constructor for a new barometer BMP180 using the default i2c address of the component, the ultra high resolution mode and a minimum timeout before refreshing the temperature value of 1 second.
BarometerBMP180(int, BarometerBMP180.HardwarePressureAccuracyMode, int) - Constructor for class com.raspoid.additionalcomponents.BarometerBMP180
Constructor for a new barometer BMP180 using a specific i2c address, a specific pressure accuracy mode, and a specific timeout to refresh the temperature value.
BarometerBMP180.HardwarePressureAccuracyMode - Enum in com.raspoid.additionalcomponents
There exists 4 different hardware accuracy modes to deal with the BMP180 pressure measures.
BarometerBMP180Example - Class in com.raspoid.examples.additionalcomponents
Example of use of a Barometer BMP180.
BASE_COMMAND - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Path to the raspistill executable.
BASE_COMMAND - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Path to the raspivid executable.
BaseNote - Enum in com.raspoid.additionalcomponents.notes
Frequencies of to base notes "do re mi fa sol la si", for the octave 0.
BaseRobot - Class in com.raspoid.examples.robots.poc
Basic configuration used to easily develop other behaviours for the Proof of Concept robot presented in the Raspoid.com website.
BaseRobot() - Constructor for class com.raspoid.examples.robots.poc.BaseRobot
Constructor for a BaseRobot.
BAUD_RATE - Static variable in class com.raspoid.brickpi.uart.BrickPiSerialTransmitter
Baud rate used with the serial
BCM_00 - Static variable in class com.raspoid.Pin
 
BCM_01 - Static variable in class com.raspoid.Pin
 
BCM_02 - Static variable in class com.raspoid.Pin
 
BCM_03 - Static variable in class com.raspoid.Pin
 
BCM_04 - Static variable in class com.raspoid.Pin
 
BCM_05 - Static variable in class com.raspoid.Pin
 
BCM_06 - Static variable in class com.raspoid.Pin
 
BCM_07 - Static variable in class com.raspoid.Pin
 
BCM_08 - Static variable in class com.raspoid.Pin
 
BCM_09 - Static variable in class com.raspoid.Pin
 
BCM_10 - Static variable in class com.raspoid.Pin
 
BCM_11 - Static variable in class com.raspoid.Pin
 
BCM_12 - Static variable in class com.raspoid.Pin
 
BCM_13 - Static variable in class com.raspoid.Pin
 
BCM_14 - Static variable in class com.raspoid.Pin
 
BCM_15 - Static variable in class com.raspoid.Pin
 
BCM_16 - Static variable in class com.raspoid.Pin
 
BCM_17 - Static variable in class com.raspoid.Pin
 
BCM_18 - Static variable in class com.raspoid.Pin
 
BCM_19 - Static variable in class com.raspoid.Pin
 
BCM_20 - Static variable in class com.raspoid.Pin
 
BCM_21 - Static variable in class com.raspoid.Pin
 
BCM_22 - Static variable in class com.raspoid.Pin
 
BCM_23 - Static variable in class com.raspoid.Pin
 
BCM_24 - Static variable in class com.raspoid.Pin
 
BCM_25 - Static variable in class com.raspoid.Pin
 
BCM_26 - Static variable in class com.raspoid.Pin
 
BCM_27 - Static variable in class com.raspoid.Pin
 
beep(int) - Method in class com.raspoid.additionalcomponents.ActiveBuzzer
Beep for a duration of millis milliseconds on and the millis milliseconds off.
Behavior - Interface in com.raspoid.behavioral
Behavior services exposed.
Behavior1 - Class in com.raspoid.examples.behavioral
 
Behavior1() - Constructor for class com.raspoid.examples.behavioral.Behavior1
 
Behavior2 - Class in com.raspoid.examples.behavioral
 
Behavior2() - Constructor for class com.raspoid.examples.behavioral.Behavior2
 
Behavior3 - Class in com.raspoid.examples.behavioral
 
Behavior3() - Constructor for class com.raspoid.examples.behavioral.Behavior3
 
BMP180_ADDRESS - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Default i2c BMP180 address.
BMP180_MSB_REG_ADDR_AC1 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC1.
BMP180_MSB_REG_ADDR_AC2 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC2.
BMP180_MSB_REG_ADDR_AC3 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC3.
BMP180_MSB_REG_ADDR_AC4 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC4.
BMP180_MSB_REG_ADDR_AC5 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC5.
BMP180_MSB_REG_ADDR_AC6 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient AC6.
BMP180_MSB_REG_ADDR_B1 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient B1.
BMP180_MSB_REG_ADDR_B2 - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient B2.
BMP180_MSB_REG_ADDR_MB - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient MB.
BMP180_MSB_REG_ADDR_MC - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient MC.
BMP180_MSB_REG_ADDR_MD - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
BMP180 register MSB address of calibration coefficient MD.
BrickPi - Class in com.raspoid.brickpi
BrickPi implementation providing an interface to use motors and sensors
BrickPiConnector - Class in com.raspoid.brickpi
BrickPi connector implementing the message exchanges between the raspberry pi and the BrickPi.
BrickPiConnector() - Constructor for class com.raspoid.brickpi.BrickPiConnector
 
BrickPiSerialTransmitter - Class in com.raspoid.brickpi.uart
Transmitter used to send and receive bytes between the pi and brickpi over the serial port.
BrickPiSerialTransmitter(int) - Constructor for class com.raspoid.brickpi.uart.BrickPiSerialTransmitter
Construct the BrickPiSerialTransmitter with blocking queues for messaging
Button - Class in com.raspoid.additionalcomponents
Implementation of a simple button.
Button(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.Button
Constructor for a new button, using a specific Gpio pin.
Button(GPIOPin, boolean) - Constructor for class com.raspoid.additionalcomponents.Button
Constructor for a new button, using a specific Gpio pin, and specifying the signal corresponding to the button pressed state: high or low.
button0 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "0".
button1 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "1".
button2 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "2".
button3 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "3".
button4 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "4".
button5 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "5".
button6 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "6".
button7 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "7".
button8 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "8".
button9 - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "9".
ButtonExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a button.

C

calculateAbsoluteAltitude() - Method in class com.raspoid.additionalcomponents.BarometerBMP180
With the measured pressure p and the pressure at sea level p0, the altitude in meters can be calculated with the international barometric formula:
calculateTruePressure() - Method in class com.raspoid.additionalcomponents.BarometerBMP180
Implements the algorithm presented in [datasheet - p.15] and returns the compensated pressure in Pa.
calculateTrueTemperature() - Method in class com.raspoid.additionalcomponents.BarometerBMP180
Implements the algorithm pressented in [datasheet - p.15].
CameraControlOptions - Class in com.raspoid.additionalcomponents.camera
This class is used to set general parameters regarding the camera options.
CameraControlOptions() - Constructor for class com.raspoid.additionalcomponents.camera.CameraControlOptions
 
CameraMode - Enum in com.raspoid.additionalcomponents.camera
This enum lists the different camera mode that can be applied to the image.
CameraPi - Class in com.raspoid.additionalcomponents.camera
This class is a wrapper for raspistill and raspivid, the command line tools for capturing still photographs and videos with the camera module from Raspberry Pi.
CameraPiExample - Class in com.raspoid.examples.additionalcomponents.camera
Example of use of the Camera Pi.
cameraStreamEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the camera stream is enabled.
cameraSupportEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the camera support is enabled.
ChangeAddrMessage - Class in com.raspoid.brickpi.uart.message
Message that can be send to change the address of an atmel chip on the brickpi.
ChangeAddrMessage(byte) - Constructor for class com.raspoid.brickpi.uart.message.ChangeAddrMessage
Creates a new change address message
CHANNEL_0 - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
A/D channel 0.
CHANNEL_1 - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
A/D channel 1.
CHANNEL_2 - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
A/D channel 2.
CHANNEL_3 - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
A/D channel 3.
claimsControl() - Method in interface com.raspoid.behavioral.Behavior
Tells whether the behavior claims control of the system
claimsControl() - Method in class com.raspoid.examples.behavioral.Behavior1
 
claimsControl() - Method in class com.raspoid.examples.behavioral.Behavior2
 
claimsControl() - Method in class com.raspoid.examples.behavioral.Behavior3
 
claimsControl() - Method in class com.raspoid.examples.behavioral.MotorBehavior
The motor behavior always claim control
claimsControl() - Method in class com.raspoid.examples.behavioral.SoundBehavior
Claims control when the clap counter is strictly positive
ClapExample - Class in com.raspoid.examples.behavioral
 
ClapExample() - Constructor for class com.raspoid.examples.behavioral.ClapExample
 
clearDisplay() - Method in class com.raspoid.additionalcomponents.LCM1602
Clears the content of the display and move the cursor to the (0,0) position.
close() - Method in class com.raspoid.network.SocketServer
Turns the Raspoid socket server off.
com.raspoid - package com.raspoid
 
com.raspoid.additionalcomponents - package com.raspoid.additionalcomponents
 
com.raspoid.additionalcomponents.adc - package com.raspoid.additionalcomponents.adc
 
com.raspoid.additionalcomponents.camera - package com.raspoid.additionalcomponents.camera
 
com.raspoid.additionalcomponents.camera.opencv - package com.raspoid.additionalcomponents.camera.opencv
 
com.raspoid.additionalcomponents.ir - package com.raspoid.additionalcomponents.ir
 
com.raspoid.additionalcomponents.notes - package com.raspoid.additionalcomponents.notes
 
com.raspoid.additionalcomponents.servomotor - package com.raspoid.additionalcomponents.servomotor
 
com.raspoid.behavioral - package com.raspoid.behavioral
 
com.raspoid.brickpi - package com.raspoid.brickpi
 
com.raspoid.brickpi.nxt - package com.raspoid.brickpi.nxt
 
com.raspoid.brickpi.nxt.sensor - package com.raspoid.brickpi.nxt.sensor
 
com.raspoid.brickpi.uart - package com.raspoid.brickpi.uart
 
com.raspoid.brickpi.uart.message - package com.raspoid.brickpi.uart.message
 
com.raspoid.examples.additionalcomponents - package com.raspoid.examples.additionalcomponents
 
com.raspoid.examples.additionalcomponents.adc - package com.raspoid.examples.additionalcomponents.adc
 
com.raspoid.examples.additionalcomponents.camera - package com.raspoid.examples.additionalcomponents.camera
 
com.raspoid.examples.additionalcomponents.camera.opencv - package com.raspoid.examples.additionalcomponents.camera.opencv
 
com.raspoid.examples.additionalcomponents.ir - package com.raspoid.examples.additionalcomponents.ir
 
com.raspoid.examples.additionalcomponents.servomotor - package com.raspoid.examples.additionalcomponents.servomotor
 
com.raspoid.examples.behavioral - package com.raspoid.examples.behavioral
 
com.raspoid.examples.brickpi - package com.raspoid.examples.brickpi
 
com.raspoid.examples.network - package com.raspoid.examples.network
 
com.raspoid.examples.network.pushbullet - package com.raspoid.examples.network.pushbullet
 
com.raspoid.examples.robots.poc - package com.raspoid.examples.robots.poc
 
com.raspoid.examples.robots.twip - package com.raspoid.examples.robots.twip
 
com.raspoid.exceptions - package com.raspoid.exceptions
 
com.raspoid.network - package com.raspoid.network
 
com.raspoid.network.pushbullet - package com.raspoid.network.pushbullet
 
commitSettings(Runnable) - Static method in class com.raspoid.brickpi.BrickPi
Convenient method to configure motors and sensors in an atomic fashion.
Component - Interface in com.raspoid
Parent interface used to represent an hardware component implemented in the Raspoid framework.
Config - Class in com.raspoid
This class contains some useful information regarding configuration properties needed to deal with some specific aspects of the utilization of the framework.
CONTROL_PRESSURE_REQUEST - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Value sent to the control register to ask a new pressure value in [OUT_MSB_ADDR, OUT_LSB_ADDR, OUT_XLSB_ADDR] registers.
CONTROL_REG_ADDR - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Control register address.
CONTROL_TEMPERATURE_REQUEST - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Value sent to the control register to ask a new temperature value in [OUT_MSB_ADDR, OUT_LSB_ADDR] registers.
convertToMP4() - Method in class com.raspoid.additionalcomponents.camera.Video
Converts the video from the h264 format to the mp4 format and creates a new file with this converted video.

D

debug(Object, Tools.Color) - Static method in class com.raspoid.Tools
Print a new colored debug message to the standard output, if the debugs are enabled.
debug(String, Tools.Color) - Static method in class com.raspoid.Tools
Print a new colored debug message to the standard output, if the debugs are enabled.
debug(Object) - Static method in class com.raspoid.Tools
Print a new debug message to the standard output, if the debugs are enabled.
debug(String) - Static method in class com.raspoid.Tools
Print a new debug message to the standard output, if the debugs are enabled.
decode(Map.Entry<Atmel, byte[]>) - Static method in class com.raspoid.brickpi.uart.PacketFormatter
Decodes a pair value containing an Atmel chip and a byte array into an AckMessage
decodeInt(int, byte[], int) - Static method in class com.raspoid.Tools
Decode an int value from the input byte array.
decodeIRSignal(IRProtocol, IRSignal) - Method in class com.raspoid.additionalcomponents.ir.IRReceiver
Returns the IRSignal from IRProtocol corresponding to the input signal, or null if the input signal has no correspondance in the given protocol.
DEFAULT_ADXL345_ADDRESS - Static variable in class com.raspoid.additionalcomponents.AccelerometerADXL345
Default i2c ADXL345 address.
DEFAULT_BITRATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default bitrate value, in bits/s.
DEFAULT_BRIGHTNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Default brightness value.
DEFAULT_CARRIER_FREQUENCY - Static variable in class com.raspoid.additionalcomponents.ir.IRTransmitter
The carrier frequency of the infrared signal should be 38kHz.
DEFAULT_CONTRAST - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Deault contrast value.
DEFAULT_DELAY - Static variable in class com.raspoid.brickpi.BrickPiConnector
How frequently send valuesMessages to get updated values from the brick pi.
DEFAULT_DLPF_CFG - Static variable in class com.raspoid.additionalcomponents.MPU6050
Default value for the digital low pass filter (DLPF) setting for both gyroscope and accelerometer.
DEFAULT_EV_COMPENSATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Default EV compensation value.
DEFAULT_FRAMERATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default frame rate value, in fps.
DEFAULT_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default image height, in pixels.
DEFAULT_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default image height, in pixels.
DEFAULT_I2C_ADDRESS - Static variable in class com.raspoid.additionalcomponents.PCA9685
Defautl i2c address for the PCA9685 component.
DEFAULT_LCM1602_ADDRESS - Static variable in class com.raspoid.additionalcomponents.LCM1602
Default i2c LCM1602 address.
DEFAULT_MPU6050_ADDRESS - Static variable in class com.raspoid.additionalcomponents.MPU6050
Default address of the MPU6050 device.
DEFAULT_PCF8591_ADDRESS - Static variable in class com.raspoid.additionalcomponents.adc.PCF8591
Default i2c PCF8591 address.
DEFAULT_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default image quality, in percent.
DEFAULT_RPI_PWM_CLOCK_FREQUENCY - Static variable in class com.raspoid.PWMComponent
Default Raspberry Pi PWM clock frequency: 19.2MHz.
DEFAULT_SATURATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Default saturation value.
DEFAULT_SEGMENT_NUMBER - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default segment number.
DEFAULT_SHARPNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Default sharpness value.
DEFAULT_SMPLRT_DIV - Static variable in class com.raspoid.additionalcomponents.MPU6050
Default value for the sample rate divider.
DEFAULT_THUMBNAIL_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default thumbnail quality value, in percent.
DEFAULT_THUMBNAIL_X - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default thumbnail x value, in pixels.
DEFAULT_THUMBNAIL_Y - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default thumbnail y value, in pixels.
DEFAULT_TIMEOUT - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default timeout value, in milliseconds.
DEFAULT_TIMEOUT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default timeout value, in milliseconds.
DEFAULT_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Default image width, in pixels.
DEFAULT_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Default image width, in pixels.
detectAndSurroundFaces(Mat, String) - Static method in class com.raspoid.additionalcomponents.camera.opencv.FaceDetector
Launches a new search to detect faces on a specific image and creates a new image with rectangles surrounding the detected faces.
detectFaces(Mat) - Static method in class com.raspoid.additionalcomponents.camera.opencv.FaceDetector
Executes the OpenCV "haarcascade_frontalface_alt" cascade classifier on a specific image and returns an array of org.opencv.core.Rect.
detectFacesNb(Mat) - Static method in class com.raspoid.additionalcomponents.camera.opencv.FaceDetector
Launches a new search to detect faces on a specific image, and returns the number of faces detected on a specific image.
detectSignal() - Method in class com.raspoid.additionalcomponents.ir.IRReceiver
Polls until an infrared signal is detected and then return this signal.
device - Variable in class com.raspoid.I2CComponent
The abstraction of the i2c device.
Device - Class in com.raspoid.network.pushbullet
Abstraction of a Device entity from the Pushbullet API.
Device(String, String, String) - Constructor for class com.raspoid.network.pushbullet.Device
Constructor for a new Device entity with a specific nickname, manufacturer and model.
digitalInput - Variable in class com.raspoid.additionalcomponents.Button
 
digitalInput - Variable in class com.raspoid.additionalcomponents.IRObstacleAvoidanceModule
 
digitalInput - Variable in class com.raspoid.additionalcomponents.TrackingSensor
 
digitalOutput - Variable in class com.raspoid.additionalcomponents.LED
 
digitalToAnalog(int) - Method in class com.raspoid.additionalcomponents.adc.PCF8591
Send a digital value to the PCF8591 through i2c.
disableBarometer() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the barometer.
disableCameraStream() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the camera stream.
disableCameraSupport() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the camera support.
disableColors() - Static method in class com.raspoid.Tools
Disable the use of colors to print log/debug messages.
disableDebugs() - Static method in class com.raspoid.Tools
Disable printing debug messages to the standard output.
disableDisplay() - Method in class com.raspoid.additionalcomponents.LCM1602
Disable the display.
disableIRReceiver() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the infrared receiver.
disableLcdDisplay() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the LCD display.
disableLogs() - Static method in class com.raspoid.Tools
Disable printing log messages to the standard output.
disableNXT() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the NXT components.
disablePassiveBuzzer() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the passive buzzer.
disablePCF8591Nb1() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the first PCF8591.
disablePhotoresistor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the photoresistor.
disablePreview() - Method in class com.raspoid.additionalcomponents.camera.PreviewConfig
Disables the preview window completely.
disableSoundSensor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the sound sensor.
disableThermistor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Disable the thermistor.
disableThumbnail() - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Disable the thumbnail.

E

enableBarometer() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the barometer.
enableCameraStream() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the camera stream.
enableCameraSupport() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the camera support.
enableColors() - Static method in class com.raspoid.Tools
Enable the use of colors to print log/debug messages.
enableDebugs() - Static method in class com.raspoid.Tools
Enable printing debug messages to the standard output.
enableIRReceiver() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the infrared receiver.
enableKeypressMode(boolean) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Enable/disable the keypress mode.
enableKeypressMode(boolean) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Toggle between record and pause on ENTER key pressed.
enableLcdDisplay() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the LCD display.
enableLogs() - Static method in class com.raspoid.Tools
Enable printing log messages to the standard output.
enableNXT() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable NXT components.
enablePassiveBuzzer() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the passive buzzer.
enablePCF8591Nb1() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable de the first PCF8591.
enablePhotoresistor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the photoresistor.
enablePpsSpsHeaders() - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Forces the stream to include PPS and SPS headers on every I-frame.
enablePreview(int, int, int, int) - Method in class com.raspoid.additionalcomponents.camera.PreviewConfig
Enable the preview window and define the size and location on the screen that the preview window will be placed.
enablePreviewFullscreen() - Method in class com.raspoid.additionalcomponents.camera.PreviewConfig
Enable fullscreen preview mode.
enableRawBayerData(boolean) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Enable/disable the insertion of raw Bayer data into the jpeg metadata.
enableSoundSensor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the sound sensor.
enableThermistor() - Method in class com.raspoid.examples.robots.poc.POCConfig
Enable the thermistor.
ENC_LAP_VALUE - Static variable in class com.raspoid.brickpi.Motor
Contains the encoder value for turning one lap
encode(Atmel, Message) - Static method in class com.raspoid.brickpi.uart.PacketFormatter
Encodes a message into bytes provided with the Atmel chip and the message
encodersInitialized() - Method in class com.raspoid.brickpi.Motor
Returns true if the encoder value has been initialized.
eqButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "EQ".
EStopMessage - Class in com.raspoid.brickpi.uart.message
Message that can be sent to the brickpi to ask for the motors to be floated immediately
EStopMessage() - Constructor for class com.raspoid.brickpi.uart.message.EStopMessage
 
Example1 - Class in com.raspoid.examples.behavioral
 
Example1() - Constructor for class com.raspoid.examples.behavioral.Example1
 
executeCommand(String) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Executes the specified string command in a separate process.
ExposureMode - Enum in com.raspoid.additionalcomponents.camera
Exposure modes.
EXTCLK - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
extractBitSet(int, byte[], int) - Static method in class com.raspoid.Tools
Extracts a BitSet from the incoming byte array.

F

FaceDetector - Class in com.raspoid.additionalcomponents.camera.opencv
This class is used to illustrate the utilisation of OpenCV to detect faces on a picture.
FaceDetectorExample - Class in com.raspoid.examples.additionalcomponents.camera.opencv
Example of use of the face detector algorithm using OpenCV.
FileUploaded - Class in com.raspoid.network.pushbullet
Abstraction for the response wo the upload of a file on the Pushbullet services.
FileUploaded() - Constructor for class com.raspoid.network.pushbullet.FileUploaded
 
flush() - Method in class com.raspoid.brickpi.BrickPiConnector
Immediately send the values message to update the BrickPi with the values of the local state

G

gainControl() - Method in interface com.raspoid.behavioral.Behavior
Entry point of the behavior when it gains control of the system.
gainControl() - Method in class com.raspoid.examples.behavioral.Behavior1
 
gainControl() - Method in class com.raspoid.examples.behavioral.Behavior2
 
gainControl() - Method in class com.raspoid.examples.behavioral.Behavior3
 
gainControl() - Method in class com.raspoid.examples.behavioral.MotorBehavior
Effectively apply the power to the motor
gainControl() - Method in class com.raspoid.examples.behavioral.SoundBehavior
Run the generic code when clap is detected
GeneralExample - Class in com.raspoid.examples.network
This class is used to illustrate the utilization of the different servers taking place in the Raspoid framework.
getAccelAccelerations() - Method in class com.raspoid.additionalcomponents.MPU6050
Get the last acceleration values, in g, retrieved from the accelerometer, for the x, y and z axis.
getAccelAngles() - Method in class com.raspoid.additionalcomponents.MPU6050
Get the last angle values, in °, retrieved from the accelerometer, for the x, y and z axis.
getActive() - Method in class com.raspoid.network.pushbullet.Push
Get the status of the push.
getADC() - Method in class com.raspoid.AnalogComponent
Get the ADC entity used to deal with this analog component.
getAddress() - Method in enum com.raspoid.brickpi.Atmel
Get the Atmel chip address.
getAppVersion() - Method in class com.raspoid.network.pushbullet.Device
Get the version of the Pushbullet application installed on the device.
getAvailablePort() - Static method in class com.raspoid.network.NetworkUtilities
Searches a port number available to launch a new server, or -1 if no port is available.
getAwakeAppGuids() - Method in class com.raspoid.network.pushbullet.Push
Get the list of guids (client side identifiers, not the guid field on pushes) for awake apps at the time the push was sent.
getBCMNb() - Method in class com.raspoid.Pin
Returns the BCM number corresponding to this pin.
getBinaryString(byte[]) - Static method in class com.raspoid.Tools
Returns the String representation of the byte array given in input.
getBody() - Method in class com.raspoid.network.pushbullet.Push
Get the body of the push.
getBusNumber() - Method in enum com.raspoid.RaspberryPiModel
Get the bus number used by this model of Raspberry Pi.
getBytesCount() - Method in class com.raspoid.brickpi.uart.Packet
Get the number of bytes of the packet
getChannelIden() - Method in class com.raspoid.network.pushbullet.Push
If the push was created by a channel, get the iden of that channel.
getChecksum() - Method in class com.raspoid.brickpi.uart.Packet
Get the computed checksum of the packet
getClientIden() - Method in class com.raspoid.network.pushbullet.Push
If the push was created by a client, get the iden of the client sending the push.
getCommand() - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Get the complete command to execute to take a picture with the requested parameters.
getCommand() - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Get the complee command to execute to take a new video with the requested parameters.
getConfig() - Method in class com.raspoid.additionalcomponents.camera.Picture
Get the PictureConfig used to take this Picture.
getConfig() - Method in class com.raspoid.additionalcomponents.camera.Video
Get the VideoConfig used to take this video.
getCounterValue() - Method in class com.raspoid.additionalcomponents.RotaryEncoder
Get the current value of the counter corresponding to the position of the shaft.
getCreated() - Method in class com.raspoid.network.pushbullet.Device
Get the creation timestamp, in floating point seconds.
getCreated() - Method in class com.raspoid.network.pushbullet.Push
Get the creation timestamp, in floating point seconds.
getDestAddress() - Method in class com.raspoid.brickpi.uart.Packet
Get the destination address
getDevice() - Method in class com.raspoid.I2CComponent
Get the abstraction of the i2c device.
getDevices() - Method in class com.raspoid.network.pushbullet.ListOfDevices
Get the list of devices.
getDiameter() - Method in class com.raspoid.brickpi.Motor
Get the diameter (cm) configured for a wheel attached on the motor.
getDirection() - Method in class com.raspoid.network.pushbullet.Push
Get the direction the push was sent in, can be "self", "outgoing", or "incoming".
getDismissed() - Method in class com.raspoid.network.pushbullet.Push
Returns true if the push has been dismissed by any device or if any device was active when the push was received.
getDistance() - Method in class com.raspoid.additionalcomponents.UltrasonicHCSR04
Get the calculated distance from the ultrasound sensor.
getDistance() - Method in class com.raspoid.brickpi.nxt.sensor.UltraSonicSensor
Tells the last distance measured in centimeter by the sensor
getEncoderTurn() - Method in class com.raspoid.additionalcomponents.RotaryEncoder
Updates the value of the counter used for this rotary encoder.
getEncoderValue() - Method in class com.raspoid.brickpi.Motor
Returns a calculated value for the encoder of the motor.
getFile() - Method in class com.raspoid.additionalcomponents.camera.Picture
Get the abstract representation of the picture file.
getFile() - Method in class com.raspoid.additionalcomponents.camera.Video
Get the abstract representation of the video file.
getFileName() - Method in class com.raspoid.network.pushbullet.FileUploaded
Get the file name that will be used for the file.
getFileName() - Method in class com.raspoid.network.pushbullet.Push
Get the file name, used for type="file" pushes.
getFilePath() - Method in class com.raspoid.additionalcomponents.camera.Picture
Get the complete file path of the picture file on the system.
getFilePath() - Method in class com.raspoid.additionalcomponents.camera.Video
Get the complete file path of the video file on the system.
getFileType() - Method in class com.raspoid.network.pushbullet.FileUploaded
Get the file type that will be used for the file.
getFileType() - Method in class com.raspoid.network.pushbullet.Push
Get the file mime type, used for type="file" pushes.
getFileUrl() - Method in class com.raspoid.network.pushbullet.FileUploaded
Get the URL where the file will be available after it is uploaded.
getFileUrl() - Method in class com.raspoid.network.pushbullet.Push
Get the file download url, used for type="file" pushes.
getFilteredAngles() - Method in class com.raspoid.additionalcomponents.MPU6050
Last angle value, in °, calculated from the accelerometer and the gyroscope, for the x, y and z axis.
getFingerprint() - Method in class com.raspoid.network.pushbullet.Device
Get the String fingerprint for the device, used by apps to avoid duplicate devices.
getFramerate() - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Returns the frame rate used for the video.
getFrequency() - Method in enum com.raspoid.additionalcomponents.notes.BaseNote
Get the frequency of this base note (octave 0), in Hz.
getGAcceleration() - Method in class com.raspoid.additionalcomponents.AccelerometerADXL345
Get the current acceleration, read from the ADXL345.
getGeneratedNickname() - Method in class com.raspoid.network.pushbullet.Device
Get true if the nickname was automatically generated from the manufacturer and model fields (only used for some android phones).
getGpioPinDigitalInput() - Method in class com.raspoid.additionalcomponents.Button
Get the pi4j GpioPinDigitalInput corresponding to this button.
getGpioPinDigitalInput() - Method in class com.raspoid.additionalcomponents.IRObstacleAvoidanceModule
Get the pi4j GpioPinDigitalInput corresponding to this IR obstacle avoidance module.
getGpioPinDigitalInput() - Method in class com.raspoid.additionalcomponents.TrackingSensor
Get the pi4j GpioPinDigitalInput used for this tracking sensor.
getGpioPinDigitalOutput() - Method in class com.raspoid.brickpi.Led
Retrieve pi4j Gpio digital output pin interface corresponding to the LED.
getGuid() - Method in class com.raspoid.network.pushbullet.Push
Get the Guid of the push.
getGyroAngles() - Method in class com.raspoid.additionalcomponents.MPU6050
Get the last angles values, in °, retrieved from the gyroscope, for the x, y and z axis.
getGyroAngularSpeeds() - Method in class com.raspoid.additionalcomponents.MPU6050
Get the last angular speed values, in °/sec, retrieved from the gyroscope, for the x, y and z axis.
getGyroAngularSpeedsOffsets() - Method in class com.raspoid.additionalcomponents.MPU6050
Get the calculated offsets for the angular speeds from the gyroscope, for the x, y and z axis.
getHasSms() - Method in class com.raspoid.network.pushbullet.Device
Get true if the devices has SMS capability, currently only true for type="android" devices.
getIcon() - Method in class com.raspoid.network.pushbullet.Device
Get the icon to use for this device, can be an arbitrary string.
getIden() - Method in class com.raspoid.network.pushbullet.Device
Get the unique identifier for this device.
getIden() - Method in class com.raspoid.network.pushbullet.Push
Get the unique identifier for this push.
getImageHeight() - Method in class com.raspoid.network.pushbullet.Push
Get the height of image in pixels, only present if image_url is set.
getImageUrl() - Method in class com.raspoid.network.pushbullet.Push
Get the URL to an image to use for this push, present on type="file" pushes if file_type matches image/*.
getImageWidth() - Method in class com.raspoid.network.pushbullet.Push
Get the width of image in pixels, only present if image_url is set.
getIndex() - Method in enum com.raspoid.brickpi.Atmel
Get the starting index for the sensors and motors contained in a chip.
getInitialValue() - Method in class com.raspoid.brickpi.nxt.RangedValueListener
Get the the inital value
getIntensity() - Method in class com.raspoid.additionalcomponents.Photoresistor
Get the light intensity read from the photoresistor.
getIntensity() - Method in class com.raspoid.additionalcomponents.SoundSensor
Get the sound intensity read from the sound sensor.
getIntensity() - Method in class com.raspoid.brickpi.nxt.sensor.LightSensor
Returns the intensity measured by the light sensor
getIpAddresses() - Static method in class com.raspoid.network.NetworkUtilities
Returns a list containing all ip addresses (IPv4 and IPv6) of current host, without any link local or loopback addresses.
getIpAddresses() - Method in class com.raspoid.network.SocketServer
Get the list of ip addresses linked to this server.
getKd() - Method in class com.raspoid.brickpi.Motor
Returns the derivative gain used for this motor's PID
getKeyFingerprint() - Method in class com.raspoid.network.pushbullet.Device
Get the fingerprint for the device's end-to-end encryption key, used to determine which devices the current device (based on its own key fingerprint) will be able to talk to.
getKi() - Method in class com.raspoid.brickpi.Motor
Returns the integral gain used for this motor's PID
getKp() - Method in class com.raspoid.brickpi.Motor
Returns the proportional gain used for this motor's PID
getLastModificationTimestamp() - Method in class com.raspoid.network.pushbullet.Push
Get the last modification timestamp, in floating point seconds.
getListener() - Method in class com.raspoid.brickpi.nxt.RangedValueListener
Get the listener triggered
getListOfDevices() - Method in class com.raspoid.network.pushbullet.Pushbullet
Retrieve the list of Pushbullet devices linked to the specified access token account.
getListOfPushes(double, int) - Method in class com.raspoid.network.pushbullet.Pushbullet
Retrieve the list of pushes received after a specific timestamp, with a specific limit in the number of retrieved pushes.
getListOfPushes(int) - Method in class com.raspoid.network.pushbullet.Pushbullet
Retrieve the list of pushes without any limit in time, with a specific limit in the number of retrieved pushes.
getManufacturer() - Method in class com.raspoid.network.pushbullet.Device
Get the manufacturer of the device.
getMessage() - Method in class com.raspoid.brickpi.uart.Packet
Get the message of the packet
getModel() - Method in class com.raspoid.network.pushbullet.Device
Get the model of the device.
getModified() - Method in class com.raspoid.network.pushbullet.Device
Get the last modification timestamp, in floating point seconds.
getModified() - Method in class com.raspoid.network.pushbullet.Push
Get the last modification timestamp, in floating point seconds.
getMotorEncoderValue(int) - Method in class com.raspoid.brickpi.uart.message.AckValuesMessage
Get the encoder value of the specified motor
getMotors() - Static method in class com.raspoid.brickpi.BrickPi
Convenient getter for all the motors
getName() - Method in class com.raspoid.additionalcomponents.ir.IRSignal
Get the name corresponding to this signal.
getName() - Method in class com.raspoid.Pin
Get the name of this pin.
getNbPulses() - Method in class com.raspoid.additionalcomponents.ir.IRSignal
Get the number of pulses composing the signal.
getNewValue() - Method in class com.raspoid.brickpi.nxt.ValueChangeEvent
Get the new value
getNickname() - Method in class com.raspoid.network.pushbullet.Device
Get the nickname corresponding to this device.
getNoteFrequency(BaseNote, int) - Static method in class com.raspoid.additionalcomponents.notes.Note
Get the frequency corresponding to a note, from the base note and for a specific octave.
getOldValue() - Method in class com.raspoid.brickpi.nxt.ValueChangeEvent
Get the old value
getOptions() - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Get the options to add to command line requests, regarding camera control options.
getOrigin() - Method in class com.raspoid.brickpi.uart.message.AckMessage
Get the atmel chip the ack message originated from
getOutputFilenameWithExtension() - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Returns the output filename, with the extension.
getOutputFilenameWithExtension() - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Return the output filename, with the ".h264" extension (only if the output filename isn't "-", which corresponds to the use of the standard output (no file created on the system)).
getOutputFilenameWithoutExtension() - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Return the output filename, with the extension.
getPayload() - Method in class com.raspoid.brickpi.uart.message.AckMessage
 
getPayload() - Method in class com.raspoid.brickpi.uart.message.AckValuesMessage
 
getPayload() - Method in class com.raspoid.brickpi.uart.message.ChangeAddrMessage
 
getPayload() - Method in class com.raspoid.brickpi.uart.message.EStopMessage
 
getPayload() - Method in interface com.raspoid.brickpi.uart.message.Message
Get the message payload excluding the type
getPayload() - Method in class com.raspoid.brickpi.uart.message.SensorTypeMessage
 
getPayload() - Method in class com.raspoid.brickpi.uart.message.TimeoutSettingsMessage
 
getPayload() - Method in class com.raspoid.brickpi.uart.message.ValuesMessage
 
getPayloadBytesCount() - Method in interface com.raspoid.brickpi.uart.message.Message
Get the count of message payload bytes
getPhysicalNb() - Method in class com.raspoid.Pin
Returns the physical number corresponding to this pin.
getPin() - Method in enum com.raspoid.GPIOPin
Get the Raspoid pin abstraction for this GPIOPin.
getPin() - Method in enum com.raspoid.I2CPin
Get the Raspoid pin abstraction for this I2CPin.
getPin() - Method in enum com.raspoid.PWMPin
Get the Raspoid pin abstraction for this PWMPin.
getPin() - Method in enum com.raspoid.UARTPin
Get the Raspoid pin abstraction for this UARTPin.
getPitchAngle() - Method in class com.raspoid.additionalcomponents.AccelerometerADXL345
Get the pitch angle.
getPort() - Method in class com.raspoid.network.SocketServer
Get the port used by the server.
getPosition() - Method in class com.raspoid.additionalcomponents.Joystick
Returns the main current position of the joystick among (by priority):
getPositionAngle() - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Computes the current position of the rotor, in °.
getPower() - Method in class com.raspoid.brickpi.Motor
Returns the value of the power applied to the motor.
getPower() - Method in class com.raspoid.examples.behavioral.MotorBehavior
Gets the power applied to the motor
getPreviewSettings() - Method in class com.raspoid.additionalcomponents.camera.PreviewConfig
Get the preview settings part to use with the complete command line.
getPriority() - Method in interface com.raspoid.behavioral.Behavior
Inform the system about the behavior's priority
getPriority() - Method in class com.raspoid.examples.behavioral.Behavior1
 
getPriority() - Method in class com.raspoid.examples.behavioral.Behavior2
 
getPriority() - Method in class com.raspoid.examples.behavioral.Behavior3
 
getPriority() - Method in class com.raspoid.examples.behavioral.MotorBehavior
Priority is low (1)
getPriority() - Method in class com.raspoid.examples.behavioral.SoundBehavior
Priority is high (2)
getPulses() - Method in class com.raspoid.additionalcomponents.ir.IRSignal
Get the complete array of OFF/ON periods.
getPushes() - Method in class com.raspoid.network.pushbullet.ListOfPushes
Get the list of pushes.
getPushToken() - Method in class com.raspoid.network.pushbullet.Device
Get the platform-specific push token.
getRange() - Method in class com.raspoid.brickpi.nxt.RangedValueListener
Get the range
getRaspberryPiModel() - Static method in class com.raspoid.Config
This method allows you to retrieve the selected Raspberry Pi model executing the program.
getRawData() - Method in class com.raspoid.additionalcomponents.Joystick
Returns an array containing raw digital outputs respectively for variations on the X axis variations on the Y axis variations on the push button
getReceiverEmail() - Method in class com.raspoid.network.pushbullet.Push
Get the email address of the receiver of the push.
getReceiverEmailNormalized() - Method in class com.raspoid.network.pushbullet.Push
Get the normalized email address of the receiver of the push.
getReceiverIden() - Method in class com.raspoid.network.pushbullet.Push
Get the iden of the receiver of the push.
getResponse(String, String[]) - Method in class com.raspoid.network.Router
Checks the validity of the request, and then evaluate the response to send back to the client.
getResponse() - Method in interface com.raspoid.network.Router.Response
Returns the String representation of a Response to a request without parameters.
getResponse(String[]) - Method in interface com.raspoid.network.Router.ResponseWithParams
Returns the String representation of a response to a request with parameters.
getRoutesWithoutParams() - Method in class com.raspoid.network.Router
Get the list of requests without parameters contained in this router.
getRoutesWithParams() - Method in class com.raspoid.network.Router
Get the list of requests with parameters contained in this router.
getSampleRate() - Method in class com.raspoid.additionalcomponents.MPU6050
Returns the Sample Rate of the MPU6050.
getScale() - Method in class com.raspoid.additionalcomponents.AccelerometerADXL345
Get the scale that should be used when the device is in full resolution mode.
getSenderEmail() - Method in class com.raspoid.network.pushbullet.Push
Get the email address of the sender of the push.
getSenderEmailNormalized() - Method in class com.raspoid.network.pushbullet.Push
Get the normalized email address of the sender of the push.
getSenderIden() - Method in class com.raspoid.network.pushbullet.Push
Get the user iden of the sender of the push.
getSenderName() - Method in class com.raspoid.network.pushbullet.Push
Get the name of the sender of the push.
getSensors() - Static method in class com.raspoid.brickpi.BrickPi
Convenient getter for all the sensors
getSensorValue(int) - Method in class com.raspoid.brickpi.uart.message.AckValuesMessage
Get the value of the specified sensor
getSignals() - Method in class com.raspoid.additionalcomponents.ir.IRProtocol
Get the collection of signals composing the infrared protocol.
getSoundPressure() - Method in class com.raspoid.brickpi.nxt.sensor.SoundSensor
Tells the sound pressure measure in percent by the sensor.
getSourceDeviceIden() - Method in class com.raspoid.network.pushbullet.Push
Get the device iden of the sending device.
getSubtype() - Method in class com.raspoid.network.pushbullet.RealtimeEventStreamMessage
Get the subtype of the realtime event stream message.
getTargetDeviceIden() - Method in class com.raspoid.network.pushbullet.Push
Get the device iden of the target device, if sending to a signe device.
getTemperature() - Method in class com.raspoid.additionalcomponents.Thermistor
Return the measured temperature, in °C.
getTitle() - Method in class com.raspoid.network.pushbullet.Push
Get the title of the push.
getTotalBytesCount() - Method in interface com.raspoid.brickpi.uart.message.Message
Get the total count of message payload bytes plus type byte
getTotalBytesSum() - Method in interface com.raspoid.brickpi.uart.message.Message
Get the summation of the bytes values of the payload
getType() - Method in class com.raspoid.AnalogComponent
 
getType() - Method in class com.raspoid.brickpi.nxt.sensor.LightOffSensor
 
getType() - Method in class com.raspoid.brickpi.nxt.sensor.LightOnSensor
 
getType() - Method in class com.raspoid.brickpi.nxt.sensor.RawSensor
 
getType() - Method in class com.raspoid.brickpi.nxt.sensor.TouchSensor
 
getType() - Method in class com.raspoid.brickpi.nxt.sensor.UltraSonicSensor
 
getType() - Method in class com.raspoid.brickpi.Sensor
Get the sensor type
getType() - Method in class com.raspoid.brickpi.uart.message.AckMessage
 
getType() - Method in class com.raspoid.brickpi.uart.message.ChangeAddrMessage
 
getType() - Method in class com.raspoid.brickpi.uart.message.EStopMessage
 
getType() - Method in interface com.raspoid.brickpi.uart.message.Message
Get the type value of the message
getType() - Method in class com.raspoid.brickpi.uart.message.SensorTypeMessage
 
getType() - Method in class com.raspoid.brickpi.uart.message.TimeoutSettingsMessage
 
getType() - Method in class com.raspoid.brickpi.uart.message.ValuesMessage
 
getType() - Method in interface com.raspoid.Component
Get the String representation of the type of the component.
getType() - Method in class com.raspoid.GPIOComponent
 
getType() - Method in class com.raspoid.I2CComponent
 
getType() - Method in class com.raspoid.network.pushbullet.Push
Get the type of the push.
getType() - Method in class com.raspoid.network.pushbullet.RealtimeEventStreamMessage
Get the type of the realtime event stream message.
getType() - Method in class com.raspoid.PWMComponent
 
getUploadUrl() - Method in class com.raspoid.network.pushbullet.FileUploaded
Get the URL to POST the file to.
getUrl() - Method in class com.raspoid.network.pushbullet.Push
Get the URL field, used for type="link" pushes.
getValue() - Method in interface com.raspoid.additionalcomponents.adc.ADCChannel
Get the address of the register corresponding to the input channel on the ADC.
getValue() - Method in enum com.raspoid.additionalcomponents.adc.PCF8591InputChannel
Get the address corresponding to the input channel.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.AWBMode
Get the value corresponding to this AWBMode.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.CameraMode
Get the value corresponding to this CameraMode.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.ExposureMode
Get the value corresponding to this ExposureMode.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.H264Profile
Get the value corresponding to this H264Profile.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.ImageEffect
Get the value corresponding to this ImageEffect.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.InitialState
Get the value corresponding to this InitialState.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.PictureEncoding
Get the value corresponding to this PictureEncoding.
getValue() - Method in enum com.raspoid.additionalcomponents.camera.RotationDegree
Get the value corresponding to this RotationDegree.
getValue() - Method in enum com.raspoid.additionalcomponents.PCA9685.PCA9685Channel
Get the value corresponding to the channel number, in the 0..15 range.
getValue() - Method in class com.raspoid.brickpi.Sensor
Get the value of the sensor
getWiringPiNb() - Method in class com.raspoid.Pin
Returns the WiringPi number corresponding to this pin.
getWiringPiPin() - Method in enum com.raspoid.GPIOPin
Get the WiringPi abstraction object corresponding to this Raspoid GPIOPin.
getXYPosition() - Method in class com.raspoid.additionalcomponents.Joystick
Returns the (x, y) position of the joystick, or (-1,-1) if button pressed.
gpio - Static variable in class com.raspoid.GPIOComponent
The default instance of GpioController.
GPIOComponent - Class in com.raspoid
This class is used as an abstraction for each component using classical Gpio pins from the Raspberry Pi.
GPIOComponent() - Constructor for class com.raspoid.GPIOComponent
Protected constructor to hide the implicit public one.
GPIOPin - Enum in com.raspoid
This enum is used to restrict access to classical programmable Gpio pins.

H

H264Profile - Enum in com.raspoid.additionalcomponents.camera
H264 profile to use for encoding.

I

I2CComponent - Class in com.raspoid
This class is used as an abstraction for each i2c component of the framework.
I2CComponent(int) - Constructor for class com.raspoid.I2CComponent
Constructor for a new i2c component, connected on the bus at the specific i2cAddress.
I2CPin - Enum in com.raspoid
This enum is used to restrict access to the correct i2c pins.
ImageEffect - Enum in com.raspoid.additionalcomponents.camera
Image effects that can be applied to the Camera Pi images.
immediateClaim() - Method in interface com.raspoid.behavioral.Arbitrator
Immediately trigger an arbitration between the behaviors
immediateClaim() - Method in class com.raspoid.behavioral.SimpleArbitrator
 
InitialState - Enum in com.raspoid.additionalcomponents.camera
Available initial states on camera startup with raspivid.
INVRT - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.16] Mode register 2, MODE2.
IRObstacleAvoidanceModule - Class in com.raspoid.additionalcomponents
An IR obstacle avoidance module uses infrared reflection principle to detect obstacles.
IRObstacleAvoidanceModule(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.IRObstacleAvoidanceModule
Constructor for a new infrared obstacle avoidance module using a specific Gpio pin.
IRObstacleAvoidanceModuleExample - Class in com.raspoid.examples.additionalcomponents
Example of use of an IR Obstacle Avoidance module.
IRProtocol - Class in com.raspoid.additionalcomponents.ir
An infrared protocol is a collection a infrared signals.
IRProtocol() - Constructor for class com.raspoid.additionalcomponents.ir.IRProtocol
Constructor for a new empty infrared protocol.
IRProtocolSunfounderMediaRemote - Class in com.raspoid.additionalcomponents.ir
Implementation of an IRProtocol corresponding to the Sunfounder Media Remote.
IRProtocolSunfounderMediaRemote() - Constructor for class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Constructor for the instantiation of a new Sunfounder Media Remote with all signals recorded.
IRReceiver - Class in com.raspoid.additionalcomponents.ir
IR detectors are little microchips with a photocell that are tuned to listen to infrared light.
IRReceiver(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.ir.IRReceiver
Constructor for a new infrared receiver using a specific GPIO pin.
irReceiverEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the infrared receiver is enabled.
IRReceiverOS1838B - Class in com.raspoid.additionalcomponents.ir
Implementation of a specific infrared receiver: OS1838B.
IRReceiverOS1838B(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.ir.IRReceiverOS1838B
Constructor for an infrared receiver OS-1838B using a specific GPIO pin.
IRReceiverOS1838BExample - Class in com.raspoid.examples.additionalcomponents.ir
Example of use of an IRReceiver OS1838B.
IRSignal - Class in com.raspoid.additionalcomponents.ir
An infrared signal is a collection of pulses.
IRSignal(int[]) - Constructor for class com.raspoid.additionalcomponents.ir.IRSignal
Constructor for a new signal, using the specific int[] signal data input corresponding to the raw composition of the signal.
IRSignal(String, int[]) - Constructor for class com.raspoid.additionalcomponents.ir.IRSignal
Constructor for a new signal, using the specific int[] signal data input corresponding to the raw composition of the signal, and using a specific name.
IRSignalDetector - Class in com.raspoid.examples.additionalcomponents.ir
Example of use of an infrared detector.
IRTransmitter - Class in com.raspoid.additionalcomponents.ir
This class is an abstraction for an infrared transmitter.
IRTransmitter(PWMPin) - Constructor for class com.raspoid.additionalcomponents.ir.IRTransmitter
Constructor for a default infrared transmitter connected to a specific PWM pin, using the default carrier frequency (IRTransmitter.DEFAULT_CARRIER_FREQUENCY).
IRTransmitter(PWMPin, int) - Constructor for class com.raspoid.additionalcomponents.ir.IRTransmitter
Constructor for an infrared transmitter connected to a specific the PWM pin, and using the specified carrierFrequency.
IRTransmitterExample - Class in com.raspoid.examples.additionalcomponents.ir
Example of use of an IR Transmitter.
isActive() - Method in class com.raspoid.network.pushbullet.Device
Get the status of the device.
isAValidPortNumber(int) - Static method in class com.raspoid.network.NetworkUtilities
Checks if a port number is a valid port number.
isIncoming() - Method in class com.raspoid.network.pushbullet.Push
Returns true if the push is incoming.
isOff() - Method in class com.raspoid.brickpi.Led
Check if the LED is off.
isOn() - Method in class com.raspoid.brickpi.Led
Check if the LED is on.
isOutgoing() - Method in class com.raspoid.network.pushbullet.Push
Returns true if the push is outgoing.
isPressed() - Method in class com.raspoid.additionalcomponents.Button
Checks if the button is currently pressed.
isPressed() - Method in class com.raspoid.brickpi.nxt.sensor.TouchSensor
Tells if the button is pressed.

J

Joystick - Class in com.raspoid.additionalcomponents
Implementation of a Joystick PS2 module.
Joystick(ADC, ADCChannel, ADCChannel, ADCChannel) - Constructor for class com.raspoid.additionalcomponents.Joystick
Constructor for a joystick using a specifc ADC instance, and specific channels on this ADC for the x, y and bt variations of the joystick.
JoystickExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Joystick.
JoystickRemote - Class in com.raspoid.examples.robots.poc
A JoystickRemote is used to remotely control our proof of concept robot (RobotPOC).
JoystickRemote(String, String) - Constructor for class com.raspoid.examples.robots.poc.JoystickRemote
Constructor for a new Joystick remote, used to control our RobotPOC.

K

K_TO_C - Static variable in class com.raspoid.additionalcomponents.Thermistor
Temperature in °C is temperature in K - K_TO_C.

L

lcdDisplayEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the LCD display is enabled.
LCM1602 - Class in com.raspoid.additionalcomponents
An LCM is mainly an LCD1602 display that can be used with the i2c protocol.
LCM1602() - Constructor for class com.raspoid.additionalcomponents.LCM1602
Default constructor for an LCM1602 using the default LCM i2c address.
LCM1602(int) - Constructor for class com.raspoid.additionalcomponents.LCM1602
Constructor for an LCM1602 using a specific i2cAddress.
LCM1602Example - Class in com.raspoid.examples.additionalcomponents
Example of use of an LCM1602 (LCD display).
LED - Class in com.raspoid.additionalcomponents
Abstraction to easily integrate a LED in your project.
LED(GPIOPin, String) - Constructor for class com.raspoid.additionalcomponents.LED
Constructor for a LED using a specific Gpio pin, and a specific name.
LED(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.LED
Constructor for a LED using a specific Gpio pin.
Led - Class in com.raspoid.brickpi
Implementation of a led present on the brickpi.
Led(int) - Constructor for class com.raspoid.brickpi.Led
Constructs a led with its number
LED0_OFF_H - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
LED0_OFF_L - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
LED0_ON_H - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
LED0_ON_L - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
LED1 - Static variable in class com.raspoid.brickpi.BrickPi
Use when the LED 1 need to be controlled
LED2 - Static variable in class com.raspoid.brickpi.BrickPi
Use when the LED 2 need to be controlled
LEDExample - Class in com.raspoid.examples.additionalcomponents
Example of use of various LEDs connected through Gpio pin.
LEDPWM - Class in com.raspoid.additionalcomponents
Implementation of a LED using a PWM signal to control the light intensity.
LEDPWM(PCA9685, PCA9685.PCA9685Channel) - Constructor for class com.raspoid.additionalcomponents.LEDPWM
Constructor for a LED controlled by a PWM signal, using a specific PCA9685 and a specific channel on this PCA9685 to send the PWM signal.
LEDPWMExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a LED with PWM.
LedsExample - Class in com.raspoid.examples.brickpi
Example of use of the BrickPi leds.
LightOffSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of a LightOffSensor.
LightOffSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.LightOffSensor
 
LightOffSensorExample - Class in com.raspoid.examples.brickpi
Example of use of the NXT light off sensor.
LightOnSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of a LightOnSensor.
LightOnSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.LightOnSensor
 
LightOnSensorExample - Class in com.raspoid.examples.brickpi
Example of use of the NXT light on sensor.
LightSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of the light sensor
LightSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.LightSensor
 
listeners - Variable in class com.raspoid.brickpi.Sensor
Contains the listeners without range argument needed.
listenersWithRange - Variable in class com.raspoid.brickpi.Motor
Listeners with range argument needed.
listenersWithRange - Variable in class com.raspoid.brickpi.Sensor
Contains the listeners with range argument needed.
ListOfDevices - Class in com.raspoid.network.pushbullet
Abstraction of a list of Devices from the Pushbullet API.
ListOfDevices() - Constructor for class com.raspoid.network.pushbullet.ListOfDevices
 
ListOfPushes - Class in com.raspoid.network.pushbullet
Abstraction of a list of Pushes from the Pushbullet API.
ListOfPushes() - Constructor for class com.raspoid.network.pushbullet.ListOfPushes
 
log(Object, Tools.Color) - Static method in class com.raspoid.Tools
Print a new colored log message to the standard output, if the logs are enabled.
log(String, Tools.Color) - Static method in class com.raspoid.Tools
Print a new colored log message to the standard output, if the logs are enabled.
log(Object) - Static method in class com.raspoid.Tools
Print a new log message to the standard output, if the logs are enabled.
log(String) - Static method in class com.raspoid.Tools
Print a new log message to the standard output, if the logs are enabled.

M

MA - Static variable in class com.raspoid.brickpi.BrickPi
Use when a motor is connected on port A to control it
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.AccelerometerADXL345Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ActiveBuzzerExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.adc.PCF8591Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.AutoFlashLEDExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.BarometerBMP180Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ButtonExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.camera.CameraPiExample
CameraPi features examples.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.camera.opencv.FaceDetectorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.camera.opencv.TestOpenCVInstallation
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ir.IRReceiverOS1838BExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ir.IRSignalDetector
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ir.IRTransmitterExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.IRObstacleAvoidanceModuleExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.JoystickExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.LCM1602Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.LEDExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.LEDPWMExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.MPU6050Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.PassiveBuzzerExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.PhotoresistorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.RotaryEncoderExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.servomotor.MicroServo9gA0090Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.servomotor.ServoMotorCallibration
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.servomotor.TowerProMG90SExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.SoundSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.ThermistorNTCLE203E3103SB0Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.TouchSwitchExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.TrackingSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.UltrasonicHCSR04Example
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.additionalcomponents.UltrasonicSensorsComparison
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.behavioral.ClapExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.behavioral.Example1
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.LedsExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.LightOffSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.LightOnSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.MotorsExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.MotorUtilExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.RawSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.SoundSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.TouchSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.brickpi.UltraSonicSensorExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.network.GeneralExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.network.MessageLikeSocketServerExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.network.MPU6050Accelerometer
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.network.pushbullet.PushbulletExample
Pushbullet features examples.
main(String[]) - Static method in class com.raspoid.examples.network.SocketServerExample
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.robots.poc.JoystickRemote
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.robots.poc.ObstacleDetectorRobot
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.robots.poc.RobotPOC
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.robots.poc.TrackingRobot
Command-line interface.
main(String[]) - Static method in class com.raspoid.examples.robots.twip.Pendulum
Command-line interface.
matches(IRSignal, int) - Method in class com.raspoid.additionalcomponents.ir.IRSignal
Returns true if the specific input signal corresponds to this signal, with a fuzziness of tolerance %.
MAX_BITRATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Maximum bitrate value, in bits/s.
MAX_BRIGHTNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum brightness value.
MAX_COL_NB - Static variable in class com.raspoid.additionalcomponents.LCM1602
Maximum index used for columns on the LCD.
MAX_CONTRAST - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum contrast value.
MAX_EV_COMPENSATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum EV compensation value.
MAX_FRAMERATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
At the present, the maximum frame rate allowed is 30fps.
MAX_FREQUENCY - Static variable in class com.raspoid.additionalcomponents.PCA9685
Maximum frequency for the PWM signals generated by the PCA9685, in Hz.
MAX_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Maximum image height, in pixels.
MAX_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Maximum image height, in pixels.
MAX_I2C_ADDRESS - Static variable in class com.raspoid.I2CComponent
The maximum available i2c device address is 0x77.
MAX_ISO - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum ISO value.
MAX_LINE_NB - Static variable in class com.raspoid.additionalcomponents.LCM1602
Maximum index used for the lines on the LCD.
MAX_OPACITY - Static variable in class com.raspoid.additionalcomponents.camera.PreviewConfig
Maximum opacity (fully opaque).
MAX_PORT_NUMBER - Static variable in class com.raspoid.network.NetworkUtilities
The maximum port number value available on a Raspberry Pi.
MAX_POWER - Static variable in class com.raspoid.brickpi.Motor
Contains the max power that can be set
MAX_PULSE - Static variable in class com.raspoid.additionalcomponents.ir.IRReceiver
The maximum pulse we'll listen for.
MAX_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Maximum quality, in percent.
MAX_SATURATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum saturation value.
MAX_SHARPNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Maximum sharpness value.
MAX_THUMBNAIL_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Maximum thumbnail quality value, in percent.
MAX_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Maximum image width, in pixels.
MAX_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Maximum image width, in pixels.
MB - Static variable in class com.raspoid.brickpi.BrickPi
Use when a motor is connected on port B to control it
MC - Static variable in class com.raspoid.brickpi.BrickPi
Use when a motor is connected on port C to control it
MD - Static variable in class com.raspoid.brickpi.BrickPi
Use when a motor is connected on port D to control it
Message - Interface in com.raspoid.brickpi.uart.message
Message contained in a packet.
MessageLikeSocketServer - Class in com.raspoid.network
This server is used to provide (if needed) a message-like support on top of a socket server.
MessageLikeSocketServer(Router) - Constructor for class com.raspoid.network.MessageLikeSocketServer
Constructor for a message-like socket server using the specified Router and with the following parameter values: Maximum number of connections: 5 Port number: Network.getAvailablePort()
MessageLikeSocketServer(int, int, Router) - Constructor for class com.raspoid.network.MessageLikeSocketServer
Constructor for a message-like socket server using the specified parameters.
MessageLikeSocketServerExample - Class in com.raspoid.examples.network
Example of use of a Message-like socket server.
MessageType - Enum in com.raspoid.brickpi.uart.message
Enumerates all the message types used to communicate with the brickpi along with their byte value.
MicroServo9gA0090 - Class in com.raspoid.additionalcomponents.servomotor
Implementation of a servo motor "MicroServo 9g A0090".
MicroServo9gA0090(PCA9685, PCA9685.PCA9685Channel) - Constructor for class com.raspoid.additionalcomponents.servomotor.MicroServo9gA0090
Constructor for a MicroServo 9g A0090, using a specific PCA9685 and a specific channel on this PCA9685.
MicroServo9gA0090(PWMPin) - Constructor for class com.raspoid.additionalcomponents.servomotor.MicroServo9gA0090
Constructor for a MicroServo 9g A0090, using a specific PWM pin from the Raspberry Pi.
MicroServo9gA0090Example - Class in com.raspoid.examples.additionalcomponents.servomotor
Example of use of a MicroServo 9gA0090 servomotor.
MIN_BITRATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum bitrate value, in bits/s.
MIN_BRIGHTNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum brightness value.
MIN_COL_NB - Static variable in class com.raspoid.additionalcomponents.LCM1602
Minimum index used for columns on the LCD.
MIN_CONTRAST - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum contrast value.
MIN_EV_COMPENSATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum EV compensation value.
MIN_FRAMERATE - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
At the present, the minimum frame rate allowed is 2fps.
MIN_FREQUENCY - Static variable in class com.raspoid.additionalcomponents.PCA9685
Minimum frequency for the PWM signals generated by the PCA9685, in Hz.
MIN_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum image height, in pixels.
MIN_HEIGHT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum image height, in pixels.
MIN_I2C_ADDRESS - Static variable in class com.raspoid.I2CComponent
The minimum available i2c device address is 0x03.
MIN_ISO - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum ISO value.
MIN_LINE_NB - Static variable in class com.raspoid.additionalcomponents.LCM1602
Minimum index used for the lines on the LCD.
MIN_OPACITY - Static variable in class com.raspoid.additionalcomponents.camera.PreviewConfig
Minimum opacity (invisible).
MIN_PORT_NUMBER - Static variable in class com.raspoid.network.NetworkUtilities
A port number must be a positive integer.
MIN_POWER - Static variable in class com.raspoid.brickpi.Motor
Contains the min power that can be set
MIN_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum quality, in percent.
MIN_SATURATION - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum saturation value.
MIN_SEGMENT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum segment value, in milliseconds.
MIN_SEGMENT_NUMBER - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum segment number.
MIN_SHARPNESS - Static variable in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Minimum sharpness value.
MIN_THUMBNAIL_QUALITY - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum thumbnail quality value, in percent.
MIN_THUMBNAIL_X - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum thumbnail x value, in pixels.
MIN_THUMBNAIL_Y - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum thumbnail y value, in pixels.
MIN_TIMELAPSE - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum time-lapse, in milliseconds.
MIN_TIMEOUT - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum timeout value, in milliseconds.
MIN_TIMEOUT - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum timeout value, in milliseconds.
MIN_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.PictureConfig
Minimum image width, in pixels.
MIN_WIDTH - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum image width, in pixels.
MIN_WRAP - Static variable in class com.raspoid.additionalcomponents.camera.VideoConfig
Minimum wrap value.
minusButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "-".
MODE1 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
MODE2 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
modeButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "Mode".
Motor - Class in com.raspoid.brickpi
Class allowing to control a motor with the brickpi
Motor() - Constructor for class com.raspoid.brickpi.Motor
 
MOTOR_TIMEOUT - Static variable in class com.raspoid.brickpi.BrickPiConnector
Timeout to shutdown motors.
MotorBehavior - Class in com.raspoid.examples.behavioral
Behavior enclosing the motor management
MotorBehavior() - Constructor for class com.raspoid.examples.behavioral.MotorBehavior
Constructs a motor behavior
MotorsExample - Class in com.raspoid.examples.brickpi
Example of use of an NXT motor.
MotorUtilExample - Class in com.raspoid.examples.brickpi
Example of use of a NXT motor with utility methods and PID
move(double, int) - Method in class com.raspoid.brickpi.Motor
Rotates the motor to travel a specific distance (cm) using a PID eval loop.
The diameter of the wheel attached to the motor should be properly set before calling this method.
moveCursor(int, int) - Method in class com.raspoid.additionalcomponents.LCM1602
Moves the cursor to the given position.
moveNonBlocking(double, int) - Method in class com.raspoid.brickpi.Motor
Rotates the motor to travel a specific distance (cm) using a PID eval loop.
The diameter of the wheel attached to the motor should be properly set before calling this method.
MPU6050 - Class in com.raspoid.additionalcomponents
Implementation of the MPU6050 component.
MPU6050() - Constructor for class com.raspoid.additionalcomponents.MPU6050
Constructor for a new MPU6050 using the default i2c address and the default value for the DLPF setting.
MPU6050(int, int, int) - Constructor for class com.raspoid.additionalcomponents.MPU6050
Constructor for a new MPU6050 using a specific i2c address and a specific value for the DLPF setting.
MPU6050_REG_ADDR_ACCEL_CONFIG - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.15] Accelerometer Configuration
MPU6050_REG_ADDR_ACCEL_XOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_ACCEL_XOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_ACCEL_YOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_ACCEL_YOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_ACCEL_ZOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_ACCEL_ZOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.29] Accelerometer Measurements
MPU6050_REG_ADDR_CONFIG - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.13] Configuration
MPU6050_REG_ADDR_GYRO_CONFIG - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.14] Gyroscope Configuration
MPU6050_REG_ADDR_GYRO_XOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_GYRO_XOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_GYRO_YOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_GYRO_YOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_GYRO_ZOUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_GYRO_ZOUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.31] Gyroscope Measurements
MPU6050_REG_ADDR_INT_ENABLE - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.27] Interrupt Enable
MPU6050_REG_ADDR_PWR_MGMT_1 - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.40] Power Management 1
MPU6050_REG_ADDR_PWR_MGMT_2 - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.42] Power Management 2
MPU6050_REG_ADDR_SMPRT_DIV - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.11] Sample Rate Divider
MPU6050_REG_ADDR_TEMP_OUT_H - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.30] Temperature Measurement
MPU6050_REG_ADDR_TEMP_OUT_L - Static variable in class com.raspoid.additionalcomponents.MPU6050
[datasheet 2 - p.30] Temperature Measurement
MPU6050Accelerometer - Class in com.raspoid.examples.network
Example of a socket server to remotely retrieve informations from an MPU6050 accelerometer/gyroscope.
MPU6050Example - Class in com.raspoid.examples.additionalcomponents
Example of use of an MPU6050.

N

NB_ATMEGA_TARGETS - Static variable in class com.raspoid.brickpi.BrickPi
Number of Atmel chips (AtMega328).
NB_COL - Static variable in class com.raspoid.additionalcomponents.LCM1602
Number of columns on the LCD.
NB_LINES - Static variable in class com.raspoid.additionalcomponents.LCM1602
Number of lines on the LCD.
NB_MOTORS_BY_ATMEGA - Static variable in class com.raspoid.brickpi.BrickPi
Number of motors for each AtMega328.
NB_SENSORS_BY_ATMEGA - Static variable in class com.raspoid.brickpi.BrickPi
Number of sensors for each AtMega328.
NetworkUtilities - Class in com.raspoid.network
This class contains some utility functions, usefull for some network operations.
newCameraSupportPosition(int, int) - Method in class com.raspoid.examples.robots.poc.RobotPOC
Update the current position of the camera support.
Called when the position of the remote joystick has changed.
newThreadToDealWithClient(Socket) - Method in class com.raspoid.network.MessageLikeSocketServer
 
newThreadToDealWithClient(Socket) - Method in class com.raspoid.network.SocketServer
 
nextButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "next".
noSoundButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "NoSound".
Note - Class in com.raspoid.additionalcomponents.notes
Class of utils to easily get the frequency corresponding to a specific note of music.
notifyUpdate(ValueChangeEvent) - Method in class com.raspoid.brickpi.nxt.RangedValueListener
Notify the update only if the new value is exceeding the range of the initial value
notifyUpdate(ValueChangeEvent) - Method in interface com.raspoid.brickpi.nxt.ValueListener
Whenever a value is changed, this method is called
NXTEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the NXT components are enabled.

O

obstacleDetected() - Method in class com.raspoid.additionalcomponents.IRObstacleAvoidanceModule
Returns true if an obstacle is currently detected by the module.
ObstacleDetectorRobot - Class in com.raspoid.examples.robots.poc
Implementation of a behavior for the POC robot that allows to alleviate obstacles.
OCH - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.16] Mode register 2, MODE2.
off() - Method in class com.raspoid.additionalcomponents.ActiveBuzzer
Disable the buzzer.
off() - Method in class com.raspoid.additionalcomponents.LED
Turns the LED off.
off() - Method in class com.raspoid.brickpi.Led
Turns the LED off.
on() - Method in class com.raspoid.additionalcomponents.ActiveBuzzer
Enable the buzzer.
on() - Method in class com.raspoid.additionalcomponents.LED
Turns the LED on.
on() - Method in class com.raspoid.brickpi.Led
Turns the LED on.
onChange(int, ValueListener) - Method in class com.raspoid.brickpi.Motor
Adds a listener that will be triggered as soon as the encoder value has changed for more than range value, wrt.
onChange(int, ValueListener) - Method in class com.raspoid.brickpi.nxt.sensor.UltraSonicSensor
Register a new listener with a range.
onChange(ValueListener) - Method in class com.raspoid.brickpi.Sensor
Registers a listener on the value of the sensor, the listener will be triggered each time it changes.
onChange(int, ValueListener) - Method in class com.raspoid.brickpi.Sensor
Register a new listener with a range.
onOffButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "on/off".
onRotate(ValueListener) - Method in class com.raspoid.brickpi.Motor
Adds a listener that will be triggered each time a full rotation has been done.
OUT_LSB_ADDR - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Second register address containing calculated values: respectively temperature or pressure, depending on previous value sent to control register.
OUT_MSB_ADDR - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
First register address containing calculated values: respectively temperature or pressure, depending on previous value sent to control register.
OUT_XLSB_ADDR - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
Third register address containing calculated values: respectively temperature or pressure, depending on previous value sent to control register.
OUTDRV - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.16] Mode register 2, MODE2.
OUTNE - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.16] Mode register 2, MODE2.

P

Packet - Class in com.raspoid.brickpi.uart
Packet structure used to encapsulate/decapsulate a message to/from the its byte representation.
Packet(Message) - Constructor for class com.raspoid.brickpi.uart.Packet
Constructor for BrickPi to RPi
Packet(byte, Message) - Constructor for class com.raspoid.brickpi.uart.Packet
Constructor for RPi to BrickPi
PacketFormatter - Class in com.raspoid.brickpi.uart
Packet formatter utility class allowing to encode messages into bytes and decode bytes to messages.
PassiveBuzzer - Class in com.raspoid.additionalcomponents
A passive buzzer will not beep if DC signals are used.
PassiveBuzzer(PWMPin) - Constructor for class com.raspoid.additionalcomponents.PassiveBuzzer
Constructor for a passive buzzer using a specific PWM pin from the Raspberry Pi to create PWM signals.
PassiveBuzzer(PCA9685, PCA9685.PCA9685Channel) - Constructor for class com.raspoid.additionalcomponents.PassiveBuzzer
Constructor for a passive buzzer using a specific PCA9685 to create PWM signals.
passiveBuzzerEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the passive buzzer is enabled.
PassiveBuzzerExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Passive Buzzer.
pause() - Method in class com.raspoid.examples.robots.poc.JoystickRemote
Pauses updating and sending values to the RobotPOC.
pause() - Method in class com.raspoid.examples.robots.poc.RobotPOC
Sets the robot to the pause mode.
pause() - Method in class com.raspoid.network.SocketServer
Turns the Raspoid server in a pause mode.
PCA9685 - Class in com.raspoid.additionalcomponents
A PCA9685 can be used to generated PWM signals.
PCA9685() - Constructor for class com.raspoid.additionalcomponents.PCA9685
Default constructor for a PCA9685 using the default i2c address of the component.
PCA9685(int) - Constructor for class com.raspoid.additionalcomponents.PCA9685
Constructor for a PCA9685 using a specific i2c address.
PCA9685.PCA9685Channel - Enum in com.raspoid.additionalcomponents
16 channels are available on the PCA9685 module, numbered from 0 to 15.
PCA9685_PULSE_TICKS - Static variable in class com.raspoid.PWMComponent
With the PCA9685, a pulse is composed of 4096 ticks (12bits value).
PCF8591 - Class in com.raspoid.additionalcomponents.adc
Implementation of the ADC (Analog to Digital Converter) PCF8591.
PCF8591() - Constructor for class com.raspoid.additionalcomponents.adc.PCF8591
Default constructor for a PCF8591 using the default i2c address of the component, the four single ended analogue input programming mode, enabling the analog output and disabling the auto increment flag.
PCF8591(int, PCF8591.AnalogueInputProgrammingMode, boolean, boolean) - Constructor for class com.raspoid.additionalcomponents.adc.PCF8591
Constructor for a PCF8591 using a specific i2c address, a specific analog input programming mode, a specific boolean to enable/disable the analogue output of the PCF8591 and a specific value for the auto increment flag.
PCF8591.AnalogueInputProgrammingMode - Enum in com.raspoid.additionalcomponents.adc
There exists 4 different modes to deal with the four analog inputs.
PCF8591Example - Class in com.raspoid.examples.additionalcomponents.adc
Example of use of a PCF8591.
PCF8591InputChannel - Enum in com.raspoid.additionalcomponents.adc
Each PCF8591 is composed of 4 input channels, numbered from 0 to 3.
pcf8591Nb1Enabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the first PCF8591 is enabled.
Pendulum - Class in com.raspoid.examples.robots.twip
Attempt to implement a pendulum robot (a robot balancing on two wheels).
Photoresistor - Class in com.raspoid.additionalcomponents
A photoresistor is a light-controlled variable resistor.
Photoresistor(ADC, ADCChannel) - Constructor for class com.raspoid.additionalcomponents.Photoresistor
Constructor for a photoresistor using a specific ADC instance, and a specific channel on this ADC to decode the analog input from the photoresistor.
photoresistorEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the photoresistor is enabled.
PhotoresistorExample - Class in com.raspoid.examples.additionalcomponents
Example of use of an Photoresistor.
PHYSICAL_01 - Static variable in class com.raspoid.Pin
3v3 Power.
PHYSICAL_02 - Static variable in class com.raspoid.Pin
5v Power.
PHYSICAL_03 - Static variable in class com.raspoid.Pin
I2C Data (SDA).
PHYSICAL_04 - Static variable in class com.raspoid.Pin
5v Power.
PHYSICAL_05 - Static variable in class com.raspoid.Pin
I2C Clock.
PHYSICAL_06 - Static variable in class com.raspoid.Pin
Ground.
PHYSICAL_07 - Static variable in class com.raspoid.Pin
GPIO7.
PHYSICAL_08 - Static variable in class com.raspoid.Pin
UART Transmit.
PHYSICAL_09 - Static variable in class com.raspoid.Pin
 
PHYSICAL_10 - Static variable in class com.raspoid.Pin
UART Receive.
PHYSICAL_11 - Static variable in class com.raspoid.Pin
GPIO0.
PHYSICAL_12 - Static variable in class com.raspoid.Pin
PWM0.
PHYSICAL_13 - Static variable in class com.raspoid.Pin
GPIO2.
PHYSICAL_14 - Static variable in class com.raspoid.Pin
 
PHYSICAL_15 - Static variable in class com.raspoid.Pin
GPIO3.
PHYSICAL_16 - Static variable in class com.raspoid.Pin
GPIO4.
PHYSICAL_17 - Static variable in class com.raspoid.Pin
3v3 Power.
PHYSICAL_18 - Static variable in class com.raspoid.Pin
GPIO5.
PHYSICAL_19 - Static variable in class com.raspoid.Pin
GPIO12.
PHYSICAL_20 - Static variable in class com.raspoid.Pin
 
PHYSICAL_21 - Static variable in class com.raspoid.Pin
GPIO13.
PHYSICAL_22 - Static variable in class com.raspoid.Pin
GPIO6.
PHYSICAL_23 - Static variable in class com.raspoid.Pin
GPIO14.
PHYSICAL_24 - Static variable in class com.raspoid.Pin
GPIO10.
PHYSICAL_25 - Static variable in class com.raspoid.Pin
 
PHYSICAL_26 - Static variable in class com.raspoid.Pin
GPIO11.
PHYSICAL_27 - Static variable in class com.raspoid.Pin
GPIO30.
PHYSICAL_28 - Static variable in class com.raspoid.Pin
GPIO31.
PHYSICAL_29 - Static variable in class com.raspoid.Pin
GPIO21.
PHYSICAL_30 - Static variable in class com.raspoid.Pin
 
PHYSICAL_31 - Static variable in class com.raspoid.Pin
GPIO22.
PHYSICAL_32 - Static variable in class com.raspoid.Pin
GPIO26.
PHYSICAL_33 - Static variable in class com.raspoid.Pin
PWM1.
PHYSICAL_34 - Static variable in class com.raspoid.Pin
 
PHYSICAL_35 - Static variable in class com.raspoid.Pin
GPIO24.
PHYSICAL_36 - Static variable in class com.raspoid.Pin
GPIO27.
PHYSICAL_37 - Static variable in class com.raspoid.Pin
GPIO25.
PHYSICAL_38 - Static variable in class com.raspoid.Pin
GPIO28.
PHYSICAL_39 - Static variable in class com.raspoid.Pin
 
PHYSICAL_40 - Static variable in class com.raspoid.Pin
GPIO29.
Picture - Class in com.raspoid.additionalcomponents.camera
Abstraction for a picture taken by the camera pi using the Raspoid raspistill wrapper.
Picture(PictureConfig, String) - Constructor for class com.raspoid.additionalcomponents.camera.Picture
Constructor for a new Picture, using a specific PictureConfig and the file path of the picture on the system.
PictureConfig - Class in com.raspoid.additionalcomponents.camera
This class is used to easily wrap the complete raspistill command line tool.
PictureConfig() - Constructor for class com.raspoid.additionalcomponents.camera.PictureConfig
Constructor for a new PictureConfig using only default values for parameters.
PictureConfig(int, int) - Constructor for class com.raspoid.additionalcomponents.camera.PictureConfig
Constructor for a new PictureConfig using specific values for the width and the height.
PictureConfig(int, int, int) - Constructor for class com.raspoid.additionalcomponents.camera.PictureConfig
Constructor for a new PictureConfig using specific values for the width, the height and the quality.
PictureConfig(String, int, int) - Constructor for class com.raspoid.additionalcomponents.camera.PictureConfig
Constructor for a new PictureConfig using specific values for the output file name, the width and the height.
PictureConfig(String, int, int, int) - Constructor for class com.raspoid.additionalcomponents.camera.PictureConfig
Constructor for a new PictureConfig using specific values for the output file name, the width, the height and the quality.
PictureEncoding - Enum in com.raspoid.additionalcomponents.camera
Available encodings to use for new picture output files.
Pin - Class in com.raspoid
There are three main methods of pin numbering on Raspberry Pi: numbering based on the physical location of the pin numbering appointed by C language GPIO library wiringPi numbering appointed by BCM2835 SOC
pinNumber - Variable in class com.raspoid.PWMComponent
The WiringPi pin number corresponding to the PWMPin pin.
playLong(PassiveBuzzer) - Static method in class com.raspoid.examples.robots.poc.StarWars
Play a long part of The Imperial March - Star Wars.
playNote(BaseNote, int, int) - Method in class com.raspoid.additionalcomponents.PassiveBuzzer
Plays a note, specified from a BaseNote and an octave, for a duration of millis milliseconds.
playPauseButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "play/pause".
playShort(PassiveBuzzer) - Static method in class com.raspoid.examples.robots.poc.StarWars
Play the intro of The Imperial March - Star Wars.
playTone(double, int) - Method in class com.raspoid.additionalcomponents.PassiveBuzzer
Plays a tone for a duration of millis milliseconds.
plusButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "+".
POCConfig - Class in com.raspoid.examples.robots.poc
Abstraction used to easily enable/disable each of the components composing the proff of concept robot (RobotPOC)
POCConfig() - Constructor for class com.raspoid.examples.robots.poc.POCConfig
Default constructor to enable each component of the POC Robot.
port - Variable in class com.raspoid.network.SocketServer
Port used by the socket server.
postFile(String, String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Upload a file on the Pushbullet servers.
PRE_SCALE - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.13] Register address.
PRESSURE_AT_SEA_LEVEL - Static variable in class com.raspoid.additionalcomponents.BarometerBMP180
The pressure at sea level, in hPa.
preview(int) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Enable a fullscreen preview for a duration of millis milliseconds.
preview(PreviewConfig) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Enable a preview with specific config, for a default duration of 5000 milliseconds.
preview(PreviewConfig, int) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Enable a preview with specific preview configuration, and for a duration of millis milliseconds.
PreviewConfig - Class in com.raspoid.additionalcomponents.camera
This class is used to easily wrap the specific part of the raspistill/raspivid commands regarding the preview configuration.
PreviewConfig() - Constructor for class com.raspoid.additionalcomponents.camera.PreviewConfig
 
previousButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "previous".
printServerLaunchedMessage() - Method in class com.raspoid.network.MessageLikeSocketServer
 
printServerLaunchedMessage() - Method in class com.raspoid.network.SocketServer
 
pulse(long) - Method in class com.raspoid.additionalcomponents.LED
Turns the LED on for millis milliseconds and then off.
pulse(int) - Method in class com.raspoid.additionalcomponents.PassiveBuzzer
Enables the buzzer to play the tone at the currently setted frequency.
pulse(long) - Method in class com.raspoid.brickpi.Led
Turns the LED on for duration seconds and then off.
Push - Class in com.raspoid.network.pushbullet
Abstraction of a Push entity from the Pushbullet API.
Push() - Constructor for class com.raspoid.network.pushbullet.Push
 
Pushbullet - Class in com.raspoid.network.pushbullet
This class is an abstraction to easily use some of the Pushbullet services.
Pushbullet(String, String, Router) - Constructor for class com.raspoid.network.pushbullet.Pushbullet
Constructor for a new Pushbullet instance with a specific access token, a device name corresponding to the name that your robot will take in your Pushbullet list of devices, and the Raspoid router to use with this Pushbullet instance.
PushbulletExample - Class in com.raspoid.examples.network.pushbullet
Example of use of Pushbullet.
PWM_RANGE_GENERATOR - Static variable in class com.raspoid.additionalcomponents.ir.IRTransmitter
Range register in the PWM generator.
PWM_RANGE_GENERATOR - Static variable in class com.raspoid.additionalcomponents.PassiveBuzzer
Range register in the PWM generator.
PWM_RANGE_GENERATOR - Static variable in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Range register in the PWM generator.
PWMComponent - Class in com.raspoid
This class is used as an abstraction for each component using a PWM signal.
PWMComponent(PCA9685, PCA9685.PCA9685Channel, int) - Constructor for class com.raspoid.PWMComponent
Constructor for a PWM component, using a PCA9685 module to generate PWM signals.
PWMComponent(PWMPin, int) - Constructor for class com.raspoid.PWMComponent
Constructor for a PWM component, using a RPi hardware PWM pin to generate PWM signals.
PWMPin - Enum in com.raspoid
This enum is used to restrict access to the correct PWM pins.

R

R0 - Static variable in class com.raspoid.additionalcomponents.ThermistorNTCLE203E3103SB0
Resistance at 25 degrees Celsius, in Ohm.
RADIAN_TO_DEGREE - Static variable in class com.raspoid.additionalcomponents.MPU6050
Coefficient to convert an angle value from radians to degrees.
RangedValueListener - Class in com.raspoid.brickpi.nxt
Implements a Ranged value change listener.
RangedValueListener(int, ValueListener) - Constructor for class com.raspoid.brickpi.nxt.RangedValueListener
Creates a RangedValueListener with the specified range and listener
RaspberryPiModel - Enum in com.raspoid
This enum is used to list the different existing models of Raspberry Pi.
RaspoidBehavioralException - Exception in com.raspoid.exceptions
Exception thrown by the behavioral component of raspoid
RaspoidBehavioralException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidBehavioralException
Constructs a new behavioral exception with the specified detail message and cause.
RaspoidBehavioralException(String) - Constructor for exception com.raspoid.exceptions.RaspoidBehavioralException
Constructs a new behavioral exception with the specified detail message.
RaspoidBehavioralException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidBehavioralException
Constructs a new behavioral exception with the specified cause.
RaspoidException - Exception in com.raspoid.exceptions
General exception thrown in raspoid
RaspoidException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidException
Constructs a new raspoid exception with the specified detail message and cause.
RaspoidException(String) - Constructor for exception com.raspoid.exceptions.RaspoidException
Constructs a new raspoid exception with the specified detail message.
RaspoidException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidException
Constructs a new raspoid exception with the specified cause.
RaspoidI2CException - Exception in com.raspoid.exceptions
Exception thrown in raspoid by an I²C component
RaspoidI2CException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidI2CException
Constructs a new I²C exception with the specified detail message and cause.
RaspoidI2CException(String) - Constructor for exception com.raspoid.exceptions.RaspoidI2CException
Constructs a new I²C exception with the specified detail message.
RaspoidI2CException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidI2CException
Constructs a new I²C exception with the specified cause.
RaspoidInterruptedException - Exception in com.raspoid.exceptions
Exception thrown by raspoid when a thread is interrupted unexpectedly
RaspoidInterruptedException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidInterruptedException
Constructs a new interrupted exception with the specified detail message and cause.
RaspoidInterruptedException(String) - Constructor for exception com.raspoid.exceptions.RaspoidInterruptedException
Constructs a new interrupted exception with the specified detail message.
RaspoidInterruptedException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidInterruptedException
Constructs a new interrupted exception with the specified cause.
RaspoidPacketFormatException - Exception in com.raspoid.exceptions
Exception thrown by raspoid when a format is wrong when encapsulating/decapsulating
RaspoidPacketFormatException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidPacketFormatException
Constructs a new packet format exception with the specified detail message and cause.
RaspoidPacketFormatException(String) - Constructor for exception com.raspoid.exceptions.RaspoidPacketFormatException
Constructs a new packet format exception with the specified detail message.
RaspoidPacketFormatException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidPacketFormatException
Constructs a new packet format exception with the specified cause.
RaspoidSerialException - Exception in com.raspoid.exceptions
Exception thrown by raspoid when a problem occurs with UART
RaspoidSerialException(String, Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidSerialException
Constructs a new serial exception with the specified detail message and cause.
RaspoidSerialException(String) - Constructor for exception com.raspoid.exceptions.RaspoidSerialException
Constructs a new serial exception with the specified detail message.
RaspoidSerialException(Throwable) - Constructor for exception com.raspoid.exceptions.RaspoidSerialException
Constructs a new serial exception with the specified cause.
RawSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of a Raw Sensor.
RawSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.RawSensor
 
RawSensorExample - Class in com.raspoid.examples.brickpi
Example of use of an NXT raw sensor.
readScaledAccelerometerValues() - Method in class com.raspoid.additionalcomponents.MPU6050
Reads the most recent accelerometer values on MPU6050 for X, Y and Z axis, and calculates the corresponding accelerations in g, according to the selected AFS_SEL mode.
readScaledGyroscopeValues() - Method in class com.raspoid.additionalcomponents.MPU6050
Reads the most recent gyroscope values on the MPU6050 for X, Y and Z axis, and calculates the corresponding angular speeds in degrees/sec, according to the selected FS_SEL mode.
readSignedRegisterValue(int) - Method in class com.raspoid.I2CComponent
Reads the content of the reg register (8bits), and returns the signed integer representation of this value in the -128..127 interval if read operation was successfull.
readTwoSignedRegsiters(int) - Method in class com.raspoid.I2CComponent
Reads the signed content of two consecutive registers (reg and reg + 1) (16bits), and returns the big endian combination of those values.
readTwoUnsignedRegisters(int) - Method in class com.raspoid.I2CComponent
Reads the unsigned content of two consecutive registers (reg and reg + 1) (16bits), and returns the big endian combination of those values.
readUncompensatedPressure() - Method in class com.raspoid.additionalcomponents.BarometerBMP180
Read the uncompensated pressure value from the BMP180.
readUncompensatedTemperature() - Method in class com.raspoid.additionalcomponents.BarometerBMP180
Read the uncompensated temperature value from the BMP180.
readUnsignedRegisterValue(int) - Method in class com.raspoid.I2CComponent
Reads the content of the reg register (8bits), and returns this value in the 0..255 interval if read operation was successfull.
RealtimeEventStreamMessage - Class in com.raspoid.network.pushbullet
Abstraction of a RealtimeEventStreamMessage entity from the Pushbullet API.
RealtimeEventStreamMessage() - Constructor for class com.raspoid.network.pushbullet.RealtimeEventStreamMessage
 
RECV_TIMEOUT - Static variable in class com.raspoid.brickpi.BrickPiConnector
Contains the timeout after which we assume the response was lost
REGISTERS_PER_LED - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
removeBehavior(Behavior) - Method in class com.raspoid.behavioral.SimpleArbitrator
Removes a behavior from the arbitrator process
removeListener(RangedValueListener) - Method in class com.raspoid.brickpi.Motor
Removes the specified RangedValueListener if present in the listeners
removeListener(ValueListener) - Method in class com.raspoid.brickpi.Motor
Removes the specified ValueListener if present in the listeners
reset() - Method in interface com.raspoid.behavioral.Behavior
Reset the state of the behavior before it gains control.
reset() - Method in class com.raspoid.behavioral.SimpleBehavior
 
resetPosition() - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Turns the rotor to the minAngle position.
RESOLUTION - Static variable in class com.raspoid.additionalcomponents.ir.IRReceiver
What the timing resolution should be.
RESTART - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
returnHome() - Method in class com.raspoid.additionalcomponents.LCM1602
The cursor is shifted to its original position (0, 0) if shifted, and the content of the display is not changed.
RobotPOC - Class in com.raspoid.examples.robots.poc
The aim of this robot is to illustrate a maximum of the features offered by the Raspoid framework.
RobotPOC(POCConfig) - Constructor for class com.raspoid.examples.robots.poc.RobotPOC
Constructor for our proof of concept robot, with a specific config.
RobotPOC.DisplayScreen - Enum in com.raspoid.examples.robots.poc
Different screens available.
RotaryEncoder - Class in com.raspoid.additionalcomponents
A rotary encoder is an electro-mechanical device that converts the motion of a shaft or axle to digital code.
RotaryEncoder(GPIOPin, GPIOPin, GPIOPin) - Constructor for class com.raspoid.additionalcomponents.RotaryEncoder
Constructor for a new rotary encoder using specific GPIO pin for sw, dt and clk pins.
RotaryEncoderExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Rotary Encoder.
rotate(double, int) - Method in class com.raspoid.brickpi.Motor
Rotate the motor for a specified number of rotations using a PID eval loop.
rotateCameraSupportHorizontally(double) - Method in class com.raspoid.examples.robots.poc.RobotPOC
!ATTENTION! pay attention to how you build your support ! The position of the rotor is important as your support couldn't rotate in all directions.
rotateCameraSupportVertically(double) - Method in class com.raspoid.examples.robots.poc.RobotPOC
!ATTENTION! pay attention to how you build your support ! The position of the rotor is important as your support couldn't rotate in all directions.
rotateNonBlocking(double, int) - Method in class com.raspoid.brickpi.Motor
Rotate the motor for a specified number of rotations using a PID eval loop.
RotationDegree - Enum in com.raspoid.additionalcomponents.camera
Available rotations applicable to the pictures/videos.
routeIsValid(String, String[]) - Method in class com.raspoid.network.Router
Checks if the route is valid and contains a correspondance in the router.
Router - Class in com.raspoid.network
A router is used to map a route with an action to execute on your project.
Router() - Constructor for class com.raspoid.network.Router
Constructor for a basic router.
router - Variable in class com.raspoid.network.SocketServer
The Raspoid Router used by this server.
Router.Response - Interface in com.raspoid.network
Java 8 interface used to represent a response to a request without parameters.
Router.ResponseWithParams - Interface in com.raspoid.network
Interface used to represent a response to a request with parameters.

S

S1 - Static variable in class com.raspoid.brickpi.BrickPi
Use when a sensor is connected on port 1 to control it.
S2 - Static variable in class com.raspoid.brickpi.BrickPi
Use when a sensor is connected on port 2 to control it.
S3 - Static variable in class com.raspoid.brickpi.BrickPi
Use when a sensor is connected on port 3 to control it.
S4 - Static variable in class com.raspoid.brickpi.BrickPi
Use when a sensor is connected on port 4 to control it.
segment(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Segment the stream in to multiple files.
sendGetRequest(String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Executes an Http Get request and returns the String representation of the response from the server.
sendMessage(Map.Entry<Atmel, byte[]>) - Method in class com.raspoid.brickpi.uart.BrickPiSerialTransmitter
Send a message to the BrickPi then waits for the reponse message
sendNewFile(String, String, String, String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Sends a new file to the Pushbullet servers and sends this file through a push.
sendNewPush(String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Sends a new push with a specific body to the Pushbullet server.
sendNewPush(String, String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Sends a new push with a specific title and a specific body to the Pushbullet server.
sendNewPush(String, String, String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Sends a new push with a specific title and a specific body to the Pushbullet server.
sendPostRequest(String) - Method in class com.raspoid.network.pushbullet.Pushbullet
Executes an Http Post request and returns the String representation of the response from the server.
sendPostRequest(String, List<NameValuePair>) - Method in class com.raspoid.network.pushbullet.Pushbullet
Executes an Http Post request with specific url parameters and returns the String representation of the response from the server.
Sensor - Class in com.raspoid.brickpi
Abstract class implementing a Sensor
Sensor() - Constructor for class com.raspoid.brickpi.Sensor
Creates a new sensor without attaching it to the BrickPi
SensorType - Enum in com.raspoid.brickpi.nxt.sensor
Enumeration listing the Sensor type available and their byte value
SensorTypeMessage - Class in com.raspoid.brickpi.uart.message
Encapsulation of the sensor type message.
SensorTypeMessage(Sensor, Sensor) - Constructor for class com.raspoid.brickpi.uart.message.SensorTypeMessage
Initialize the sensor type message with the two sensors to declare
SERIAL_MONITOR_DELAY - Static variable in class com.raspoid.brickpi.uart.BrickPiSerialTransmitter
Contains the inter send message delay the transmitter waits for in milliseconds.
SERIAL_MONITOR_RATE - Static variable in class com.raspoid.brickpi.uart.BrickPiSerialTransmitter
Contains the rate in milliseconds at which the serial is monitored to detect a change in its buffer
serverIpAddresses - Variable in class com.raspoid.network.SocketServer
List of available ip addresses to access the socket server.
ServoMotor - Class in com.raspoid.additionalcomponents.servomotor
This abstract class represents the implementation of a servo motor.
ServoMotor(PCA9685, PCA9685.PCA9685Channel, double, double, double, double, double, double) - Constructor for class com.raspoid.additionalcomponents.servomotor.ServoMotor
Creates a new instance of a servo motor, with the corresponding parameters, using a PCA9685 module to generate PWM signals.
ServoMotor(PWMPin, double, double, double, double, double, double) - Constructor for class com.raspoid.additionalcomponents.servomotor.ServoMotor
Creates a new instance of a servo motor, with the corresponding parameters, using a Raspberry Pi PWM pin to generate PWM signals.
ServoMotorCallibration - Class in com.raspoid.examples.additionalcomponents.servomotor
This class has been implemented to help you to callibrate your servos.
ServoMotorCallibration(int, int) - Constructor for class com.raspoid.examples.additionalcomponents.servomotor.ServoMotorCallibration
Constructor for a new callibrator.
setAllPWM(int, int) - Method in class com.raspoid.additionalcomponents.PCA9685
Sets the start and end of the high segment of the PWM pulse, for all the PWM channels of the PCA9685.
setAngle(double) - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Sets the position of the rotor to the angle position, in degree.
setAWBMode(AWBMode) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the Automatic White Balance (AWB) mode.
setBitrate(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Set the bitrate of resulting video.
setBrightness(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the brightness of the image.
setCameraMode(CameraMode) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Sets a specified sensor mode, disabling the automatic selection.
setContrast(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the contrast of the image.
setDiameter(double) - Method in class com.raspoid.brickpi.Motor
Configure the diameter (cm) for a wheel attached on the motor
setDisplay(boolean, boolean, boolean) - Method in class com.raspoid.additionalcomponents.LCM1602
Sets the display according to the specified parameters.
setDLPFConfig(int) - Method in class com.raspoid.additionalcomponents.MPU6050
Sets the value of the DLPF config, according to the datasheet informations.
setEncoderValue(int) - Method in class com.raspoid.brickpi.Motor
Sets the value of the encoder of the motor.
setEncoding(PictureEncoding) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Set the encoding to use for output file.
setEntryMode(boolean, boolean) - Method in class com.raspoid.additionalcomponents.LCM1602
Assigns cursor moving direction and enable the shift of entire display.
setEVCompensation(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the EV compensation of the image.
setExposureMode(ExposureMode) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the exposure mode.
setFramerate(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Specify the frames per second to record.
setFrequency(double) - Method in class com.raspoid.additionalcomponents.PassiveBuzzer
Sets the frequency played by the buzzer.
setFunction(boolean, boolean, boolean) - Method in class com.raspoid.additionalcomponents.LCM1602
Sets the interface data length (8bit/4bit), the number of display lines (2-line/1-line) and the display font type (5x10 dots/5x8 dots).
setH264Profile(H264Profile) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Specify the h264 profile to use for encoding.
setHaarcascadeFrontalfaceAltXmlFilePath(String) - Static method in class com.raspoid.additionalcomponents.camera.opencv.FaceDetector
Sets the file path of the OpenCV haarcascade_frontalface_alt.xml file used to detect faces on pictures with FaceDetector.detectFaces(Mat), FaceDetector.detectFacesNb(Mat) and FaceDetector.detectAndSurroundFaces(Mat, String).
setHeight(int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Set the image height.
setHeight(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Set the image height.
setHorizontalFlip(boolean) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Flips the preview and saved image horizontally.
setImageEffect(ImageEffect) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set an effect to be applied to the image.
setInitialState(InitialState) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Define initial state on startup.
setInitialValue(int) - Method in class com.raspoid.brickpi.nxt.RangedValueListener
Reset the initial value
setIntensity(int) - Method in class com.raspoid.additionalcomponents.LEDPWM
Sets the intensity of the light of the LED.
setISO(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Sets the ISO to be used for captures.
setOpacity(int) - Method in class com.raspoid.additionalcomponents.camera.PreviewConfig
Sets the opacity of the preview windows.
setOutputFilename(String) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Specify the output filename.
setOutputFilename(String) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Specify the output filename.
setPidParams(double, double, double) - Method in class com.raspoid.brickpi.Motor
Sets the PID gains to be used with this motor.
setPower(int) - Method in class com.raspoid.brickpi.Motor
Sets the power of the motor, with a value in the [-255; 255] range.
setPower(int) - Method in class com.raspoid.examples.behavioral.MotorBehavior
Sets the power to be applied by the motor
setPulseLength(int) - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Writes the value to the PWM register for the given pin.
setPulseLength(int, int) - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Sends a PWM signal during delayToReachPosition ms.
setPWM(PCA9685.PCA9685Channel, int, int) - Method in class com.raspoid.additionalcomponents.PCA9685
Sets the start (on) and end (off) of the high segment of the PWM pulse, on a specific channel.
setPWM(int) - Method in class com.raspoid.PWMComponent
Sets for each full pulse of the PWM signal, the tick where the signal turns off (low).
setPWM(int, long) - Method in class com.raspoid.PWMComponent
Uses the PWMComponent.setPWM(int) method to set the PWM signal with the off parameter, for a duration of millis milliseconds, and then stops the signal.
setPWMFreq(int) - Method in class com.raspoid.additionalcomponents.PCA9685
Sets the PWM frequency, which determines how many full pulses per second are generated by the module.
setPWMFreq(double) - Method in class com.raspoid.PWMComponent
Sets the PWM frequency, which determines how many full pulses per second are generated.
setQuality(int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Set the jpeg quality.
setRaspberryPiModel(RaspberryPiModel) - Static method in class com.raspoid.Config
This method allows you to set the selected Raspberry Pi model executing the program.
setRotationDegree(RotationDegree) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Sets the rotation of the image in viewfinder and resulting image.
setSaturation(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the colour saturation of the image.
setScale(double) - Method in class com.raspoid.additionalcomponents.AccelerometerADXL345
Sets the scale that should be used when the device is in full resolution mode.
setSharpness(int) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Set the sharpness of the image.
setStartSequenceNumber(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
When outputting segments, this is the initial segment number, giving the ability to resume previous recording from a given segment.
setThumbnail(int, int, int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Allows specification of the thumbnail image inserted in to the JPEG file.
setTimed(int, int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
This option allows the video capture to be paused and restarted at particular time intervals.
setTimelapse(int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Set the time-lapse value.
setTimeout(int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Sets the time (in ms) before taking a picture and shuts down.
setTimeout(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Sets the duration (in ms) for future videos.
setValue(int) - Method in class com.raspoid.brickpi.nxt.sensor.SoundSensor
 
setValue(int) - Method in class com.raspoid.brickpi.Sensor
Set the value of the sensor, listeners will be triggered when updating this value to a different value than the previous one
setValue(int) - Method in class com.raspoid.examples.additionalcomponents.servomotor.ServoMotorCallibration
Sets the value sent to the PWM pin.
setVerbose(boolean) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Enable/disable the verbose mode.
setVerbose(boolean) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Enable/disable the verbose mode.
setVerticalFlip(boolean) - Method in class com.raspoid.additionalcomponents.camera.CameraControlOptions
Flips the preview and saved image vertically.
setWidth(int) - Method in class com.raspoid.additionalcomponents.camera.PictureConfig
Set the image width.
setWidth(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Set the image width.
shouldYield - Variable in class com.raspoid.behavioral.SimpleBehavior
Informs the behavior whether it should yield control.
SimpleArbitrator - Class in com.raspoid.behavioral
Implementation of a simple arbitrator scheme between behaviors.
SimpleArbitrator() - Constructor for class com.raspoid.behavioral.SimpleArbitrator
Creates a simple arbitrator with the default monitor delay
SimpleArbitrator(int) - Constructor for class com.raspoid.behavioral.SimpleArbitrator
Creates a simple arbitrator with a custom monitor delay
SimpleBehavior - Class in com.raspoid.behavioral
Abstract implementation of a simple behavior where flow control uses a boolean value.
SimpleBehavior() - Constructor for class com.raspoid.behavioral.SimpleBehavior
 
SLEEP - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
sleepMilliseconds(long) - Static method in class com.raspoid.Tools
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds, subject to the precision and accuracy of system timers and schedulers.
SocketServer - Class in com.raspoid.network
This server is used to provide a simple socket server.
SocketServer(Router) - Constructor for class com.raspoid.network.SocketServer
Constructor for a simple socket server using the specified Router and with the following parameter values: Maximum number of connections: 5 Port number: Network.getAvailablePort()
SocketServer(int, int, Router) - Constructor for class com.raspoid.network.SocketServer
Constructor for a simple socket server using the specified parameters.
SocketServerExample - Class in com.raspoid.examples.network
Example of use of a SocketServer.
SoundBehavior - Class in com.raspoid.examples.behavioral
Behavior enclosing the sound management
SoundBehavior(Runnable) - Constructor for class com.raspoid.examples.behavioral.SoundBehavior
constructs a Sound Behavior by passing a generic code to be called each time a clap is detected
SoundSensor - Class in com.raspoid.additionalcomponents
Sound sensor is a component that receives sound waves and converts them into electrical signal.
SoundSensor(ADC, ADCChannel) - Constructor for class com.raspoid.additionalcomponents.SoundSensor
Constructor for a sound sensor using a specific ADC instance and a specific channel on this ADC to decode analog input from the sound sensor.
SoundSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of the Sound Sensor.
SoundSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.SoundSensor
 
soundSensorEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the sound sensor is enabled.
SoundSensorExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Sound sensor.
SoundSensorExample - Class in com.raspoid.examples.brickpi
Example of use of the NXT sound sensor.
start() - Method in interface com.raspoid.behavioral.Arbitrator
Starts the arbitration process
start() - Method in class com.raspoid.behavioral.SimpleArbitrator
 
start() - Static method in class com.raspoid.brickpi.BrickPi
Once sensors and motors are configured, this method is used to run the BrickPi.
start() - Method in class com.raspoid.brickpi.BrickPiConnector
Starts the execution of the BrickPi
start() - Method in class com.raspoid.examples.robots.poc.JoystickRemote
Starts updating and sending values to the RobotPOC.
start() - Method in class com.raspoid.examples.robots.poc.ObstacleDetectorRobot
Start the robot.
start() - Method in class com.raspoid.examples.robots.poc.RobotPOC
Starts the robot.
start() - Method in class com.raspoid.examples.robots.poc.TrackingRobot
Start the robot.
start() - Method in class com.raspoid.network.SocketServer
Turns the Raspoid server on.
startGStreamerServer(String, int, int, int, boolean, boolean, int, boolean, boolean) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Creates a new video stream from the Camera Pi, on a specific IP address:port, using the GStreamer tool (v0.10).
startUpdatingThread() - Method in class com.raspoid.additionalcomponents.MPU6050
Starts the thread responsible to update MPU6050 values in background.
StarWars - Class in com.raspoid.examples.robots.poc
Play The Imperial March - Star Wars, on a passive buzzer.
stop() - Method in class com.raspoid.additionalcomponents.PassiveBuzzer
Stops the tone played by the buzzer.
stop() - Method in interface com.raspoid.behavioral.Arbitrator
Stops the arbitration process
stop() - Method in class com.raspoid.behavioral.SimpleArbitrator
 
stop() - Static method in class com.raspoid.brickpi.BrickPi
Once the program is over, this method should be called to release the resources properly
stop() - Method in class com.raspoid.brickpi.BrickPiConnector
Stops the execution of the BrickPi
stop() - Method in class com.raspoid.brickpi.Motor
Stops the motor.
stop() - Method in class com.raspoid.examples.additionalcomponents.servomotor.ServoMotorCallibration
Stop sending orders to the servo motor.
stop() - Method in class com.raspoid.examples.robots.poc.BaseRobot
 
stop() - Method in class com.raspoid.examples.robots.poc.RobotPOC
Stops the robot.
stop() - Method in class com.raspoid.examples.robots.poc.TrackingRobot
Stop the robot.
stopMotor() - Method in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Stop sending orders to the servo motor.
stopUpdatingThread() - Method in class com.raspoid.additionalcomponents.MPU6050
Stops the thread responsible to update MPU6050 values in background.
SUB1 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
SUB2 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
SUB3 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.14] Mode register 1, MODE1.
SUBADR1 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
SUBADR2 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
SUBADR3 - Static variable in class com.raspoid.additionalcomponents.PCA9685
[datasheet - p.10] Register address.
surroundFaces(Mat, Rect[], String) - Static method in class com.raspoid.additionalcomponents.camera.opencv.FaceDetector
Creates a new output image from the input image with faces surrounded with green boxes.
switchButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "switch".

T

T0 - Static variable in class com.raspoid.additionalcomponents.Thermistor
T0 coefficient from the B-parameter equalition, in K.
takePicture() - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a picture as soon as possible, with default parameter values.
takePicture(int, int, int) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new picture with specified width, height and quality.
takePicture(PictureConfig) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new picture with a custom PictureConfig.
takePicture(PictureConfig, PreviewConfig) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new picture with a custom PictureConfig, and a PreviewConfig to enable a preview in the same time.
takeVideo(int) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new video of millis milliseconds.
takeVideo(int, int, int) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new video for duration of millis milliseconds, with specified width and height.
takeVideo(VideoConfig) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new video with the specified VideoConfig.
takeVideo(VideoConfig, PreviewConfig) - Static method in class com.raspoid.additionalcomponents.camera.CameraPi
Takes a new video with the specific VideoConfig and a PreviewConfig to enable a preview in the same time.
TARGET_FREQUENCY - Static variable in class com.raspoid.additionalcomponents.servomotor.ServoMotor
Each PWM period must be 20ms long.
TestOpenCVInstallation - Class in com.raspoid.examples.additionalcomponents.camera.opencv
This class is simply used to test the OpenCV installation.
Thermistor - Class in com.raspoid.additionalcomponents
An NTC (negative temperature coefficient) thermistor changes its effective resistance with regard to temperature.
Thermistor(ADC, ADCChannel, double, double, double) - Constructor for class com.raspoid.additionalcomponents.Thermistor
Constructor for a thermistor using a specific ADC instance, a specific channel on this ADC, and specific parameters regarding the thermistor characteristics.
thermistorEnabled() - Method in class com.raspoid.examples.robots.poc.POCConfig
Checks if the thermistor is enabled.
ThermistorNTCLE203E3103SB0 - Class in com.raspoid.additionalcomponents
Implementation of a Thermistor using specific values corresponding to the characteristics of an NTCLE203E3103SB0.
ThermistorNTCLE203E3103SB0(ADC, ADCChannel) - Constructor for class com.raspoid.additionalcomponents.ThermistorNTCLE203E3103SB0
Constructor for a thermistor NTCLE203E3103SB0 using a specific ADC and a specific channel on this ADC to decode analog voltage values around the thermistor.
ThermistorNTCLE203E3103SB0Example - Class in com.raspoid.examples.additionalcomponents
Example of use of a Thermistor NTCLE203E3103SB0.
TimeoutSettingsMessage - Class in com.raspoid.brickpi.uart.message
Message for setting the default timeout after which the motors will be stopped by the brickpi.
TimeoutSettingsMessage(long) - Constructor for class com.raspoid.brickpi.uart.message.TimeoutSettingsMessage
Creates a new timeout message
toByte() - Method in enum com.raspoid.brickpi.nxt.sensor.SensorType
Get the byte value of the sensor type
toByte() - Method in enum com.raspoid.brickpi.uart.message.MessageType
Converts the MessageType to its byte value
toBytes() - Method in class com.raspoid.brickpi.uart.Packet
Get the byte representation of the packet
toggle() - Method in class com.raspoid.additionalcomponents.LED
Toggles the LED state.
toggle() - Method in class com.raspoid.brickpi.Led
If the LED is on, turns it off.
toJavaIntArrayRepresentation() - Method in class com.raspoid.additionalcomponents.ir.IRSignal
This method is mainly a utils methods.
Tools - Class in com.raspoid
This class contains some utility functions used accross the entire framework.
Tools.Color - Enum in com.raspoid
Colors that can be used to print log and debug messages to standard output.
toString() - Method in class com.raspoid.additionalcomponents.adc.PCF8591
 
toString() - Method in class com.raspoid.additionalcomponents.camera.Picture
 
toString() - Method in class com.raspoid.additionalcomponents.camera.Video
 
toString() - Method in class com.raspoid.additionalcomponents.ir.IRSignal
 
toString() - Method in enum com.raspoid.additionalcomponents.notes.BaseNote
 
toString() - Method in class com.raspoid.brickpi.Motor
 
toString() - Method in class com.raspoid.network.pushbullet.Device
 
toString() - Method in class com.raspoid.network.pushbullet.Push
 
toString() - Method in class com.raspoid.Pin
 
toString() - Method in enum com.raspoid.Tools.Color
 
TouchSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of the Touch Sensor.
TouchSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.TouchSensor
 
TouchSensorExample - Class in com.raspoid.examples.brickpi
Example of use of the NXT touch sensor.
TouchSwitch - Class in com.raspoid.additionalcomponents
A touch sensor operates with the conductivity of human body.
TouchSwitch(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.TouchSwitch
Constructor for a touch switch using a specific Gpio pin from the Raspberry Pi.
TouchSwitchExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Touch Switch.
TowerProMG90S - Class in com.raspoid.additionalcomponents.servomotor
Implementation of a servo motor TowerPro MG90S.
TowerProMG90S(PWMPin) - Constructor for class com.raspoid.additionalcomponents.servomotor.TowerProMG90S
Constructor for a servo motor TowerPro MG90S using a specific PWM pin.
TowerProMG90S(PCA9685, PCA9685.PCA9685Channel) - Constructor for class com.raspoid.additionalcomponents.servomotor.TowerProMG90S
Constructor for a servo motor TowerPro MG90S using a PCA9685 to generate PWM signals.
TowerProMG90SExample - Class in com.raspoid.examples.additionalcomponents.servomotor
Example of use of a TowerPro MG90S servomotor.
TrackingRobot - Class in com.raspoid.examples.robots.poc
Implementation of a behavior for the POC robot that allows to track a black line on the floor.
TrackingSensor - Class in com.raspoid.additionalcomponents
The infrared tracking sensor uses a TCRT5000 sensor.
TrackingSensor(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.TrackingSensor
Constructor for a tracking sensor using a specific Gpio pin from the Raspberry Pi.
TrackingSensorExample - Class in com.raspoid.examples.additionalcomponents
Example of use of a Tracking sensor.
transmitSignal(IRSignal) - Method in class com.raspoid.additionalcomponents.ir.IRTransmitter
Sends an IRSignal through the IRTransmitter connected to the setted PWM pin.
turnOnVideoStabilisation(boolean) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
Turn on/off video stabilisation.
type - Variable in class com.raspoid.brickpi.uart.message.AckMessage
Contains the Ack message type

U

UARTPin - Enum in com.raspoid
This enum is used to restrict access to the correct UART pins.
UltrasonicHCSR04 - Class in com.raspoid.additionalcomponents
Ultrasonic ranging module HCSR04 provides 2cm - 400cm non-contact measurement function.
UltrasonicHCSR04(GPIOPin, GPIOPin) - Constructor for class com.raspoid.additionalcomponents.UltrasonicHCSR04
Constructor for an ultrasonic sensor HCSR04 using a specific Gpio trigger pin and a specific Gpio echo pin.
UltrasonicHCSR04(GPIOPin) - Constructor for class com.raspoid.additionalcomponents.UltrasonicHCSR04
Constructor for a variant of ultrasonic sensor HCSR04 using a signle Gpio pin for trigger and echo signals.
UltrasonicHCSR04Example - Class in com.raspoid.examples.additionalcomponents
Example of use of the ultrasonic HCSR04 component.
UltraSonicSensor - Class in com.raspoid.brickpi.nxt.sensor
Implementation of the Mindstorm Ultrasonic Sensor.
UltraSonicSensor() - Constructor for class com.raspoid.brickpi.nxt.sensor.UltraSonicSensor
 
UltraSonicSensorExample - Class in com.raspoid.examples.brickpi
Example of use of the NXT ultrasonic sensor.
UltrasonicSensorsComparison - Class in com.raspoid.examples.additionalcomponents
Comparison between an Ultrasonic sensor HCSR04 and an Ultrasonic sensor NXT.
updateRegisterValue(int, int) - Method in class com.raspoid.additionalcomponents.MPU6050
This method updates the value of a specific register with a specific value.
usdButton - Static variable in class com.raspoid.additionalcomponents.ir.IRProtocolSunfounderMediaRemote
Button "U/SD".

V

value - Variable in class com.raspoid.brickpi.Sensor
Contains the current value of the sensor.
ValueChangeEvent - Class in com.raspoid.brickpi.nxt
POJO holding the values of a change value event
ValueChangeEvent(int, int) - Constructor for class com.raspoid.brickpi.nxt.ValueChangeEvent
Creates a POJO holding the event values
ValueListener - Interface in com.raspoid.brickpi.nxt
Interface defining a value change listener
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.adc.PCF8591.AnalogueInputProgrammingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.adc.PCF8591InputChannel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.BarometerBMP180.HardwarePressureAccuracyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.AWBMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.CameraMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.ExposureMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.H264Profile
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.ImageEffect
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.InitialState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.PictureEncoding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.camera.RotationDegree
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.notes.BaseNote
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.additionalcomponents.PCA9685.PCA9685Channel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.brickpi.Atmel
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum com.raspoid.brickpi.Atmel
Get an Atmel object by giving its byte address.
valueOf(String) - Static method in enum com.raspoid.brickpi.nxt.sensor.SensorType
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum com.raspoid.brickpi.nxt.sensor.SensorType
Get a SensorType object by giving its byte value
valueOf(String) - Static method in enum com.raspoid.brickpi.uart.message.MessageType
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum com.raspoid.brickpi.uart.message.MessageType
Get the the MessageType corresponding to its byte value
valueOf(String) - Static method in enum com.raspoid.examples.robots.poc.RobotPOC.DisplayScreen
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.GPIOPin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.I2CPin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.PWMPin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.RaspberryPiModel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.Tools.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.raspoid.UARTPin
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.raspoid.additionalcomponents.adc.PCF8591.AnalogueInputProgrammingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.adc.PCF8591InputChannel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.BarometerBMP180.HardwarePressureAccuracyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.AWBMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.CameraMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.ExposureMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.H264Profile
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.ImageEffect
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.InitialState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.PictureEncoding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.camera.RotationDegree
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.notes.BaseNote
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.additionalcomponents.PCA9685.PCA9685Channel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.brickpi.Atmel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.brickpi.nxt.sensor.SensorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.brickpi.uart.message.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.examples.robots.poc.RobotPOC.DisplayScreen
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.GPIOPin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.I2CPin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.PWMPin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.RaspberryPiModel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.Tools.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.raspoid.UARTPin
Returns an array containing the constants of this enum type, in the order they are declared.
ValuesMessage - Class in com.raspoid.brickpi.uart.message
Values message sent from the Rpi to the brickPi to get some fresh values from it.
ValuesMessage(Supplier<Motor>, Supplier<Motor>) - Constructor for class com.raspoid.brickpi.uart.message.ValuesMessage
Constructs a ValueMessage for two motors retrieved through suppliers
Video - Class in com.raspoid.additionalcomponents.camera
Abstraction for a video taken by the camera pi using the Raspoid raspivid wrapper.
Video(VideoConfig, String) - Constructor for class com.raspoid.additionalcomponents.camera.Video
Constructor for a new Video, using a specific VideoConfig and the file path of the video file on the system.
VideoConfig - Class in com.raspoid.additionalcomponents.camera
This class is used to easily wrap the complete raspivid command line tool.
VideoConfig() - Constructor for class com.raspoid.additionalcomponents.camera.VideoConfig
Constructor for a new VideoConfig using only default values for parameters.
VideoConfig(int) - Constructor for class com.raspoid.additionalcomponents.camera.VideoConfig
Constructor for a new VideoConfig using specific value for the duration of the video.
VideoConfig(int, int, int) - Constructor for class com.raspoid.additionalcomponents.camera.VideoConfig
Constructor for a new VideConfig using specific values for the duration of the video, the width and the height of the images.

W

waitAllFinished(Thread[]) - Static method in class com.raspoid.brickpi.Motor
This utility method is used as a barrier: each Thread given in parameter must be finished, before the method stops.
This allows to have a blocking method combining non-blocking actions.
whiteDetected() - Method in class com.raspoid.additionalcomponents.TrackingSensor
Returns true if white color is detected.
WIRING_PI_00 - Static variable in class com.raspoid.Pin
 
WIRING_PI_01 - Static variable in class com.raspoid.Pin
 
WIRING_PI_02 - Static variable in class com.raspoid.Pin
 
WIRING_PI_03 - Static variable in class com.raspoid.Pin
 
WIRING_PI_04 - Static variable in class com.raspoid.Pin
 
WIRING_PI_05 - Static variable in class com.raspoid.Pin
 
WIRING_PI_06 - Static variable in class com.raspoid.Pin
 
WIRING_PI_07 - Static variable in class com.raspoid.Pin
 
WIRING_PI_08 - Static variable in class com.raspoid.Pin
 
WIRING_PI_09 - Static variable in class com.raspoid.Pin
 
WIRING_PI_10 - Static variable in class com.raspoid.Pin
 
WIRING_PI_11 - Static variable in class com.raspoid.Pin
 
WIRING_PI_12 - Static variable in class com.raspoid.Pin
 
WIRING_PI_13 - Static variable in class com.raspoid.Pin
 
WIRING_PI_14 - Static variable in class com.raspoid.Pin
 
WIRING_PI_15 - Static variable in class com.raspoid.Pin
 
WIRING_PI_16 - Static variable in class com.raspoid.Pin
 
WIRING_PI_21 - Static variable in class com.raspoid.Pin
 
WIRING_PI_22 - Static variable in class com.raspoid.Pin
 
WIRING_PI_23 - Static variable in class com.raspoid.Pin
 
WIRING_PI_24 - Static variable in class com.raspoid.Pin
 
WIRING_PI_25 - Static variable in class com.raspoid.Pin
 
WIRING_PI_26 - Static variable in class com.raspoid.Pin
 
WIRING_PI_27 - Static variable in class com.raspoid.Pin
 
WIRING_PI_28 - Static variable in class com.raspoid.Pin
 
WIRING_PI_29 - Static variable in class com.raspoid.Pin
 
WIRING_PI_30 - Static variable in class com.raspoid.Pin
 
WIRING_PI_31 - Static variable in class com.raspoid.Pin
 
wrap(int) - Method in class com.raspoid.additionalcomponents.camera.VideoConfig
When outputting segments, this is the maximum the segment number can reach before it is reset to 1, giving the ability to keep recording segments, but overwriting the oldest one.
writeText(String) - Method in class com.raspoid.additionalcomponents.LCM1602
Writes a text on the display, starting at the current cursor position.
writeText(int, int, String) - Method in class com.raspoid.additionalcomponents.LCM1602
Sets the current cursor position to (line, col), and writes a text starting at this position.
writeTextRightAlign(int, String) - Method in class com.raspoid.additionalcomponents.LCM1602
Writes a text from left to right.
writeUnsignedValueDirectlyToI2CDevice(int) - Method in class com.raspoid.I2CComponent
This method writes an unsigned value directly on the i2c device (not on a specific register on this device).
writeUnsignedValueToRegister(int, int) - Method in class com.raspoid.I2CComponent
This method writes an unsigned value on the i2c device, on a specific register of this device.

X

xyzValuesToString(String, String, String) - Static method in class com.raspoid.additionalcomponents.MPU6050
Returns a String representation of a triplet of values, in the "x: X\t y: Y\t z: Z" format.

Y

yieldControl() - Method in interface com.raspoid.behavioral.Behavior
Enjoin the behavior to yield control back to the system as fast as possible.
yieldControl() - Method in class com.raspoid.behavioral.SimpleBehavior
 
A B C D E F G H I J K L M N O P R S T U V W X Y