Go to Post Ah AndyMark and your $2 a piece pool noodles - mlantry [more]
Home
Go Back   Chief Delphi > Technical > Robotics Education and Curriculum
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-12-2004, 23:19
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Please Help: Programming the Robovation Kit

The above suggestions will work but are not totally deterministic. If you add code (particularly debug printf statements) the timing can be affected.

I implemented the interrupt timer outlined in Timers_White_Paper and it works like a champ.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #2   Spotlight this post!  
Unread 07-12-2004, 06:40
krhs_programmer's Avatar
krhs_programmer krhs_programmer is offline
Programmer, Engineer, exDriver
#1247 (R.O.K.S.)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Sutton, NH
Posts: 23
krhs_programmer is an unknown quantity at this point
Re: Please Help: Programming the Robovation Kit

thank you to all of you, i will try all of your suggestions and see which one works best. I would look for that documentation but i think we might have lost it last year but i'll check. Abyways this might help us with autonomous mode this year because last year we got it to follow the line (which was really hard and pretty good i think for a rookie team) and it didn't quite work. And about my second question i was wondering if there were any what kind of r/c controller i could use on the little box to make it remote controled . Like would i have to customly wire like an r/c car control unit into it or use like the big controller from the big kit?
  #3   Spotlight this post!  
Unread 07-12-2004, 09:55
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Please Help: Programming the Robovation Kit

Quote:
Originally Posted by krhs_programmer
thank you to all of you, i will try all of your suggestions and see which one works best. I would look for that documentation but i think we might have lost it last year but i'll check. Abyways this might help us with autonomous mode this year because last year we got it to follow the line (which was really hard and pretty good i think for a rookie team) and it didn't quite work. And about my second question i was wondering if there were any what kind of r/c controller i could use on the little box to make it remote controled . Like would i have to customly wire like an r/c car control unit into it or use like the big controller from the big kit?
Just like an RC car...
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #4   Spotlight this post!  
Unread 07-12-2004, 11:46
krhs_programmer's Avatar
krhs_programmer krhs_programmer is offline
Programmer, Engineer, exDriver
#1247 (R.O.K.S.)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Sutton, NH
Posts: 23
krhs_programmer is an unknown quantity at this point
Re: Please Help: Programming the Robovation Kit

so what just wire the r/c outputs from the car to the r/c pwm in?
  #5   Spotlight this post!  
Unread 07-12-2004, 12:19
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Please Help: Programming the Robovation Kit

Quote:
Originally Posted by krhs_programmer
so what just wire the r/c outputs from the car to the r/c pwm in?
Connect as per the diagram on page 6 of this: EDU-RC-2004_Ref_Guide
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #6   Spotlight this post!  
Unread 07-12-2004, 16:03
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Please Help: Programming the Robovation Kit

Quote:
Originally Posted by Mike Betts
The above suggestions will work but are not totally deterministic. If you add code (particularly debug printf statements) the timing can be affected.

I implemented the interrupt timer outlined in Timers_White_Paper and it works like a champ.
Didn't know that, as I said I just started myself 3 days ago =/
__________________
http://www.mikesorrenti.com/
  #7   Spotlight this post!  
Unread 08-12-2004, 12:39
krhs_programmer's Avatar
krhs_programmer krhs_programmer is offline
Programmer, Engineer, exDriver
#1247 (R.O.K.S.)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Sutton, NH
Posts: 23
krhs_programmer is an unknown quantity at this point
Re: Please Help: Programming the Robovation Kit

wel i would do what that guide said but we don't have $150 - $200 for a hobby r/c controller, as it is we don't even have money to register yet. but that other guide for timers worked with a few mods. thanks
  #8   Spotlight this post!  
Unread 08-12-2004, 12:57
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Please Help: Programming the Robovation Kit

I haven't had a chance to put together formal documentation, but there is a Windows applications and C code library that you can use to control the mini-RC from your PC. You can download a sample project and the windows program from http://members.cox.net/seanwitte. The project is for the newest version of MPLAB so you might need to create a new workspace and manually add the .c, .h, .lkr, and .lib files to it.

Sample screen shots are in this document.

The project is set up as a single-stick drive using PWM outputs 1 and 2. Joystick 1 in the PC interface is used as the drive input. If you download the hex file and connect to the RC from PCInterface you will need to check the Enable checkbox before it will run.

If you have an Analog Devices ADXRS150EB gyro connected to input 1 the sample program will integrate the signal and send the value back as analog feedback channel 1. In the program the value will be robot.heading, in the robot struct defined in robot.h. If you click the "Show Workspace" button you'll see a model of the robot rotating in realtime as you move the gyro.

Feel free to send a PM if you need help.
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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
Robovation Robot kit cmmarkes Robotics Education and Curriculum 4 24-01-2005 17:24
robovation KIT help Mirza95vx Technical Discussion 2 03-12-2004 15:08
2004 WPI EBOT Competition (using Robovation robots) ahecht Off-Season Events 3 04-11-2004 21:25


All times are GMT -5. The time now is 17:30.

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