Commit Graph

625 Commits

Author SHA1 Message Date
Andrew Lytvynov f6920ab65c ble: fix unused var
Shame on me
2016-07-13 10:25:30 -07:00
Andrew Lytvynov f20424fead ble: populate descriptors after descovering characterisitcs
On Linux, characteristic discovery requires setting the descriptor field
explicitly.
2016-07-13 10:16:58 -07:00
Damian Gryski b5083e67d3 Move interface assertions to test files.
In general, these shouldn't live in the package proper, since they're
actually tests.
2016-07-13 11:04:30 -06:00
Damian Gryski a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
Damian Gryski f131a82e69 platforms/bebop/client: fix type for binary.Write call
binary.Write only takes fixed-width types, of which 'bool' is not one.
Add a helper and turn those into int8s instead.
2016-07-13 09:38:40 -06:00
Damian Gryski 977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
deadprogram c78be7d51f Resolve merge conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:30:45 -06:00
deadprogram 2001471637 [ble] Slightly longer delay on Ollie halt
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 07:37:40 -06:00
deadprogram c5f996c543 [ble] Go to sleep, little Ollie
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-11 23:46:01 -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
ron ee2fc3777c [ble] Can setrgb commands to Ollie 2016-07-10 10:51:36 -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 9630662a00 [ble] Separate BLE client adaptor to allow for a BLE server adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:36:53 +02:00
deadprogram d2e9ebc5c1 [ble] BLE client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:28:41 +02:00
deadprogram 80ecc5ac53 [ble] BLE client adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 20:27:06 +02:00
deadprogram 10f0ec6dbc [ble] log without failing for operations involving unknown characteristics
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 12:02:15 +02:00
deadprogram 11c8e9a98c [ble] Refactoring to DRY up characteristic lookup
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-08 11:44:45 +02:00
deadprogram fa22353cb6 [ble] Flip it
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 22:08:42 +02:00
deadprogram 4eeb186bcd [ble] Simplify packet format
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:51:20 +02:00
deadprogram e6baafd49b [ble] Another attempt at the correct packet format
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:20:49 +02:00
deadprogram e5068274d3 [ble] Correcting params to match the Minidrone defs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 21:07:43 +02:00
deadprogram 48520de2f7 [ble] Can connect by advertised local name or by ID
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 12:35:37 +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
deadprogram 5018107377 [ble] Use constants for service/characteristic IDs
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-05 11:09:48 +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
ron 634387337b [ble] Separate options for linux and OSX 2016-07-04 11:46:27 +02:00
deadprogram 04bf4c355c [ble] Device information service
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:46:29 +02:00
deadprogram da9054d197 go fmt the code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 12:11:34 +02:00
deadprogram 25c861571c Making sure tests pass
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 11:15:42 +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
Ranjib Dey a589be6491 fix specs 2016-07-03 10:52:11 +02:00
Ranjib Dey a14e50d9ea support gpio pin turn on and off 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 3b3b03c8dd [audio] Test coverage for execution of audio driver
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram cdc1330cc2 [audio] Test coverage for exexcution of audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram 6464a1bb02 [audio] Add yet additional test coverage for audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram 3085d43421 [audio] Add additional test coverage for audio adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram a50c76b0ef [keyboard] Adds more test coverage and fixes README install instructions
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram a488b4fff0 [audio] Correct format of adaptor
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram 7eb221d9e5 [audio] Allows playback of both MP3 or WAV files, as long as the needed player (mpg123 or aplay) is installed
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram 1897c7f02e [gpio] Improve pin logging for RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:11 +02:00
deadprogram b37c656ffe [audio] Spawn audio playing process using Start for async
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 4015c7e818 [gpio] Correct go formatting on RGB LED
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +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 2707124725 Change default value for PCMD flag to match the Bebop 2.0.57+ expectations
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-03 10:52:10 +02:00
Stas Turlo 9226a6c80b Add MQTT authentication support 2016-07-03 10:52:10 +02:00
Ulises Flynn e391252dba Code cleanup, improve go report card 2016-03-12 15:08:21 -08:00
gmarik 8c68615485 Refactor to use `gobottest` test helpers 2016-03-03 17:18:10 -08:00
deadprogram 77453ccca8 Change test delay to 50ms 2016-03-03 17:18:10 -08:00
Krishna Chaitanya a28fd363ec Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-03-03 17:18:10 -08:00
deadprogram 2cff32dee1 Remove commented lines 2016-03-02 22:51:55 -08:00
deadprogram 9de106d089 Simple implementation that can read data 2016-03-02 22:43:41 -08:00
deadprogram 12dbf722d7 Almost reading battery info 2016-03-02 22:00:05 -08:00
gmarik 8ceffc25ba Refactor to use `gobottest` test helpers 2016-02-24 22:16:05 -08:00
deadprogram c52a14d56b Change test delay to 50ms 2016-02-24 22:16:05 -08:00
Krishna Chaitanya 2c5f1bc9b6 Fix for analog (quick changes lag)
This fixes analog lag issue.
2016-02-24 22:16:05 -08:00
deadprogram 41d80f991c Tests also need to be pointed to @veandco go-sdl2 fork 2016-02-24 22:16:05 -08:00
deadprogram e45c822101 Use main go-sdl fork from @veandco to pickup any upstream changes 2016-02-24 22:16:05 -08:00
deadprogram acd1524432 Adds support for Dualshock4 wireless gamepad 2016-02-24 22:16:05 -08:00
deadprogram c116a625bc Adds support for Dualshock4 wireless gamepad 2016-02-24 22:16:05 -08:00
deadprogram e3d547f2c0 Use OpenCV 2.4, as well as switch to main fork of go-opencv 2016-02-24 22:16:05 -08:00
Brian Stengaard 24c04dc7eb Pin 229 value left out of test fixture on edison 2016-02-24 22:16:05 -08:00
deadprogram b3e1bb09ee Merge branch 'feature/ble' into feature/ble-wip 2016-02-20 19:56:42 -08:00
deadprogram dcf89ff49f Tests also need to be pointed to @veandco go-sdl2 fork 2016-02-20 14:43:16 -08:00
deadprogram 556159070c Use main go-sdl fork from @veandco to pickup any upstream changes 2016-02-20 14:27:24 -08:00
deadprogram b4427ced97 Adds support for Dualshock4 wireless gamepad 2016-02-20 09:41:38 -08:00
deadprogram ae4c760951 Adds support for Dualshock4 wireless gamepad 2016-02-20 09:41:19 -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
Brian Stengaard f839367fcf Pin 229 value left out of test fixture on edison 2016-02-19 09:51:58 +01:00
deadprogram d0a5893f27 Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050 2016-02-17 12:25:15 -08:00
deadprogram b06f8bae38 Revert "Increase button delay hack for test suite"
This reverts commit fe221a9633.
2016-02-17 12:25:15 -08:00
deadprogram 87584e9765 Increase button delay hack for test suite 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
deadprogram f8f6dfeb0b Use newer naming system for C.H.I.P. pins 2016-02-17 12:25:15 -08:00
deadprogram 7c355b8dcd Update MQTT README for latest info 2016-02-17 12:25:15 -08:00
deadprogram 3cf667d450 Increase test delay hack for button tests 2016-02-17 12:25:15 -08:00
deadprogram 920c38482f Default the new MQTT 'AutoReconnect' to false 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
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
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
Ethan Young dc183d7a78 Correct the release command sent to pi-blaster. 2016-02-17 12:25:14 -08:00
Cathal Garvey 01bb538959 The take-off-before-event-handling bug again 2016-02-17 12:25:14 -08:00
deadprogram cee08c8e35 Correct Intel Edison docs location thanks to @seanmarcia 2016-02-17 12:25:14 -08:00
Ulises Flynn 43d4271b45 Add MCP23017 write and read functionality to GPIO
Signed-off-by: Ulises Flynn <uflynn@hotmail.com>
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 2aa96c583a More WIP on reading characteristics 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
deadprogram 66192290b6 WIP on BLE 2016-02-16 15:32:14 -08:00
deadprogram fe221a9633 Increase button delay hack for test suite 2016-02-16 15:27:02 -08:00
Andrew Stewart cda57f9dc5 Add support for 'hand' and 'gesture' Leap Motion events 2016-02-09 16:15:55 -08:00
deadprogram a82d030f9c Use newer naming system for C.H.I.P. pins 2016-02-09 15:38:17 -08:00
deadprogram 154bd4672b Update MQTT README for latest info 2016-02-09 14:52:59 -08:00
deadprogram e3041a47bb Increase test delay hack for button tests 2016-02-08 15:49:19 -08:00
deadprogram 942a8e6d72 Default the new MQTT 'AutoReconnect' to false 2016-02-08 15:20:25 -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
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
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
Ethan Young 59703dcc95 Correct the release command sent to pi-blaster. 2016-01-09 14:58:18 -07:00
Cathal Garvey 78bf872281 The take-off-before-event-handling bug again 2015-11-07 15:59:44 -08:00
deadprogram afd2e81911 Correct Intel Edison docs location thanks to @seanmarcia 2015-11-04 10:32:34 -08:00
Ulises Flynn 5376df491b Add MCP23017 write and read functionality to GPIO
Signed-off-by: Ulises Flynn <uflynn@hotmail.com>
2015-11-03 18:09:44 +00:00
deadprogram 24ccd3dde6 Corrections needed for Bebop to handle Outside mode 2015-10-24 16:45:53 -07:00
deadprogram 59dbd6d15c Make expected packets larger for updated Bebop firmware 2015-10-24 15:17:11 -07:00
deadprogram 8b9216be7e Update README with full list of current drivers/platforms 2015-10-22 17:37:31 -07:00
deadprogram 929ccd2ff7 Docs and examples to better show off Grove GPIO 2015-10-22 16:56:03 -07:00
Ron Evans a260141918 Merge pull request #238 from mattetti/ma-lcd-custom-chars
let devs set and use custom LCD characters
2015-10-11 08:03:25 -07:00
Matt Aimonetti ade406c7dd more custom characters 2015-10-11 01:24:43 -07:00
Matt Aimonetti 80f64239e9 let's not forget ó, very common character in Spanish 2015-10-11 01:05:29 -07:00
Matt Aimonetti 601e4916a2 let devs set and use custom LCD characters
I noticed that the grove LCD screen only has an ASCII/Japanese font table. I need to be able to display accented characters
looking at the data sheet the screen supports up to 8 custom CGRAM characters. I added an API to set those CGRAM characters
as well as a map of common latin 1 characters + emoticons
2015-10-11 00:49:57 -07:00
Matt Aimonetti a129ff03fa Update blink example due to API change 2015-10-07 23:35:22 -07:00
deadprogram 360585a593 Bebop hull protection setting and beginning of test coverage 2015-10-04 23:06:26 -07:00
deadprogram 810e07b44d Correct error in Bebop video example 2015-10-01 19:45:09 -07:00
deadprogram ae1056b58d Merge branch 'bebop' into dev 2015-10-01 14:31:37 -07:00
deadprogram f25ef58c0a Separate error case of Particle nee Spark tests to avoid confusion 2015-09-29 19:49:07 -07:00
Vic Fryzel a3256a1456 Fixing doc typo in ardrone_driver.go saying that backward went forward. 2015-08-28 13:42:43 -07:00
Pablo Ruggia 69e299a451 Wrong analog input mapping for BeagleBone
According to https://github.com/CircuitCo/BeagleBone-Black/raw/master/BBB_SRM.pdf Page 105 these are the right mappings:
P9_36 -> AIN5
P9_35 -> AIN6
2015-08-27 19:59:26 -07:00
Adrian Zankich 9afb74421d Add bebop video recording command 2015-07-23 09:03:46 -07:00
Adrian Zankich 00c0e49575 Initial support for the bebop drone 2015-07-21 20:03:27 -07:00
Ron Evans 79c9657807 Merge pull request #196 from hybridgroup/add/platforms/keyboard
Add basic keyboard driver using `stty`
2015-07-17 08:18:54 -07:00
Adrian Zankich 88f7a68c46 Update jhd1313m1 Scroll and grove lcd example 2015-07-15 17:57:22 -07:00
Adrian Zankich a8fa365990 Make travis happy 2015-07-15 16:46:40 -07:00
Adrian Zankich c3bc235218 Update lidar implementation 2015-07-12 15:22:23 -07:00
Matt Aimonetti 6cef217dff fix the bad merge 2015-07-11 23:03:01 -07:00
Matt Aimonetti 6190defcdc merge toxeus' multiline fix 2015-07-11 22:56:45 -07:00
Matt Aimonetti ab624962eb improved the waits and added a scroll method (which doesn't seem to work :( ) 2015-07-11 22:50:55 -07:00
Matt Aimonetti 41ab911179 copy of the C++ constructor since I noticed some weird setup issues
https://github.com/intel-iot-devkit/upm/blob/master/src/lcd/jhd1313m1.cxx#L34
The main artifact I was noticing was a cursor always being displayed after my text. This version fixes this specific issue.
2015-07-11 22:37:06 -07:00
Matt Aimonetti b318d68a5b Adding 2ms after Clear() and Home() to avoid issues + refactoring
The refactoring focuses on 2 aspects:
* go lint conventions with documentation
* avoid naked returns and don't instantiate returned values in the signature unless really necessary
2015-07-11 20:43:02 -07:00
Filip Gospodinov cc9893d293 jhd1313m1_driver: fix '\n' processing 2015-07-11 00:08:04 +02:00
Matt Aimonetti 568d53cac4 update the Edison documentation for 1.5 2015-07-10 13:48:02 -06:00
Adrian Zankich d18d6cd73a Add missing grove driver alias 2015-07-10 08:56:39 -07:00
deadprogram 36777f681d Corrected dependency install instructions for all current platforms 2015-07-10 08:02:18 -07:00
deadprogram bef46fa711 Corrected to proper versionindependent install 2015-07-10 08:02:18 -07:00
deadprogram b54782c1aa Add missing package install step to Leap Motion README 2015-07-10 08:02:18 -07:00
nathan 17e94fdbcd add windows connection for firmata 2015-07-10 08:02:18 -07:00
nathan a7a2fc3e1a add connection documention to firmata 2015-07-10 08:02:18 -07:00
Andrew Stewart 1e35d4a70c Re-enable echo when restoring 2015-07-09 13:52:08 -07:00
Adrian Zankich 317591bc39 Allow a slightly wider range of piezo vibration values 2015-07-09 11:49:52 -07:00
Adrian Zankich d5605838dd Scale analog values to 1024 2015-07-09 11:48:46 -07:00
Andrew Stewart 15a764d865 add basic keyboard driver using stty 2015-07-09 11:41:33 -07:00
Adrian Zankich 5b94e593ec Fix panic during finalize if no i2c device has been initialized 2015-07-09 10:31:43 -07:00
deadprogram be03938851 Corrected dependency install instructions for all current platforms 2015-07-08 16:03:20 -07:00
deadprogram 353c404125 Corrected to proper versionindependent install 2015-07-08 15:39:50 -07:00
deadprogram a27f88d344 Add missing package install step to Leap Motion README 2015-07-08 15:34:18 -07:00
Adrian Zankich 761dae973f Add MMA7660Driver 2015-07-08 10:54:37 -07:00
Adrian Zankich ae67df6562 Add GrovePiezoVibrationSensorDriver 2015-07-08 09:29:36 -07:00
Adrian Zankich 81bc4d2374 Add JHD1313M1 driver 2015-07-03 19:05:11 -07:00
Adrian Zankich ff78e76596 Fix incorrect return type for NewGroveTouchDriver 2015-07-03 19:01:39 -07:00
Adrian Zankich a695e6d6ea Add alias drivers for sensors in the grove starter kit 2015-07-03 19:01:39 -07:00
Adrian Zankich fcdbdf648f Add relay driver 2015-07-03 19:01:39 -07:00
Adrian Zankich 78066a3392 Add grove temperature sensor driver 2015-07-03 19:01:39 -07:00
Adrian Zankich b8fdbf0671 Add buzzer gpio driver 2015-07-03 19:01:39 -07:00
Adrian Zankich fe6df92974 Refactor sysfs I2C implementation and add Address parameter to I2C interface functions 2015-07-03 18:57:29 -07:00
nathan 55e75788f7 add windows connection for firmata 2015-07-03 14:30:27 -07:00
nathan 0bf9977e2f add connection documention to firmata 2015-07-03 11:53:15 -07:00
Adrian Zankich 8842b2ea23 Update README.md 2015-06-30 16:33:13 -07:00
Adrian Zankich 93a4c45574 Add raspi pwm pi-blaster support 2015-06-30 16:31:20 -07:00
Adrian Zankich 02a62d043a Refactor firmata client library into seperate package
Green tests

Refactor tests to table driven

Refactor analog, digital and i2c

Fix tests

golint client package

Fix tests

Add ServoConfig

Rename query and i2c functions

Fix tests

Fix typo
2015-06-30 14:11:22 -07:00
Sebastien Binet 5a25e247aa platforms/leap: use golang.org/x/net/websocket 2015-04-16 11:08:50 +02:00
Adrian Zankich bc8bb36f8f Update mqtt package for latest paho mqtt api compatibility 2015-04-06 15:35:11 -07:00
deadprogram 65fce5a4b9 Almost done on LIDAR-Lite support
Wait for 20ms between operations

All ints all the time, unless a very good reason
2015-02-17 12:50:28 -08:00
Adrian Zankich 9bfed1800f go lint and documentation tweaks for the joystick package 2015-01-03 05:06:08 -08:00
Adrian Zankich a7653dde56 go lint and documentation tweaks for the edison package 2015-01-03 04:40:00 -08:00
Adrian Zankich 5995982042 go lint and documentation tweaks for the gpio package 2015-01-02 10:42:53 -08:00
Adrian Zankich de71de86cb go lint and documentation tweaks for the firmata package 2015-01-02 07:57:13 -08:00
Adrian Zankich d073a1c39b go lint and documentation tweaks for the digispark package 2015-01-02 07:26:15 -08:00
Adrian Zankich 39d3989bb1 Merge remote-tracking branch 'origin/master' into golint 2015-01-02 07:17:26 -08:00
Adrian Zankich 7c1e67d336 Update README.md 2015-01-02 07:05:24 -08:00
Adrian Zankich d1564144b5 Merge pull request #170 from alecthegeek/patch-1
gobot on Wheezy needs an updated golang
2015-01-02 16:03:31 +01:00
Dan Markham dd867212e5 Adding sphero API ReadLocator, SetRotationRate, ConfigureLocator 2015-01-01 15:03:37 -08:00
Adrian Zankich 5d90509374 go lint and documentation tweaks for the beaglebone package 2014-12-31 06:46:47 -08:00
Adrian Zankich c80a77e4a9 go lint and documentation tweaks for the ardrone package 2014-12-31 06:34:36 -08:00
Alec Clews 26521e792d gobot on Wheezy needs an updated golang
Add instructions on how to install go 1.4. Default is too old
2014-12-29 21:41:28 +11:00
Adrian Zankich 3f0dd3efb9 Merge branch 'dev' 2014-12-28 08:13:33 -08:00
Adrian Zankich 78436285ec Refactor and add tests 2014-12-28 08:04:15 -08:00
Adrian Zankich 541761b98e Merge branch 'dev' into event-stream
Conflicts:
	platforms/spark/spark_core_adaptor.go
2014-12-28 05:20:52 -08:00
Adrian Zankich 51feaa9985 Update examples, slight refactor and more tests 2014-12-28 04:54:14 -08:00
Javier Cervantes 5002287a78 Adding Function methods to spark core adaptor 2014-12-28 04:54:13 -08:00
Javier Cervantes c679128587 Adding Variable method to spark code adaptor 2014-12-28 04:54:13 -08:00
Adrian Zankich 7c836d6c6b Add SetDataStreaming tests 2014-12-25 09:26:29 -08:00
Adrian Zankich 4a9954a5f9 Slight refactor and add default config constructors 2014-12-25 08:32:24 -08:00
Adrian Zankich f043f98c28 Merge remote-tracking branch 'ardan-bkennedy/master' into sphero_enhancements
Conflicts:
	platforms/sphero/sphero_driver.go
2014-12-25 07:11:19 -08:00
Adrian Zankich da566bc74c Merge remote-tracking branch 'krylovsk/master' into sphero_enhancements
Conflicts:
	platforms/sphero/sphero_driver.go
2014-12-25 07:06:54 -08:00
Adrian Zankich 944b878e12 Add speedpin parameter 2014-12-24 13:03:08 -08:00
Adrian Zankich 1b1c3ad9ce Refactor pwm operations 2014-12-23 18:35:45 -08:00
Adrian Zankich cde191943d Fix null reference on failure to connect
Refactor sphero adaptor
2014-12-23 07:14:08 -08:00
Adrian Zankich c16993ab05 Fix stack trace on close 2014-12-23 01:20:44 -08:00
Adrian Zankich e4811ad1cb Fix error with caputre and window interfaces 2014-12-22 14:24:06 -08:00
Adrian Zankich 386042575f Increase i2c test coverage 2014-12-22 13:36:52 -08:00
Adrian Zankich 4a104fd660 Increase firmata test coverage 2014-12-19 12:58:55 -08:00
Adrian Zankich 6e3bb5126d Update opencv window and camera tests 2014-12-19 11:57:35 -08:00