Commit Graph

152 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 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
Andrew Stewart f3cb8133ff Serve Robeaux correctly 2014-01-31 11:02:12 -08:00
deadprogram 0dcc59b4cb Copy sleep method from johnny-five cause sometimes you just need a break 2014-01-29 11:04:52 -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
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
Andrew Stewart 879fbffb66 Compile a missing previous API change 2014-01-03 17:14:35 -08:00
Andrew Stewart 31d8f79292 Serve static files from API dir 2014-01-03 15:47:25 -08:00
Andrew Stewart aa16f56462 Cleaning up API 2014-01-03 13:33:43 -08:00
Andrew Stewart c830e70b4a Finish with DigitalPin specs 2014-01-03 12:46:42 -08:00
deadprogram 6c1e591f84 Make even shorter syntax by removing redundant Adaptors and Drivers 2013-12-15 23:08:34 -08:00
deadprogram ed50c385c4 Removing extraneous things from Adaptor/Driver 2013-12-15 19:28:12 -08:00
deadprogram c83ce83788 Default opts is an empty hash 2013-12-15 19:14:39 -08:00
deadprogram a341fa4f62 Working refactor of Adaptor/Driver base classes 2013-12-15 18:18:22 -08:00
deadprogram 4cb8742fc3 WIP on refactoring adaptor/driver base classes 2013-12-15 10:52:09 -08:00
deadprogram 4a058742c4 Adaptors and Drivers derive from Basestar 2013-12-14 12:18:36 -08:00
deadprogram 8f40826a34 Remaining moves and refactoring for Adaptor/Driver base classes 2013-12-14 12:12:18 -08:00
deadprogram 0e874c52d5 Refactoring Adaptor and Driver into proper base classes 2013-12-14 11:54:56 -08:00
deadprogram 1833c304cd Remove parens and add pending tests to digital-pin 2013-12-09 08:15:56 -08:00
Andrew Stewart f1fea363b5 Add Robot#toString() method 2013-12-07 10:18:31 -05:00
Ron Evans a6b442116f Merge pull request #52 from hybridgroup/21-beaglebone-adaptor
Added GPIO examples for beaglebone.
2013-12-03 18:09:37 -08:00
Edgar O Silva a81fd9b9b4 added new push button example for beaglebone. 2013-12-03 17:28:04 -08:00
Andrew Stewart 2c52db8086 Merge branch 'master' into literate
* master:
  Crazyflies
  Updated servo examples to use a limit range of motion instead of full 180.
  Update digital read to parseInt buffer response.
  DigitalRead buffer data converted to string now.
  Debugging digitalPin read.
  Added servo example for Raspi.
  Add more supported devices to README
  Update to 0.6.1
  Update digital pin close callback param.
  Fixes err param not being passed.
  Updated digital pin and added pwm raspi example.

Conflicts:
	examples/servo.coffee
2013-11-28 12:07:51 -08:00
Edgar O Silva 402edc1a1e Update digital read to parseInt buffer response. 2013-11-27 18:03:02 -06:00
Edgar O Silva 3ceda8f76e DigitalRead buffer data converted to string now. 2013-11-27 17:13:59 -06:00
Edgar O Silva ad39fdaf80 Debugging digitalPin read. 2013-11-27 16:49:40 -06:00
Edgar O Silva e13e923e8c Fixes err param not being passed. 2013-11-26 12:51:11 -06:00