Commit Graph

1178 Commits

Author SHA1 Message Date
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
Ron Evans d30d28a5a1
Merge pull request #615 from wallyqs/nats-updates
NATS Updates
2018-09-16 01:20:21 +02: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 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 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 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 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