Go to Post GP isn't just a good idea, it's mathematically optimal. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-03-2011, 11:09
dgstone18 dgstone18 is offline
Registered User
no team
 
Join Date: Mar 2011
Location: Boston
Posts: 1
dgstone18 is an unknown quantity at this point
Controlling CAN Jaguar directly from PC (No cRIO)

Hi, I am currently working on a robot project in my high school honors robotics class and we are attempting to interface and control two black jaguars through the CAN interface directly connected to a laptops serial/usb port. I know that the connection is working because I can control motors with the bdc-comm program as it is being recognised as a comm port. We are using the labview package supplied through the FIRST program and all updates are installed. After messing around with the VIs and scouring the internet, it seems that all of WPI labview VIs are dependant on the cRIO. I was wondering if anyone knew a way to program the jaguars while completely bypassing the cRIO. Also using a pwm interface is also an option for us so any help doesn't need to be CAN specific. Whether it be using new VIs or changing the current VIs, any help would be greatly apreciated. Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2011, 12:55
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Controlling CAN Jaguar directly from PC (No cRIO)

There is a way, though I'm not sure it will be what you want.
BDC-COMM has a command prompt option.
LabVIEW can interface to the command prompt, or directly to library functions. I can tell you right now this will be a lot of work.

The other way would be to drop the BDC-COMM completely, and make your own. If you do this, make sure you use the firmware TI provides on their website, not the FRC firmware, because otherwise you won't be able to set the output. (That is, unless you are up to cracking the tokenization)

In short: you have the opportunity to do some low-level interfacing that we don't normally have to do in FRC. If you enjoy that, go for it! If you don't, it might be best to look into a different option.
__________________
-- Marshal Horn
Reply With Quote
Reply


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 04:12.

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