Commit Graph

451 Commits

Author SHA1 Message Date
Kevin Lutzer 64ab6f6b8f build out the ccs811 driver 2019-05-22 11:34:39 +02:00
Ron Evans 7c50801753 up2: useful constant values to access the built-in LEDs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans 38b019ff36 up2: add support for built-in LEDs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans b7f4503f88 examples: add missing nobuild header
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans 90d6f4b044 up2: correct i2c default bus information to match correct values
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ulises Flynn eb0a5ffa08 add 128x32 and 96x16 sizes to the i2c ssd1306 driver 2019-05-22 11:34:39 +02:00
Trevor Rosen d7818a756e
Merge pull request #592 from abtris/tello-keyboard
tello: add example with keyboard
2018-08-29 23:02:59 -06:00
Ron Evans 261400d325 joystick: provide constant values for existing joystick configurations
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-25 18:02:01 +02:00
Ron Evans 0b56060604 digispark: add examples using digispark with i2c devices blinkm and mlp115a2
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 21:00:51 +02:00
Ron Evans d306c342c9 examples: small improvements to Tello examples
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-23 18:07:38 +02:00
Ron Evans 4eb7b17e5a api: settled on StartWithoutDefaults() as the method to start API without default routes
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-17 10:32:06 +02:00
Ron Evans 6eec38c652 api: further improvement of the modular API changes
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-16 11:22:22 +02:00
Ron Evans 1e581364ed examples: add example that uses both the API and also a custom handler with MJPEG streaming from an attached camera
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 23:45:13 +02:00
Ron Evans 2c8f9e8641 api: modify Start() for more modular initialization, and add StartRaw() for completely custom API implementations
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 23:17:57 +02:00
Ron Evans b8d26f0b31 i2c: implemented DigitalRead, DigitalWrite, and AnalogRead for GrovePi
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 10:24:07 +02:00
Ron Evans c9276f440c i2c: GrovePi digitalwrite implemented
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 00:21:46 +02:00
Ladislav Prskavec d72442042b
tello: add example with keyboard 2018-08-12 11:27:43 +02:00
Ron Evans 4409ee7418 examples: update Tello examples for main thread friendly macOS/Windows, add Tello face tracker
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 10:42:37 +02:00
Ron Evans 615cd71863 joystick: full corrected ds3 and ds4 mappings plus examples to match for latest sdl 2.0.8
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-25 12:19:22 +02:00
morfeo8marc f66139346d joystick: add xbox360 rock band drums controller
Signed-off-by: morfeo8marc <morfeo8marc@gmail.com>
2018-05-07 23:46:17 +02:00
Ron Evans 846e992bf2
Merge pull request #522 from fawick/master
examples: correct events used by XBox360 joystick example
2018-05-07 20:58:29 +02:00
Fabian Wickborn 32a79260f0 examples: correct events used by XBox360 joystick example
Commit 3c4c15b6d9 changed the symbol names
for the joystick events. This commit tracks this change for the example
for the Xbox360 controller.

Signed-off-by: Fabian Wickborn <fabian@wickborn.net>
2018-05-07 20:50:06 +02:00
Daniel Esteban bcf63b08b3 Initial support for MAX7219 (gpio) led driver 2018-05-05 19:18:35 +02:00
Ron Evans c0e08e250d tello: API improvements by using const values and types for streaming video settings
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-22 18:15:38 +02:00
Ron Evans c1c01084a0 tello: increase rate of requesting keyframe on opencv example
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-20 10:40:42 +02:00
Ron Evans 5bae84594f tello: switch simple video playback example to use MPlayer
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-20 10:29:45 +02:00
Ron Evans 9875acbe06 tello: improve video encoding rate API call
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-19 18:28:14 +02:00
Ron Evans 9c798b8578 tello: add SetVideoEncoderRate command
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-19 15:22:05 +02:00
Ron Evans 80975336d2 tello: cleanup docs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-19 09:50:40 +02:00
Ron Evans 40f37df70c tello: trying some additional ffmpeg flags for decode acceleration
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-19 08:32:29 +02:00
Ron Evans 79ffaab5b4 tello: can stream drone video thru to opencv
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-18 22:46:51 +02:00
Ron Evans 296bd767ae tello: video player example better with the fast option
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-18 13:11:46 +02:00
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