Commit Graph

1178 Commits

Author SHA1 Message Date
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
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
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 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 cead965d0b Update UP2 docs for latest information
Signed-off-by: Ron Evans <ron@hybridgroup.com>
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
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
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 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
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
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
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
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
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
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
oliverpool 26dfd39df4 add handleResponse testing
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00
oliverpool c42ffd804e rename reqConn to cmdConn
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00
oliverpool 8b323d0011 reqConn is only an io.WriteCloser
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00
oliverpool 1a40eb971b handleResponse only needs an io.Reader
Signed-off-by: Olivier Charvin <oliverpool@hotmail.fr>
2018-07-13 09:19:09 +02:00
Ron Evans a4d54794e0 joystick: add config file for Magicsee R1 contributed by @carl-ranson
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 11:22:23 +02:00
Ulises Flynn 180a7eebf8 revert back to int64 2018-06-25 10:58:41 -06:00
Ulises Flynn d5d6283cec update gopigo3 with default spi values, cleanup 2018-06-22 21:10:33 -06:00
Ron Evans 748cb2bb16 joystick: update scanner to match go-sdl 0.3 API changes
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-30 13:58:27 +02:00
Ron Evans e7e5fcaf66 joystick: correct test issue
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-25 12:42:29 +02:00
Ron Evans 0eb9efc4bf joystick: add instructions to README on how to install SDL on Linux from source
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-25 12:27:16 +02:00
Ron Evans 615cd71863 joystick: full corrected ds3 and ds4 mappings plus examples to match for latest sdl 2.0.8
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-05-25 12:19:22 +02:00
Ron Evans ed867b98b9
Merge pull request #555 from imathno/fix-DPAD
Fix joystick driver to detect dpad input for xbox controllers
2018-05-25 11:12:43 +02:00
Issa Mathno 7beb0ec8c3 Update the joystick driver test to read DPAD properly 2018-05-25 01:07:07 -07:00
Issa Mathno 9edbf547c8 Fix joystick_driver to detect dpad input for xbox controllers 2018-05-23 23:56:58 -07:00
cbwang2016 e06e6c696c
bug fix 2018-05-22 14:14:46 +08:00
cbwang2016 4918062179
StopLanding feature 2018-05-22 08:46:15 +08:00
cbwang2016 244d26c993
slow/fast mode switch function 2018-05-21 15:06:27 +08:00
Ron Evans 68fef4ebf9
Merge pull request #548 from SMerrony/dev
Correct Dualshock4 controller mappings and add ps/left/right buttons
2018-05-20 11:30:02 +02:00
Stephen Merrony c2df2e2590 Update dualshock4.json to match joystick_dualshock4.go 2018-05-20 10:23:19 +01:00
Stephen Merrony a5de5f64e5 Correct Dualshock4 controller mappings and add ps/left/right buttons 2018-05-20 10:10:24 +01:00