Commit Graph

2492 Commits

Author SHA1 Message Date
Ron Evans 12d8825066
Merge pull request #594 from starryalley/master
raspi: export PiBlasterPeriod in Adaptor
2018-08-22 12:49:13 +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
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
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
Ron Evans 4409ee7418 examples: update Tello examples for main thread friendly macOS/Windows, add Tello face tracker
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 10:42:37 +02:00
Ron Evans 84d4d0e5fc docs: adjust order of badges in README
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 10:09:53 +02:00
Ron Evans c1d0e3ce48 Preparing for v1.11.1 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 10:01:48 +02:00
Ron Evans 8b15e85db7 Preparing for v1.11.1 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-10 10:00:31 +02:00
Ron Evans 676da058d5
Merge pull request #582 from ssnover95/dev
Remove scaling of user input and add comments to SetPWMFreq function in PCA9685
2018-07-10 07:47:53 +02:00
ssnover95 a7d568efc2 Remove scaling of user input and add comments to SetPWMFreq function in PCA9685 i2c driver
Signed-off-by: ssnover95 <sws7379@rit.edu>
2018-07-08 20:30:03 -04:00
Ron Evans a966a226b8 build: exclude vendor and other previously excluded subpackages
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-06 11:16:36 +02:00
Ron Evans efae8d5681 build: update Travis build to use OpenCV 3.4.2 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-05 16:16:53 +02:00
Ron Evans 29192a3719 build: update deps for GoCV to v0.14.0 release
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-07-05 16:06:50 +02:00
Ron Evans f138a430d8
Merge pull request #578 from maruel/fix_v3.0.0
Bump periph.io/x/periph to v3.0.0
2018-07-03 16:03:46 +02:00
Marc-Antoine Ruel 7bbdeee01f Bump periph.io/x/periph to v3.0.0
There was one breaking change in the spi.Port and spi.Conn interfaces.

As I ran "dep ensure" with dep v0.4.1, it decided to reformat the Gopkg.lock
file. :/
2018-07-03 09:29:15 -04:00
Ron Evans 84180c6fca
Merge pull request #576 from ulisesflynn/writegpio
fix write/read gpio
2018-07-01 09:55:01 +02:00
Ulises Flynn 88b78ff762 fix write/read gpio 2018-06-30 15:09:33 -06:00
Ron Evans 088f12bbd9
Merge pull request #571 from ulisesflynn/gopigo3upd
update gopigo3 with default spi values, cleanup
2018-06-26 17:31:13 +02:00
Ron Evans 45d103a558
Merge pull request #569 from ulisesflynn/issue568
fixed bug in read/write gpio code, and cleaned up some comments
2018-06-26 17:30:24 +02:00
Ulises Flynn 180a7eebf8 revert back to int64 2018-06-25 10:58:41 -06:00