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

182 Commits

Author SHA1 Message Date
deadprogram
5b29de3ff7 [ble] Speed up Ollie example roll speed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-11 23:47:19 -06:00
deadprogram
8db7405260 [ble] Implement Ollie Roll example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:37:58 -06:00
deadprogram
11a49b64f3 [ble] Implement Ollie Roll command
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:28:20 -06:00
deadprogram
8fa839081f [ble] Ollie example color cycles
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-10 12:08:34 -06:00
deadprogram
5abc5d260e [ble] Correct examples to use client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-09 11:52:48 -06:00
deadprogram
b850d1189f [ble] Control stick flight control
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 12:51:00 +02:00
deadprogram
500283c87f [ble] Complete implementation for initial drone inferface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:45:00 +02:00
deadprogram
cca3a1cacd [ble] Rename files to match current naming scheme
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:11:04 +02:00
ron
ef99b92190 [ble] Able to takeoff and land 2016-07-04 23:54:44 +02:00
deadprogram
a95af64ecb [ble] Startup Pcmd
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:53:54 +02:00
deadprogram
eedc5081ed [ble] Flying and landing and landed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 22:23:59 +02:00
deadprogram
fbea6e76f0 [ble] Ready for takeoff?
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:31:15 +02:00
deadprogram
f86f0fa76d [ble] Battery and status events
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 20:10:30 +02:00
ron
7887140073 [ble] Able to connect and retrieve battery notifications 2016-07-04 19:46:42 +02:00
deadprogram
e001cce97c [ble] Experiments aerial
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-04 17:00:36 +02:00
deadprogram
04bf4c355c [ble] Device information service
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:46:29 +02:00
deadprogram
9b779e40ab Switching to currantlabs fork of gatt, and some related refactoring
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
06ee8a4699 [audio] Run go fmt because we have to
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
ae8b23c565 [audio] Refactor audio driver to simplify interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
491b8aa35a [core] Return when Every is sent done on its channel
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
5c2766d85f [audio] WIP on Gobot audio support using mpg123, based on code from @colemanserious
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram
3d9aeeef14 [gpio] Add support for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
deadprogram
807999debf Increase hover time and remove cruft from simple Bebop drone example
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
jeromefroe
cb8f90beae Added example of how to use temp36 temperature sensor with firmata 2016-07-03 10:52:10 +02:00
deadprogram
9de106d089 Simple implementation that can read data 2016-03-02 22:43:41 -08:00
deadprogram
b662559ae9 Remove test code 2016-03-02 22:05:19 -08:00
deadprogram
12dbf722d7 Almost reading battery info 2016-03-02 22:00:05 -08:00
deadprogram
b3e1bb09ee Merge branch 'feature/ble' into feature/ble-wip 2016-02-20 19:56:42 -08:00
deadprogram
b4427ced97 Adds support for Dualshock4 wireless gamepad 2016-02-20 09:41:38 -08:00
deadprogram
7ef09a58ba Update ARDrone face tracking example to use main go-opencv fork 2016-02-19 18:39:30 -08:00
deadprogram
f55cd94cd5 Use OpenCV 2.4, as well as switch to main fork of go-opencv 2016-02-19 18:36:33 -08:00
deadprogram
d0a5893f27 Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050 2016-02-17 12:25:15 -08:00
Andrew Stewart
111a6df996 Add support for 'hand' and 'gesture' Leap Motion events 2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
ed4522248f Name C.H.I.P. pins according to printed names
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
deadprogram
2baa2dcf89 Add MMA7660 accelerometer example for C.H.I.P. 2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
42475e479d Get I2C functionality before doing SMBus block I/O
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.

Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
deadprogram
bc50d792fb Adds additional examples for C.H.I.P. 2016-02-17 12:25:14 -08:00
Hrishikesh Tapaswi
8f79c322e0 Add support for the CHIP platform
This includes support for GPIO and I2C interfaces.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:14 -08:00
Cathal Garvey
79fad6bae4 Fixed event race condition
If this is anything like the Bebop, then taking off immediately fires the "flying" event, but these events aren't buffered so attaching an event handler afterwards achieves nothing. When I ran the same code for the Bebop (as suggested on the site) it never landed, prompting an emergency connect-with-phone-hammer-buttons scramble. Swapping the event registration with the takeoff method call fixed the problem immediately.
2016-02-17 12:25:14 -08:00
deadprogram
ee61c902a5 Can see BLE devices, and connect to a specific one 2016-02-16 15:32:14 -08:00
deadprogram
2bce008224 A little more WIP, can open a connection to a specific peripheral 2016-02-16 15:32:14 -08:00
Andrew Stewart
cda57f9dc5 Add support for 'hand' and 'gesture' Leap Motion events 2016-02-09 16:15:55 -08:00
Hrishikesh Tapaswi
04c06202ab Name C.H.I.P. pins according to printed names
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-08 00:01:44 -08:00
deadprogram
08b756f917 Add MMA7660 accelerometer example for C.H.I.P. 2016-02-07 09:08:29 -08:00
Hrishikesh Tapaswi
4fdcb6e718 Get I2C functionality before doing SMBus block I/O
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.

Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-06 20:21:02 -08:00
deadprogram
31cf304a45 Adds additional examples for C.H.I.P. 2016-02-03 13:51:25 -08:00
Hrishikesh Tapaswi
30d66e2502 Add support for the CHIP platform
This includes support for GPIO and I2C interfaces.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-01-30 03:44:31 -08:00
Cathal Garvey
051f54c7a0 Fixed event race condition
If this is anything like the Bebop, then taking off immediately fires the "flying" event, but these events aren't buffered so attaching an event handler afterwards achieves nothing. When I ran the same code for the Bebop (as suggested on the site) it never landed, prompting an emergency connect-with-phone-hammer-buttons scramble. Swapping the event registration with the takeoff method call fixed the problem immediately.
2015-11-06 20:32:00 -08:00
deadprogram
24ccd3dde6 Corrections needed for Bebop to handle Outside mode 2015-10-24 16:45:53 -07:00
deadprogram
fdf5576e15 Needed to setup the event handler before the method that triggers it 2015-10-24 15:50:44 -07:00