Go to Post Purpose over pimpness is a policy that we are trying to adhere to. - santosh [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 10-02-2012, 15:33
Waltonruler5 Waltonruler5 is offline
Registered User
FRC #1591
 
Join Date: Jan 2012
Location: Greece, Rochester
Posts: 8
Waltonruler5 is an unknown quantity at this point
Mapping Motors

I realize this is a small question but I'm not able to test his out on our electrical board right now. I'm using the command based robot from BradAMiller's videos (Which were a huge help to a new programmer like me) and we are using two digital modules. There's an analog module in the first slot so the first digital module is in the second slot, so should I have
cannonMotorModule = 1
because it's the first digital module
or
cannonMotorModule = 2
because it's in the second slot of the cRIO?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2012, 15:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,753
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: Mapping Motors

It's by the module type, not the cRIO slot.
First of that type or second of that type.
Quote:
Originally Posted by Waltonruler5 View Post
IcannonMotorModule = 1

because it's the first digital module
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 09:56.

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