Commit Graph

66 Commits

Author SHA1 Message Date
deadprogram 0764500955 core: use multierror when handling Robot Stop
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-01 20:40:11 +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 68662f8496 core: Now both Robot and Master operate using AutoRun as expected
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 18:23:59 +02:00
deadprogram 21a77a1b54 core: Able to run robots without being part of a master. Also now running all work in separate go routines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 16:34:29 +02:00
deadprogram 5eac41a6bc core: WIP on all work happening in separate goroutine
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 16:13:45 +02:00
deadprogram 458c750f33 core: refactor/rename internal name of Master type
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +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
Kenny Levinsen 4b46228f67 Isolates shutdown-logic to Robot/Robots/Gobot.Stop
Gobot no longer hijacks the os.Interrupt signal handler, leaving any
shutdown logic to the user.
2015-09-30 21:43:58 +02:00
Adrian Zankich 8ea3ae2c8b go lint and documentation tweaks for the gobot package 2014-12-31 05:15:52 -08:00
Adrian Zankich be963f989c Increase gobot package test coverage 2014-11-30 00:19:53 -08:00
Adrian Zankich 59aee80c91 Remove ToJSON methods and create JSON constructors 2014-11-21 11:57:26 -08:00
Adrian Zankich a0a1322fb1 Merge branch 'dev' into refactor_interfaces
Conflicts:
	adaptor.go
	driver.go
	gobot.go
	robot.go
	test_helper.go
	utils.go
2014-11-20 18:08:50 -08:00
Adrian Zankich 7c63f21593 Completely overhaul driver and adaptor interfaces 2014-11-20 18:00:32 -08:00
Adrian Zankich 4c86c0a4bb Merge branch 'master' into dev
Conflicts:
	gobot.go
	platforms/opencv/camera_driver.go
	robot.go
	version.go
2014-11-20 17:48:43 -08:00
Adrian Zankich 586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich 665b3b5ed6 Clean up internal robot error passing 2014-11-17 16:23:19 -08:00
Adrian Zankich 444d9ffbde Update gobot package docs 2014-11-13 11:06:57 -08:00
Adrian Zankich 17cbf2c5f3 Pass error instead of panic 2014-11-12 11:21:50 -08:00
derailed 11ff06b0ac First pass at adding some documentation 2014-08-13 10:22:58 -06:00
Adrian Zankich 2d8ba7206d WIP threepio support 2014-07-24 16:39:27 -07:00
Adrian Zankich c86123c694 Clean up devices and connections type 2014-07-09 09:38:43 -07:00
Adrian Zankich ba63c57a0b Add convenience functions 2014-07-07 21:45:36 -07:00
Adrian Zankich d8154ce306 Update firmata platform and adaptor interface 2014-07-03 19:52:31 -07:00
Adrian Zankich a6fdedcf38 Update gpio platform and driver interface 2014-07-03 19:14:04 -07:00
Adrian Zankich 958d1941ad Fix errors in API 2014-07-02 18:08:44 -07:00
Adrian Zankich bd8d31e23f Alias Connection to AdaptorInterface and Device to DriverInterface 2014-07-02 17:12:13 -07:00
Adrian Zankich e10d617ece WIP refactor device and connection 2014-06-23 20:33:59 -07:00
Adrian Zankich f77689abe3 The Driver struct now has an Adaptor field 2014-06-15 17:22:50 -07:00
Adrian Zankich 300a1e6812 refactor generated name for robot, device and connection 2014-06-14 18:49:02 -07:00
Adrian Zankich 02f708e98f Add AddDevice and AddConnection functions 2014-06-13 11:03:55 -07:00
Adrian Zankich 326283c1a1 NewRobot is now a variadic function 2014-06-12 22:30:01 -07:00
Adrian Zankich ca4d8ce583 Refactor robot commands 2014-06-11 16:44:23 -07:00
Adrian Zankich c129da61d3 Make golint happy 2014-06-10 15:16:11 -07:00
Adrian Zankich 851b9bc48e Fix robot command initialization 2014-06-07 20:57:51 -07:00
Adrian Zankich 26a9e55983 WIP api refactor 2014-05-15 11:50:45 -07:00
Adrian Zankich eca3a1ca99 More WIP restructure 2014-04-30 08:10:44 -07:00
Adrian Zankich 90ee5d7d70 WIP project restructure 2014-04-29 13:20:32 -07:00
Matt Aimonetti 852a7699c1 added Halt() to a collection of devices 2014-04-26 21:52:10 -07:00
Jeremy Saenz eb887f7837 Fixed the tests. Now passing! 2014-04-26 09:44:26 -07:00
Matt Aimonetti 6b84cd16ff started cleaning up the code API 2014-04-26 10:13:33 -06:00
Adrian Zankich 345b60d2ab Update api robeaux api compatibility 2014-04-18 22:44:50 -07:00
Adrian Zankich afa6cf11f2 Robot is now a pointer 2014-04-15 10:20:07 -07:00
Adrian Zankich e318d70444 refactor tests 2014-04-11 06:02:21 -07:00
Adrian Zankich bc014f7c46 Add Init function to DriverInterface 2014-03-31 15:26:35 -07:00
Adrian Zankich 0418ca26ca Add Halt function to DriverInterface 2014-03-31 14:25:20 -07:00
Adrian Zankich 396c9cf466 WIP robeaux support 2014-01-26 18:55:27 -08:00
Adrian Zankich c5c16d441e Refactor robot and master 2014-01-02 15:12:41 -08:00
Adrian Zankich 7da1b802c5 Use golang log 2013-12-30 22:04:23 -08:00