View Single Post
  #3   Spotlight this post!  
Unread 06-09-2016, 16:18
EmileH's Avatar
EmileH EmileH is offline
uses the Talon SRX way too much
AKA: Emile Hamwey
FRC #1058 (The PVC Pirates) & SLFF (NE Way You Want It)
Team Role: Programmer
 
Join Date: Dec 2014
Rookie Year: 2011
Location: New England
Posts: 539
EmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant futureEmileH has a brilliant future
Re: Using LIDAR Lite 2 sensor on RoboRIO I2C port

IIRC, in 2015, there was no Java/C++ support for the dedicated I2C port on the RoboRIO - it had something to do with it only working in Labview and I don't really know the details. The easy way around this was to use the MXP port which did work (as long as you weren't using this port already for another device). I don't know if this was fixed for 2016 - somebody correct me if I'm wrong

To be safe, use the MXP port. This is my previous post with our code and the base that it came from, but we were using v1 of the LIDAR module (silver label). It is likely that you are using v2 (blue label) and will need to modify the code as the v2 reads differently than v1. Check the manual for instructions on reading from the device.
__________________
2016-present: High School Student, FRC 1058 PVC Pirates

Reply With Quote