Recent Changes - Search:

edit SideBar

OptionalJavaScriptModules

The following objects provide bundles of functions. An accessor that uses one or more of these modules must declare that requirement using the require tag or JavaScript function.

As these modules are very much under development, these interface definitions may change. For the most up-to-date interface specifications, see the auto-generated doc files for the current version of the Ptolemy II/Nashorn host implementation of these modules.

Reasonably Well-Developed Networking Modules

  • eventbus: Provide publish and subscribe on a local network through a Vert.x event bus.
  • httpClient: Provide support for HTTP clients.
  • socket: TCP socket communication, including optional message framing.
  • webSocket: Provide full-duplex web socket interfaces and functions for web socket servers.

Reasonably Well-Developed Image Processing Modules

  • aprilTags: Recognize and locate AprilTags in images.
  • cameras: Capture images and video from cameras on the host (built in or USB connected).
  • computerVision : OpenCV image processing library, ported to Javascript by UC Irvine and Intel.
  • imageFilters: Filter images to create new images.
  • motionDetector: Detect and locate motion in streams of images.

Node Modules

Some modules designed for Node.js are pure JavaScript with no particular dependency on Node. These can be required as well by an accessor. These include, at least,

Unfinished Modules

In case-insensitive alphabetical order, please

  • audio: Provide access to the host audio hardware.
  • ble: Provide access to Bluetooth Low Energy peripherals.
  • browser: Provide display in the default browser.
  • coapClient: Provide support for CoAP clients.
  • discovery: Provide device discovery for devices on the local area network.
  • GMTK: GMTK accessor that requires some setup through the webSocket or shell accessors
  • IMUSensor: Provides bluetooth connection and packet output from Roozbeh's IMU Sensors.
  • localStorage: Provide persistent key-value storage based on local files.
  • mapManager?: Provides resources for creating maps and combining information across them.
  • mdnsClient?: mDNS and DNS-SD support.
  • mqtt: Provide support for MQTT protocol clients.
  • obd
  • rabbitmq
  • serial : Provide connection to serial ports.
  • ssdpClient: UPnP device discovery.
  • textToSpeech: Provide spoken word output.
  • UDPSocket: Provide interfaces and functions for UDP sockets.

To implement a module, see the Module Specification.


Back to accessor specification

Edit - History - Print - Recent Changes - Search
Page last modified on February 24, 2017, at 01:21 PM