Andrew Stewart
cf643d9d70
Remove default Adaptor#connect and Driver#start methods
...
Child classes should always implement these themselves.
2014-09-08 09:27:18 -07:00
Adrian Zankich
174fe2416f
Merge pull request #226 from hybridgroup/fix/halt-and-disconnect
...
Restructure Halt/Disconnect Structure
2014-09-05 10:53:28 -07:00
Andrew Stewart
cb43f34138
Fix broken tests
2014-09-05 10:34:03 -07:00
Andrew Stewart
14d8bbab00
Remove base Adaptor#disconnect and Driver#halt fns
...
Would be more useful to module developers to loudly error rather than silently
not work.
2014-09-05 09:55:57 -07:00
Andrew Stewart
9fe9700eef
Restructure Halt/Disconnect Structure
...
Moves disconnecting event handlers up a level so adaptors/drivers don't have to
worry about it.
Now, Adaptor/Driver subclasses should simply execute the provided callback to
dindicate they're done disconnecting, rather than calling the superclass method
as before.
2014-09-05 09:38:12 -07:00
Ron Evans
d87dd78120
Merge pull request #225 from hybridgroup/fix/name-collisions
...
Address namespace collisions for robots, devices, and connections
2014-09-04 15:00:34 -07:00
Andrew Stewart
179c486c80
Address namespace collisions for robots, devices, and connections
2014-09-04 14:51:44 -07:00
Andrew Stewart
42a0a8affe
Add example demoing Cylon#halt
2014-09-04 11:47:40 -07:00
Andrew Stewart
48497b7b0e
Default to no-op callbacks for #halt methods
2014-09-04 11:22:00 -07:00
Andrew Stewart
d2b00c7d30
Attempt to stop drivers, then adaptors
2014-09-04 10:18:18 -07:00
Andrew Stewart
8f20ccbcf3
Default #halt timeout is 3s, now user configurable
2014-09-03 15:39:54 -07:00
Ron Evans
e840823092
Merge pull request #224 from hybridgroup/add/user-configuration
...
Add user configuration for Cylon internals
2014-09-03 15:12:10 -07:00
Andrew Stewart
3b7c96e81e
Add user configuration for Cylon internals
2014-09-03 15:08:48 -07:00
Andrew Stewart
11082b44a9
Remove extraneous Connection#halt method
2014-09-02 20:26:26 -07:00
Andrew Stewart
897668f3ab
Clean up DigitalPin class
2014-08-29 12:59:44 -07:00
Andrew Stewart
c063d254e0
Improve description wording in package.json
2014-08-29 12:23:50 -07:00
Andrew Stewart
24ae529184
Update README examples
2014-08-29 12:17:04 -07:00
Andrew Stewart
fca5549e29
Bump version to "0.18.0"
2014-08-19 11:13:05 -07:00
Andrew Stewart
55f9445149
Remove #proxyTestStubs in favor of inline solution
2014-08-13 15:04:25 -07:00
Andrew Stewart
b312f6bb6b
Correctly proxy functions from driver to device
2014-08-12 18:33:20 -07:00
Andrew Stewart
d4e34c6f54
Test API routes to ensure they can resolve
2014-08-12 13:15:47 -07:00
Andrew Stewart
ffc27f9942
Add ability to pass proxy
2014-08-12 10:07:17 -07:00
Andrew Stewart
df60282042
Simplify test
2014-08-11 15:55:47 -07:00
Andrew Stewart
6e9ceee6cf
Fixes to driver commands
2014-08-11 15:30:01 -07:00
Andrew Stewart
1f0b214c97
Add Driver#setupCommands method
2014-08-11 14:11:06 -07:00
Ron Evans
bde6132377
Merge pull request #221 from hybridgroup/add/commands
...
Add New Command Structure
2014-08-10 15:47:36 -07:00
Andrew Stewart
bad414be39
Correctly avoid labelling 'work' as a command
2014-08-07 14:00:30 -07:00
Andrew Stewart
7a481f6767
Correctly execute device commands
2014-08-07 13:56:06 -07:00
Andrew Stewart
e6c567a090
Add new command structure
2014-08-07 12:24:29 -07:00
Andrew Stewart
ac737e51ba
Merge branch 'dev'
...
* dev:
Bump version to "0.17.0"
Update and lock Robeaux version
Add basic error handling
Simplify coercion of Robot to JSON
Correctly respond w/ 404 error
Add 'details' subsection to Device/Connection
Emit 'ping' when Ping is told to #ping
Add MCP commands route, fix /robots route
Only look for command params in POST bodies
WIP on Threepio changes
Namespace API routes under '/api'
WIP on commands + JSON serialization
Fix typo
Refer to device connections by name in JSON format
Remove connection_id from Connection class
Defer to Utils#fetch for getting ENV state
Slightly clean up Connection
Clean up robot initialization
Require a connection if a robot has any devices
Misc. small refactors
2014-08-04 13:50:44 -07:00
Andrew Stewart
0400f4d1e6
Bump version to "0.17.0"
2014-08-04 13:17:35 -07:00
Andrew Stewart
4cd4f2d85d
Update and lock Robeaux version
2014-08-04 13:09:39 -07:00
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