Commit Graph

419 Commits

Author SHA1 Message Date
Ron Evans 99410dc4d1 tello: remove commentted out lines from video example
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-18 12:19:13 +02:00
Ron Evans 4fe09d8e04 tello: flip commands works, a bunch of events, and video streaming example using ffplay
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-18 12:15:18 +02:00
Ron Evans 3c4c15b6d9 joystick: correct events used by gamepad-style up/down/left/right buttons
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-18 12:12:07 +02:00
Ron Evans 75465900f3 tello: properly event the various known notification packets
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-17 15:01:34 +02:00
Ron Evans e25a1bf7dd tello: WIP on adding support for video streaming from drone
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 23:08:22 +02:00
Ron Evans f9bb5a3ae6 joystick: able to configure joysticks without external json file
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-14 13:34:28 +02:00
Ron Evans c7ed618295 tello: improve Tello/ps3 example
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-13 14:01:28 +02:00
Ron Evans 03e3dcd9b8 tello: ability to send real-time stick commands
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-13 13:50:11 +02:00
Ron Evans 7637d90440 spi: switch to using periph.io for SPI interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans ecfe8015ef tello: basic parsing of flight data packets
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans 02542b88e8 tello: able to fetch speed, battery, and flight time data from drone
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans bc89e62bea tello: drone UDP request/response now working
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans e20e13f580 tello: some initial WIP on DJI Tello drone
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ulises Flynn 447175629b added spi ssd1306 2018-04-12 12:25:39 +02:00
Daniel Esteban 8e6391105d Added initial support for AIP1640 led driver, used in Wemos D1 mini's
matrix LED shield
2018-04-12 12:25:39 +02:00
Ron Evans f54403303d beaglebone: update pin naming, docs, and examples for the latest Debian OS releases
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-13 19:36:40 +01:00
Daniel Esteban 4510283594 gofmt'd 2018-02-11 19:45:28 +01:00
Daniel Esteban f3150c7ed9 Initial support for TM1638 modules 2018-02-11 19:34:47 +01:00
Ron Evans d5e7393912
Merge pull request #481 from conejoninja/adxl345
Initial support for digital accelerometer ADXL345
2018-01-29 14:17:02 +01:00
Daniel Esteban bf07a86846 added adxl345 example 2018-01-29 13:56:25 +01:00
Prasad Ghangal 9e56ea519c Support for more commands in ollie_driver
- Set Stabilization
	- Set Rotation Rate
	- Boost
	- Set Raw Motor Values
	- Set Back LED Output
2017-12-26 14:50:34 +05:30
Aniket 210a0e930b adding example for stepper motor 2017-12-02 21:22:41 +08:00
deadprogram 0263b9c7bd sprkplus: add custom collision default params
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-31 17:17:34 +01:00
deadprogram 6941810f98 examples: correct format
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-31 15:53:57 +01:00
deadprogram 1013863f7c sprkplus: add new platform for Sphero SPRK+
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-31 15:15:55 +01:00
deadprogram d2e6c53ac9 firmata: correct problem where last analog pin(s) were being ignored from capabilities query
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-31 09:36:16 +01:00
deadprogram 9dada20d35 gopigo3: correct error in example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-23 13:15:55 +02:00
deadprogram 5e2ea8c39c opencv: update interface and examples to indicate multipurpose
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-23 11:45:36 +02:00
deadprogram a3f086ccd7 holystone: Update example for correctness, and README as well
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-19 12:40:35 +02:00
deadprogram 6bd8280250 Switch to use custom domain for GoCV package
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-18 18:13:40 +02:00
deadprogram a998b0b072 opencv: OpenCV face detector that is much more concurrent
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 20:05:12 +02:00
deadprogram 2929791ff7 opencv: all examples using new GoCV based code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 18:01:34 +02:00
deadprogram 3e4f5a2d1c opencv: all examples using new GoCV based code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 18:00:22 +02:00
deadprogram c492ec49d0 opencv: correct formatting in face detect example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 17:47:19 +02:00
deadprogram 31131780d4 opencv: Switchover to use GoCV and OpenCV 3.3
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-05 17:05:10 +02:00
Ulises Flynn 80f89f508f Added grove support, and more gopigo3 examples 2017-09-28 16:14:10 -06:00
deadprogram c7a68b1fc6 gopigo3: integration of recent GoPiGo3 contributions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-09-14 14:30:27 +02:00
Ulises Flynn ec9a437d6f Removed gopigo3 adaptor, updated gopigo3 driver 2017-09-13 16:55:09 -06:00
Ulises Flynn afbae9f697 Cleanup gopigo adapter, update examples 2017-09-12 14:19:39 -06:00
Ulises Flynn 4bd3b675c6 Moved gopigo3 to a platform 2017-09-06 23:53:28 -06:00
Ulises Flynn 94f5ded2d6 First cut of the GoPiGo3 driver, lacking grove peripherals. 2017-08-24 23:38:26 -06:00
deadprogram 4c834e703c examples: firmata examples take command line param for port to use to microcontroller
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-07-12 18:08:46 -06:00
deadprogram 558d72f989 i2c: example for PCA9685 servo driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:14:24 +02:00
deadprogram cf14909b14 curie: improve tests and examples
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 37b7fcbb33 curie: motion detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram b91b680673 curie: tap detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram b18d4c5506 curie: step count implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 78993b4454 curie: shock detect implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 30345764c7 curie: Accelerometer, Gyroscope, and Temperature sensors implemented
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram f2557954f4 docs: add helpful information to examples themselves
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 9b1ade946f minidrone: add example for Parrot Mambo
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 1fb5aee7e9 digispark: update blink example to display error message on Start()
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram ab7944b86b firmata: improve connection code to use a proper timeout
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 929dbe05d1 joystick: add needed constants for all PS3 buttons
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 7670d2a7f8 joule: ensure built-in LEDs are labeled same as the expansion board
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-09 18:48:51 +02:00
deadprogram f4d7c220a3 joule: add examples using Joule with ADS1015 ADC
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 08:18:58 +02:00
deadprogram 3505704e1c joule: correct pin mappings and add PWM example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-05 20:13:17 +02:00
John Pauley 9c3a8db12a Merge branch 'dev' of https://github.com/hybridgroup/gobot into dev 2017-05-04 23:31:10 -04:00
John Pauley fb87595d7a don't build example by default 2017-05-04 23:20:32 -04:00
John Pauley 698d1685f0 cleanup driver and sample, additional documentation 2017-05-04 22:51:58 -04:00
deadprogram 8657f385c4 examples: corrections requested by gitmetalinter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 12:36:20 +02:00
deadprogram 6e8199e35d raspi: add PWM example for Raspberry Pi
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-04 12:32:55 +02:00
John Pauley d3629908d4 update example 2017-05-03 18:23:27 -04:00
John Pauley 8e0637f3e3 raspi INA3221 example 2017-05-03 18:08:56 -04:00
bezineb5 7eabd4e2e4 Fixed a bug with the ADS1015 reading. Updated example. 2017-04-27 09:10:03 -04:00
deadprogram 8ca2e59271 tinkerboard: add examples for ASUS Tinker Board
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-26 15:54:59 +02:00
deadprogram 0de58756bb i2c: support working for ads1015 adc providing AnalogReader interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 17:56:13 +02:00
Michael Hope 412fa0a3b1 nats: support wildcard subjects by changing the handler to take
nats.Message.

Also update the docs and examples.

Signed-off-by: Michael Hope <mlhx@google.com>
2017-04-21 20:46:45 +02:00
deadprogram 311bfcfb45 mqtt: update examples that use mqtt for updated notification signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 09:21:34 +02:00
deadprogram 9a2cc0b15b microbit: correct example pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 18:42:37 +02:00
deadprogram 5059a8c2f2 microbit: add example showing gpio Button and LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:46:43 +02:00
deadprogram ca2854bdf0 microbit: add DigitalWriter, DigitalReader, and AnalogReader support
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-15 17:07:53 +02:00
deadprogram aefc031d13 firmata: correctly handle i2cwrite operations of >16 bytes by chunking them
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 20:04:47 +02:00
deadprogram 0887fefc70 i2c: change example for bmp180 to match current method signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 16:00:01 +02:00
deadprogram a3c892ee58 examples: correct build errors in all current examples
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-04 13:38:51 +02:00
deadprogram 821fbf272e i2c: adds Altitude() function to BMP280/BME280
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 10:29:57 +02:00
deadprogram 633abf0751 i2c: update bme280 example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 4c573b43f4 i2c: add Humidity() to bme280 example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram f523fc6447 i2c: bmp280/bme280 raw reading in place, just need the conversions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 8940824ff0 i2c: refactoring since the bme280 is not the same as the bmp180
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram 56a67a6626 i2c: ensure bmp180 returns Temperature() error, if any
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
Jordi Llonch 6ea0383918 ssd1306: added example
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 17:33:52 +00:00
b3b 5eaabf18a7 Fix neurosky example
Signed-off-by: b3b <ash.b3b@gmail.com>
2017-03-23 12:27:13 +03:00
deadprogram 647b3e3ba7 microbit: add CI build exclusion directives to new Microbit examples
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 12:31:23 +01:00
Ron Evans 5590c670ed Merge pull request #384 from maruel/go_test
Fix go test ./...
2017-03-20 08:28:20 +01:00
deadprogram 132080f63a microbit: add temperature driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:22:17 +01:00
deadprogram 88a260a221 microbit: add magnetometer driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-18 17:09:43 +01:00
Marc-Antoine Ruel 50d5869808 Fix go test ./...
Make all examples to not be built by default by adding the build tag 'example'.
Some files were automatically reformatted by goimports upon saving.
2017-03-13 11:01:39 -04:00
deadprogram 3fdf0639e1 microbit: add accelerometer implementation
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-01 01:23:50 +01:00
deadprogram ec9de10a10 microbit: improve button implementation, add integrated example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:19:09 +01:00
deadprogram 9634a9822c microbit: initial implementation for built-in buttons
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 20:03:20 +01:00
deadprogram 44de8014c5 microbit: initial implementation for LEDs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-28 19:40:16 +01:00
Jeffrey Jenner 1cc9cc96f5 Fixed docs and added example 2017-02-24 02:07:02 +10:00
Ron Evans 43e6566280 Merge pull request #375 from erkkah/drv2605l-driver
Driver for the DRV2605L haptic controller
2017-02-22 08:06:55 +01:00
Erik Agsjö a144fd6ebe Added simple example for DRV2605L on C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:53:43 +01:00
Erik Agsjö 29c6a1451e Added simple example for TSL2561 on C.H.I.P
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-21 22:47:21 +01:00
deadprogram b8b3f4ecfa ble: test examples to excercise multiple BLE devices at once
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram 5f93b1ebc8 ble: more WIP on multiple ble devices
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-14 18:43:53 +01:00
deadprogram 313d6664d1 i2c: refactor mpl115a2 to more cleanly return desired data as methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 12:34:28 +01:00
deadprogram ae59464442 i2c: ensure all current i2c drivers (except for wiichuck) use a standard i2c style request/response interaction pattern
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-11 10:37:34 +01:00