Commit Graph

1110 Commits

Author SHA1 Message Date
gmarik 8ceffc25ba Refactor to use `gobottest` test helpers 2016-02-24 22:16:05 -08:00
gmarik def3524b53 Introduce `gobottest` package with test helpers
- this package is for testing purposes only
2016-02-24 22:16:05 -08:00
deadprogram c52a14d56b Change test delay to 50ms 2016-02-24 22:16:05 -08:00
Krishna Chaitanya 2c5f1bc9b6 Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-02-24 22:16:05 -08:00
deadprogram 41d80f991c Tests also need to be pointed to @veandco go-sdl2 fork 2016-02-24 22:16:05 -08:00
deadprogram e45c822101 Use main go-sdl fork from @veandco to pickup any upstream changes 2016-02-24 22:16:05 -08:00
deadprogram acd1524432 Adds support for Dualshock4 wireless gamepad 2016-02-24 22:16:05 -08:00
deadprogram c116a625bc Adds support for Dualshock4 wireless gamepad 2016-02-24 22:16:05 -08:00
deadprogram d0b12cb88e Fix #201 by add 'make examples' command to Makefile 2016-02-24 22:16:05 -08:00
deadprogram 875ed071e9 Update ARDrone face tracking example to use main go-opencv fork 2016-02-24 22:16:05 -08:00
deadprogram e3d547f2c0 Use OpenCV 2.4, as well as switch to main fork of go-opencv 2016-02-24 22:16:05 -08:00
Brian Stengaard 24c04dc7eb Pin 229 value left out of test fixture on edison 2016-02-24 22:16:05 -08:00
Brian Stengaard c028ba7b90 Use Seek to speed up read/write in sysfs
This maintains `direction` and `value` `File`s for each DigitalPin
implementation. Instead of Open/Read/Close we now only do Seek/Read,
this speeds up Read/Write operations a bit.

A silly benchmark on the mock FS gives:

benchmark                  old ns/op     new ns/op     delta
BenchmarkDigitalRead-8     647           7.36          -98.86%

benchmark                  old allocs     new allocs     delta
BenchmarkDigitalRead-8     5              0              -100.00%

benchmark                  old bytes     new bytes     delta
BenchmarkDigitalRead-8     96            0             -100.00%
2016-02-24 22:16:05 -08:00
Ryan Hatfield 7ca64f2023 Fix mavlink link typo
Signed-off-by: Ryan Hatfield <ryan@ryan.bio>
2016-02-24 22:16:05 -08:00
deadprogram 1ca4c0eae9 Update missing changelog entries 2016-02-24 11:48:25 -08:00
Ron Evans 6c287a385f Merge pull request #268 from gmarik/dev
code depending on "testing" package must be in _test.go files
2016-02-23 14:49:35 -08:00
gmarik a05b36a1fa test generated error messages as well 2016-02-23 01:09:09 -05:00
gmarik fa2b126aa7 Fixes failing test 2016-02-23 00:54:47 -05:00
gmarik e494b9fb99 Refactor to use `gobottest` test helpers 2016-02-22 00:33:58 -05:00
gmarik 96134bfe82 Introduce `gobottest` package with test helpers
- this package is for testing purposes only
2016-02-22 00:31:27 -05:00
deadprogram 93b452f75b Merge branch 'bugfix/gpio-button-tests' into dev 2016-02-21 19:14:29 -08:00
deadprogram 8a539e1cf1 Change test delay to 50ms 2016-02-21 19:03:39 -08:00
Ron Evans 73a56690ba Merge pull request #267 from kittuov/patch-1
Fix for analog lag
2016-02-21 18:47:48 -08:00
Krishna Chaitanya e84326b129 Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-02-22 04:54:17 +05:30
deadprogram b3e1bb09ee Merge branch 'feature/ble' into feature/ble-wip 2016-02-20 19:56:42 -08:00
deadprogram dcf89ff49f Tests also need to be pointed to @veandco go-sdl2 fork 2016-02-20 14:43:16 -08:00
deadprogram 556159070c Use main go-sdl fork from @veandco to pickup any upstream changes 2016-02-20 14:27:24 -08:00
deadprogram b4427ced97 Adds support for Dualshock4 wireless gamepad 2016-02-20 09:41:38 -08:00
deadprogram ae4c760951 Adds support for Dualshock4 wireless gamepad 2016-02-20 09:41:19 -08:00
Trevor Rosen fda24f493b Make dev branch target more explicit 2016-02-19 18:41:26 -08:00
deadprogram 05e54f20df Fix #201 by add 'make examples' command to Makefile 2016-02-19 18:40:30 -08:00
deadprogram 7ef09a58ba Update ARDrone face tracking example to use main go-opencv fork 2016-02-19 18:39:30 -08:00
deadprogram f55cd94cd5 Use OpenCV 2.4, as well as switch to main fork of go-opencv 2016-02-19 18:36:33 -08:00
Ron Evans c480d60754 Merge pull request #265 from trevrosen/update-contributing
Make dev branch target more explicit in CONTRIBUTING
2016-02-19 18:06:49 -08:00
Trevor Rosen ee896bee8e
Make dev branch target more explicit 2016-02-19 20:03:54 -06:00
Ron Evans d7b2a33dc0 Merge pull request #264 from stengaard/stengaard/sysfs-seek
Use Seek to speed up read/write in sysfs
2016-02-19 08:11:54 -08:00
Brian Stengaard f839367fcf Pin 229 value left out of test fixture on edison 2016-02-19 09:51:58 +01:00
Brian Stengaard 642ab409c1 Use Seek to speed up read/write in sysfs
This maintains `direction` and `value` `File`s for each DigitalPin
implementation. Instead of Open/Read/Close we now only do Seek/Read,
this speeds up Read/Write operations a bit.

A silly benchmark on the mock FS gives:

benchmark                  old ns/op     new ns/op     delta
BenchmarkDigitalRead-8     647           7.36          -98.86%

benchmark                  old allocs     new allocs     delta
BenchmarkDigitalRead-8     5              0              -100.00%

benchmark                  old bytes     new bytes     delta
BenchmarkDigitalRead-8     96            0             -100.00%
2016-02-18 21:18:45 +01:00
Ron Evans 9e656c5971 Merge pull request #263 from ryanhatfield/dev
Fix mavlink link typo
2016-02-18 07:13:56 -08:00
Ryan Hatfield 89331cbe4d Fix mavlink link typo
Signed-off-by: Ryan Hatfield <ryan@ryan.bio>
2016-02-18 08:29:00 -06:00
deadprogram 676c963f14 Update to 0.11.1 2016-02-17 17:25:15 -08:00
deadprogram a10756c221 Update version to v.0.11.1 2016-02-17 17:23:31 -08:00
deadprogram b61d713a0d Need to explicitly set content type to text/html for Robeaux main page 2016-02-17 16:19:11 -08:00
deadprogram 34e5f0253c Update version to 0.11 2016-02-17 12:28:00 -08:00
deadprogram 89da45f493 Update version to 0.11 2016-02-17 12:26:16 -08:00
deadprogram d0a5893f27 Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050 2016-02-17 12:25:15 -08:00
deadprogram b06f8bae38 Revert "Increase button delay hack for test suite"
This reverts commit fe221a9633.
2016-02-17 12:25:15 -08:00
deadprogram 87584e9765 Increase button delay hack for test suite 2016-02-17 12:25:15 -08:00
deadprogram a5bc3a66b4 Failure is no longer an option for Go 1.6 2016-02-17 12:25:15 -08:00
deadprogram 5ef119c1e6 Better I2C device descriptions in README 2016-02-17 12:25:15 -08:00