Commit Graph

64 Commits

Author SHA1 Message Date
Andrew Stewart bbd8ed4cd8 Small cleanup 2013-11-22 10:01:45 -08:00
Andrew Stewart f8ca0d5831 Remove (actually, this time) unnecessary semicolons 2013-11-22 09:36:46 -08:00
Edgar O Silva 19d094bb16 Added adaptor extra params and updated salesforce example. 2013-11-15 21:09:27 -06:00
Andrew Stewart 6120e6da0b More consistent internal representation of components 2013-11-11 11:33:07 -05:00
Andrew Stewart b5a4854533 Add tests for Cylon#findRobotConnection 2013-11-08 17:33:29 -07:00
Edgar O Silva 2bcdd9f683 Added new DigitalPin to Cylon core to use in adaptors, for real. 2013-11-06 14:20:33 -06:00
Edgar O Silva 0cec5a3822 Added new DigitalPin to Cylon core to use in adaptors. 2013-11-06 14:20:33 -06:00
deadprogram 041da7acc8 Handle exit event, by stopping devices and disconnecting connections 2013-11-05 21:34:23 -08:00
Andrew Stewart 9d48cba3cf Namespace Robot class 2013-11-04 11:57:27 -08:00
Andrew Stewart 4615ac7c71 Add TomDoc to Robot 2013-11-04 11:18:37 -08:00
Andrew Stewart 05c8ad3bdc Add methods to export data from Robot/Device/Connection 2013-10-30 16:40:07 -07:00
Edgar O Silva 2e0d0423bb Adding analog sensor support to cylon GPIO. 2013-10-29 17:56:57 -06:00
Andrew Stewart 1c3d2236a0 Add Basestar class for use in external modules 2013-10-29 10:43:11 -07:00
deadprogram 504e51bd28 Can now attach users own functions to robot at will 2013-10-28 23:53:30 -07:00
deadprogram d87c63dc26 Cleanup startConnections and startDevices to ensure proper async startup 2013-10-28 18:58:06 -07:00
deadprogram 97b7335784 Merged better startup routine 2013-10-28 15:31:39 -07:00
deadprogram 16a049f586 Pass requested driver name to driver module, for those that contain multiple drivers 2013-10-26 23:03:12 -07:00
deadprogram 08da7d3390 Some logging for debug mode only 2013-10-26 00:04:42 -07:00
deadprogram e43bf8ad45 Works for arduino blink, with new async hotness 2013-10-25 23:27:39 -07:00
Edgar O Silva 450a87e17e Fixes issue with events not being triggered in drivers because .start was not being called to setup. 2013-10-25 19:49:35 -05:00
deadprogram fea55228cc Added ping driver for testing 2013-10-25 13:11:09 -07:00
Andrew Stewart 1064e75128 Clear up scope 2013-10-24 17:26:36 -07:00
Andrew Stewart 612ddce142 Connections don't need direct binding, just Devices 2013-10-24 14:46:53 -07:00
Andrew Stewart 31aa6e4901 Fix scope for performing work 2013-10-24 12:54:16 -07:00
Andrew Stewart 29515adea7 Fix driver-related issues 2013-10-23 21:29:17 -07:00
Andrew Stewart 0e5f27f1c6 Allow for similar hooking into drivers 2013-10-23 16:36:04 -07:00
Andrew Stewart 2c6d7ea7c3 Pass connection when requiring adaptors 2013-10-23 15:32:20 -07:00
Andrew Stewart 2c34f4c77e Fix issues with registerAdaptor 2013-10-23 15:12:53 -07:00
Andrew Stewart 4a57300d32 Fix test fails 2013-10-23 14:01:48 -07:00
Andrew Stewart 82c530fe5b Example of using cylon-sphero adaptor 2013-10-23 13:27:23 -07:00
Andrew Stewart f0ca9ee60b Use fat arrows (=>) to simplify scope management 2013-10-23 11:46:16 -07:00
Andrew Stewart bf4d42970e Proper initialization of adaptors 2013-10-23 11:10:52 -07:00
Andrew Stewart 541d70b66d Correctly set up loopback adaptor 2013-10-23 10:10:25 -07:00
deadprogram b3131fb0b6 More progress now just need correct export 2013-10-23 08:59:32 -07:00
deadprogram 8252d38a5e WIP on dynamic loading of adaptor and driver modules 2013-10-23 08:38:00 -07:00
deadprogram 132282d4c2 Much along the way to adaptor/driver registration and loading 2013-10-22 23:23:52 -07:00
deadprogram 8b390cc486 Resolve merge conflicts with master 2013-10-22 22:13:36 -07:00
deadprogram ca59493a12 Proper initialization of device 2013-10-22 22:06:49 -07:00
Andrew Stewart da95bccdfa Add global Logger object 2013-10-22 21:46:02 -07:00
Andrew Stewart 7ab34693fa Simplify starting work 2013-10-22 20:29:24 -07:00
deadprogram 3b83b5d0f7 Simplify robot init even further 2013-10-22 19:22:09 -07:00
deadprogram ce154f8d25 Removing commentted line 2013-10-22 18:55:27 -07:00
deadprogram 03febed1bb Knowledge of self when working 2013-10-22 17:51:36 -07:00
deadprogram 1f93cee823 Resolve merge conflicts 2013-10-22 16:42:25 -07:00
deadprogram 48db540d37 Connections and Devices should belong to a robot 2013-10-22 16:39:49 -07:00
Andrew Stewart de79700427 Correct and consistent context for work functions
Also corrects context(this) issues for every() and after()
2013-10-22 16:34:27 -07:00
Andrew Stewart 30db92328d Properly init/start connections and devices 2013-10-22 16:33:36 -07:00
deadprogram 2e74b8bdef Starting to build the object chain 2013-10-22 13:30:16 -07:00
deadprogram 8b1f342964 Correct syntax outside of tests 2013-10-22 12:21:09 -07:00
Andrew Stewart 21e225a4d3 Minor restructoring 2013-10-21 10:27:47 -07:00