Commit Graph

41 Commits

Author SHA1 Message Date
deadprogram 5987a732b9 sphero: eliminate race conditions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 23:50:07 +02:00
deadprogram 3daa17dd99 sphero: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:46:25 +01:00
deadprogram 953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram 5e56638018 docs: Add missing godocs for Sphero platform
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-01 16:08:56 +01:00
deadprogram 08874e4e21 core: no longer return slices of errors, instead use multierror
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram 7136bfcba7 core: Refactor Sphero platform for new Adaptor/Driver creation signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-01 18:52:58 +02:00
deadprogram 3540ce7bd1 docs: go fmt files that needed it from recent changes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram 94d78d777a core: Refactor tests to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram c64a0d9481 core: Refactoring to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
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
Damian Gryski 977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06: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
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 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
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 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
Adrian Zankich f77689abe3 The Driver struct now has an Adaptor field 2014-06-15 17:22:50 -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 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