Commit Graph

48 Commits

Author SHA1 Message Date
deadprogram 6097ffefc5 tests: complete move of test interfaces into the test files where they belong
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 11:56:01 +02:00
Ron Evans 913e9371a7 Merge pull request #290 from dgryski/gosimple
Code cleanups suggested by gosimple
2016-07-15 09:03:02 -06:00
Damian Gryski a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
Damian Gryski 977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
gmarik e494b9fb99 Refactor to use `gobottest` test helpers 2016-02-22 00:33:58 -05:00
deadprogram be03938851 Corrected dependency install instructions for all current platforms 2015-07-08 16:03:20 -07:00
Dan Markham dd867212e5 Adding sphero API ReadLocator, SetRotationRate, ConfigureLocator 2015-01-01 15:03:37 -08:00
Adrian Zankich 7c836d6c6b Add SetDataStreaming tests 2014-12-25 09:26:29 -08:00
Adrian Zankich 4a9954a5f9 Slight refactor and add default config constructors 2014-12-25 08:32:24 -08:00
Adrian Zankich f043f98c28 Merge remote-tracking branch 'ardan-bkennedy/master' into sphero_enhancements
Conflicts:
	platforms/sphero/sphero_driver.go
2014-12-25 07:11:19 -08:00
Adrian Zankich da566bc74c Merge remote-tracking branch 'krylovsk/master' into sphero_enhancements
Conflicts:
	platforms/sphero/sphero_driver.go
2014-12-25 07:06:54 -08:00
Adrian Zankich cde191943d Fix null reference on failure to connect
Refactor sphero adaptor
2014-12-23 07:14:08 -08:00
Adrian Zankich f3e3dea22b Increase sphero test coverage 2014-12-17 14:32:12 -08:00
deadprogram d884299c90 Merge branch 'master' into dev 2014-12-13 18:46:31 -08:00
nathan 4091681da6 update readmes for import script 2014-12-12 10:32:52 -08:00
William Kennedy 8856070d1f Exposed collision detection configuration. 2014-12-02 15:24:38 -05:00
Adrian Zankich 61e70f7571 Refactor sphero to use new driver and adaptor interfaces 2014-11-28 18:21:02 -08:00
Adrian Zankich 586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich 15852db617 Update sphero package error handling 2014-11-19 16:17:14 -08:00
Alexandr Krylovskiy 9e126b84b2 Added support for Sensor Data Streaming in shpero driver 2014-11-17 09:11:30 +01:00
Adrian Zankich abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Adrian Zankich b78249833d Merge branch 'master' into dev
Conflicts:
	CHANGELOG.md
	Makefile
	platforms/intel-iot/edison/edison_adaptor.go
	platforms/intel-iot/edison/edison_adaptor_test.go
	platforms/intel-iot/edison/pwm_pin.go
	platforms/intel-iot/intel-iot.go
	platforms/leap/leap_motion_adaptor.go
	platforms/leap/leap_motion_driver.go
	platforms/sphero/sphero_driver.go
	scripts/travis.sh
	version.go
2014-11-10 19:43:06 -08:00
Adrian Zankich fd24e6a9fe Update docs 2014-10-28 14:52:59 -07:00
Javier Cervantes af7dbf8bb1 Correct indentation for doc.go in sphero package 2014-10-21 12:30:06 -05:00
Javier Cervantes 8fc24b5a9a Adding doc.go to sphero package 2014-10-21 12:15:32 -05:00
Adrian Zankich bf7bc97c3a Add sphero docs 2014-09-28 20:32:31 -07:00
Nathan Youngman 46d46a8ad0 sphero: return collision data as a struct 2014-09-09 21:45:38 -06:00
Nathan Youngman 44d34d1ce7 sphero: calculate checksum of response packets
a little more robust.
2014-09-07 18:38:17 -06:00
Nathan Youngman 613c7d8569 Fix: Sphero partial collision data
The previous behavior would throw out the data if incomplete rather than waiting for additional data.

On some async packets there would be a DLEN of 17 but no body (some of the body was retrieved, but not all 17 bytes, so nil was returned).

With this change it waits for enough data.
2014-08-26 21:23:42 -06:00
TaNGSoFT 564e1d2f62 pass argument DeviceID to func craftPacket to identify virtual device the packet is intended for 2014-08-06 01:06:34 +08:00
Adrian Zankich 5847624f3e Format output of GetRGB 2014-07-25 09:14:34 -07:00
Adrian Zankich 84363c6699 Rename Expect to Assert and add Refute function 2014-07-17 11:41:47 -07:00
Javier Cervantes 884f1e1869 enable stop on disconnect via sphero api 2014-07-14 16:21:03 -05:00
Adrian Zankich 11262956ab Fix issue with halting a sphero driver 2014-07-10 19:24:57 -07:00
Adrian Zankich 1d24bd8866 Update READMEs 2014-07-10 17:02:00 -07:00
Adrian Zankich 1700c1276c Merge branch 'master' into dev 2014-07-10 11:54:48 -07:00
Adrian Zankich d3f22138f0 Clean up drivers 2014-07-09 18:32:27 -07:00
Adrian Zankich 3f3444f7e7 Update sphero package 2014-07-07 17:42:19 -07:00
Jacob Hayes f0d822a0a1 Fix platform paths 2014-07-06 14:17:10 -05:00
Adrian Zankich f77689abe3 The Driver struct now has an Adaptor field 2014-06-15 17:22:50 -07:00
Adrian Zankich aed6b39bb6 Update test formatting 2014-06-13 16:01:39 -07:00
Adrian Zankich 1a63727776 Update sphero tests 2014-06-13 14:26:18 -07:00
Adrian Zankich f1dbe8b1e2 Update platforms for new device command syntax 2014-06-11 18:59:30 -07:00
Adrian Zankich db44941c21 Use new Event type for events 2014-06-11 11:37:20 -07:00
Adrian Zankich c129da61d3 Make golint happy 2014-06-10 15:16:11 -07:00
Adrian Zankich b6b65e9af6 Update READMEs for each platform 2014-06-09 19:01:53 -07:00
Adrian Zankich d877ffd251 Update sphero package and examples 2014-05-22 21:20:16 -07:00
Adrian Zankich 90ee5d7d70 WIP project restructure 2014-04-29 13:20:32 -07:00