Commit Graph

2818 Commits

Author SHA1 Message Date
Ron Evans 47eaa1cab9 build: correct package version as suggested by @dlisin thanks
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans 9b97c70ca6 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-22 11:34:39 +02:00
Ron Evans 9a9d580de3 build: update deps to latest versions of dependencies for GoCV and others
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Sam Kass 3bdb4d36a7 Parser error in Pointable.Bases: Write test and fix 2019-05-22 11:34:39 +02:00
Sam Kass 6f900a8dc2 Update gobot leap platform to support Leap Motion API v6 2019-05-22 11:34:39 +02:00
Silke Hofstra 6b061af9ca tello: add direct vector access
Signed-off-by: Silke Hofstra <silke@slxh.eu>
2019-05-22 11:34:39 +02:00
Rearth 33b932fac9 Added methods to read Sphero Power States 2019-05-22 11:34:39 +02:00
Rearth e964234e24 Added some new features to the sphero ollie, bb-8 and sprkplus
Signed-off-by: Rearth <davidus2010@gmail.com>
2019-05-22 11:34:39 +02:00
Joe Kim aaacd5c506 minor updates to opencv README 2019-05-22 11:34:39 +02:00
Chris Morgan c3f4b1f6f8 pwm_pin - Fix DutyCycle() parse error, need to trim off trailing '\n' before calling strconv.Atoi(), as other functions in this package do 2019-05-22 11:34:39 +02:00
Joe Kim 515c4e8288 fix mavlink README to use correct example code 2019-05-22 11:34:39 +02:00
Trevor Rosen 013817c24c Add some new MQTT adaptor functions with QOS
#644
2019-05-22 11:34:39 +02:00
Silke Hofstra 79de57d475 tello: update FlightData struct
- Correct the name of EmSky, EmGround and GroundSpeed to Flying,
  OnGround and VerticalSpeed.
- Remove FlySpeed, WifiDisturb and WifiStrength as these are not part
  of the data.
- Add AirSpeed() and GroundSpeed() for calculating the airspeed and
  ground speed.

Signed-off-by: Silke Hofstra <silke@slxh.eu>
2019-05-22 11:34:39 +02:00
Trevor Rosen 6c243af895 Allow setting QoS on MTT adaptor
Fixes #644
2019-05-22 11:34:39 +02:00
eleniums ae9bd2c997 Change fps to 60
This allows mplayer to keep up with the VideoFrameEvents.
2019-05-22 11:34:39 +02:00
Kevin Lutzer 64ab6f6b8f build out the ccs811 driver 2019-05-22 11:34:39 +02:00
Harald Nordgren e00e9a4672 Bump Travis versions 2019-05-22 11:34:39 +02:00
eleniums e415ef235a Check for error immediately and skip publish if error occurred
Signed-off-by: eleniums <eleniums@yahoo.com>
2019-05-22 11:34:39 +02:00
Brendan Stennett 59cbea5eb6 Added some missing tests to increase coverage 2019-05-22 11:34:39 +02:00
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