|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Sounds hard...you will have to replicate the entire OI as a Palm program? Sounds like a lot of work, and how are you going to control the robot? The only inputs you can use will be the stylus & buttons, so it seems like driving would be kind of clumsy.
Good luck, just some things I was wondering about ![]() |
|
#2
|
||||
|
||||
|
Okay... first major setback.
The radio modems and the OI/RC use RS-422 ports. They communicate differently than standard serial RS-232 ports found in your computer. In short, no radio modems unless you figure out a way to work around this problem... I'll research it more... Converters are available to convert it electrically, but it'll cost ya $80. I don't know if the tether port also uses this method of communication... |
|
#3
|
||||
|
||||
|
well, for controlling it with a palm, after i get that done, i'd be able to do more thnigs with it. have to start somewhere.
also, could you use the O/I as a go through, and just put everything on one port? you have the 4 analog and 4 digital switches. you can run something on that me thinks. |
|
#4
|
||||||
|
||||||
|
Quote:
Not trying to be a pessimist, but I don't see how the tether could be official RS-232 because it can power the OI. Who knows? Maybe I'm just wrong and it actually is. Only time will tell. |
|
#5
|
||||
|
||||
|
grr, so many problems. we'll find a way though.
![]() |
|
#6
|
||||
|
||||
|
Quote:
I thought you meant turning the entire computer into the operator interface... Hrmm... to me it still seems like a waste to have to go through the operator interface... also it makes the project a whole lot easier... I'm thinking this isn't the project to jump on. It runs so many potential risks/problems. Someone could use something like this for not-so-good tendencies/revenge during a competition. |
|
#7
|
||||
|
||||
|
how could someone use this during competition? they would immediately be DQ'd if they start using the laptop. of course, i do see your point. why is everything so hard?
|
|
#8
|
||||||
|
||||||
|
Has anyone figured out if the tether is RS-232? I don't have access to any RC/OIs this time of year, so I haven't been able to check.
If it is, you could try writing a quick-and-dirty two-way serial port passthrough/capture program. My idea is to hook the OI and RC up to different serial ports on the computer. The program would then capture everything sent between the two, and forward the packets out the other interface. Doing it that way, the RC/OI would think they are still directly connected. |
|
#9
|
||||
|
||||
|
well, i can try to find out for you in week. but by then, you'll have figured out too.
![]() |
|
#10
|
||||||
|
||||||
|
Yeah...I'll slap together a program on my way to nationals. Try it out on a real robot.
|
|
#11
|
||||
|
||||
|
hmm, i guess i'll have to come and raid your pit then.
seems like an interesting project, wish i knew more about C++ (i've only been doing it one year). |
|
#12
|
||||
|
||||
|
A more useful project: A full control system emulator. One of these would be handy for testing code out when you don't have the robot handy. Also, a good way to test before downloading to the robot.
If you could make the PWM/Relay outputs so that you could label them (so you know what's going on with the "motors") and visualize their output, while also being able to control the OI, that would be awesome. Good project for someone with more time and patience then me! Quote:
![]() |
|
#13
|
||||
|
||||
|
The tether port does use RS-232. HOWEVER: don't hook a laptop up to this port as +12v from the robot battery is provided on one of the pins. In theory this shouldn't damage anything since RS-232 has a range of -25v to +25v, but I think it would be extremely unwise to try it.
If you're interested in this kind of thing though you should come check out the Wildstang pit and ask an electrical person to show you the Mini Controller we made. We built a little circuit with a microcontroller on it that speaks directly to the robot controller over the tether port. It has a couple of momentary switches on it to retract the hooks and a push button to perform a robot reset. We use it to unhook from the goal after the end of a match rather than carrying out the whole control system onto the field. |
|
#14
|
|||
|
|||
|
help
If any one can point me in the direction of a good library to play with the serial port, i WILL eventually get this working. as soon as boring summer sets in, i will have nothing but time on my hands. BTW -- this has a very good potential to violate every rule imaginable, but that isnt my goal. I just want to have the ability to break every rule imaginable and feel smug about it.
|
|
#15
|
||||
|
||||
|
LOL!!!
Well, if we made something like that, it would make FIRST have to police the control systems/dashboard programs a lot more carefully. it would still be cool to do though, and an emulator for me to test the code without a robot would be godly. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to communicate both through radio and serial port? | JC Denton | Programming | 1 | 08-02-2003 23:43 |
| Problem with communicating with STAMP through serial port | Skabana159 | Technical Discussion | 2 | 06-02-2003 21:10 |
| Ever seen this serial port problem before??? | Aidan F. Browne | Programming | 5 | 05-02-2003 12:03 |
| organized way of communication with FIRST? | archiver | 2001 | 0 | 24-06-2002 04:20 |
| Serial Port Communication White Paper | rbayer | Programming | 87 | 14-06-2002 16:10 |