Robotics.NXT

Initialization

withNXT

defaultDevice

Motors

setOutputState

setOutputStateConfirm

getOutputState

resetMotorPosition

Sensors

setInputMode

setInputModeConfirm

getInputValues

resetInputScaledValue

Miscellaneous

getVersion

getDeviceInfo

getBatteryLevel

isBatteryRechargeable

keepAlive

keepAliveConfirm

getSleepTimeout

getLastKeepAliveTime

stopEverything

shutdown

Remote Programs

startProgram

startProgramConfirm

stopProgram

stopProgramConfirm

stopProgramExisting

ensureStartProgram

getCurrentProgramName

Messages

messageWrite

messageWriteConfirm

messageRead

maybeMessageRead

ensureMessageRead

Sounds

playSoundFile

playSoundFileConfirm

playTone

stopSoundPlayback

stopSoundPlaybackConfirm

Low Speed (I2C)

lowspeedGetStatus

lowspeedWrite

lowspeedWriteConfirm

lowspeedRead

Filesystem

openWrite

openWriteLinear

write

writeConfirm

close

closeConfirm

delete

deleteConfirm

deleteExisting

IO Map

getModuleID

listModules

requestFirstModule

requestNextModule

closeModuleHandle

closeModuleHandleConfirm

readIOMap

writeIOMap

writeIOMapConfirm

Internals

initialize

terminate

runNXT

execNXT

Bluetooth utils

bluetoothRSSI

bluetoothLinkQuality

Types

data NXT a

data Version

data FirmwareVersion

data ProtocolVersion

type Major

type Minor

data DeviceInfo

type Name

type BTAddress

type BTStrength

type FlashFree

data OutputState

data OutputPort

type OutputPower

data OutputMode

data RegulationMode

type TurnRatio

data RunState

type TachoLimit

type TachoCount

type BlockTachoCount

type RotationCount

data MotorReset

data InputPort

data InputValue

type Valid

type Calibrated

data SensorType

data SensorMode

type RawADValue

type NormalizedADValue

type ScaledValue

type CalibratedValue

type Voltage

type Duration

data Inbox

data RemoteInbox

type RemoveMessage

type LoopPlayback

type Frequency

type RxDataLength

type TxData

type RxData

type DeviceAddress

type Command

type Measurement

type FileName

type FileSize

type FileHandle

type FileData

data ModuleInfo

type ModuleName

type ModuleID

type ModuleSize

type ModuleIOMapSize

type ModuleHandle

type IOMapOffset

type IOMapLength

type IOMapData

data TimeoutException

data NXTInternals

Errors

data NXTException