Go to Post The stated goals of FIRST are to inspire a culture that values science and technology. Inspiration needs Motivation. What motivates people? Competition. - Dmentor [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2014, 10:41
William Kunkel William Kunkel is offline
Programming Lead
AKA: Kunkel
FRC #0422 (Mech Tech Dragons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Richmond, VA
Posts: 94
William Kunkel is an unknown quantity at this point
Limitations on actions in disabled mode

What are the specific limitations on code when the robot is in disabled mode? I assume (though I don't know for sure), that the robot can't, for instance, run motors while it is disabled, but what are the limitations? Can relay values or solenoids be set? And how is this enforced?
  #2   Spotlight this post!  
Unread 18-02-2014, 10:47
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Limitations on actions in disabled mode

Quote:
Originally Posted by MaraschinoPanda View Post
What are the specific limitations on code when the robot is in disabled mode? I assume (though I don't know for sure), that the robot can't, for instance, run motors while it is disabled, but what are the limitations? Can relay values or solenoids be set? And how is this enforced?
Relays and Solenoids can be set, but they won't actuate until the robot is enabled. You can also send and receive values from the dashboard while disabled. You can read values from sensors as well.
  #3   Spotlight this post!  
Unread 18-02-2014, 10:49
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Limitations on actions in disabled mode

Nothing can be operated while disabled - relays can't be switched, motor controllers can't be driven, solenoids can't be fired. The intent of disabled is DISABLED - the robot can't "do" anything.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #4   Spotlight this post!  
Unread 18-02-2014, 10:50
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Limitations on actions in disabled mode

I don't recall if digital outputs are set during disabled mode and I'm not going to be near the robot for several hours.
Can anyone clarify?
  #5   Spotlight this post!  
Unread 18-02-2014, 11:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Limitations on actions in disabled mode

Quote:
Originally Posted by MaraschinoPanda View Post
What are the specific limitations on code when the robot is in disabled mode? I assume (though I don't know for sure), that the robot can't, for instance, run motors while it is disabled, but what are the limitations? Can relay values or solenoids be set? And how is this enforced?
There's no limitation on what you can program, but any motors or servos or relays or solenoids you try to actuate on the robot will have no effect when it's disabled.

This is enforced by the FPGA on the cRIO. You have no ability to override it.

The Digital Outputs on the Digital Sidecar do still work when the robot is disabled, so you can control custom circuits. Custom circuits are not permitted to control any robot actuators, so again nothing you do with the program while the robot is disabled will make anything move.
  #6   Spotlight this post!  
Unread 18-02-2014, 12:22
G_rupp's Avatar
G_rupp G_rupp is offline
Registered User
FRC #1108
 
Join Date: Jan 2011
Location: Paola, KS
Posts: 43
G_rupp is an unknown quantity at this point
Re: Limitations on actions in disabled mode

Digital and Analog Inputs are active. We leave the robot disabled and read sensors in the LabVIEW periodic tasks. We have used this to verify operation without having to drive the robot. The Analog inputs are used for the Gyro and Potentiometers. The Digital inputs are used to verify the operation of the Sonic Sensor, input switches and Encoders.
  #7   Spotlight this post!  
Unread 18-02-2014, 13:00
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Limitations on actions in disabled mode

Sensor inputs through DIO, Analog, I2C, Serial, SPI, Ethernet, for example camera tracking will be operational during Disabled, so decisions can be made in the code that can be acted on immediately when the FPGA enables PWM, Relay, Solenoid outputs during Autonomous or Teleop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Closed Thread


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 02:47.

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