Commit Graph

5 Commits

Author SHA1 Message Date
Randy Mackay
80134d2b7d IR-LOCK: rework driver (from jschall) (#5024)
* irlock: change output format to tangent of angles

* irlock: put all targets in single struct

* irlock: eliminate tanf function in constant
2016-07-11 09:05:29 +02:00
Randy Mackay
7dcef40516 irlock: report target in radians 2015-05-29 16:50:48 +09:00
Randy Mackay
54308288f3 irlock: formatting fixes 2015-05-29 16:50:48 +09:00
Randy Mackay
10139400d5 irlock: simplify driver
Remove ioctl calls by always starting cycling
Remove unused orb variables and includes
Remove unused angle from irlock_s structure
Add test and set I2C address to pixy default
Reduce max num objects to 5
Add read errors reporting via nsh
2015-05-29 16:50:47 +09:00
Michael Landes
210ad9e36c irlock: initial version of IR-LOCK sensor driver
Also works with the Pixy Cam
2015-05-29 16:50:46 +09:00