Commit Graph

1246 Commits

Author SHA1 Message Date
deadprogram 80adfcd8c3 [gpio] Improve pin logging for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-14 17:14:46 -07:00
deadprogram cb0005eac7 [audio] Spawn audio playing process using Start for async
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-14 16:42:33 -07:00
deadprogram 6b5f8e3781 Merge branch 'feature/audio' into dev 2016-05-13 18:56:45 -07:00
deadprogram aa20799d2a [core] Don't cut it so close when testing Every being told to be done
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:36:34 -07: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
deadprogram 0ca38b77e5 [audio] WIP on Gobot audio support using mpg123, based on code from @colemanserious
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 16:09:36 -07:00
deadprogram bf43df59b5 [gpio] Correct go formatting on RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 15:26:47 -07:00
deadprogram 686fbcef4a [gpio] Add support for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 15:24:11 -07:00
deadprogram f90acf82a3 Increase hover time and remove cruft from simple Bebop drone example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-12 14:32:53 -07:00
deadprogram f1239d42a0 Change default value for PCMD flag to match the Bebop 2.0.57+ expectations
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-04-12 14:27:30 -07:00
Ron Evans e44c014e54 Merge pull request #274 from jeromefroe/arduino-temp36
Added example of how to use temp36 temperature sensor with firmata
2016-04-01 15:43:07 -07:00
jeromefroe 61201913b1 Added example of how to use temp36 temperature sensor with firmata 2016-04-01 17:24:43 -04:00
Ron Evans d317e7c407 Merge pull request #273 from nobodyzzz/mqtt_auth
Add MQTT authentication support
2016-03-29 12:40:00 -07:00
Stas Turlo a3051c0fcf Add MQTT authentication support 2016-03-23 17:58:13 +03:00
Ulises Flynn e391252dba Code cleanup, improve go report card 2016-03-12 15:08:21 -08:00
deadprogram d84d02879c Allow failures in Travis builds for Golang 1.3 due to SDL changes 2016-03-12 15:07:19 -08:00
Ron Evans 4858a53cf5 Merge pull request #271 from knifeedge/cleanup
Code cleanup, improve go report card.
2016-03-12 15:04:56 -08:00
Ulises Flynn 30a8aa211b Code cleanup, improve go report card 2016-03-07 23:51:45 -07:00
deadprogram c9ab067b63 Add Go Reportcard badge for fun 2016-03-03 17:18:10 -08:00
deadprogram c413fb374e Update missing changelog entries 2016-03-03 17:18:10 -08:00
gmarik fccac87253 test generated error messages as well 2016-03-03 17:18:10 -08:00
gmarik af1ab21558 Fixes failing test 2016-03-03 17:18:10 -08:00
gmarik 8c68615485 Refactor to use `gobottest` test helpers 2016-03-03 17:18:10 -08:00
gmarik a781735345 Introduce `gobottest` package with test helpers
- this package is for testing purposes only
2016-03-03 17:18:10 -08:00
deadprogram 77453ccca8 Change test delay to 50ms 2016-03-03 17:18:10 -08:00
Krishna Chaitanya a28fd363ec Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-03-03 17:18:10 -08:00
deadprogram 2cff32dee1 Remove commented lines 2016-03-02 22:51:55 -08:00
deadprogram 7c1fe4ae25 BLE seems to require Golang 1.4+ 2016-03-02 22:45:34 -08:00
deadprogram 9de106d089 Simple implementation that can read data 2016-03-02 22:43:41 -08:00
deadprogram b662559ae9 Remove test code 2016-03-02 22:05:19 -08:00
deadprogram 12dbf722d7 Almost reading battery info 2016-03-02 22:00:05 -08:00
deadprogram 88fd93fbaf Add Go Reportcard badge for fun 2016-02-25 15:00:21 -08:00
deadprogram 34736f3b32 Update missing changelog entries 2016-02-24 22:16:05 -08:00
gmarik 9ce079737f test generated error messages as well 2016-02-24 22:16:05 -08:00
gmarik 235ebb71a5 Fixes failing test 2016-02-24 22:16:05 -08:00
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