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

2749 Commits

Author SHA1 Message Date
Trevor Rosen
ac0cad7bcf
Merge pull request #633 from eleniums/fix/fps-tello-video-example
Fix DJI Tello video example
2018-11-30 16:08:38 -06:00
Ron Evans
ced203a164
Merge pull request #630 from kml183/add-ccs8110-driver
Add CCS811 I2C Driver
2018-11-07 09:54:24 +01:00
Ron Evans
c0633d175d
Merge pull request #637 from HaraldNordgren/go_versions
Bump Travis versions
2018-10-25 23:32:24 +02:00
Harald Nordgren
a4ed1284f9 Bump Travis versions 2018-10-20 12:07:53 +02:00
Fabian Baier
31555a0b9b
Hot-fix driver.go
drone.Hover() was not showing expected behavior in stopping the movement due to missing d.lx type.
2018-10-14 21:15:18 -07:00
eleniums
64456b7d93 Change fps to 60
This allows mplayer to keep up with the VideoFrameEvents.
2018-10-12 09:16:45 -07:00
Ron Evans
d0f5ba5010
Merge pull request #631 from eleniums/fix/tello-read-udp-panic
Fix slice bounds out of range panic when stopping Tello drone
2018-10-12 01:41:57 +02:00
eleniums
e23c01dd98 Check for error immediately and skip publish if error occurred
Signed-off-by: eleniums <eleniums@yahoo.com>
2018-10-08 23:16:23 -07:00
Kevin Lutzer
935d4a826c
build out the ccs811 driver 2018-10-08 23:59:55 -06:00
Silke Hofstra
d7a05969c2 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>
2018-10-04 11:24:34 +02:00
Silke Hofstra
693f0cde85 tello: add direct vector access
Signed-off-by: Silke Hofstra <silke@slxh.eu>
2018-10-02 15:58:16 +02:00
Ron Evans
8f3b295f51
Merge pull request #616 from brendanstennett/easy_driver
Add SparkFun’s EasyDriver (and BigEasyDriver) Stepper Motor Driver
2018-09-20 20:52:50 +02:00
Brendan Stennett
66b61fab2f Added some missing tests to increase coverage 2018-09-20 14:02:36 -04:00
Ron Evans
aa44fe602f
Merge pull request #618 from conejoninja/issue617
Simplify code as suggested in #617
2018-09-16 09:11:20 +02:00
Daniel Esteban
92d7248641 Simplify code as suggested in #617 2018-09-16 08:19:23 +02:00
Ron Evans
d30d28a5a1
Merge pull request #615 from wallyqs/nats-updates
NATS Updates
2018-09-16 01:20:21 +02:00
Brendan Stennett
20ee7c03d1 Add SparkFun’s EasyDriver (and BigEasyDriver)
Signed-off-by: Brendan Stennett <brendan@thinkdataworks.com>
2018-09-14 06:34:19 -04:00
Ron Evans
d975c8fa9d
Merge pull request #602 from npotts/dev
Added rudiementary support for TH02  Grove Sensor
2018-09-14 08:34:25 +02:00
npotts
192dbcbc4c 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>
2018-09-13 21:36:02 -06:00
Waldemar Quevedo
c5b507a3e4 Update Go NATS client library import
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2018-09-12 18:41:44 -07:00
Waldemar Quevedo
e1b18ae5d9 Update README and examples
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2018-09-12 18:40:05 -07:00
Ron Evans
2a37428f38 up2: finalize docs for UP2 config steps
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-10 12:30:07 +02:00
Ron Evans
3358024288 up2: useful constant values to access the built-in LEDs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-08 14:25:20 +02:00
Ron Evans
b4f5377543 up2: add support for built-in LEDs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-07 21:26:45 +02:00
Ron Evans
3f65f1df37 grovepi: add mutex to control transactionality of the device communication
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-06 23:20:35 +02:00
Ron Evans
bf8b1d241f up2: update README to include more complete setup information
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-06 17:12:48 +02:00
Ron Evans
cd25357f1d examples: add missing nobuild header
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-06 16:30:50 +02:00
Ron Evans
748a736462 Update UP2 docs for latest information
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-06 16:30:50 +02:00
Ron Evans
cf3987058b
Merge pull request #601 from trevrosen/automation-model
Automation model
2018-09-05 23:54:40 +02:00
Ron Evans
870455ade1 up2: correct i2c default bus information to match correct values
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-05 20:13:30 +02:00
Ron Evans
6d38c67cff
Merge pull request #606 from ulisesflynn/ssd1306
add 128x32 and 96x16 sizes to the i2c ssd1306 driver
2018-09-05 19:37:05 +02:00
Ulises Flynn
fdc54b91f5 add 128x32 and 96x16 sizes to the i2c ssd1306 driver 2018-09-03 16:08:00 -06:00
Ron Evans
7b97c7c770 Merge branch 'master' into dev 2018-09-03 22:05:01 +02:00
Trevor Rosen
1ff89c1ef4
Update dep script for AppVeyor 2018-08-31 10:23:00 -05:00
npotts
ebdaca8cc0 More reworking
- Added ability to add heating profile
- waitForReady now takes a variable timeout value
- Added ability to change the sample accuracy
2018-08-30 22:44:19 -06:00
npotts
0ea1646d11 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>
2018-08-30 15:51:05 -06: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
Trevor Rosen
f19b319cce
Update Gopkg and add test dep to Travis YML 2018-08-29 23:00:01 -06:00
Trevor Rosen
b3fc9c10e7
Tests and related tweaks 2018-08-29 22:30:38 -06:00
Trevor Rosen
4ebaf399be
Add some tests for RobotWork management 2018-08-29 16:07:46 -06:00
Ron Evans
0ecb66c2d0 i2c: update PCA9685 driver to use same protocol as Adafruit Python lib
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-29 14:00:33 -06:00
Trevor Rosen
f2f52a32d8
Initial stab at Robot-based work 2018-08-29 13:15:04 -06:00
Ron Evans
ed531980b4 Prepare for release v1.12.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
v1.12.0
2018-08-27 16:21:45 -06:00
Ron Evans
334e3ca47e build: update deps to latest releases
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-27 16:17:42 -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
c098cacad0 Merge branch 'vendelin8-master' into dev 2018-08-24 21:01:08 +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
be798fd42b digispark: remove test that is expected to ofail, but passes when digispark board is actually connected
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 20:59:40 +02:00
Ron Evans
99f9156ab7 digispark: remove test method that should not be in adaptor
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 20:58:57 +02:00
Ron Evans
fc1e1eefd8 Merge branch 'master' of https://github.com/vendelin8/gobot into vendelin8-master 2018-08-24 19:57:20 +02:00