Commit Graph

57 Commits

Author SHA1 Message Date
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
Adrian Zankich bdd9b88327 Add Finalize on SIGINT 2013-12-30 20:38:14 -08:00
Adrian Zankich 411702d284 Add master and robot test coverage 2013-12-30 16:51:21 -08:00
Adrian Zankich 7aa11042f1 Set GOMAXPROCS property in GobotMaster 2013-12-18 23:50:42 -08:00
Adrian Zankich 05bdb70c32 Switch to adaptor, driver, connection and device interfaces 2013-12-18 15:25:07 -08:00
Adrian Zankich 0871811cc4 Work is optional 2013-12-03 15:51:17 -08:00
Adrian Zankich 6cbeb71d00 Small robot refactor 2013-12-02 18:59:28 -08:00
Adrian Zankich 9eda99b74c Merge branch 'master' into ginkgo
Conflicts:
	robot.go
2013-12-02 11:45:05 -08:00
Adrian Zankich 97a38da8a9 Tweak json output 2013-12-02 11:40:52 -08:00
deadprogram cec0a1e32b Refactor robot name assignment func, and tests to prove it 2013-12-01 22:46:52 -08:00