1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00

1264 Commits

Author SHA1 Message Date
Thomas Kohler
865e724af0
Build(v2): revert move to v2 subfolder (#932)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler
d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler
949392d8a7
Fix(core): Semantic Import Versioning for v2 (#921) 2023-05-20 14:25:21 +02:00
Thomas Kohler
fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" (#917)
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Andrew Regner
c9a91720ea
Add configuration for Nintendo Switch controllers (#903) 2023-03-23 19:14:02 +01:00
Wouter
64b7c9c98a
Add support for Radxa's Rock Pi 4(C+) Single Board Computers (#902) 2023-02-14 13:55:36 +01:00
Thomas Kohler
f6bcb17ce4
add NanoPi NEO platform 2023-02-04 14:42:57 +01:00
Thomas Kohler
c8335aaf85
BUGFIX: I2C connection-bus caching and multiple device usage 2023-02-04 13:22:22 +01:00
Thomas Kohler
9ce45c0056
add advanced digital pin options (pull, bias, drive, debounce, event) 2023-01-28 12:22:32 +01:00
Thomas Kohler
6c7ecbe584
SPI using GPIO's plus driver for MFRC522 2023-01-05 19:04:32 +01:00
Thomas Kohler
fdf4f4b194
Bugfix/Improvement: Introduce SpiBusAdaptor and spi.Driver for composition in platforms/drivers
and fix for #794
2022-12-17 11:56:11 +01:00
Thomas Kohler
cef04066e3
Improve: use base driver for all I2C devices 2022-12-10 13:10:23 +01:00
Thomas Kohler
3559e7892e
Introduce I2cBusAdaptor for composition in platforms 2022-12-08 19:29:51 +01:00
Thomas Kohler
e3f2ece7ab
Bugfix: raspi pwm cache
as addendum to #890
2022-12-05 19:11:17 +01:00
Thomas Kohler
9cbc7acf94
Bugfix/Improvement: Use PWMPinsAdaptor for platforms 2022-12-05 18:28:57 +01:00
Thomas Kohler
89afbcf85b
Bugfix/Improvement: Use DigitalPinsAdaptor for platforms 2022-12-01 17:33:33 +01:00
Thomas Kohler
45ee9c3644
gpio: add support for new character device Kernel ABI 2022-11-27 16:06:09 +01:00
Thomas Kohler
be92fb6f9e
rename package "sysfs" to "system" 2022-11-20 19:22:26 +01:00
Jordi Íñigo Griera
b6f70b3e8b
Added support for Dualsense joystick (PlayStation 5) (#880)
* Dualsense base files copied from Dualshock4
* Buttons and axis corrected for Sony Dualsense
2022-11-09 18:24:58 +01:00
Thomas Kohler
421135fcc2 BUGFIX/IMPROVEMENT: sysfs accesser 2022-11-09 17:30:57 +01:00
Thomas Kohler
45abf11acc BUGFIX: tests with sysfs mocks 2022-10-30 18:47:56 +01:00
Thomas Kohler
7f9d1a5c57 skip test TestNatsAdaptorFailedConnect when flaky 2022-10-23 14:35:57 +02:00
Thomas Kohler
d97ac0bd31 Jetson nano add missing SetPolarity 2022-10-23 12:32:54 +02:00
Thomas Kohler
b3a3564869
Add Jetson Nano adpator 2022-10-23 12:07:09 +02:00
INSEOB KANG
d0dc2d9515 fix inner func 2022-10-23 18:31:31 +09:00
dlstjq7685
99ca267775
change args name
Co-authored-by: Thomas Kohler <g2t@e.mail.de>
2022-10-23 18:24:57 +09:00
dlstjq7685
84e54a40b5
change const name.
Co-authored-by: Thomas Kohler <g2t@e.mail.de>
2022-10-23 18:24:41 +09:00
INSEOB KANG
b04ecaa329 change JSBlasterPeriod to pwmDefaultPeriod 2022-10-23 09:06:56 +09:00
INSEOB KANG
ee0bff582a little fix 2022-10-23 08:41:22 +09:00
INSEOB KANG
83b0e2840b fix jetson nano pwm feature 2022-10-22 20:10:12 +09:00
Thomas Kohler
65d06fc961 Joystick add Xbox-One controller 2022-10-21 18:57:27 +02:00
dlstjq7685
86150792d0
Merge branch 'dev' into feature/jetson-nano-adaptor 2022-10-20 23:51:22 +09:00
Thomas Kohler
16a453248e Update go.mod to 1.17 and all modules incl. code upgrades 2022-10-19 19:32:56 +02:00
Thomas Kohler
bf98277e03 BUGFIX: stabilize firmata tests 2022-10-19 09:39:35 +02:00
gram
eb7e419c49 document fields for flight data 2022-10-03 18:24:38 +02:00
deadprogram
09d6a0ceec platforms/ble: support for Windows and remove macOS specific UUID code no longer needed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-10-02 16:26:34 +02:00
Thomas Kohler
fc4894bd51 NEW: i2c.ReadBlockData(), BUGFIX: Read*Data() in digispark and some small other fixes 2022-10-01 17:33:02 +02:00
Thomas Kohler
c9f4e5de99
Merge pull request #859 from gen2thomas/fix/examples_issue852
BUGFIX: examples and Makefile for examples
2022-09-27 17:28:03 +02:00
Thomas Kohler
9b5dd61861 fix examples and gopigo3 driver 2022-09-27 12:30:59 +02:00
st-user
7031d1ec29 Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Halt method waits forever when at least one of the goroutines is blocked by its Read method. To avoid this, I make Halt method close the connections before writing to doneCh.
2022-09-26 19:20:32 +02:00
st-user
11259d468d Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Fix the test for Halt method so that it waits for all the related goroutines to complete.
2022-09-26 19:20:32 +02:00
st-user
b07a272ca6 Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Fix the issue.
2022-09-26 19:20:32 +02:00
st-user
3c8f48a8ac Dji Tello Halt does not terminate all the related goroutines and may wait forever when it is called multiple times
Add failing unit tests.
2022-09-26 19:20:32 +02:00
Thomas Kohler
dcf7f4d180
Merge pull request #855 from gen2thomas/fix/tests_issue852
BUGFIX: some failing tests and implement unused interface
2022-09-25 17:14:10 +02:00
MrARM
2588b58237 Add definitions to controller class too
Website documentation did not make this immediately obvious
2022-09-25 16:27:05 +02:00
MrARM
14c3bde651 Add diagonal hat directions
Diagonal directions are simply the 2 buttons hit added. 
Tested on a PowerA Xbox controller
2022-09-25 16:27:05 +02:00
Thomas Kohler
27b9e04e7e fix keyboard tests and exclude opencv 2022-09-25 14:46:02 +02:00
Thomas Kohler
5977c05f6c fix PWM related read/write tests 2022-09-25 14:26:57 +02:00
Thomas Kohler
47858044a4 add unused but missing interface implementation for PiBlaster 2022-09-25 14:05:38 +02:00
deadprogram
ec2995974d test: increase some timings to make tests a little less fragile
Signed-off-by: deadprogram <ron@hybridgroup.com>
2022-09-25 12:06:08 +02:00