1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00

2749 Commits

Author SHA1 Message Date
Brendan Stennett
d072e758c0 Add SparkFun’s EasyDriver (and BigEasyDriver)
Signed-off-by: Brendan Stennett <brendan@thinkdataworks.com>
2019-05-22 11:34:39 +02:00
Daniel Esteban
1c82bf72af Simplify code as suggested in #617 2019-05-22 11:34:39 +02:00
Waldemar Quevedo
f3a2bc5692 Update Go NATS client library import
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2019-05-22 11:34:39 +02:00
Waldemar Quevedo
3f24c43dc7 Update README and examples
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2019-05-22 11:34:39 +02:00
npotts
bdca7a67c9 Adde unit tests for TH02 & Minor improvement
- Added ability to change sample resolution
- Added unit tests for TH02Driver.  The way the functions are written,
it will be hard to get a fully working .Sample() coverage with my
limited understanding of gobot's testing API.  The chip is rather needy,
and each sample requires multiple read and write steps, so getting both
read and write for 2 independant measurements it a little over my head
without some more code viewing.

Id rather get this checked in and think of a better way to do this.
Otherwise, this does test the functionality

Signed-off-by: npotts <npotts@users.noreply.github.com>
2019-05-22 11:34:39 +02:00
npotts
1d6b33a351 More reworking
- Added ability to add heating profile
- waitForReady now takes a variable timeout value
- Added ability to change the sample accuracy
2019-05-22 11:34:39 +02:00
npotts
b1825f2e90 Added rudiementary support for TH02 Grove Sensor
This commit adds basic support for a TH02 based Grove Sensor which is
silkscreened as

  Temperature&Humidity Sensor (High-Accuracy & Mini ) v1.0

https://www.seeedstudio.com/Grove-Temperature-Humidity-Sensor-High-Accuracy-Min-p-1921.html

This is a modified variant of a SHT2* driver, and still needs some
changes to be more useable.  It is written to assume you want to use the
High Precisions (slow sample rate)

Signed-off-by: npotts <npotts@users.noreply.github.com>
2019-05-22 11:34:39 +02:00
Ron Evans
2310e009d4 up2: finalize docs for UP2 config steps
Signed-off-by: Ron Evans <ron@hybridgroup.com>
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
518f4e921f grovepi: add mutex to control transactionality of the device communication
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
bcbcf66b87 up2: update README to include more complete setup information
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
cead965d0b Update UP2 docs for latest information
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Trevor Rosen
eb54e7f587 Update dep script for AppVeyor 2019-05-22 11:34:39 +02:00
Trevor Rosen
529e71bf10 Update Gopkg and add test dep to Travis YML 2019-05-22 11:34:39 +02:00
Trevor Rosen
1a91af1021 Tests and related tweaks 2019-05-22 11:34:39 +02:00
Trevor Rosen
b23015da8e Add some tests for RobotWork management 2019-05-22 11:34:39 +02:00
Trevor Rosen
f5b738f1b2 Initial stab at Robot-based work 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
Ron Evans
b3574b310f i2c: update PCA9685 driver to use same protocol as Adafruit Python lib
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
d7f64206c4 release: update for v1.13.0 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:33:26 +02:00
Ron Evans
900a820a36 docs: update to remove Gitter and replace with Slack, and update copyright dates
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 09:13:00 +02:00
Ron Evans
37bcf291b9 build: update OpenCV build script for OpenCV 4.1.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 15:57:19 +02:00
Ron Evans
2bb75a88c4 build: only build last 2 versions of Go plus tip for CI
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 15:32:09 +02:00
Ron Evans
c6a415d88b spi: correct param used for APA102 Draw() method
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 15:31:32 +02:00
Mike Zange
70fd202030 Stop using Red parameter for brightness value
This change corrects using Red parameter of RGBA for the Brightness value, to using the Alpha parameter of RGBA.

As the brightness max value for APA102 is `31` the `math.Min` stops the driver from using any value higher than 31.
2019-05-21 14:51:52 +02:00
Ron Evans
5710da3d09 build: correct package version as suggested by @dlisin thanks
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 14:45:57 +02:00
Ron Evans
c1aa4f8678 mqtt: make tests run correctly even when a local MQTT server is in fact running
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 14:29:06 +02:00
Ron Evans
07d9e09b1e build: update deps to latest versions of dependencies for GoCV and others
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-21 14:28:36 +02:00
Trevor Rosen
554dd043fa
Merge pull request #647 from samkass/feature/leap-api-v6
Update gobot leap platform to support Leap Motion API v6
2019-02-13 12:17:09 -06:00
Trevor Rosen
9ddd6c0a24
Merge pull request #627 from silkeh/tello-flightdata
tello: add direct vector access
2019-02-13 12:10:43 -06:00
Trevor Rosen
b403c5388c
Merge pull request #653 from Rearth/fork/dev
Added some new features to the sphero ollie, bb-8 and sprkplus
2019-02-13 12:06:18 -06:00
Rearth
62e91760b0 Added methods to read Sphero Power States 2019-02-13 13:16:52 +01:00
Trevor Rosen
e4920d62c5
Merge pull request #652 from NikolaeVarius/README
minor updates to opencv README
2019-01-29 16:58:34 -06:00
Trevor Rosen
2255be2695
Merge pull request #654 from chmorgan/dev
pwm_pin - Fix DutyCycle() parse error, need to trim off trailing '\n'…
2019-01-29 16:56:17 -06:00
Chris Morgan
756d38db5b pwm_pin - Fix DutyCycle() parse error, need to trim off trailing '\n' before calling strconv.Atoi(), as other functions in this package do 2019-01-24 10:23:37 -05:00
Rearth
20677abec3 Added some new features to the sphero ollie, bb-8 and sprkplus
Signed-off-by: Rearth <davidus2010@gmail.com>
2019-01-23 14:30:55 +01:00
Joe Kim
1f3cd7b77c minor updates to opencv README 2019-01-20 13:51:00 -05:00
Trevor Rosen
aa34bc3c2c
Merge pull request #651 from NikolaeVarius/readme
fix mavlink README to use correct example code
2019-01-18 10:19:40 -06:00
Joe Kim
a27beca99a fix mavlink README to use correct example code 2019-01-14 21:19:52 -05:00
Ron Evans
ad31c39a7c
Merge pull request #650 from trevrosen/feature/644/extend-mqtt
Add some new MQTT adaptor functions with QOS
2019-01-04 09:12:21 +01:00
Trevor Rosen
6d1e099e50
Add some new MQTT adaptor functions with QOS
#644
2019-01-02 18:12:38 -06:00
Sam Kass
b8437026f5 Parser error in Pointable.Bases: Write test and fix 2018-12-28 02:53:13 +01:00
Sam Kass
6e9707ad6f Update gobot leap platform to support Leap Motion API v6 2018-12-26 00:09:09 +01:00
Trevor Rosen
209256b29d
Merge pull request #628 from silkeh/tello-flightdata-struct
tello: update FlightData struct
2018-12-19 16:52:48 -06:00
Trevor Rosen
58db149a40
Merge pull request #635 from fabianbaier/patch-1
[Hot-fix] Unexpected behavior in Hover()
2018-12-19 10:53:28 -06:00
Ron Evans
86ae3b18e9
Merge pull request #645 from trevrosen/feature/644/qos-for-mtt
Allow setting QoS on MTT adaptor
2018-12-17 18:16:24 +01:00
Trevor Rosen
0ea9edeac3
Allow setting QoS on MTT adaptor
Fixes #644
2018-12-17 11:06:34 -06:00