Go to Post [You know you've overdoes on FIRST when...] You're willing to take an 8 AM for the team. - ttldomination [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 14-02-2004, 14:11
thelastride thelastride is offline
Registered User
no team (Iron Eagles)
 
Join Date: Jan 2004
Location: canada
Posts: 7
thelastride can only hope to improve
Question where do we connect our motors for navigate.c

I have a question where do we connect our motors in what Pwm for the code navigate.c can anyone please tell me and our robot is 2 wheel drive. and we are currently using pwm13 and pwm 15.
  #2   Spotlight this post!  
Unread 14-02-2004, 14:38
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: where do we connect our motors for navigate.c

Quote:
Originally Posted by thelastride
I have a question where do we connect our motors in what Pwm for the code navigate.c can anyone please tell me and our robot is 2 wheel drive. and we are currently using pwm13 and pwm 15.
Isn't it documented in navigate.h?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 14-02-2004, 20:39
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: where do we connect our motors for navigate.c

pwms 13 and 15 should work if you are doing one-joystick drive. if you are using two joysticks for control, pwms 1 and 2 are the ones you want.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #4   Spotlight this post!  
Unread 15-02-2004, 13:01
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,722
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: where do we connect our motors for navigate.c

Quote:
Originally Posted by thelastride
I have a question where do we connect our motors in what Pwm for the code navigate.c can anyone please tell me and our robot is 2 wheel drive. and we are currently using pwm13 and pwm 15.
Remember the navigate project doesn't come with a Default_Routine(), so you'll need to add one.
If you've added navigate to your default code then you need to change navigate.h "left_drive" and "right_drive" to match the pwms you are using (pwm13/pwm15).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 15-02-2004, 15:33
magical hands magical hands is offline
Jigar Patel
AKA: Jigar Patel
FRC #2185 (Etobicoke CI)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: TORONTO
Posts: 93
magical hands is on a distinguished road
Re: where do we connect our motors for navigate.c

Quote:
Originally Posted by Mark McLeod
Remember the navigate project doesn't come with a Default_Routine(), so you'll need to add one.
If you've added navigate to your default code then you need to change navigate.h "left_drive" and "right_drive" to match the pwms you are using (pwm13/pwm15).
what do you mean by the above quote i don't get it because we have a 2 wheel drive robot operated by one joysitck and we dowloaded navigate.c in our robot and it doesn't work the computer tells move to centre, turn to right.. don't know but it says something like that but our robot doesn't move although the programm is giving out command do you know why?
  #6   Spotlight this post!  
Unread 15-02-2004, 15:45
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,722
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: where do we connect our motors for navigate.c

Quote:
Originally Posted by magical hands
what do you mean by the above quote i don't get it because we have a 2 wheel drive robot operated by one joysitck and we dowloaded navigate.c in our robot and it doesn't work the computer tells move to centre, turn to right.. don't know but it says something like that but our robot doesn't move although the programm is giving out command do you know why?
As I recall navigate.c by default expects the motors to be attached to pwm03 and pwm04.
If you are using navigate without any modifications then it waits at the start for someone to push the forefinger button on the joystick before starting.
__________________
"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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PWM and burning out motors patrickrd Technical Discussion 7 19-06-2003 15:30
Looking for practice motors & extra tape drive parts? archiver 2000 1 23-06-2002 22:54
Suppose you want seat motors... archiver 2000 0 23-06-2002 22:50
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32
Drill Motors TF8 Motors 19 12-12-2001 13:13


All times are GMT -5. The time now is 10:46.

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