Commit Graph

41 Commits

Author SHA1 Message Date
Thomas Kohler 865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Ron Evans 355181843f core: add Rescale utility function for straight linear rescaling
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 17:06:52 +02:00
deadprogram 5a418d6131 mqtt: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 15:29:56 +01:00
deadprogram 96059ef294 test: remove code no longer used from utils
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-29 10:26:59 +01:00
deadprogram d1363746da core: eliminate potential race conditions from Events and Every functions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 20:32:02 +01:00
deadprogram 0e25f29a1b core: Refactor events to use channels all the way down. Allows 'metal' development using Gobot libs.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
deadprogram 03eeffbf61 Remove fmt no longer used here
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:31:21 -06:00
deadprogram c78be7d51f Resolve merge conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:30:45 -06:00
deadprogram 0276721523 [core] Return when Every is sent done on its channel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:30:46 -07:00
deadprogram aab1461e0d [core] gobot.Every function now returns a channel so it can be halted
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:21:21 -07:00
gmarik 8ceffc25ba Refactor to use `gobottest` test helpers 2016-02-24 22:16:05 -08:00
gmarik e494b9fb99 Refactor to use `gobottest` test helpers 2016-02-22 00:33:58 -05: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 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 bd36a0d9ca Update utils docs 2014-11-12 15:01:06 -08:00
Javier Cervantes ad96293edb Adds godoc to api package 2014-10-22 10:04:28 -05:00
Adrian Zankich 7805a5575a Use crypto/rand for faster number generation 2014-07-23 09:48:09 -07:00
Adrian Zankich c903bebc20 Green tests 2014-07-15 09:35:19 -07:00
Adrian Zankich 83babbbe87 Add 'Once' Event function 2014-07-15 09:35:19 -07:00
Adrian Zankich c56f285abb Remove unused util functions 2014-06-15 17:32:19 -07:00
Adrian Zankich cf175b9557 Update tests for api and core 2014-06-12 14:38:03 -07:00
Adrian Zankich db44941c21 Use new Event type for events 2014-06-11 11:37:20 -07:00
Adrian Zankich e500296b96 After and Every now require a time.Duration instead of a string 2014-05-03 03:20:02 -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 a6def38c59 removed sleeps from every and after funcs 2014-04-26 11:02:59 -06:00
Adrian Zankich ef8d41739c Remove ConnectToSerial 2014-04-16 13:18:45 -07:00
Adrian Zankich 7969fbcbea Remove ConnectToTcp util 2014-04-16 12:38:09 -07:00
Adrian Zankich c1b684961c Add utils tests 2014-04-15 21:10:32 -07:00
Adrian Zankich a2c9fe6700 Add scale functions 2014-03-26 22:24:45 -07:00
Adrian Zankich 0512cc756d Add Publish function for driver events 2013-12-30 19:06:13 -08:00
Adrian Zankich 05bdb70c32 Switch to adaptor, driver, connection and device interfaces 2013-12-18 15:25:07 -08:00
Adrian Zankich 6f01605d38 DRY up On function 2013-12-18 12:54:08 -08:00
Adrian Zankich 60abbf8c2a Add serialport support 2013-12-03 10:43:30 -08:00
Adrian Zankich cfe0d71f41 Add api commands 2013-11-24 14:41:36 -08:00
Adrian Zankich e8ee0c9d57 Initial GETs for api 2013-11-23 10:36:08 -08:00
Adrian Zankich 7020f44ad5 Add robot master 2013-11-23 09:12:57 -08:00