Commit Graph

270 Commits

Author SHA1 Message Date
deadprogram e2fa83196d Add named robot object vars for connections as well as devices 2014-02-19 19:42:46 -08:00
Ron Evans 2b79e04e14 Merge pull request #109 from hybridgroup/config-module
Add Config module to load config from env
2014-02-19 14:32:27 -08:00
deadprogram bb740c5cc2 Add constantly alias for repeated async loops 2014-02-19 14:13:10 -08:00
Andrew Stewart 4a85fa7a7a Config -> CylonConfig 2014-02-19 12:57:37 -08:00
Andrew Stewart e74bc148d9 Remove unnecessary requires from cylon.coffee
They're loaded later (in robot.coffee), and their namespace
(Cylon.{Adaptor,Driver}) is overridden immediately when we define the Cylon
class anyways.
2014-02-19 12:24:14 -08:00
Andrew Stewart d194ca76d3 Add Config module to load config from env
Better to keep configuration loading in one place than spread throughout Cylon.
2014-02-19 11:54:18 -08:00
deadprogram f3da2c4e70 DRY up TestAdaptor and TestDriver classes 2014-02-18 16:29:38 -08:00
deadprogram cebb157704 Add working event and status to robot 2014-02-18 13:03:28 -08:00
deadprogram e59f8f23cc Fix tabs spaces... editor gone mad 2014-02-18 09:14:36 -08:00
deadprogram 81bdb639c5 Working adaptor and driver stubs for test driven robotics 2014-02-18 08:51:25 -08:00
deadprogram 44eae49422 WIP on TDR test stubs 2014-02-18 07:18:25 -08:00
deadprogram 02d0e138bb Add CYLON_TEST mode for TDR 2014-02-17 21:03:50 -08:00
edgarsilva 3d4ccfb173 Added new 'cylon bluetooth scan' command. 2014-02-14 13:00:12 -06:00
Andrew Stewart 75a98854c7 Tidy up CLI classes/modules 2014-02-04 13:38:29 -08:00
Andrew Stewart f413e13088 Refer to new name for Cylon.Process 2014-02-04 11:31:17 -08:00
Ron Evans 01a037cd79 Merge pull request #92 from hybridgroup/caffeinated-cli-cmds
Caffeinated cli cmds
2014-02-04 08:40:34 -08:00
Edgar O Silva e7d7a60691 Removed all js files and updated CylonProcess to just Cylon.Process. 2014-02-01 16:56:30 -06:00
Edgar O Silva 60e3ff2bb3 Changed commands to use coffee by default and added new cylon-process class. 2014-02-01 16:42:32 -06:00
Ron Evans 2f7719cf28 Merge pull request #90 from hybridgroup/change-sys-print
Changes sys.print for console.log
2014-01-31 22:35:47 -08:00
Edgar O Silva 2fb2aeb953 Changes sys.print for console.log 2014-01-31 23:11:08 -06:00
Andrew Stewart f3cb8133ff Serve Robeaux correctly 2014-01-31 11:02:12 -08:00
Edgar O Silva 66b0a29292 Removed firmata commands from cylon and update command list. 2014-01-30 19:54:19 -06:00
Edgar O Silva 678cda543d Fixed mac serial port address issue. 2014-01-30 14:19:26 -06:00
Edgar O Silva 73fe96ea9c WIP on adding upload firmata command to cylon. 2014-01-30 14:13:06 -06:00
Ron Evans 63b3e217a4 Merge pull request #85 from hybridgroup/120-scan-cmd
Added scan command to cylon.
2014-01-29 17:10:08 -08:00
Edgar O Silva 82627351e8 Updated commands to connect serial and bluetooth pair|unpair. Also updated connect serial child process to inherit stdio pipes. 2014-01-29 15:46:23 -06:00
Edgar O Silva 01d68bd74e Updated scan serial commands and connect-to-serial description. 2014-01-29 13:54:09 -06:00
deadprogram 0dcc59b4cb Copy sleep method from johnny-five cause sometimes you just need a break 2014-01-29 11:04:52 -08:00
Edgar O Silva 3d2895e9eb Added new pari, unpair, connect-to-serial commands and updated standard IO pipes when executing interacting commands. 2014-01-29 10:50:25 -06:00
Edgar O Silva b59deb26e8 Removed scan command from commands list. 2014-01-28 11:41:55 -06:00
Edgar O Silva e2ee760663 WIP on commands changes. 2014-01-28 11:17:02 -06:00
Andrew Stewart c67076bc0b Finish correcting TomDoc for utils 2014-01-27 11:46:49 -08:00
Andrew Stewart caa41a545c Correct TomDoc in utils.coffee 2014-01-27 10:51:39 -08:00
Andrew Stewart 6635af0bfc Add roboux to dependencies, and direct API to it 2014-01-24 14:56:24 -08:00
Andrew Stewart ece6f37fbe Add function to parse command params 2014-01-16 16:35:37 -07:00
Andrew Stewart 46e24a70a8 Small cleanups and additional comments 2014-01-16 16:35:37 -07:00
Andrew Stewart 9382742f20 Slight restructuring of coffeescript example in README 2014-01-13 11:43:41 -08:00
Andrew Stewart 32126d341c Correct templating in dist file 2014-01-13 11:40:53 -08:00
Andrew Stewart 8e86b76a71 Correctly template everything out 2014-01-13 11:34:00 -08:00
Andrew Stewart d44856b333 Add more generated README content 2014-01-13 11:22:36 -08:00
Andrew Stewart baaba16cdb Add new base specs for adaptor and driver classes 2014-01-13 11:15:17 -08:00
Andrew Stewart fd22a481c0 Properly namespace module tests 2014-01-13 10:44:49 -08:00
Andrew Stewart 19081cb795 Add base adaptor and driver classes 2014-01-13 10:36:48 -08:00
deadprogram 88ef361d0d Add helpful range conversion functions 2014-01-12 07:31:21 -08:00
Andrew Stewart ad5bd73379 Rename server to Cylon.ApiServer 2014-01-10 11:48:39 -08:00
Andrew Stewart e4e9742e0e Merge branch 'master' into api-interface
* master:
  Switch from process.exit() to process.kill()
  Update copyright year in readme
  Examples should use console.log instead of Logger
  Print timestamp and log level when using Logger
  Compile a missing previous API change
2014-01-10 11:15:11 -08:00
deadprogram fbe3f0add0 Remove warning from deprecated parser, and correct server title display in logger 2014-01-10 06:06:33 -08:00
deadprogram 44c05a992b Class name clash was messing with the API Server 2014-01-10 06:02:25 -08:00
Andrew Stewart 8fc5a7f1bd Switch from process.exit() to process.kill()
Moves to use the kill() method to make sure Cylon shuts down, by sending
a SIGTERM signal to the running process.
2014-01-09 14:59:22 -08:00
Andrew Stewart 9065a319f6 Print timestamp and log level when using Logger 2014-01-03 17:14:51 -08:00