Commit Graph

19 Commits

Author SHA1 Message Date
Adrian Zankich 15852db617 Update sphero package error handling 2014-11-19 16:17:14 -08: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