|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
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
|
||||
|
||||
|
Re: Please Help: Programming the Robovation Kit
Quote:
|
|
#4
|
||||
|
||||
|
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
|
||||
|
||||
|
Re: Please Help: Programming the Robovation Kit
Quote:
|
|
#6
|
|||||
|
|||||
|
Re: Please Help: Programming the Robovation Kit
Quote:
|
|
#7
|
||||
|
||||
|
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
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |