Software and Systems Frameworks
Download
Report
Transcript Software and Systems Frameworks
The Ptolemy Project
Closing Remarks
Edward A. Lee
Robert S. Pepper Distinguished Professor
Tenth Biennial Ptolemy Miniconference
October 16, 2015
Berkeley, CA, USA
Accessors
An accessor is a local
proxy for a (possibly)
remote device or
service.
It has an actor interface
with (possibly timestamped) streaming
inputs and outputs
Ptolemy Project, Berkeley 2
Accessors in the RoboCafe at the DARPA
[Brad, Pat, UMich]
Wait, What? Demo
Task 2.2:
Programming
Models and
Modeling
Formalisms
TerraSwarm
Swarmlet host (in this case,
CapeCode, based on Ptolemy II)
integrates multiple accessors
and distributed swarmlets under
an actor model, which
emphasizes streaming data.
Ptolemy Project, Berkeley 3
Accessors in the RoboCafe at the DARPA
Wait, What? Demo
Battery Monitor
Lucy
Task 2.2:
Programming
Models and
Modeling
Formalisms
TerraSwarm
Customer
Wait, What? exhibit
floor, St. Louis, MO,
September, 2015
Obstacle
Ptolemy Project, Berkeley 4
Accessors in the RoboCafe at the DARPA
Wait, What? Demo
Integration of swarmlets with
foreign services (in this case,
ALPS localization from a mobile
phone) is handled by network
interface accessors (also a
WebSocketServer in this case).
Task 2.2:
Programming
Models and
Modeling
Formalisms
TerraSwarm
Integration of swarmlets with
other networked swarmlets (in
this case, a battery-state
monitor) is handled by network
interface accessors (in this case,
a WebSocketServer).
Orchestration of accessors is
governed by a timed discreteevent (DE) model of computation
with strong formal properties.
Ptolemy Project, Berkeley 5
Accessor Architecture Today
Version 0.1a
Accessor Interface
Accessor Interface
These hosts are functional, but
diverging. Effort is needed to bring
them back into alignment.
implements
Accessor
Interface + JavaScript
runs
in
TerraSwarm
requires
Module API Definition
CommonJS + Text
Accessor Host
Nashorn + Ptolemy II
implements
runs
in
Accessor Host
Nashorn + Java
Module Implementation
JavaScript + Java (Nashorn)
Accessor Host
Node.js
Module Implementation
JavaScript (Node.js)
Accessor Host
Browser
Module Implementation
6
JavaScript
Ptolemy
Project, Berkeley 6
ON TO 2017!
AND BEYOND!
Ptolemy Project, Berkeley 7