Go to Post I'm not sure I like this: corn dogs, cheesecake and lard. - Tom Ore [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 06-02-2012, 21:43
Luiz12 Luiz12 is offline
Registered User
FRC #4210
 
Join Date: Jan 2012
Location: South Gate
Posts: 45
Luiz12 is an unknown quantity at this point
Adding motor to system please help?

Hi we're currently a rookie team with no remote idea on how to add a motor to our default code. We hooked up a simple motor to a victor and then to the system but we have absolutely no idea on how to program it.
  #2   Spotlight this post!  
Unread 06-02-2012, 21:54
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,847
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: Adding motor to system please help?

What language?

LabVIEW looks like this:


Although you'd want to change "Jaguar" above to "Victor"

Found under WPI Robotics Library->Actuators->MotorControl
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 06-02-2012, 22:01
msulaimain's Avatar
msulaimain msulaimain is offline
Registered User
AKA: Muhammad Sulaiman
FRC #3346 ([{Kamikaze Komets}])
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: USA
Posts: 36
msulaimain can only hope to improve
Send a message via AIM to msulaimain Send a message via Yahoo to msulaimain
Re: Adding motor to system please help?

If you are coding your robot in C++ then you can simply use the SimpleRobot example that can be accessed by going to File---New---Example---Downloadable Kernel Project---SimpleRobot---open that up and build your project. Then deploy your project to your robot. You will notice in that example that you have two drive motors connected to port 1 and 2 of your side car. You have your set up correct: Motor to jaguar (M+ and M- Side) and then from there you take wires to your Power Distribution board. You have to remember that you also have to plug in a PWM cable from your jaguar to the digital sidecar ports 1 and 2. You might have to play around with how to plug in the PWM's because sometimes you might get them flipped; just flip them over if needed and you should have two running motors. If you want to add motors then you will have each motor usually connected to a jaguar and that jaguar gets data/integer values from your code that are transmitted through the digital sidecar (blue thing). Make sure all your major components (power distribution board, side car, cRIO, etc are getting power. The dis-functioning of one of these components can cause others to cause technical difficulties which will make it harder for you. you can also read the US FIRST resources and perform a benchmark test, which helps you better understand how all the electronic components are set up.

Hope this helped.
__________________
int main()
{
::::::::: include=>commitment;
::::::::: int=>school name=>Asheboro::High
::::::::: int=>team name=>Kamikaze::Komets;
::::::::: Priority_Queue=>FRC Championship::2012;
::::::::: Max_Element=>Teamwork;
}
  #4   Spotlight this post!  
Unread 06-02-2012, 22:03
Luiz12 Luiz12 is offline
Registered User
FRC #4210
 
Join Date: Jan 2012
Location: South Gate
Posts: 45
Luiz12 is an unknown quantity at this point
Re: Adding motor to system please help?

Thank you that's exactly what I was looking for.
  #5   Spotlight this post!  
Unread 06-02-2012, 22:08
msulaimain's Avatar
msulaimain msulaimain is offline
Registered User
AKA: Muhammad Sulaiman
FRC #3346 ([{Kamikaze Komets}])
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: USA
Posts: 36
msulaimain can only hope to improve
Send a message via AIM to msulaimain Send a message via Yahoo to msulaimain
Re: Adding motor to system please help?

Quote:
Originally Posted by Luiz12 View Post
Thank you that's exactly what I was looking for.
So are you coding in C++ or Labview?
__________________
int main()
{
::::::::: include=>commitment;
::::::::: int=>school name=>Asheboro::High
::::::::: int=>team name=>Kamikaze::Komets;
::::::::: Priority_Queue=>FRC Championship::2012;
::::::::: Max_Element=>Teamwork;
}
  #6   Spotlight this post!  
Unread 06-02-2012, 22:18
Luiz12 Luiz12 is offline
Registered User
FRC #4210
 
Join Date: Jan 2012
Location: South Gate
Posts: 45
Luiz12 is an unknown quantity at this point
Re: Adding motor to system please help?

This is what I ended up doing..
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 22:42.

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