220 likes | 347 Views
Phidgets and the programming framework. HMI Seminar Tangible User Interfaces F. Evequoz 23.12.2005. summary ::. traditional physical UI examples problems phidgets goals definition architecture API java API programming applications references bibliography programming resources.
E N D
Phidgets and the programming framework HMI Seminar Tangible User Interfaces F. Evequoz 23.12.2005 DIVA Group – University of Fribourg
summary :: • traditional physical UI • examples • problems • phidgets • goals • definition • architecture • API • java API • programming • applications • references • bibliography • programming resources DIVA Group – University of Fribourg
traditional physical UI ::examples Walking pad (DIUF) DIVA Group – University of Fribourg
traditional physical UI ::examples Lego Mindstorms DIVA Group – University of Fribourg
traditional physical UI ::examples SmartHome DIVA Group – University of Fribourg
traditional physical UI ::problems • electronics • missing API • unsuited API • commercial target • lack of simulation capabilities DIVA Group – University of Fribourg
phidgets ::goals • simple devices • easy to program … just as widgets make GUIs easy to develop, so could phidgets make the new generation of physical user interfaces easy to develop. DIVA Group – University of Fribourg
phidgets ::definition • widget • (1931) small mechanical device • (today) ‘windows gadget’ • phidget (aka phydget) • ‘physical widget’ DIVA Group – University of Fribourg
phidgets ::definition Phidgets™, or physical widgets, are building blocks that help a developer construct physical user interfaces. DIVA Group – University of Fribourg
phidgets ::architecture Phidget DIVA Group – University of Fribourg
phidgets ::architecture API Simulation Device Device manager DIVA Group – University of Fribourg
phidgets ::API Phidget-specific properties, e.g. NumMotors Phidget-specific events, e.g. OnTag Specific phidget DeviceType IsAttached SerialNumber Generic phidget Int Count Phidget[] Item OnAttach() OnDetach() OnError() Phidgets manager DIVA Group – University of Fribourg
phidgets ::java API DIVA Group – University of Fribourg
phidgets ::java API DIVA Group – University of Fribourg
phidgets ::programming (output) opens Phidget COM Object Device sets creates sets Application DIVA Group – University of Fribourg
phidgets ::programming (input) opens Phidget COM Object Device starts creates fire events reads Listener Application DIVA Group – University of Fribourg
phidgets ::programming Extend adapter Implement OnEvent methods Create COM Object Attach Listener Open connection to device Start listening DIVA Group – University of Fribourg
phidgets ::applications DIVA Group – University of Fribourg
phidgets ::applications DIVA Group – University of Fribourg
phidgets ::applications DIVA Group – University of Fribourg
references ::bibliography • Greenberg S. and Fitchet C., Phidgets : Easy developement of physical interfaces through physical widgets. Proceedings of the ACM UIST 2001 Symposium. • Greenberg S. and Boyle M., Customizable physical interfaces for interacting with conventional applications. Proceedings of the ACM UIST 2002 Symposium. • www.phidgets.com, www.phidgetsusa.com • www.wikipedia.org (phidget, widget) • www.smarthome.com, www.legomindstorms.com • Laroussi Bouguila, Evequoz Florian, Michèle Courant, Béat Hirsbrunner. Active Walking Interface for Human-Scale Virtual Environment. HCII’05. DIVA Group – University of Fribourg
references::programming resources • documentation on www.phidgets.com : • C_API_Manual : basic architecture • http://phidgets.com/documentation/C_API_Manual.pdf • COM_API_Manual : object model (VB) • http://phidgets.com/documentation/COM_API_Manual.pdf • Javadoc : java API, quite similar to COM • http://phidgets.com/documentation/JavaDoc.zip • For each particular phidget see its « hardware description » : • Section labelled « Phidgets » on www.phidgets.com >> Documentation • software introduction and tutorials : • www.phidgets.com >> Documentation • http://www.phidgetsusa.com/tutorials/tutorialhome.asp • code examples : • www.phidgets.com >> Download >> Beta >> Examples.zip • www.phidgets.com >> Project / Examples DIVA Group – University of Fribourg