Commit Graph

65 Commits

Author SHA1 Message Date
Thomas Kohler 7f78edefcd
lint(all): fix issues of errorlint etc (#1037) 2023-11-15 20:51:52 +01:00
Thomas Kohler aee81436c9
lint(all): switch to 1.55.2 and adjust linter issues (#1036) 2023-11-12 14:17:02 +01:00
Thomas Kohler 002c75ce88
test(all): substitude assert.Nil by assert.NoError if useful (#1016) 2023-10-26 20:34:19 +02:00
Thomas Kohler f9950e247d
test(all): substitude assert.Error by assert.ErrorContains (#1014) 2023-10-25 20:21:18 +02:00
Thomas Kohler ee4368b10f
test(all): substitude assert.Errorf by assert.Error (#1011) 2023-10-21 10:08:03 +02:00
Thomas Kohler a4a8d1079c
build(style): switch to gofumpt and add linters (#1009) 2023-10-20 20:50:42 +02:00
Thomas Kohler 3039b2c7cb
test(all): switch to test package stretchr testify (#1006) 2023-10-20 10:27:09 +02:00
Thomas Kohler 10dabf1ce5
mavlink: fix linter issues of errcheck (#959) 2023-06-14 20:08:02 +02:00
Thomas Kohler f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors (#950) 2023-06-12 19:51:25 +02:00
Thomas Kohler 0d0a508c60
core(build): CLI removed (#946)
* core(build): CLI removed
* adjust install instructions in doc and README
* fix master_test and remove useless/duplicated tests examples_test.go
2023-06-04 18:36:55 +02:00
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 949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +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
Dmitry Lisin 88188d3ccb Use go.mod friendly version of go.bug.st/serial library 2020-05-13 19:16:41 +02:00
Joe Kim 515c4e8288 fix mavlink README to use correct example code 2019-05-22 11:34:39 +02:00
Ron Evans 7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
deadprogram f225a66db9 docs: correct installation instructions to match latest versions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 3a70d1ae39 mavlink: switch to using go-serial package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 608edc4f51 mavlink: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram b996bb7d74 mavlink: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram 91636fe4c4 mavlink: create UDPConnection interface for testabilty
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
deadprogram 21210bce46 mavlink: UDP writes must be to specific address
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:25:43 +02:00
Michael Hope 47e95b54d6 mavlink: update the README to cover UDP. 2017-04-17 09:38:55 +02:00
Michael Hope 72d1d3bbc0 mavlink: add a Mavlink-over-UDP adaptor.
Handles UDP traffic from mavproxy and similar.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-16 20:32:15 +02:00
deadprogram 216d26c216 mavlink: increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 10:52:59 +02:00
Marc-Antoine Ruel 88addd428f Add crude travis check for gofmt; format all sources
The check ensures no gofmt regression occurs. Formatting the code makes everyone happy.
2017-03-27 14:10:37 -04:00
deadprogram 885c829a43 license: update license year to include 2017
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:25:17 +01:00
deadprogram 8300ce9f05 docs: correct Mavlink README link
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:53:19 +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 f2917e71bf core: update Mavlink platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:52 +01:00
deadprogram 9faf9eb52a core: Use time.Sleep unless waiting for a timeout in a select
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-05 13:05:49 +01:00
deadprogram 900bf1d9ea docs: remove Master unless needed for less code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:37:10 +02:00
Benjamin Radovsky 6c93f492c7 fixed undefined method errors 2016-10-17 17:43:04 +11: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
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram 23559830ea update: Update tarm/goserial to tarm/serial
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 08:38:24 +02:00
deadprogram d1e35afdc9 core: Refactor Mavlink platform for new Adaptor/Driver creation signatures
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 21:44:40 +02:00
deadprogram 0c6bd6dc6b core: correct behavior in Mavlink driver, correct tests to match
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 fe057ba6bf misc: update all LICENSE files for current year
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 13:12:47 +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
Ron Evans 278a96c97d Merge pull request #293 from dgryski/misspell
Fix misspellings
2016-07-15 08:34:00 -06:00
Damian Gryski e65048e795 Fix issues flagged by 'go vet' 2016-07-13 11:27:12 -06:00
Damian Gryski a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
gmarik e494b9fb99 Refactor to use `gobottest` test helpers 2016-02-22 00:33:58 -05:00
deadprogram be03938851 Corrected dependency install instructions for all current platforms 2015-07-08 16:03:20 -07:00
Adrian Zankich 3b8273107d Refactor mavlink serialport connection instantiation 2014-12-18 15:27:23 -08:00
Adrian Zankich 376de1d704 Add seperate error events for io and mavlink errors 2014-12-18 12:54:07 -08:00