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

2642 Commits

Author SHA1 Message Date
Ron Evans
6abe2060f7 build: correct Go test coverage package install path
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2020-01-11 14:47:45 +01:00
Ron Evans
48b2fcea61 build: remove secure key from config since causes error and no longer needed
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2020-01-11 13:37:56 +01:00
Daniel Esteban
7c5f650225 Added RPi4 to documentation 2019-10-25 16:13:53 +02:00
Ron Evans
9d38858276 release: prepare release v1.14.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
v1.14.0
2019-10-15 19:19:34 +02:00
Kamil Sputo
2a5571a533 Fix a link in package docs' example code. 2019-10-15 10:47:53 +02:00
Ron Evans
5faa7516f2 core: updating to use go modules in build and completely remove dep
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-10-15 10:26:40 +02:00
Ron Evans
ae501c55e3 resolve merge conflict
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-10-15 09:15:06 +02:00
Joshua Shields
f73774b7e2 689 update codegangsta to urfave (#690)
* Issue 689: rename codegangsta/cli to urfave/cli
2019-10-08 08:12:11 +02:00
Mohammad Shoaei
521f6acb7c fixed broken imports due to changed path causing go get to fail 2019-10-02 01:55:09 +03:30
Mohammad Shoaei
ef3933b99c migrating from dep to go modules 2019-10-02 01:51:17 +03:30
Trevor Rosen
ea6a732352
Merge pull request #680 from hebisu/dev
Update videoPort for DJI Tello to 11111
2019-10-01 08:08:23 -05:00
Andre Engelbrecht
c7d6ea7569 Added ability to make a relay driver inverted (#674)
* gpio: Added ability to make a relay driver inverted
2019-06-25 07:13:17 +02:00
kvartborg
36730e33cf Fix typo
Signed-off-by: kvartborg <hello@kvartborg.net>
2019-06-25 07:07:34 +02:00
Hiro Ebisu
7a06a432af Updated videoPort for DJI Tello to 11111 2019-06-16 20:50:51 +09:00
Erwan Morvan
d73466a5f9 Apa102 use default brightness (#671)
* spi/apa102: use uint8 type with a max of 31 for brightness

Signed-off-by: Erwan Morvan <air1bzz@gmail.com>
2019-05-31 11:34:00 +02:00
Ron Evans
da10293ac7 Add Github sponsorship funding URL
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-23 14:37:01 +02:00
Ron Evans
2d7adb26e5
Create FUNDING.yml 2019-05-23 14:35:08 +02:00
Ron Evans
7f973dfdce Merge branch 'dev' v1.13.0 2019-05-22 11:35:20 +02:00
Ron Evans
7fc9240220 release: update for v1.13.0 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
bf912d4449 docs: update to remove Gitter and replace with Slack, and update copyright dates
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
f8d94dd8f8 build: update OpenCV build script for OpenCV 4.1.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
c4bd88c03d build: only build last 2 versions of Go plus tip for CI
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Ron Evans
ee68549f94 spi: correct param used for APA102 Draw() method
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2019-05-22 11:34:39 +02:00
Mike Zange
78ec92af7a 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-22 11:34:39 +02:00
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