Go to Post every year, Dean's speeches get better. in the process, he's also teaching people to be patient. - Winged Wonder [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 08-02-2011, 11:07
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Why are Limit Switches outlawed with PWM, but not CAN?

One reason that I haven't asked GDC yet is that I don't think they usually like "why" questions... If they opened the gates for these they would be flooded with questions.

For me... Limit switches have three usefull purposes:

1) To tell you when a motion is complete in autonomous:
2) To stop a heavy handed student from braking something because they couldn't tell what was hapenning on the robot in teleop.
3) They protect the hardware while still developing the software.

Your thoughts make perfect sense for 1), but if all we want to do is prevent accidents on manual motions (like in 2), or during S/W development (like in 3) being able to wire the limit switches directly into the Jaguar even when using PWM provides the best protection.

Since you have verified that the limts do work automatically in both control modes if makes me feel more justified in asking GDC the question.

Thanks
Phil.

Quote:
Originally Posted by dyanoshak View Post
When using Servo PWM or CAN to control a Jaguar, the Limit Switch inputs always stop their corresponding direction when the circuit it open.

It is my understanding* that the reasoning for this rule is that you cannot read the state of the limit switch inputs with the cRIO when using PWM. Not having the ability to know the state of the limit switches could potentially lead to undesired behavior.

When using CAN, the cRIO can request the state of the limit switches so it knows what is going on with a particular Jaguar.

*My understanding does not represent the intent of the GDC. So to get an official answer to this question, you should ask the GDC on the Q&A.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
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:49.

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