|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: One Joystick Drive
Quote:
|
|
#2
|
|||
|
|||
|
Re: One Joystick Drive
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: One Joystick Drive
Quote:
|
|
#4
|
|||
|
|||
|
Re: One Joystick Drive
Im not positive about that. I'll let you guys know more on Thursday when I get a chance to test it in the pool with new code you guys helped with.
Also, the first code the Mark posted, when I put it in MPLab, it won't compile. I think I may be doing something wrong considering that I am new to programming, but when I take it out, it compiles fine. Any ideas? |
|
#5
|
|||||
|
|||||
|
Re: One Joystick Drive
Quote:
What "baseline" code are you starting with? The IFI 2005 v2.2 default code (http://www.ifirobotics.com/docs/frc-...2-2005v2.2.zip) or something else, such as your team's 2005 modified code? The code in my first post was quoted verbatim from the v2.2 default code and wouldn't have to be added. The default code already does what you want. The MPLAB problem you're encountering can be caused by lots of simple mistakes, especially if you've never used it before. It might be misplaced code, or if you aren't starting with the default code then the function Limit_Mix might be missing. Whenever you get an error you want to ask the forum about, post (copy and paste) the actual error message. That usually tells us all we need to know to solve the problem. As an aside, you'll need to be sure the correct motor pwms are being used. If you are starting with your team's customized 2005 code then post a zip of the user_routines.c file, so we can see what's been modified and how. Then we'll be able to describe the easiest may to add the one joystick lines if they aren't already there. Last edited by Mark McLeod : 11-05-2005 at 08:42. |
|
#6
|
|||
|
|||
|
Re: One Joystick Drive
I attached my userroutines.c file
|
|
#7
|
|||||
|
|||||
|
Re: One Joystick Drive
A couple of simple issues.
the new code is at lines 204-205 and 239-255. What you wrote originally will actually work, but would be confusing to anyone reading the code, because it does all the joystick work in Default_Routine() then overrides it all in Process_Data_From_Master_uP(). Anyone else have comments to add? Last edited by Mark McLeod : 11-05-2005 at 16:33. |
|
#8
|
|||
|
|||
|
Re: One Joystick Drive
We have cameras attached to our robot, so we can't actually see our robot, but we can see from certain perspectives.
Thank you guys so much for helping me with this. |
|
#9
|
|||||
|
|||||
|
Re: One Joystick Drive
We'd like to see photos and hear about your progress, so don't forget about us here on the ChiefDelphi forums.
Good Luck! |
|
#10
|
|||
|
|||
|
Re: One Joystick Drive
We have an online album of pictures. I'll check with our coach to make sure that I can give the link out.
|
|
#11
|
|||
|
|||
|
Re: One Joystick Drive
http://photobucket.com/albums/v660/lhsrobotics/
http://photobucket.com/albums/y205/lhsrobotics1/ Those are the two links to our photo albums. Last edited by mattsavela : 13-05-2005 at 16:24. |
|
#12
|
|||
|
|||
|
Re: One Joystick Drive
I assume you are going to the MATE championship in Houston.
If so be sure to look for us. We also use the FRIST controller equipment on our ROV except we put the robot controller and the battery on the ROV. It allows us to use a small diameter tether which really helps the maneuverability. Looking forward to meeting y'all Allan |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If you could change one thing.... | Koko Ed | General Forum | 48 | 31-03-2005 19:23 |
| 1 Joystick Drive | or yaniv | Programming | 3 | 19-01-2005 14:18 |
| Changing 1 joystick code to 2 (rookie team) | Brawler006 | Programming | 5 | 20-02-2004 17:00 |
| question about one joystick drive programing | james700 | Programming | 13 | 29-01-2003 14:49 |
| 1 joystick drive | Rickertsen2 | Robotics Education and Curriculum | 9 | 20-12-2002 20:00 |