Commit Graph

2526 Commits

Author SHA1 Message Date
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
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
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
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 ed531980b4 Prepare for release v1.12.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
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
Ron Evans a0b92d8407 tello: send Land() command to drone on Halt() to avoid floating mid-air
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-24 09:06:29 +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 37b157c6ac docs: add GrovePi to README
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-23 18:07:08 +02:00
Gergely Bódi 8f707f0f3f Added some tests for digispark i2c connector 2018-08-22 21:41:45 +02:00
Ron Evans 12d8825066
Merge pull request #594 from starryalley/master
raspi: export PiBlasterPeriod in Adaptor
2018-08-22 12:49:13 +02:00
Gergely Bódi 0ed6ab0421 Digispark i2c fixes, added Test for checking available addresses 2018-08-17 20:02:45 +02:00
Ron Evans 54c6f4fae1 joystick: mention need to be running a Linux kernel v4.14+ for controller mappings to work as expected
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-17 10:37:05 +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
Mark Kuo 5ca29d0ba9 raspi: export PiBlasterPeriod in Adaptor
By setting PiBlasterPeriod to a raspi.Adaptor, the PWM pin will now
reflect the correct duty cycle to /dev/pi-blaster.

Signed-off-by: Mark Kuo <starryalley@gmail.com>
2018-08-16 21:50:13 +10: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 355181843f core: add Rescale utility function for straight linear rescaling
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 17:06:52 +02:00
Ron Evans 46dab20a2d i2c: add commands to JHD1313MDriver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 12:25:07 +02:00
Ron Evans eb7c7c5689 i2c: add commands to PCA9685Driver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 12:05:10 +02:00
Ron Evans 80dccb3e95 i2c: improve godocs for PCA9685
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 11:25:57 +02:00
Ron Evans d2cbfe6167 i2c: mention that GrovePi requires running firmware 1.3.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 11:00:38 +02:00
Ron Evans 1e9ebd1cc6 i2c: add missing methods so the GrovePi fully implements the Adaptor interface
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 00:12:48 +02:00
Ron Evans e041a93021 i2c: update GrovePi to v1.3.0 firmware
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 21:15:45 +02:00
Trevor Rosen 8ead4aa77d
Merge pull request #591 from trevrosen/add-hover-to-tello 2018-08-14 09:56:26 -05:00
Ron Evans 605e6e216a joystick: add some additional test coverage for file-based config
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 10:47:02 +02:00
Ron Evans 75ed9dfe31
Merge pull request #589 from dandua98/master
[#574] added error handling for config loading in joystick driver
2018-08-14 10:39:13 +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