Commit Graph

2513 Commits

Author SHA1 Message Date
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
Ron Evans c9276f440c i2c: GrovePi digitalwrite implemented
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 00:21:46 +02:00
Ron Evans 425fea3b44 i2c: work in progress on GrovePi plus driver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-13 17:03:47 +02:00
Ladislav Prskavec d72442042b
tello: add example with keyboard 2018-08-12 11:27:43 +02:00
Gergely Bódi 667e21443a Added i2c to digispark, but not working yet 2018-08-12 00:51:47 +02:00
Trevor Rosen 96afbcfe38
Add motion cessation commands to Tello 2018-08-11 15:09:33 -05:00
Ron Evans 1d76ed6ce0 spi: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-07 21:58:43 +02:00
Ron Evans 6bd5dce5a2 i2c: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-07 21:58:27 +02:00
dandua98 21088b5ef0 [#574] added error handling for config loading in joystick driver 2018-08-04 23:07:02 -04:00
Ron Evans 3c4bfc2375
Merge pull request #588 from ocarneiro/patch-1
Fixing broken link
2018-08-02 08:36:46 +02:00
Otávio Carneiro 8eb8c0b730
Fixing broken link
Changed link for Gort
2018-08-01 19:19:13 -03:00
Ron Evans fb2e3325d9
Merge pull request #583 from oliverpool/tello_refactor
[WIP] Tello driver refactor
2018-07-13 10:24:33 +02:00
oliverpool 146b37de39 specify end of msgType position
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00
oliverpool 8374ea05b0 handleResponse should not send commands
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00