Go to Post This year's rules != last year's rules. - GaryVoshol [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-03-2011, 13:51
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
CAN Jaguars and Software setting of Brake Coast

I think, I've got this correct, however, I'm not 100% certain, when it comes to parsing out the needed data.

What we are doing is setting BRAKE mode for Autonomous, and COAST mode for Teleop regardless of the jumper settings on the Jaguars.

We perform an open 4 motor CAN Jaguar in BEGIN.VI, we are using ID's 2-5.
In Autonomous we take the Drive Device Ref, do an un-bundle by name for the motors[] array, select out the first for elements, passing that to CAN Jaguar Config Brake Coast.VI, setting each to BRAKE for Autonomous and COAST for Teleop.

I've attached a jpg showing an overview of what I'm doing.

The questions I have are:
1) Are the element numbers in the Motors[] array equal to the CAN ID of the Jaguar, or are they simply the first 4 elements as I assuming.

2) Is this a valid way to perform this given my sample

3) Is there anything else I might be missing or forgetting.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	CANBrakeCoast.jpg
Views:	51
Size:	54.4 KB
ID:	10346  
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


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 09:33.

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