Go to Post The other day, I stuck my head into a box of Rhino treads and got a sugar high. - Andy Baker [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 11-10-2015, 14:02
GGorman GGorman is offline
Registered User
FRC #5419 (A-Team)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2010
Location: United States
Posts: 5
GGorman is an unknown quantity at this point
Re: LidarLite v2 communications issues

We just did a state machine in periodic tasks that switched between Write and Read inside a 50ms loop. That way we were sure we stayed outside the delays - and yes we could not figure out how to sense ACK/NAK either.

So far on the v2 it's not reacting the same at all. Tech support thinks the WpiLib is sending a "double start" that confuses the unit. I don't have a decent oscilliscope to see what is going on at the digital level but wondering if that is what's doing it.

Even when I just open the channel and try to read register x1 it doesn't seem to work.

As far as the Labview code - I'd love to share once I get it to work! This is just a test VI to see if I can get anything from the lidar. So far it only returns 0 on every read - the status register and the distance register.

The other strange thing - if I connect it to the I2C pins on a NavX-MXP it locks the NavX up! Something really odd going on ... .. .



/greg
Attached Files
File Type: pdf Labview Document.pdf (27.5 KB, 57 views)

Last edited by GGorman : 11-10-2015 at 16:02. Reason: added picture
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi