1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00

427 Commits

Author SHA1 Message Date
Ranjib Dey
a14e50d9ea support gpio pin turn on and off 2016-07-03 10:52:11 +02:00
deadprogram
06ee8a4699 [audio] Run go fmt because we have to
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
ae8b23c565 [audio] Refactor audio driver to simplify interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
3b3b03c8dd [audio] Test coverage for execution of audio driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
cdc1330cc2 [audio] Test coverage for exexcution of audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
6464a1bb02 [audio] Add yet additional test coverage for audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
3085d43421 [audio] Add additional test coverage for audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
a50c76b0ef [keyboard] Adds more test coverage and fixes README install instructions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
a488b4fff0 [audio] Correct format of adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
7eb221d9e5 [audio] Allows playback of both MP3 or WAV files, as long as the needed player (mpg123 or aplay) is installed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
1897c7f02e [gpio] Improve pin logging for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
b37c656ffe [audio] Spawn audio playing process using Start for async
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
5c2766d85f [audio] WIP on Gobot audio support using mpg123, based on code from @colemanserious
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
4015c7e818 [gpio] Correct go formatting on RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
deadprogram
3d9aeeef14 [gpio] Add support for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
deadprogram
2707124725 Change default value for PCMD flag to match the Bebop 2.0.57+ expectations
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
Stas Turlo
9226a6c80b Add MQTT authentication support 2016-07-03 10:52:10 +02:00
Ulises Flynn
e391252dba Code cleanup, improve go report card 2016-03-12 15:08:21 -08:00
gmarik
8c68615485 Refactor to use gobottest test helpers 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
9de106d089 Simple implementation that can read data 2016-03-02 22:43:41 -08:00
deadprogram
12dbf722d7 Almost reading battery info 2016-03-02 22:00:05 -08:00
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
deadprogram
f55cd94cd5 Use OpenCV 2.4, as well as switch to main fork of go-opencv 2016-02-19 18:36:33 -08:00
Brian Stengaard
f839367fcf Pin 229 value left out of test fixture on edison 2016-02-19 09:51:58 +01: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 fe221a963346150f1b90315808bdcc5fc5d658b6.
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
Andrew Stewart
111a6df996 Add support for 'hand' and 'gesture' Leap Motion events 2016-02-17 12:25:15 -08:00
deadprogram
f8f6dfeb0b Use newer naming system for C.H.I.P. pins 2016-02-17 12:25:15 -08:00
deadprogram
7c355b8dcd Update MQTT README for latest info 2016-02-17 12:25:15 -08:00
deadprogram
3cf667d450 Increase test delay hack for button tests 2016-02-17 12:25:15 -08:00
deadprogram
920c38482f Default the new MQTT 'AutoReconnect' to false 2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
ed4522248f Name C.H.I.P. pins according to printed names
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
42475e479d Get I2C functionality before doing SMBus block I/O
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.

Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
8f79c322e0 Add support for the CHIP platform
This includes support for GPIO and I2C interfaces.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:14 -08:00
Ethan Young
dc183d7a78 Correct the release command sent to pi-blaster. 2016-02-17 12:25:14 -08:00
Cathal Garvey
01bb538959 The take-off-before-event-handling bug again 2016-02-17 12:25:14 -08:00
deadprogram
cee08c8e35 Correct Intel Edison docs location thanks to @seanmarcia 2016-02-17 12:25:14 -08:00
Ulises Flynn
43d4271b45 Add MCP23017 write and read functionality to GPIO
Signed-off-by: Ulises Flynn <uflynn@hotmail.com>
2016-02-17 12:25:14 -08:00
deadprogram
ee61c902a5 Can see BLE devices, and connect to a specific one 2016-02-16 15:32:14 -08:00
deadprogram
2aa96c583a More WIP on reading characteristics 2016-02-16 15:32:14 -08:00
deadprogram
2bce008224 A little more WIP, can open a connection to a specific peripheral 2016-02-16 15:32:14 -08:00
deadprogram
66192290b6 WIP on BLE 2016-02-16 15:32:14 -08:00