Commit Graph

1317 Commits

Author SHA1 Message Date
Ron Evans 8a99d3fe16 Merge pull request #21 from hybridgroup/refactor-api
Refactor API
2013-11-05 11:25:31 -08:00
Andrew Stewart f423758310 Properly set up websockets 2013-11-05 10:51:11 -08:00
Andrew Stewart fa53720e17 API now functions correctly 2013-11-05 10:45:14 -08:00
Andrew Stewart 9b2b405f0d Correct bug with defineEvent() 2013-11-05 10:43:25 -08:00
Andrew Stewart bba7ef1f4d Refactor API routes to be more like Artoo API 2013-11-04 15:15:59 -08:00
Andrew Stewart 82e85e04f3 Remove pointless namespacing of API 2013-11-04 14:26:46 -08:00
Ron Evans 41e5d885b3 Merge pull request #20 from hybridgroup/namespace
Namespace modules
2013-11-04 13:08:24 -08:00
Andrew Stewart fb8c8acca8 Namespace Port class 2013-11-04 12:21:36 -08:00
Andrew Stewart eda6f9db76 Namespace Device class 2013-11-04 12:21:28 -08:00
Andrew Stewart ae666f67dd Namespace Connection class 2013-11-04 12:13:40 -08:00
Andrew Stewart 9d48cba3cf Namespace Robot class 2013-11-04 11:57:27 -08:00
Andrew Stewart 483dcf26b9 Compiled changes from previous commits 2013-11-04 11:41:51 -08:00
Andrew Stewart 4615ac7c71 Add TomDoc to Robot 2013-11-04 11:18:37 -08:00
Andrew Stewart ac8d888fd6 Add TomDoc to Port class 2013-11-04 11:18:37 -08:00
deadprogram 46d03e1309 Example retrieve version from BlinkM 2013-11-03 19:54:22 -08:00
deadprogram 472384ee4b Add reference to i2c drivers to readme 2013-11-03 19:18:22 -08:00
Andrew Stewart 9692b4fd90 Commenting for Logger classes 2013-11-03 18:09:28 -08:00
Andrew Stewart e880ff7454 Add TomDoc for Device 2013-11-03 17:56:40 -08:00
Andrew Stewart a0fa9de948 Add TomDoc to Connection 2013-11-03 01:36:31 -07:00
Andrew Stewart 9e908f4027 Add TomDoc to Cylon 2013-11-03 01:36:24 -07:00
Andrew Stewart 1056b91c60 Comment new methods in Basestar 2013-11-03 00:29:47 -07:00
Andrew Stewart 616bbbeee3 TomDoc Number monkeypatches 2013-11-02 22:55:08 -07:00
deadprogram bb3c4133cf Add release info to README 2013-11-01 18:44:32 -07:00
deadprogram 3f5ed82f21 Update version to 0.3.0 2013-11-01 18:06:43 -07:00
deadprogram 53ba6e3131 Add contributors to package 2013-11-01 17:54:21 -07:00
deadprogram 64794db454 Add contributors list 2013-11-01 17:53:17 -07:00
Ron Evans 333327aa63 Merge pull request #18 from hybridgroup/api
Add API backend
2013-11-01 17:44:40 -07:00
Edgar O Silva 180d541deb Merge pull request #19 from hybridgroup/cleanup-proxy
Refactor Basestar event proxy functions, Looks good 👍
2013-11-01 16:17:23 -07:00
deadprogram ff3c1c4270 Refactor Basestar event proxy functions 2013-11-01 15:56:50 -07:00
Andrew Stewart a45dd83c51 Server now correctly identifies the URL it's listening on 2013-11-01 15:25:49 -07:00
Andrew Stewart dc48cb3be5 Merge branch 'master' into api
* master:
  Updated Basestar to include some proxy event functions and updated sphero messages example.
  Pure JS drone example
  Better class oriented code
  Adding some more examples
  Correct README typo
  Adding servo driver example.
  Fix issue with currentSpeed having to go through driver.
  Added speed output to the example.
  Added examples for motor speed and led brightness.
2013-11-01 15:23:43 -07:00
Andrew Stewart 3cb8d91af6 Switch to express.io and add websocket route 2013-11-01 15:22:50 -07:00
Andrew Stewart 2c873e374a Add commands to handle fetching connections
- Adds method for fetching all connections belonging to a Robot
- Adds method for fetching a specific connection belonging to a Robot
2013-11-01 11:22:25 -07:00
Andrew Stewart e9a4f25ccd Add method to run a command for a particular device 2013-11-01 11:13:03 -07:00
Andrew Stewart b9560b159c WIP on runDeviceCommand 2013-10-31 16:43:20 -07:00
Andrew Stewart a24f30ceec Merge pull request #17 from hybridgroup/26-event-proxy
Updated Basestar to include some proxy event functions and updated spher...
2013-10-31 16:20:49 -07:00
Edgar O Silva a73a790327 Updated Basestar to include some proxy event functions and updated sphero messages example. 2013-10-31 16:15:39 -06:00
Andrew Stewart d9c0229a62 Add API method for fetching device commands 2013-10-31 14:48:47 -07:00
Andrew Stewart fbadbac5c6 Small method rename 2013-10-31 13:51:53 -07:00
deadprogram 4120bc3b76 Pure JS drone example 2013-10-31 13:51:16 -07:00
Andrew Stewart 54e5226dd6 Callbacks are cool 2013-10-31 13:36:28 -07:00
Andrew Stewart 1b4e05575c Add method for fetching a specific device belonging to a Robot 2013-10-31 12:27:00 -07:00
deadprogram 6999236fe0 Better class oriented code 2013-10-31 09:48:23 -07:00
deadprogram a7d4a9d300 Adding some more examples 2013-10-31 09:37:11 -07:00
deadprogram 0a7dba1128 Correct README typo 2013-10-31 08:27:45 -07:00
Ron Evans 4f96890d65 Merge pull request #16 from hybridgroup/10-servo-driver
Adding servo driver example.
2013-10-30 19:52:44 -07:00
Ron Evans ac8f220880 Merge pull request #15 from hybridgroup/9-motor-driver
Adds motor driver example and led brightness.
2013-10-30 19:47:00 -07:00
Edgar O Silva bf86c6f414 Adding servo driver example. 2013-10-30 20:41:47 -06:00
Edgar O Silva ea472f9e12 Fix issue with currentSpeed having to go through driver. 2013-10-30 20:37:42 -06:00
Andrew Stewart 65a2e20959 Add /robots/:robotid and /robots/:robotid/devices 2013-10-30 17:41:16 -07:00