The nxt Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The nxt Reference Manual

This is the nxt Reference Manual, version 0.0.2, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:16:43 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

1.1 nxt

Author

David Lichteblau, Willem Rein Oudshoorn <woudshoo@xs4all.nl>

License

BSD, see LICENSE file.

Description

Implements the Lego Mindstorm NXT interface over Bluetooth, USB or a TCP proxy.

Version

0.0.2

Dependencies
Source

nxt.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

2 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

2.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.1 nxt.asd

Location

nxt.asd

Systems

nxt (system)

Packages

nxt.system


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.2 nxt/package.lisp

Parent

nxt (system)

Location

package.lisp

Packages

nxt


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.3 nxt/nxt-classes.lisp

Dependency

package.lisp (file)

Parent

nxt (system)

Location

nxt-classes.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.4 nxt/nxt-bluetooth.lisp

Dependency

nxt-classes.lisp (file)

Parent

nxt (system)

Location

nxt-bluetooth.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.5 nxt/nxt-usb.lisp

Dependency

nxt-bluetooth.lisp (file)

Parent

nxt (system)

Location

nxt-usb.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.6 nxt/nxt-command-infrastructure.lisp

Dependency

nxt-usb.lisp (file)

Parent

nxt (system)

Location

nxt-command-infrastructure.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.7 nxt/nxt-commands.lisp

Dependency

nxt-command-infrastructure.lisp (file)

Parent

nxt (system)

Location

nxt-commands.lisp

Exported Definitions
Internal Definitions

ls-read (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.8 nxt/nxt-utilities.lisp

Dependency

nxt-commands.lisp (file)

Parent

nxt (system)

Location

nxt-utilities.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.9 nxt/nxt-motorcontrol.lisp

Dependency

nxt-utilities.lisp (file)

Parent

nxt (system)

Location

nxt-motorcontrol.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

2.1.10 nxt/nxt-sensors.lisp

Dependency

nxt-motorcontrol.lisp (file)

Parent

nxt (system)

Location

nxt-sensors.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

3 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

3.1 nxt.system

Source

nxt.asd

Use List

Previous: , Up: Packages   [Contents][Index]

3.2 nxt

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

4.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.1 Special variables

Special Variable: *default-bluetooth-device*
Package

nxt

Source

nxt-classes.lisp (file)

Special Variable: *nxt*

Holds the default NXT instance (which functions use by default, if no explicit NXT parameter is given. Replaces the old *connection* variable.

Package

nxt

Source

nxt-classes.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.2 Functions

Function: acceleration-sensor-on PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: angle-sensor-on PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: close-connection ()
Package

nxt

Source

nxt-classes.lisp (file)

Function: compass-on PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: enumerate-digital-sensors &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: find-an-nxt &optional LOOK-FOR-TYPES DEVICE ERRORP
Package

nxt

Source

nxt-classes.lisp (file)

Function: find-frame-pair NAME &optional ERRORP
Function: (setf find-frame-pair) NEWVAL NAME
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: find-usb-nxt ()
Package

nxt

Source

nxt-usb.lisp (file)

Function: get-acceleration PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-accumulated-angle PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-angle-sensor-data PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-brightness-or-color PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-compass PORT &key NXT UNIT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-current-angle PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-rpm PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-switch PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-ultrasonic PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: light-off PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: lightdetector-on PORT &key COLOR NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: list-all-commands &optional APROPOS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: motor-control FIRST-MOTOR SECOND-MOTOR &key NXT POWER TACHO-LIMIT SPEED-REGULATION-P ACTION-AT-TACHO-LIMIT SMOOTH-START-P
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: motor-ready-p PORT &key NXT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: nxt-close &key HANDLE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-close-module-handle &key HANDLE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-delete &key FILE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-find-first &key FILE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-find-next &key HANDLE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-battery-level &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-current-program-name &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-device-info &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-firmware-version &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-input-values &key INPUT-PORT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-get-output-state &key OUTPUT-PORT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-keep-alive &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-ls-get-status &key PORT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-ls-read &key PORT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-ls-write &key PORT RX-DATA-LENGTH TX-DATA NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-message-read &key REMOTE-INBOX LOCAL-INBOX REMOVE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-message-write &key INBOX MESSAGE-DATA NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-open-read &key FILE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-open-write &key FILE-NAME FILE-SIZE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-play-sound-file &key LOOP FILE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-play-tone &key FREQUENCY DURATION NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-read &key HANDLE NR-OF-BYTES NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-request-first-module &key RESOURCE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-request-next-module &key HANDLE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-reset-input-scaled-value &key INPUT-PORT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-reset-motor-position &key OUTPUT-PORT RELATIVE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-set-input-mode &key INPUT-PORT SENSOR-TYPE SENSOR-MODE NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-set-output-state &key OUTPUT-PORT POWER-SET-POINT MODE REGULATION-MODE TURN-RATIO RUN-STATE TACHO-LIMIT NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-start-program &key FILE-NAME NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-stop-program &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-stop-sound-playback &key NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: nxt-write &key HANDLE DATA NXT ONEWAYP RETURN-STYLE CHECK-STATUS
Package

nxt

Source

nxt-commands.lisp (file)

Function: open-bluetooth-nxt DEVICE &key IF-DOES-NOT-EXIST
Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: open-connection &optional LOOK-FOR-TYPES DEVICE
Package

nxt

Source

nxt-classes.lisp (file)

Function: perform-command NXT FP ONEWAYP RETURN-STYLE EXPECTED-STATUS ARGS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: probe-digital-sensor PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: query-motor PORT &rest KEYS &key NXT RESULT-STYLE ASSERT-STATUS
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: restart-motor-control &key NXT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: running-a-program-p &optional NXT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: show-command FP
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: show-commands &optional APROPOS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: sleep-until-motor-ready PORT &key NXT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: start-program PROGRAM-NAME &key NXT STOP-AND-WAIT-P
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: stop-current-program &key NXT WAITP
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: stop-motor PORT &key NXT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: switch-on PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: ultrasonic-on PORT &key SINGLE-SHOT-P NXT
Package

nxt

Source

nxt-sensors.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.3 Generic functions

Generic Function: close-nxt NXT
Package

nxt

Methods
Method: close-nxt (NXT usb-nxt)
Source

nxt-usb.lisp (file)

Method: close-nxt (NXT bluetooth-nxt)
Source

nxt-bluetooth.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

4.1.4 Classes

Class: bluetooth-nxt ()
Package

nxt

Source

nxt-bluetooth.lisp (file)

Direct superclasses

nxt (class)

Direct methods
Direct slots
Slot: connection
Initargs

:connection

Readers

connection (generic function)

Writers

(setf connection) (generic function)

Slot: read-timestamp
Initform

0

Readers

read-timestamp (generic function)

Writers

(setf read-timestamp) (generic function)

Slot: write-timestamp
Initform

0

Readers

write-timestamp (generic function)

Writers

(setf write-timestamp) (generic function)

Class: nxt ()

Common superclass of BLUETOOTH-NXT and USB-NXT.

Package

nxt

Source

nxt-classes.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
  • initialize-instance (method)
  • motor-states (method)
  • motor-states (method)
Direct slots
Slot: motor-states
Readers

motor-states (generic function)

Writers

(setf motor-states) (generic function)

Class: usb-nxt ()
Package

nxt

Source

nxt-usb.lisp (file)

Direct superclasses

nxt (class)

Direct methods
Direct slots
Slot: handle
Initargs

:handle

Readers

handle (generic function)

Writers

(setf handle) (generic function)

Slot: buf
Initargs

:buf

Readers

buf (generic function)

Writers

(setf buf) (generic function)


Previous: , Up: Definitions   [Contents][Index]

4.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.1 Constants

Constant: +angle+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +anglestep-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +boolean-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +celsius-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +continuous+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +custom+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +default-i2c-address+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +fahrenheit-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +light-active+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +light-inactive+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +lowspeed+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +lowspeed-9v+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +mode-mask+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +no-sensor+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +nxc-delay+
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Constant: +pct-full-scale-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +period-counter-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +raw-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +reflection+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +single-shot+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +slope-mask+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +sound-db+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +sound-dba+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +state-command+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +switch+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +temperature+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +transition-cnt-mode+
Package

nxt

Source

nxt-sensors.lisp (file)

Constant: +usb-configuration+
Package

nxt

Source

nxt-usb.lisp (file)

Constant: +usb-interface+
Package

nxt

Source

nxt-usb.lisp (file)

Constant: +usb-maximum-frame-size+
Package

nxt

Source

nxt-usb.lisp (file)

Constant: +usb-recv-endpoint+
Package

nxt

Source

nxt-usb.lisp (file)

Constant: +usb-send-endpoint+
Package

nxt

Source

nxt-usb.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.2 Special variables

Special Variable: *bluetooth-delay-between-directions*

Required delay in seconds when switching between reading from and writing to the brick in either direction.

Package

nxt

Source

nxt-bluetooth.lisp (file)

Special Variable: *bluetooth-delay-between-writes*

Required delay in seconds between successive writes to the brick.

Package

nxt

Source

nxt-bluetooth.lisp (file)

Special Variable: *code-to-info-table*
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Special Variable: *libusb-context*
Package

nxt

Source

nxt-usb.lisp (file)

Special Variable: *libusb-loaded-p*
Package

nxt

Source

nxt-usb.lisp (file)

Special Variable: *motor-control-filename*
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Special Variable: *start/stop-program-timeout*
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Special Variable: *status-values*
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Special Variable: *usb-timeout*
Package

nxt

Source

nxt-usb.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.3 Macros

Macro: def-nxt-command NAME NAME-CODE TYPE-CODE &rest REST

Creates the command function ‘name’ which is a nxt command with the
two command identification bytes ‘type-code’ and ‘command-code’.
The ‘args’ contains key value pairs that should be taken by the function together with a type specifier. Type specifiers are lists of the form (‘type’ ‘position’ rest). The type is one of

ubyte - unsigned byte
uword - unsigned word (2 bytes)
ulong - unsigned long (4 bytes)
string - has additional parameter, ‘final-position’.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Macro: def-reply-package CODE &rest REST

Creates a ‘parse-nxt-reply’ specialized ‘(eql code)’ to parse a nxt reply package. The method ‘(parse-nxt-reply ((code (eql code)) (data vector)) ...)’
...

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Macro: defcfun NAME RET &rest ARGS
Package

nxt

Source

nxt-usb.lisp (file)

Macro: with-motor-delays (NXT PORT) &body BODY
Package

nxt

Source

nxt-motorcontrol.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.4 Functions

Function: %compute-bluetooth-timeout TIMESTAMP DELAY
Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: +& A B

adds numbers, but lets symbols fall through

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: argnames-from-args ARGS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: call-with-motor-delays FUN NXT PORT
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: check-motor-control-ports A B
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: check-offsets PARAMETERS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: clear-all ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: compute-motor-timeout MOTORS
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: compute-timeout S
Package

nxt

Source

nxt-sensors.lisp (file)

Function: copy-file-from-nxt FILE-NAME-NXT FILE-NAME
Package

nxt

Source

nxt-utilities.lisp (file)

Function: copy-file-to-nxt FILE-NAME FILE-NAME-NXT
Package

nxt

Source

nxt-utilities.lisp (file)

Function: create-nxt-command-form NAME TYPE-CODE COMMAND-CODE &rest ARGS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: encode-frame TC CC FI ARGS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: encode-motor-control-ports A B
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: ensure-frame-pair NAME TYPE-CODE COMMAND-CODE
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: ensure-libusb-initialized ()
Package

nxt

Source

nxt-usb.lisp (file)

Function: ensure-libusb-loaded ()
Package

nxt

Source

nxt-usb.lisp (file)

Function: ensure-message-read NXT REMOTE-INBOX LOCAL-INBOX REMOVE
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: exit-libusb ()
Package

nxt

Source

nxt-usb.lisp (file)

Function: fi-nbytes FI ARGUMENTS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: find-all-files ()
Package

nxt

Source

nxt-utilities.lisp (file)

Function: find-all-modules ()
Package

nxt

Source

nxt-utilities.lisp (file)

Function: get-calibrated-value PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-file FILE-NAME
Package

nxt

Source

nxt-utilities.lisp (file)

Function: get-normalized-value PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-scaled-value PORT &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: get-valid-input-values PORT &key NXT TIMEOUT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: libusb_bulk_transfer DEVICE ENDPOINT DATA LENGTH TRANSFERRED TIMEOUT
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_claim_interface DEVICE IFACE
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_close DEVICE
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_exit CONTEXT
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_init &CONTEXT
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_open_device_with_vid_pid CONTEXT VENDOR DEVICE
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_release_interface DEVICE IFACE
Package

nxt

Source

nxt-usb.lisp (file)

Function: libusb_set_configuration DEVICE CONFIGURATION
Package

nxt

Source

nxt-usb.lisp (file)

Function: link-size-parameters! PARAMS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: lookup-command-code COMMAND-CODE
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: ls-read &rest KEYS
Package

nxt

Source

nxt-commands.lisp (file)

Function: n-static-bytes FI

Cached length of the frame, excluding variable-length DATA, but including fixed-length DATA (and, of course, also including the length parameter which DATA refers to, if any).

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: note-data-read NXT
Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: note-data-written NXT
Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: note-motor-commanded MOTOR
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: parse-frame-info SPECS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: parse-parameter-spec NAME SPEC
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: parse-parameter-specs SPECS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: pi-end P

The offset of the first byte following the parameter.
Returns :unknown if the end is not known (for a DATA-PARAMETER).

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: pi-last-byte P

The offset of the parameter’s last byte, i.e. the byte preceding PI-END. Returns :unknown if the end is not known (for a DATA-PARAMETER).

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: put-file FILE-NAME DATA
Package

nxt

Source

nxt-utilities.lisp (file)

Function: read-i2c PORT RX-LEN DEVICE REGISTER &key NXT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: read-little-endian-short STREAM

Read a 16 bit int from the nxt, lsb first.

Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: read-reply NXT CC FI
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: read-reply/checked NXT CC FI RETURN-STYLE EXPECTED-STATUS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: read-ubyte-from-reply VECTOR LOCATION

Extract unsigned byte value from the reply vector ‘vector’ at location ‘location’.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: read-ulong-from-reply VECTOR LOCATION
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: read-uword-from-reply VECTOR LOCATION
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: send-string-message INBOX MESSAGE &key NXT CHECK-STATUS
Package

nxt

Source

nxt-motorcontrol.lisp (file)

Function: show-frame-info FI
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: sign-extend BITS VALUE
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: status-ok-p REPLY
Package

nxt

Source

nxt-utilities.lisp (file)

Function: timeoutp ABS-TIMEOUT
Package

nxt

Source

nxt-sensors.lisp (file)

Function: ub8-vector &rest ARGS
Package

nxt

Source

nxt-sensors.lisp (file)

Function: value-of KEY ASSOC
Package

nxt

Source

nxt-utilities.lisp (file)

Function: variable-length-frame-p FI
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: wait-for-bluetooth NXT DELAY-TYPE
Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: write-request NXT TC CC FI ONEWAYP ARGS
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: write-to-nxt-us SHORT STREAM

Write a 16 bit int to the nxt lsb first.

Package

nxt

Source

nxt-bluetooth.lisp (file)

Function: write-ubyte-to-command VECTOR VALUE LOCATION

Put the value ‘value’ in the command vector ‘vector’ at location ‘location’.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: write-ulong-to-command VECTOR VALUE LOCATION
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Function: write-uword-to-command VECTOR VALUE LOCATION
Package

nxt

Source

nxt-command-infrastructure.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.5 Generic functions

Generic Function: %n-static-bytes OBJECT
Generic Function: (setf %n-static-bytes) NEW-VALUE OBJECT
Package

nxt

Methods
Method: %n-static-bytes (FRAME-INFO frame-info)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf %n-static-bytes) NEW-VALUE (FRAME-INFO frame-info)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: buf OBJECT
Generic Function: (setf buf) NEW-VALUE OBJECT
Package

nxt

Methods
Method: buf (USB-NXT usb-nxt)

automatically generated reader method

Source

nxt-usb.lisp (file)

Method: (setf buf) NEW-VALUE (USB-NXT usb-nxt)

automatically generated writer method

Source

nxt-usb.lisp (file)

Generic Function: command-timestamp OBJECT
Generic Function: (setf command-timestamp) NEW-VALUE OBJECT
Package

nxt

Methods
Method: command-timestamp (MOTOR-STATE motor-state)

automatically generated reader method

Source

nxt-classes.lisp (file)

Method: (setf command-timestamp) NEW-VALUE (MOTOR-STATE motor-state)

automatically generated writer method

Source

nxt-classes.lisp (file)

Generic Function: compute-bluetooth-timeout NXT DELAY-TYPE
Package

nxt

Source

nxt-bluetooth.lisp (file)

Methods
Method: compute-bluetooth-timeout NXT (DELAY-TYPE (eql read))
Method: compute-bluetooth-timeout NXT (DELAY-TYPE (eql write))
Generic Function: connection OBJECT
Generic Function: (setf connection) NEW-VALUE OBJECT
Package

nxt

Methods
Method: connection (BLUETOOTH-NXT bluetooth-nxt)

automatically generated reader method

Source

nxt-bluetooth.lisp (file)

Method: (setf connection) NEW-VALUE (BLUETOOTH-NXT bluetooth-nxt)

automatically generated writer method

Source

nxt-bluetooth.lisp (file)

Generic Function: decode-parameter PARAM VECTOR
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Methods
Method: decode-parameter (PARAM ubyte-parameter) VECTOR
Method: decode-parameter (PARAM sbyte-parameter) VECTOR
Method: decode-parameter (PARAM status-parameter) VECTOR
Method: decode-parameter (PARAM string-parameter) VECTOR
Method: decode-parameter (PARAM uword-parameter) VECTOR
Method: decode-parameter (PARAM sword-parameter) VECTOR
Method: decode-parameter (PARAM ulong-parameter) VECTOR
Method: decode-parameter (PARAM slong-parameter) VECTOR
Method: decode-parameter (PARAM data-parameter/fixed-length) VECTOR
Method: decode-parameter (PARAM data-parameter/implicit-length) VECTOR
Method: decode-parameter (PARAM data-parameter/specified-length) VECTOR
Generic Function: encode-parameter PARAM VAL INTO-VECTOR
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Methods
Method: encode-parameter (PARAM ubyte-parameter) VAL VECTOR
Method: encode-parameter (PARAM sbyte-parameter) VAL VECTOR
Method: encode-parameter (PARAM status-parameter) VAL VECTOR
Method: encode-parameter (PARAM string-parameter) VAL VECTOR
Method: encode-parameter (PARAM uword-parameter) VAL VECTOR
Method: encode-parameter (PARAM sword-parameter) VAL VECTOR
Method: encode-parameter (PARAM ulong-parameter) VAL VECTOR
Method: encode-parameter (PARAM data-parameter/fixed-length) VAL VECTOR
Method: encode-parameter (PARAM data-parameter/implicit-length) VAL VECTOR
Method: encode-parameter (PARAM data-parameter/specified-length) VAL VECTOR
Generic Function: fi-explicit-parameters OBJECT
Generic Function: (setf fi-explicit-parameters) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fi-explicit-parameters (FRAME-INFO frame-info)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fi-explicit-parameters) NEW-VALUE (FRAME-INFO frame-info)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fi-parameters OBJECT
Generic Function: (setf fi-parameters) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fi-parameters (FRAME-INFO frame-info)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fi-parameters) NEW-VALUE (FRAME-INFO frame-info)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fp-command-code OBJECT
Generic Function: (setf fp-command-code) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fp-command-code (FRAME-PAIR frame-pair)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fp-command-code) NEW-VALUE (FRAME-PAIR frame-pair)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fp-name OBJECT
Generic Function: (setf fp-name) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fp-name (FRAME-PAIR frame-pair)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fp-name) NEW-VALUE (FRAME-PAIR frame-pair)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fp-reply OBJECT
Generic Function: (setf fp-reply) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fp-reply (FRAME-PAIR frame-pair)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fp-reply) NEW-VALUE (FRAME-PAIR frame-pair)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fp-request OBJECT
Generic Function: (setf fp-request) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fp-request (FRAME-PAIR frame-pair)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fp-request) NEW-VALUE (FRAME-PAIR frame-pair)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: fp-type-code OBJECT
Generic Function: (setf fp-type-code) NEW-VALUE OBJECT
Package

nxt

Methods
Method: fp-type-code (FRAME-PAIR frame-pair)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf fp-type-code) NEW-VALUE (FRAME-PAIR frame-pair)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: handle OBJECT
Generic Function: (setf handle) NEW-VALUE OBJECT
Package

nxt

Methods
Method: handle (USB-NXT usb-nxt)

automatically generated reader method

Source

nxt-usb.lisp (file)

Method: (setf handle) NEW-VALUE (USB-NXT usb-nxt)

automatically generated writer method

Source

nxt-usb.lisp (file)

Generic Function: motor-states OBJECT
Generic Function: (setf motor-states) NEW-VALUE OBJECT
Package

nxt

Methods
Method: motor-states (NXT nxt)

automatically generated reader method

Source

nxt-classes.lisp (file)

Method: (setf motor-states) NEW-VALUE (NXT nxt)

automatically generated writer method

Source

nxt-classes.lisp (file)

Generic Function: pi-adjust-size OBJECT
Generic Function: (setf pi-adjust-size) NEW-VALUE OBJECT
Package

nxt

Methods
Method: pi-adjust-size (DATA-PARAMETER/SPECIFIED-LENGTH data-parameter/specified-length)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf pi-adjust-size) NEW-VALUE (DATA-PARAMETER/SPECIFIED-LENGTH data-parameter/specified-length)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: pi-name OBJECT
Generic Function: (setf pi-name) NEW-VALUE OBJECT
Package

nxt

Methods
Method: pi-name (PARAMETER-INFO parameter-info)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf pi-name) NEW-VALUE (PARAMETER-INFO parameter-info)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: pi-nbytes PARAM

Returns the length in bytes occupied this parameter. The exception is if a ’data’ spec is present. The data is variable length and is not accounted for. However, if the size of the data is stored in the frame, the ubyte where the length of the data is stored IS taken into account.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Writer

(setf pi-nbytes) (generic function)

Methods
Method: pi-nbytes (P status-parameter)
Method: pi-nbytes (P ubyte-parameter)
Method: pi-nbytes (P uword-parameter)
Method: pi-nbytes (P ulong-parameter)
Method: pi-nbytes (P sbyte-parameter)
Method: pi-nbytes (P sword-parameter)
Method: pi-nbytes (P slong-parameter)
Method: pi-nbytes (P data-parameter/implicit-length)
Method: pi-nbytes (P data-parameter/specified-length)
Method: pi-nbytes (NBYTES-MIXIN nbytes-mixin)

automatically generated reader method

Generic Function: (setf pi-nbytes) NEW-VALUE OBJECT
Package

nxt

Reader

pi-nbytes (generic function)

Methods
Method: (setf pi-nbytes) NEW-VALUE (NBYTES-MIXIN nbytes-mixin)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: pi-offset OBJECT
Generic Function: (setf pi-offset) NEW-VALUE OBJECT
Package

nxt

Methods
Method: pi-offset (PARAMETER-INFO parameter-info)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf pi-offset) NEW-VALUE (PARAMETER-INFO parameter-info)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: pi-size-parameter OBJECT
Generic Function: (setf pi-size-parameter) NEW-VALUE OBJECT
Package

nxt

Methods
Method: pi-size-parameter (DATA-PARAMETER/SPECIFIED-LENGTH data-parameter/specified-length)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: (setf pi-size-parameter) NEW-VALUE (DATA-PARAMETER/SPECIFIED-LENGTH data-parameter/specified-length)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: read-from-nxt NXT
Package

nxt

Methods
Method: read-from-nxt (NXT usb-nxt)
Source

nxt-usb.lisp (file)

Method: read-from-nxt (NXT bluetooth-nxt)

Read a reply from the nxt. It returns the content of the bluetooth or USB ’frame’, i.e. without length bytes.

Source

nxt-bluetooth.lisp (file)

Generic Function: read-timestamp OBJECT
Generic Function: (setf read-timestamp) NEW-VALUE OBJECT
Package

nxt

Methods
Method: read-timestamp (BLUETOOTH-NXT bluetooth-nxt)

automatically generated reader method

Source

nxt-bluetooth.lisp (file)

Method: (setf read-timestamp) NEW-VALUE (BLUETOOTH-NXT bluetooth-nxt)

automatically generated writer method

Source

nxt-bluetooth.lisp (file)

Generic Function: size-parameter-p PARAMETER
Generic Function: (setf size-parameter-p) NEW-VALUE OBJECT
Package

nxt

Methods
Method: size-parameter-p (NUMERIC-PARAMETER numeric-parameter)

automatically generated reader method

Source

nxt-command-infrastructure.lisp (file)

Method: size-parameter-p (PARAMETER parameter-info)
Source

nxt-command-infrastructure.lisp (file)

Method: (setf size-parameter-p) NEW-VALUE (NUMERIC-PARAMETER numeric-parameter)

automatically generated writer method

Source

nxt-command-infrastructure.lisp (file)

Generic Function: write-timestamp OBJECT
Generic Function: (setf write-timestamp) NEW-VALUE OBJECT
Package

nxt

Methods
Method: write-timestamp (BLUETOOTH-NXT bluetooth-nxt)

automatically generated reader method

Source

nxt-bluetooth.lisp (file)

Method: (setf write-timestamp) NEW-VALUE (BLUETOOTH-NXT bluetooth-nxt)

automatically generated writer method

Source

nxt-bluetooth.lisp (file)

Generic Function: write-to-nxt NXT DATA-VECTOR
Package

nxt

Methods
Method: write-to-nxt (NXT usb-nxt) DATA
Source

nxt-usb.lisp (file)

Method: write-to-nxt (NXT bluetooth-nxt) DATA-VECTOR

Writes the raw data vector prefixed by its length. This is to wrap the command in the bluetooth ’frame’ and send it over the wire, eh, air.

Source

nxt-bluetooth.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.6 Classes

Class: data-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

parameter-info (class)

Direct subclasses
Class: data-parameter/fixed-length ()

A data parameter which is specified as fixed-length in the protocol. This kind of parameter does not have a size field on the wire.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses
Direct methods
Class: data-parameter/implicit-length ()

A data parameter which is variable-length, but does not have a size field on the wire. This type of parameter can occur only at the end of a frame.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

variable-length-data-parameter (class)

Direct methods
Class: data-parameter/specified-length ()

A data parameter which is variable-length, but and stores its size
(plus the value of adjust-size) in a second parameter, the size-parameter, which must precede the data.

Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

variable-length-data-parameter (class)

Direct methods
Direct slots
Slot: size-parameter
Initargs

:size-parameter

Readers

pi-size-parameter (generic function)

Writers

(setf pi-size-parameter) (generic function)

Slot: adjust-size
Initargs

:adjust-size

Readers

pi-adjust-size (generic function)

Writers

(setf pi-adjust-size) (generic function)

Class: frame-info ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: n-static-bytes
Readers

%n-static-bytes (generic function)

Writers

(setf %n-static-bytes) (generic function)

Slot: parameters
Initargs

:parameters

Readers

fi-parameters (generic function)

Writers

(setf fi-parameters) (generic function)

Slot: explicit-parameters
Readers

fi-explicit-parameters (generic function)

Writers

(setf fi-explicit-parameters) (generic function)

Class: frame-pair ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

fp-name (generic function)

Writers

(setf fp-name) (generic function)

Slot: type-code
Initargs

:type-code

Readers

fp-type-code (generic function)

Writers

(setf fp-type-code) (generic function)

Slot: command-code
Initargs

:command-code

Readers

fp-command-code (generic function)

Writers

(setf fp-command-code) (generic function)

Slot: request
Initargs

:request

Readers

fp-request (generic function)

Writers

(setf fp-request) (generic function)

Slot: reply
Initargs

:reply

Readers

fp-reply (generic function)

Writers

(setf fp-reply) (generic function)

Class: motor-state ()
Package

nxt

Source

nxt-classes.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: command-timestamp
Initform

0

Readers

command-timestamp (generic function)

Writers

(setf command-timestamp) (generic function)

Class: nbytes-mixin ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: nbytes
Initargs

:nbytes

Readers

pi-nbytes (generic function)

Writers

(setf pi-nbytes) (generic function)

Class: numeric-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

parameter-info (class)

Direct subclasses
Direct methods
Direct slots
Slot: size-parameter-p
Readers

size-parameter-p (generic function)

Writers

(setf size-parameter-p) (generic function)

Class: parameter-info ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

pi-name (generic function)

Writers

(setf pi-name) (generic function)

Slot: offset
Initargs

:offset

Readers

pi-offset (generic function)

Writers

(setf pi-offset) (generic function)

Class: sbyte-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: slong-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: status-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

parameter-info (class)

Direct methods
Class: string-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses
Direct methods
Class: sword-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: ubyte-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: ulong-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: uword-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

numeric-parameter (class)

Direct methods
Class: variable-length-data-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)

Direct superclasses

data-parameter (class)

Direct subclasses

Previous: , Up: Internal definitions   [Contents][Index]

4.2.7 Types

Type: fixed-length-parameter ()
Package

nxt

Source

nxt-command-infrastructure.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   N  
Index Entry  Section

F
File, Lisp, nxt.asd: The nxt<dot>asd file
File, Lisp, nxt/nxt-bluetooth.lisp: The nxt/nxt-bluetooth<dot>lisp file
File, Lisp, nxt/nxt-classes.lisp: The nxt/nxt-classes<dot>lisp file
File, Lisp, nxt/nxt-command-infrastructure.lisp: The nxt/nxt-command-infrastructure<dot>lisp file
File, Lisp, nxt/nxt-commands.lisp: The nxt/nxt-commands<dot>lisp file
File, Lisp, nxt/nxt-motorcontrol.lisp: The nxt/nxt-motorcontrol<dot>lisp file
File, Lisp, nxt/nxt-sensors.lisp: The nxt/nxt-sensors<dot>lisp file
File, Lisp, nxt/nxt-usb.lisp: The nxt/nxt-usb<dot>lisp file
File, Lisp, nxt/nxt-utilities.lisp: The nxt/nxt-utilities<dot>lisp file
File, Lisp, nxt/package.lisp: The nxt/package<dot>lisp file

L
Lisp File, nxt.asd: The nxt<dot>asd file
Lisp File, nxt/nxt-bluetooth.lisp: The nxt/nxt-bluetooth<dot>lisp file
Lisp File, nxt/nxt-classes.lisp: The nxt/nxt-classes<dot>lisp file
Lisp File, nxt/nxt-command-infrastructure.lisp: The nxt/nxt-command-infrastructure<dot>lisp file
Lisp File, nxt/nxt-commands.lisp: The nxt/nxt-commands<dot>lisp file
Lisp File, nxt/nxt-motorcontrol.lisp: The nxt/nxt-motorcontrol<dot>lisp file
Lisp File, nxt/nxt-sensors.lisp: The nxt/nxt-sensors<dot>lisp file
Lisp File, nxt/nxt-usb.lisp: The nxt/nxt-usb<dot>lisp file
Lisp File, nxt/nxt-utilities.lisp: The nxt/nxt-utilities<dot>lisp file
Lisp File, nxt/package.lisp: The nxt/package<dot>lisp file

N
nxt.asd: The nxt<dot>asd file
nxt/nxt-bluetooth.lisp: The nxt/nxt-bluetooth<dot>lisp file
nxt/nxt-classes.lisp: The nxt/nxt-classes<dot>lisp file
nxt/nxt-command-infrastructure.lisp: The nxt/nxt-command-infrastructure<dot>lisp file
nxt/nxt-commands.lisp: The nxt/nxt-commands<dot>lisp file
nxt/nxt-motorcontrol.lisp: The nxt/nxt-motorcontrol<dot>lisp file
nxt/nxt-sensors.lisp: The nxt/nxt-sensors<dot>lisp file
nxt/nxt-usb.lisp: The nxt/nxt-usb<dot>lisp file
nxt/nxt-utilities.lisp: The nxt/nxt-utilities<dot>lisp file
nxt/package.lisp: The nxt/package<dot>lisp file

Jump to:   F   L   N  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (   +  
A   B   C   D   E   F   G   H   L   M   N   O   P   Q   R   S   T   U   V   W  
Index Entry  Section

%
%compute-bluetooth-timeout: Internal functions
%n-static-bytes: Internal generic functions
%n-static-bytes: Internal generic functions

(
(setf %n-static-bytes): Internal generic functions
(setf %n-static-bytes): Internal generic functions
(setf buf): Internal generic functions
(setf buf): Internal generic functions
(setf command-timestamp): Internal generic functions
(setf command-timestamp): Internal generic functions
(setf connection): Internal generic functions
(setf connection): Internal generic functions
(setf fi-explicit-parameters): Internal generic functions
(setf fi-explicit-parameters): Internal generic functions
(setf fi-parameters): Internal generic functions
(setf fi-parameters): Internal generic functions
(setf find-frame-pair): Exported functions
(setf fp-command-code): Internal generic functions
(setf fp-command-code): Internal generic functions
(setf fp-name): Internal generic functions
(setf fp-name): Internal generic functions
(setf fp-reply): Internal generic functions
(setf fp-reply): Internal generic functions
(setf fp-request): Internal generic functions
(setf fp-request): Internal generic functions
(setf fp-type-code): Internal generic functions
(setf fp-type-code): Internal generic functions
(setf handle): Internal generic functions
(setf handle): Internal generic functions
(setf motor-states): Internal generic functions
(setf motor-states): Internal generic functions
(setf pi-adjust-size): Internal generic functions
(setf pi-adjust-size): Internal generic functions
(setf pi-name): Internal generic functions
(setf pi-name): Internal generic functions
(setf pi-nbytes): Internal generic functions
(setf pi-nbytes): Internal generic functions
(setf pi-offset): Internal generic functions
(setf pi-offset): Internal generic functions
(setf pi-size-parameter): Internal generic functions
(setf pi-size-parameter): Internal generic functions
(setf read-timestamp): Internal generic functions
(setf read-timestamp): Internal generic functions
(setf size-parameter-p): Internal generic functions
(setf size-parameter-p): Internal generic functions
(setf write-timestamp): Internal generic functions
(setf write-timestamp): Internal generic functions

+
+&: Internal functions

A
acceleration-sensor-on: Exported functions
angle-sensor-on: Exported functions
argnames-from-args: Internal functions

B
buf: Internal generic functions
buf: Internal generic functions

C
call-with-motor-delays: Internal functions
check-motor-control-ports: Internal functions
check-offsets: Internal functions
clear-all: Internal functions
close-connection: Exported functions
close-nxt: Exported generic functions
close-nxt: Exported generic functions
close-nxt: Exported generic functions
command-timestamp: Internal generic functions
command-timestamp: Internal generic functions
compass-on: Exported functions
compute-bluetooth-timeout: Internal generic functions
compute-bluetooth-timeout: Internal generic functions
compute-bluetooth-timeout: Internal generic functions
compute-motor-timeout: Internal functions
compute-timeout: Internal functions
connection: Internal generic functions
connection: Internal generic functions
copy-file-from-nxt: Internal functions
copy-file-to-nxt: Internal functions
create-nxt-command-form: Internal functions

D
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
decode-parameter: Internal generic functions
def-nxt-command: Internal macros
def-reply-package: Internal macros
defcfun: Internal macros

E
encode-frame: Internal functions
encode-motor-control-ports: Internal functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
encode-parameter: Internal generic functions
ensure-frame-pair: Internal functions
ensure-libusb-initialized: Internal functions
ensure-libusb-loaded: Internal functions
ensure-message-read: Internal functions
enumerate-digital-sensors: Exported functions
exit-libusb: Internal functions

F
fi-explicit-parameters: Internal generic functions
fi-explicit-parameters: Internal generic functions
fi-nbytes: Internal functions
fi-parameters: Internal generic functions
fi-parameters: Internal generic functions
find-all-files: Internal functions
find-all-modules: Internal functions
find-an-nxt: Exported functions
find-frame-pair: Exported functions
find-usb-nxt: Exported functions
fp-command-code: Internal generic functions
fp-command-code: Internal generic functions
fp-name: Internal generic functions
fp-name: Internal generic functions
fp-reply: Internal generic functions
fp-reply: Internal generic functions
fp-request: Internal generic functions
fp-request: Internal generic functions
fp-type-code: Internal generic functions
fp-type-code: Internal generic functions
Function, %compute-bluetooth-timeout: Internal functions
Function, (setf find-frame-pair): Exported functions
Function, +&: Internal functions
Function, acceleration-sensor-on: Exported functions
Function, angle-sensor-on: Exported functions
Function, argnames-from-args: Internal functions
Function, call-with-motor-delays: Internal functions
Function, check-motor-control-ports: Internal functions
Function, check-offsets: Internal functions
Function, clear-all: Internal functions
Function, close-connection: Exported functions
Function, compass-on: Exported functions
Function, compute-motor-timeout: Internal functions
Function, compute-timeout: Internal functions
Function, copy-file-from-nxt: Internal functions
Function, copy-file-to-nxt: Internal functions
Function, create-nxt-command-form: Internal functions
Function, encode-frame: Internal functions
Function, encode-motor-control-ports: Internal functions
Function, ensure-frame-pair: Internal functions
Function, ensure-libusb-initialized: Internal functions
Function, ensure-libusb-loaded: Internal functions
Function, ensure-message-read: Internal functions
Function, enumerate-digital-sensors: Exported functions
Function, exit-libusb: Internal functions
Function, fi-nbytes: Internal functions
Function, find-all-files: Internal functions
Function, find-all-modules: Internal functions
Function, find-an-nxt: Exported functions
Function, find-frame-pair: Exported functions
Function, find-usb-nxt: Exported functions
Function, get-acceleration: Exported functions
Function, get-accumulated-angle: Exported functions
Function, get-angle-sensor-data: Exported functions
Function, get-brightness-or-color: Exported functions
Function, get-calibrated-value: Internal functions
Function, get-compass: Exported functions
Function, get-current-angle: Exported functions
Function, get-file: Internal functions
Function, get-normalized-value: Internal functions
Function, get-rpm: Exported functions
Function, get-scaled-value: Internal functions
Function, get-switch: Exported functions
Function, get-ultrasonic: Exported functions
Function, get-valid-input-values: Internal functions
Function, libusb_bulk_transfer: Internal functions
Function, libusb_claim_interface: Internal functions
Function, libusb_close: Internal functions
Function, libusb_exit: Internal functions
Function, libusb_init: Internal functions
Function, libusb_open_device_with_vid_pid: Internal functions
Function, libusb_release_interface: Internal functions
Function, libusb_set_configuration: Internal functions
Function, light-off: Exported functions
Function, lightdetector-on: Exported functions
Function, link-size-parameters!: Internal functions
Function, list-all-commands: Exported functions
Function, lookup-command-code: Internal functions
Function, ls-read: Internal functions
Function, motor-control: Exported functions
Function, motor-ready-p: Exported functions
Function, n-static-bytes: Internal functions
Function, note-data-read: Internal functions
Function, note-data-written: Internal functions
Function, note-motor-commanded: Internal functions
Function, nxt-close: Exported functions
Function, nxt-close-module-handle: Exported functions
Function, nxt-delete: Exported functions
Function, nxt-find-first: Exported functions
Function, nxt-find-next: Exported functions
Function, nxt-get-battery-level: Exported functions
Function, nxt-get-current-program-name: Exported functions
Function, nxt-get-device-info: Exported functions
Function, nxt-get-firmware-version: Exported functions
Function, nxt-get-input-values: Exported functions
Function, nxt-get-output-state: Exported functions
Function, nxt-keep-alive: Exported functions
Function, nxt-ls-get-status: Exported functions
Function, nxt-ls-read: Exported functions
Function, nxt-ls-write: Exported functions
Function, nxt-message-read: Exported functions
Function, nxt-message-write: Exported functions
Function, nxt-open-read: Exported functions
Function, nxt-open-write: Exported functions
Function, nxt-play-sound-file: Exported functions
Function, nxt-play-tone: Exported functions
Function, nxt-read: Exported functions
Function, nxt-request-first-module: Exported functions
Function, nxt-request-next-module: Exported functions
Function, nxt-reset-input-scaled-value: Exported functions
Function, nxt-reset-motor-position: Exported functions
Function, nxt-set-input-mode: Exported functions
Function, nxt-set-output-state: Exported functions
Function, nxt-start-program: Exported functions
Function, nxt-stop-program: Exported functions
Function, nxt-stop-sound-playback: Exported functions
Function, nxt-write: Exported functions
Function, open-bluetooth-nxt: Exported functions
Function, open-connection: Exported functions
Function, parse-frame-info: Internal functions
Function, parse-parameter-spec: Internal functions
Function, parse-parameter-specs: Internal functions
Function, perform-command: Exported functions
Function, pi-end: Internal functions
Function, pi-last-byte: Internal functions
Function, probe-digital-sensor: Exported functions
Function, put-file: Internal functions
Function, query-motor: Exported functions
Function, read-i2c: Internal functions
Function, read-little-endian-short: Internal functions
Function, read-reply: Internal functions
Function, read-reply/checked: Internal functions
Function, read-ubyte-from-reply: Internal functions
Function, read-ulong-from-reply: Internal functions
Function, read-uword-from-reply: Internal functions
Function, restart-motor-control: Exported functions
Function, running-a-program-p: Exported functions
Function, send-string-message: Internal functions
Function, show-command: Exported functions
Function, show-commands: Exported functions
Function, show-frame-info: Internal functions
Function, sign-extend: Internal functions
Function, sleep-until-motor-ready: Exported functions
Function, start-program: Exported functions
Function, status-ok-p: Internal functions
Function, stop-current-program: Exported functions
Function, stop-motor: Exported functions
Function, switch-on: Exported functions
Function, timeoutp: Internal functions
Function, ub8-vector: Internal functions
Function, ultrasonic-on: Exported functions
Function, value-of: Internal functions
Function, variable-length-frame-p: Internal functions
Function, wait-for-bluetooth: Internal functions
Function, write-request: Internal functions
Function, write-to-nxt-us: Internal functions
Function, write-ubyte-to-command: Internal functions
Function, write-ulong-to-command: Internal functions
Function, write-uword-to-command: Internal functions

G
Generic Function, %n-static-bytes: Internal generic functions
Generic Function, (setf %n-static-bytes): Internal generic functions
Generic Function, (setf buf): Internal generic functions
Generic Function, (setf command-timestamp): Internal generic functions
Generic Function, (setf connection): Internal generic functions
Generic Function, (setf fi-explicit-parameters): Internal generic functions
Generic Function, (setf fi-parameters): Internal generic functions
Generic Function, (setf fp-command-code): Internal generic functions
Generic Function, (setf fp-name): Internal generic functions
Generic Function, (setf fp-reply): Internal generic functions
Generic Function, (setf fp-request): Internal generic functions
Generic Function, (setf fp-type-code): Internal generic functions
Generic Function, (setf handle): Internal generic functions
Generic Function, (setf motor-states): Internal generic functions
Generic Function, (setf pi-adjust-size): Internal generic functions
Generic Function, (setf pi-name): Internal generic functions
Generic Function, (setf pi-nbytes): Internal generic functions
Generic Function, (setf pi-offset): Internal generic functions
Generic Function, (setf pi-size-parameter): Internal generic functions
Generic Function, (setf read-timestamp): Internal generic functions
Generic Function, (setf size-parameter-p): Internal generic functions
Generic Function, (setf write-timestamp): Internal generic functions
Generic Function, buf: Internal generic functions
Generic Function, close-nxt: Exported generic functions
Generic Function, command-timestamp: Internal generic functions
Generic Function, compute-bluetooth-timeout: Internal generic functions
Generic Function, connection: Internal generic functions
Generic Function, decode-parameter: Internal generic functions
Generic Function, encode-parameter: Internal generic functions
Generic Function, fi-explicit-parameters: Internal generic functions
Generic Function, fi-parameters: Internal generic functions
Generic Function, fp-command-code: Internal generic functions
Generic Function, fp-name: Internal generic functions
Generic Function, fp-reply: Internal generic functions
Generic Function, fp-request: Internal generic functions
Generic Function, fp-type-code: Internal generic functions
Generic Function, handle: Internal generic functions
Generic Function, motor-states: Internal generic functions
Generic Function, pi-adjust-size: Internal generic functions
Generic Function, pi-name: Internal generic functions
Generic Function, pi-nbytes: Internal generic functions
Generic Function, pi-offset: Internal generic functions
Generic Function, pi-size-parameter: Internal generic functions
Generic Function, read-from-nxt: Internal generic functions
Generic Function, read-timestamp: Internal generic functions
Generic Function, size-parameter-p: Internal generic functions
Generic Function, write-timestamp: Internal generic functions
Generic Function, write-to-nxt: Internal generic functions
get-acceleration: Exported functions
get-accumulated-angle: Exported functions
get-angle-sensor-data: Exported functions
get-brightness-or-color: Exported functions
get-calibrated-value: Internal functions
get-compass: Exported functions
get-current-angle: Exported functions
get-file: Internal functions
get-normalized-value: Internal functions
get-rpm: Exported functions
get-scaled-value: Internal functions
get-switch: Exported functions
get-ultrasonic: Exported functions
get-valid-input-values: Internal functions

H
handle: Internal generic functions
handle: Internal generic functions

L
libusb_bulk_transfer: Internal functions
libusb_claim_interface: Internal functions
libusb_close: Internal functions
libusb_exit: Internal functions
libusb_init: Internal functions
libusb_open_device_with_vid_pid: Internal functions
libusb_release_interface: Internal functions
libusb_set_configuration: Internal functions
light-off: Exported functions
lightdetector-on: Exported functions
link-size-parameters!: Internal functions
list-all-commands: Exported functions
lookup-command-code: Internal functions
ls-read: Internal functions

M
Macro, def-nxt-command: Internal macros
Macro, def-reply-package: Internal macros
Macro, defcfun: Internal macros
Macro, with-motor-delays: Internal macros
Method, %n-static-bytes: Internal generic functions
Method, (setf %n-static-bytes): Internal generic functions
Method, (setf buf): Internal generic functions
Method, (setf command-timestamp): Internal generic functions
Method, (setf connection): Internal generic functions
Method, (setf fi-explicit-parameters): Internal generic functions
Method, (setf fi-parameters): Internal generic functions
Method, (setf fp-command-code): Internal generic functions
Method, (setf fp-name): Internal generic functions
Method, (setf fp-reply): Internal generic functions
Method, (setf fp-request): Internal generic functions
Method, (setf fp-type-code): Internal generic functions
Method, (setf handle): Internal generic functions
Method, (setf motor-states): Internal generic functions
Method, (setf pi-adjust-size): Internal generic functions
Method, (setf pi-name): Internal generic functions
Method, (setf pi-nbytes): Internal generic functions
Method, (setf pi-offset): Internal generic functions
Method, (setf pi-size-parameter): Internal generic functions
Method, (setf read-timestamp): Internal generic functions
Method, (setf size-parameter-p): Internal generic functions
Method, (setf write-timestamp): Internal generic functions
Method, buf: Internal generic functions
Method, close-nxt: Exported generic functions
Method, close-nxt: Exported generic functions
Method, command-timestamp: Internal generic functions
Method, compute-bluetooth-timeout: Internal generic functions
Method, compute-bluetooth-timeout: Internal generic functions
Method, connection: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, decode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, encode-parameter: Internal generic functions
Method, fi-explicit-parameters: Internal generic functions
Method, fi-parameters: Internal generic functions
Method, fp-command-code: Internal generic functions
Method, fp-name: Internal generic functions
Method, fp-reply: Internal generic functions
Method, fp-request: Internal generic functions
Method, fp-type-code: Internal generic functions
Method, handle: Internal generic functions
Method, motor-states: Internal generic functions
Method, pi-adjust-size: Internal generic functions
Method, pi-name: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-nbytes: Internal generic functions
Method, pi-offset: Internal generic functions
Method, pi-size-parameter: Internal generic functions
Method, read-from-nxt: Internal generic functions
Method, read-from-nxt: Internal generic functions
Method, read-timestamp: Internal generic functions
Method, size-parameter-p: Internal generic functions
Method, size-parameter-p: Internal generic functions
Method, write-timestamp: Internal generic functions
Method, write-to-nxt: Internal generic functions
Method, write-to-nxt: Internal generic functions
motor-control: Exported functions
motor-ready-p: Exported functions
motor-states: Internal generic functions
motor-states: Internal generic functions

N
n-static-bytes: Internal functions
note-data-read: Internal functions
note-data-written: Internal functions
note-motor-commanded: Internal functions
nxt-close: Exported functions
nxt-close-module-handle: Exported functions
nxt-delete: Exported functions
nxt-find-first: Exported functions
nxt-find-next: Exported functions
nxt-get-battery-level: Exported functions
nxt-get-current-program-name: Exported functions
nxt-get-device-info: Exported functions
nxt-get-firmware-version: Exported functions
nxt-get-input-values: Exported functions
nxt-get-output-state: Exported functions
nxt-keep-alive: Exported functions
nxt-ls-get-status: Exported functions
nxt-ls-read: Exported functions
nxt-ls-write: Exported functions
nxt-message-read: Exported functions
nxt-message-write: Exported functions
nxt-open-read: Exported functions
nxt-open-write: Exported functions
nxt-play-sound-file: Exported functions
nxt-play-tone: Exported functions
nxt-read: Exported functions
nxt-request-first-module: Exported functions
nxt-request-next-module: Exported functions
nxt-reset-input-scaled-value: Exported functions
nxt-reset-motor-position: Exported functions
nxt-set-input-mode: Exported functions
nxt-set-output-state: Exported functions
nxt-start-program: Exported functions
nxt-stop-program: Exported functions
nxt-stop-sound-playback: Exported functions
nxt-write: Exported functions

O
open-bluetooth-nxt: Exported functions
open-connection: Exported functions

P
parse-frame-info: Internal functions
parse-parameter-spec: Internal functions
parse-parameter-specs: Internal functions
perform-command: Exported functions
pi-adjust-size: Internal generic functions
pi-adjust-size: Internal generic functions
pi-end: Internal functions
pi-last-byte: Internal functions
pi-name: Internal generic functions
pi-name: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-nbytes: Internal generic functions
pi-offset: Internal generic functions
pi-offset: Internal generic functions
pi-size-parameter: Internal generic functions
pi-size-parameter: Internal generic functions
probe-digital-sensor: Exported functions
put-file: Internal functions

Q
query-motor: Exported functions

R
read-from-nxt: Internal generic functions
read-from-nxt: Internal generic functions
read-from-nxt: Internal generic functions
read-i2c: Internal functions
read-little-endian-short: Internal functions
read-reply: Internal functions
read-reply/checked: Internal functions
read-timestamp: Internal generic functions
read-timestamp: Internal generic functions
read-ubyte-from-reply: Internal functions
read-ulong-from-reply: Internal functions
read-uword-from-reply: Internal functions
restart-motor-control: Exported functions
running-a-program-p: Exported functions

S
send-string-message: Internal functions
show-command: Exported functions
show-commands: Exported functions
show-frame-info: Internal functions
sign-extend: Internal functions
size-parameter-p: Internal generic functions
size-parameter-p: Internal generic functions
size-parameter-p: Internal generic functions
sleep-until-motor-ready: Exported functions
start-program: Exported functions
status-ok-p: Internal functions
stop-current-program: Exported functions
stop-motor: Exported functions
switch-on: Exported functions

T
timeoutp: Internal functions

U
ub8-vector: Internal functions
ultrasonic-on: Exported functions

V
value-of: Internal functions
variable-length-frame-p: Internal functions

W
wait-for-bluetooth: Internal functions
with-motor-delays: Internal macros
write-request: Internal functions
write-timestamp: Internal generic functions
write-timestamp: Internal generic functions
write-to-nxt: Internal generic functions
write-to-nxt: Internal generic functions
write-to-nxt: Internal generic functions
write-to-nxt-us: Internal functions
write-ubyte-to-command: Internal functions
write-ulong-to-command: Internal functions
write-uword-to-command: Internal functions

Jump to:   %   (   +  
A   B   C   D   E   F   G   H   L   M   N   O   P   Q   R   S   T   U   V   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
A   B   C   E   H   M   N   O   P   R   S   T   W  
Index Entry  Section

*
*bluetooth-delay-between-directions*: Internal special variables
*bluetooth-delay-between-writes*: Internal special variables
*code-to-info-table*: Internal special variables
*default-bluetooth-device*: Exported special variables
*libusb-context*: Internal special variables
*libusb-loaded-p*: Internal special variables
*motor-control-filename*: Internal special variables
*nxt*: Exported special variables
*start/stop-program-timeout*: Internal special variables
*status-values*: Internal special variables
*usb-timeout*: Internal special variables

+
+angle+: Internal constants
+anglestep-mode+: Internal constants
+boolean-mode+: Internal constants
+celsius-mode+: Internal constants
+continuous+: Internal constants
+custom+: Internal constants
+default-i2c-address+: Internal constants
+fahrenheit-mode+: Internal constants
+light-active+: Internal constants
+light-inactive+: Internal constants
+lowspeed+: Internal constants
+lowspeed-9v+: Internal constants
+mode-mask+: Internal constants
+no-sensor+: Internal constants
+nxc-delay+: Internal constants
+pct-full-scale-mode+: Internal constants
+period-counter-mode+: Internal constants
+raw-mode+: Internal constants
+reflection+: Internal constants
+single-shot+: Internal constants
+slope-mask+: Internal constants
+sound-db+: Internal constants
+sound-dba+: Internal constants
+state-command+: Internal constants
+switch+: Internal constants
+temperature+: Internal constants
+transition-cnt-mode+: Internal constants
+usb-configuration+: Internal constants
+usb-interface+: Internal constants
+usb-maximum-frame-size+: Internal constants
+usb-recv-endpoint+: Internal constants
+usb-send-endpoint+: Internal constants

A
adjust-size: Internal classes

B
buf: Exported classes

C
command-code: Internal classes
command-timestamp: Internal classes
connection: Exported classes
Constant, +angle+: Internal constants
Constant, +anglestep-mode+: Internal constants
Constant, +boolean-mode+: Internal constants
Constant, +celsius-mode+: Internal constants
Constant, +continuous+: Internal constants
Constant, +custom+: Internal constants
Constant, +default-i2c-address+: Internal constants
Constant, +fahrenheit-mode+: Internal constants
Constant, +light-active+: Internal constants
Constant, +light-inactive+: Internal constants
Constant, +lowspeed+: Internal constants
Constant, +lowspeed-9v+: Internal constants
Constant, +mode-mask+: Internal constants
Constant, +no-sensor+: Internal constants
Constant, +nxc-delay+: Internal constants
Constant, +pct-full-scale-mode+: Internal constants
Constant, +period-counter-mode+: Internal constants
Constant, +raw-mode+: Internal constants
Constant, +reflection+: Internal constants
Constant, +single-shot+: Internal constants
Constant, +slope-mask+: Internal constants
Constant, +sound-db+: Internal constants
Constant, +sound-dba+: Internal constants
Constant, +state-command+: Internal constants
Constant, +switch+: Internal constants
Constant, +temperature+: Internal constants
Constant, +transition-cnt-mode+: Internal constants
Constant, +usb-configuration+: Internal constants
Constant, +usb-interface+: Internal constants
Constant, +usb-maximum-frame-size+: Internal constants
Constant, +usb-recv-endpoint+: Internal constants
Constant, +usb-send-endpoint+: Internal constants

E
explicit-parameters: Internal classes

H
handle: Exported classes

M
motor-states: Exported classes

N
n-static-bytes: Internal classes
name: Internal classes
name: Internal classes
nbytes: Internal classes

O
offset: Internal classes

P
parameters: Internal classes

R
read-timestamp: Exported classes
reply: Internal classes
request: Internal classes

S
size-parameter: Internal classes
size-parameter-p: Internal classes
Slot, adjust-size: Internal classes
Slot, buf: Exported classes
Slot, command-code: Internal classes
Slot, command-timestamp: Internal classes
Slot, connection: Exported classes
Slot, explicit-parameters: Internal classes
Slot, handle: Exported classes
Slot, motor-states: Exported classes
Slot, n-static-bytes: Internal classes
Slot, name: Internal classes
Slot, name: Internal classes
Slot, nbytes: Internal classes
Slot, offset: Internal classes
Slot, parameters: Internal classes
Slot, read-timestamp: Exported classes
Slot, reply: Internal classes
Slot, request: Internal classes
Slot, size-parameter: Internal classes
Slot, size-parameter-p: Internal classes
Slot, type-code: Internal classes
Slot, write-timestamp: Exported classes
Special Variable, *bluetooth-delay-between-directions*: Internal special variables
Special Variable, *bluetooth-delay-between-writes*: Internal special variables
Special Variable, *code-to-info-table*: Internal special variables
Special Variable, *default-bluetooth-device*: Exported special variables
Special Variable, *libusb-context*: Internal special variables
Special Variable, *libusb-loaded-p*: Internal special variables
Special Variable, *motor-control-filename*: Internal special variables
Special Variable, *nxt*: Exported special variables
Special Variable, *start/stop-program-timeout*: Internal special variables
Special Variable, *status-values*: Internal special variables
Special Variable, *usb-timeout*: Internal special variables

T
type-code: Internal classes

W
write-timestamp: Exported classes

Jump to:   *   +  
A   B   C   E   H   M   N   O   P   R   S   T   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   B   C   D   F   M   N   P   S   T   U   V  
Index Entry  Section

B
bluetooth-nxt: Exported classes

C
Class, bluetooth-nxt: Exported classes
Class, data-parameter: Internal classes
Class, data-parameter/fixed-length: Internal classes
Class, data-parameter/implicit-length: Internal classes
Class, data-parameter/specified-length: Internal classes
Class, frame-info: Internal classes
Class, frame-pair: Internal classes
Class, motor-state: Internal classes
Class, nbytes-mixin: Internal classes
Class, numeric-parameter: Internal classes
Class, nxt: Exported classes
Class, parameter-info: Internal classes
Class, sbyte-parameter: Internal classes
Class, slong-parameter: Internal classes
Class, status-parameter: Internal classes
Class, string-parameter: Internal classes
Class, sword-parameter: Internal classes
Class, ubyte-parameter: Internal classes
Class, ulong-parameter: Internal classes
Class, usb-nxt: Exported classes
Class, uword-parameter: Internal classes
Class, variable-length-data-parameter: Internal classes

D
data-parameter: Internal classes
data-parameter/fixed-length: Internal classes
data-parameter/implicit-length: Internal classes
data-parameter/specified-length: Internal classes

F
fixed-length-parameter: Internal types
frame-info: Internal classes
frame-pair: Internal classes

M
motor-state: Internal classes

N
nbytes-mixin: Internal classes
numeric-parameter: Internal classes
nxt: The nxt system
nxt: The nxt package
nxt: Exported classes
nxt.system: The nxt<dot>system package

P
Package, nxt: The nxt package
Package, nxt.system: The nxt<dot>system package
parameter-info: Internal classes

S
sbyte-parameter: Internal classes
slong-parameter: Internal classes
status-parameter: Internal classes
string-parameter: Internal classes
sword-parameter: Internal classes
System, nxt: The nxt system

T
Type, fixed-length-parameter: Internal types

U
ubyte-parameter: Internal classes
ulong-parameter: Internal classes
usb-nxt: Exported classes
uword-parameter: Internal classes

V
variable-length-data-parameter: Internal classes

Jump to:   B   C   D   F   M   N   P   S   T   U   V