Go to Post It made me proud to know that we have corporate sponsors with genuine interest. - galewind [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 24-01-2015, 12:12
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
Another DoubleSolenoid question

We're constructing our DoubleSolenoid as follows in RobotMap.cpp

pneumaticSubsystemSolenoid = new DoubleSolenoid(11, 0, 1);

The '11' is the CAN ID of the PCM. With these parameters, our compressor starts automatically as expected. However, we're getting the following error:

Error on line 87 of Resource.cpp: Allocating channel that is out of range: Solenoid 0 (Module: 11)

When we change the '11' to a '1', this error goes away, but our compressor doesn't start.

Any thoughts?
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 12:00.

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