Commit Graph

1324 Commits

Author SHA1 Message Date
Ron Evans 0ba0301318 Merge pull request #349 from ahdncordeiro/master
Correcting the test Adaptor and Driver
2016-08-26 12:16:22 +02:00
André Cordeiro f24df1ba89 test-driver.js - Adding superclass methods
Adding the start and halt methods for the TestDriver can be used for tests otherwise an exception will be thrown.
Exception: Driver#start method must be overwritten by descendant classes.
2016-07-26 14:19:43 -03:00
André Cordeiro d550df34f8 test-adaptor.js - Adding superclass methods
Adding the connect and disconnect methods for the TestAdaptor can be used for tests otherwise an exception will be thrown.
Exception: Adaptor#connect method must be overwritten by descendant classes.
2016-07-26 14:16:57 -03:00
Ron Evans ac1bd1ef3f Merge pull request #342 from mortenf/master
Fix missing log output for pin 0 re issue #338
2016-05-21 17:43:11 -07:00
Morten H. Frederiksen d72bab16d5 Fix missing log output for pin 0 re issue #338
Signed-off-by: Morten H. Frederiksen <morten@mfd-consult.dk>
2016-05-21 23:01:04 +02:00
deadprogram 44497e932c Run Travis builds for major Node.js versions only
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-07 11:47:57 -07:00
deadprogram de88b4edfd Add Node.js v6.x to Travis build
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-07 11:46:22 -07:00
deadprogram 1ff38f2e9f Update list of GPIO drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-27 19:28:41 -07:00
deadprogram 9be1513a24 Update README for most current devices/platforms
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-25 13:39:51 -07:00
deadprogram 8c15825ec5 Update README for most current devices/platforms
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-25 13:36:25 -07:00
Ron Evans c0c8923eb7 Merge pull request #339 from danhklein/master
Fixed broken link to browser support documentation
2016-04-24 21:29:39 -07:00
Daniel Klein 33c2f3390f Fixed broken link to browser documentation 2016-04-24 12:54:43 -06:00
deadprogram e9796ef297 Updates for v1.3.0 release
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-22 12:51:19 -07:00
deadprogram 7dc046cbfe A long overdue update of the sizable list of contributors. Thank you all!
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-22 11:22:04 -07:00
deadprogram 54c84f15f9 Move CoC into separate file and update source
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-22 11:21:34 -07:00
deadprogram aca4ebce70 Use dot notation for tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-03-27 18:38:07 -07:00
deadprogram f6be3b1ae3 Adds back robot-scoped connections by name, and the tests to prove it.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-03-27 18:28:14 -07:00
deadprogram 17e9cee6dc Autoload module from current directory when under development 2016-03-14 21:25:37 -07:00
Ron Evans 3787ebda6a Merge pull request #331 from iyogeshjoshi/master
Adds alternate keyword for 'adaptor' as 'adapter'
2016-02-25 08:32:33 -08:00
Yogi bb141ee903 Fixed lint errors 2016-02-25 21:35:09 +05:30
Yogi a5923a9d8e Adding alternate keyword for adaptor as adapter 2016-02-24 16:33:19 +05:30
deadprogram 4f81ca355a Corrected name of Sphero BLE module in README 2016-02-06 11:53:04 -08:00
deadprogram 8df5ccbe5d Update README to include PCA9544A i2c device 2016-02-03 21:56:44 -08:00
deadprogram 4cc9d1ac5d Add cylon-myo to list of user contributed platforms 2015-12-04 15:44:17 -08:00
deadprogram 6dcf7ac26d Build core for Travis using most recent versions of Node 2015-11-17 09:08:08 -08:00
deadprogram 161aac9990 Add user created platforms from @afoninsky to README thank you! 2015-11-04 11:56:56 -08:00
deadprogram 013dc86449 Update RELEASES 2015-09-08 06:57:19 -07:00
deadprogram 9182619baa Update to version 1.2.0 2015-09-08 06:53:25 -07:00
deadprogram ed76890b8a Making connections dynamic as well 2015-09-07 10:51:34 -07:00
deadprogram 16cdb56be6 Simple example of how to use dynamic devices 2015-09-07 08:47:25 -07:00
deadprogram 8921e902eb Add function to dynamically start devices 2015-09-07 08:34:01 -07:00
deadprogram 4ec19961f8 Devices will only be started up once, and can be added dynamically 2015-09-01 18:12:39 -07:00
deadprogram 9cdbdd1d37 Correct JSDocs for 'finish' 2015-09-01 11:42:10 -07:00
deadprogram bba5b1e653 Add 'finish' to time-based helpers 2015-09-01 11:30:55 -07:00
deadprogram 9f83eaa7a2 Fix #311 by setting default for tests to 'silent' 2015-09-01 10:18:17 -07:00
deadprogram 7415daed0c Add minutes time functions, for a complete range 2015-09-01 06:43:14 -07:00
deadprogram 012578f012 Convenience functions for milliseconds and microseconds 2015-08-31 21:34:41 -07:00
Ron Evans bea67b2e5e Merge pull request #305 from hybridgroup/refactor/logger
Simplify logger
2015-08-31 21:19:22 -07:00
Andrew Stewart 67f0386bb5 prevent callback(err) from messing with shutdown 2015-07-21 10:31:52 -07:00
Andrew Stewart 2e0b92f1bc small readme updates 2015-07-15 10:04:51 -07:00
Andrew Stewart c7bb3dde8c streamline index file 2015-07-15 09:54:57 -07:00
Andrew Stewart 3a2766bcd9 Stop using `lib` fn, breaks browserify 2015-07-14 18:30:21 -07:00
Andrew Stewart 3451932bde Remove accidentally-left-behind comments 2015-07-14 11:32:54 -07:00
Andrew Stewart 8a582fcf8d _.arity call no longer necessary 2015-07-13 14:08:21 -07:00
Andrew Stewart 843e0a3217 Simplify logger
This commit adds a simplified logging system, with two primary methods:

- `Logger#log(String) :: void` (for normal logging)
- `Logger#debug(String) :: void` (for debug logging)

This helps dramatically simplify logging infrastructure, as well as
enabling simpler toggling of log modes.

The configuration values for the Logger have also been updated:

- `logger :: Function` - function to log output to (both normal + debug)
- `silent :: Boolean` - whether to log default normal messages or not (`--silent` flag)
- `debug  :: Boolean` - whether or not to log debug output (`--debug` flag)

Additionally, the following CLI flags are supported re: logging:

- `--silent` disables normal logging (will override all other settings)
- `--debug` enables debug logging

Deprecation notices have been added for old log methods, with first-run
messages to this effect.

This change should have negligible impact on end-users, with minor
inconvenience for library developers, as they need to switch their
logging function calls over.

Logging configuration is still possible via both
`Cylon.Config.update(Object)`, and directly calling
`Cylon.Logger.setup(Object)`.
2015-07-13 14:05:12 -07:00
Andrew Stewart f14ac10c95 Add addional edge case handling for snake_casing
Closes https://github.com/hybridgroup/robeaux/issues/19.
2015-07-03 10:37:08 -07:00
Andrew Stewart c1bb466d5b Bump version to "1.1.0" 2015-07-01 15:23:14 -07:00
Andrew Stewart a3c2b0544d Correct CI script for codeclimate binary name change 2015-06-30 11:27:17 -07:00
Andrew Stewart e8f109508b Replace tomdoc with jsdoc 2015-06-29 10:21:25 -07:00
Ron Evans 4b374440d9 Merge pull request #301 from hybridgroup/refactor/mcp
Refactor MCP
2015-06-29 08:36:03 -07:00