Go to Post Careful what words you use here; we take them literally. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 09-02-2017, 19:08
qscgy's Avatar
qscgy qscgy is offline
The Last Airbender of 449
AKA: Sam
FRC #0449 (Blair Robot Project)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Silver Spring, MD
Posts: 40
qscgy will become famous soon enoughqscgy will become famous soon enough
Compressor doesn't start

We were testing our pneumatics code for the first time today, and when we enabled the robot, the compressor didn't start. We have this code in robotInit:

Compressor compressor = new Compressor(0);
compressor.start();
compressor.setClosedLoopControl(true);

No one saw any issues with the wiring. Can anyone help us figure out what's going on?
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2017, 19:36
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 882
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Compressor doesn't start

even if you think there weren't issues with wiring, can you describe it?

also, are you creating any solenoids in your code?
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2017, 19:56
qscgy's Avatar
qscgy qscgy is offline
The Last Airbender of 449
AKA: Sam
FRC #0449 (Blair Robot Project)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Silver Spring, MD
Posts: 40
qscgy will become famous soon enoughqscgy will become famous soon enough
Re: Compressor doesn't start

Quote:
Originally Posted by engunneer View Post
even if you think there weren't issues with wiring, can you describe it?

also, are you creating any solenoids in your code?
The compresser power wires and the pressure switch were both plugged in properly. I'm pretty sure the CAN wires were also, but I will need to check. If not, that may be a problem. We are not yet creating solenoids in code.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread Yesterday, 01:12
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 410
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Compressor doesn't start

Check on the web dashboard to make sure your PCM is working and actually has the CAN ID 0. If you click the "self test" button on the PCM page, you can also see if there are any faults (such as a compressor short)
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote
  #5   Spotlight this post!  
Unread Yesterday, 06:24
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 559
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Compressor doesn't start

Please follow the troubleshooting steps in section 4.1 of the pcm user's guide.
http://www.ctr-electronics.com/pcm.h...ical_resources
Reply With Quote
  #6   Spotlight this post!  
Unread Yesterday, 19:09
qscgy's Avatar
qscgy qscgy is offline
The Last Airbender of 449
AKA: Sam
FRC #0449 (Blair Robot Project)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Silver Spring, MD
Posts: 40
qscgy will become famous soon enoughqscgy will become famous soon enough
Re: Compressor doesn't start

Turns out the port number had been changed without me knowing. Thanks to everyone who provided advice. It works now!
__________________
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 13:15.

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