Commit Graph

1060 Commits

Author SHA1 Message Date
Andrew Stewart 50f3ece923 Add basic error handling 2014-08-01 13:04:39 -07:00
Ron Evans 6bbf903644 Merge pull request #215 from hybridgroup/402-fix-hello-example
fix hello example
2014-08-01 16:51:49 +02:00
= 8fbea0b226 get rid of api line 2014-07-31 18:49:26 -05:00
Rafael Magana 833bec5f00 fix hello example 2014-07-31 18:45:18 -05:00
Andrew Stewart 40a1c0570f Merge remote-tracking branch 'origin/master' into dev
* origin/master:
  Added arduino YUN to the list of supported hardware.
  Add freenode confirmation file
  Correct link to Cylon CLI repo
  Update readme to include correct link to Gort
  Update readme to include all current platforms
2014-07-30 09:17:19 -07:00
Andrew Stewart 026d3777e6 Simplify coercion of Robot to JSON 2014-07-29 18:49:35 -07:00
Andrew Stewart d0c29822ff Correctly respond w/ 404 error 2014-07-28 10:01:16 -07:00
Andrew Stewart 029aca2e9e Add 'details' subsection to Device/Connection 2014-07-25 16:11:45 -07:00
edgarsilva 25e144b843 Added arduino YUN to the list of supported hardware. 2014-07-25 11:32:35 -05:00
deadprogram eb7b21c71c Add freenode confirmation file 2014-07-19 12:36:59 -07:00
deadprogram bbebf668b9 Correct link to Cylon CLI repo 2014-07-19 05:32:20 -07:00
deadprogram cb1ff9cdf9 Update readme to include correct link to Gort 2014-07-19 05:31:30 -07:00
deadprogram 57f2a96969 Update readme to include all current platforms 2014-07-19 05:27:25 -07:00
Ron Evans 8762820d0c Merge pull request #213 from hybridgroup/refactor/threepio
Threepio Support
2014-07-19 01:08:19 +02:00
Andrew Stewart 715d9c89af Emit 'ping' when Ping is told to #ping
sorry
2014-07-18 14:44:50 -07:00
Andrew Stewart f5734b137e Add MCP commands route, fix /robots route 2014-07-17 12:08:17 -07:00
Andrew Stewart c97514689b Only look for command params in POST bodies 2014-07-17 12:07:49 -07:00
Andrew Stewart 6b1d6e2653 WIP on Threepio changes 2014-07-15 12:45:32 -07:00
Andrew Stewart 4f66bdeb51 Namespace API routes under '/api' 2014-07-15 12:33:04 -07:00
Andrew Stewart 7394eefde2 WIP on commands + JSON serialization 2014-07-15 12:27:16 -07:00
Andrew Stewart d7987f959e Fix typo 2014-07-15 11:54:16 -07:00
Andrew Stewart ace5f15a36 Refer to device connections by name in JSON format 2014-07-15 11:49:29 -07:00
Andrew Stewart b4a68d1a37 Remove connection_id from Connection class 2014-07-15 11:43:43 -07:00
Adrian Zankich 0184efb4cd Merge pull request #211 from hybridgroup/fix/require-connection
Require a connection if a robot has any devices
2014-07-14 07:57:20 -10:00
Andrew Stewart c4d03428e8 Defer to Utils#fetch for getting ENV state 2014-07-12 11:00:34 -07:00
Andrew Stewart ba295e9642 Slightly clean up Connection 2014-07-12 11:00:22 -07:00
Andrew Stewart 1c8e84cfb2 Clean up robot initialization 2014-07-12 10:48:57 -07:00
Andrew Stewart 4dd7e013ed Require a connection if a robot has any devices 2014-07-11 10:46:22 -07:00
Andrew Stewart ee366739d3 Misc. small refactors 2014-07-10 09:51:23 -07:00
Andrew Stewart f1ba43d919 Bump version to "0.16.0" 2014-07-08 12:05:01 -07:00
Andrew Stewart 857a34dc41 Prefer {before,after}Each 2014-07-04 09:49:29 -07:00
Andrew Stewart 070c4a4fb9 Fix test preparation 2014-07-03 11:54:18 -07:00
Andrew Stewart ca2bf7e5a9 Merge branch 'dev' into servo-level-up
* dev:
  Remove `self` references in favor of #bind
  Stop using #fetch here for now, it just breaks tests
  Just use arguments directly instead of array
  Remove Utils#bind in preference of built-in fn
  Consolidate logstring generation into private fn
  Experiment with Utils.fetch in Driver class
  Add #fetch Utility function
  Fix JSHint errors
  Fix an edge case and improve tests for API
2014-07-03 11:52:02 -07:00
Andrew Stewart 8ba5bb0e6a Working tests for Adaptor#_noop 2014-07-03 11:51:51 -07:00
Edgar Silva 1eabab6ec9 WIP: Change noop to use anonymous function and added tests. 2014-07-03 13:42:43 -05:00
Andrew Stewart f0d8b0360b Remove `self` references in favor of #bind 2014-07-03 09:35:24 -07:00
Edgar Silva ed8d6faeee Chance Adaptor#noop for Adaptor#_noop. 2014-07-02 20:06:40 -05:00
Edgar Silva afa7fe7495 Adds noop function to base adaptor. 2014-07-02 19:42:39 -05:00
Edgar Silva c4b10e66f4 Merge branch 'master' into servo-level-up 2014-07-02 17:05:15 -05:00
Andrew Stewart 5ce0d37640 Stop using #fetch here for now, it just breaks tests 2014-06-24 10:37:59 -07:00
Andrew Stewart 5974eb80cd Just use arguments directly instead of array 2014-06-18 16:02:54 -07:00
Andrew Stewart a9b874a917 Merge branch 'master' into dev
* master:
  Bump version to 0.15.1
  Only require the API/Express when using it
2014-06-18 15:19:53 -07:00
Andrew Stewart c5989c2028 Bump version to 0.15.1 2014-06-18 15:19:26 -07:00
Ron Evans 22ea099b79 Merge pull request #206 from hybridgroup/hotfix/tessel-express
Only require the API/Express when using it.
2014-06-18 14:54:20 -07:00
Andrew Stewart 856619e902 Only require the API/Express when using it
Fixes an issue with the Tessel, which cannot load Express.
2014-06-18 14:44:46 -07:00
Ron Evans d35b3d8438 Merge pull request #205 from hybridgroup/remove/utils-bind
Remove Utils#bind in preference of built-in function
2014-06-17 21:21:43 -07:00
Andrew Stewart 5acfd4aed4 Remove Utils#bind in preference of built-in fn
We were re-implementing Function.prototype.bind, so let's just use that.
2014-06-17 19:35:07 -07:00
Andrew Stewart 6fa87fbf7c Consolidate logstring generation into private fn 2014-06-17 19:18:12 -07:00
Andrew Stewart e8520e3de2 Experiment with Utils.fetch in Driver class 2014-06-17 19:15:38 -07:00
Ron Evans 7a3b1ddf59 Merge pull request #204 from hybridgroup/add/utils-fetch
Add #fetch Utility function
2014-06-17 16:06:32 -07:00