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

1252 Commits

Author SHA1 Message Date
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
Thomas Kohler
f141a2bc7a BUGFIX: new pwm behaviour of tinkerboard 2022-09-24 13:52:26 +02:00
Thomas Kohler
ae9eadc27f fix tinkerboard i2c0 to i2c4, improve comments in pin map, improve README 2022-04-30 14:17:14 +02:00
DiscreteTom
3bfba27dad
fix raspi PWMPin.SetDutyCycle (#800)
raspi: PWMPin.SetDutyCycle
   - value 0 is allowed in pi blaster
   - for pi-blaster, duty should not going below 2us, unless the duty is 0
2022-04-24 11:19:49 +02:00
Thomas Kohler
cac63385db digispark remove useless code in i2c test 2022-04-17 15:02:01 +02:00
Thomas Kohler
63a5bb9360 digispark fix ReadByte & WriteByte, rework and add i2c tests 2022-04-17 15:02:01 +02:00
dlstjq7685
229a93e0f7 add new feature 2021-08-01 15:27:57 +09:00
Bruno Meneguello
97d23a5aec Guards Dji Tello Halt against nil dereference
Fixes #778
2021-01-27 18:52:56 +01:00
Mikael Manukyan
8cbd0eacf3 Add configuration for Nvidia Shield Controller 2020-11-28 00:38:44 +01:00
deadprogram
17cadb6266 firmata: exclude ble adaptor from build on Windows
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
deadprogram
381e4205ce firmata: exclude ble adaptor from build on Windows
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
deadprogram
d0e5e83ed1 ble: scanresult channel needs to handle linux scan results
Signed-off-by: deadprogram <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00
Ron Evans
b92f94231b ble: updates so macOS works
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2020-11-27 19:14:38 +01:00